/* Vividha Creation - Custom Bootstrap 5 Overrides */

/* --- Custom Variables & Theme --- */
:root {
  --primary-red: #91382c;
  --cream-accent: #ddc4a4;
  --bg-warm: #ffffff;
  --accent-copper: #BF624C;
  --white: #ffffff;
  --dark-overlay: rgba(0, 0, 0, 0.35);

  --font-heading: "Barlow", sans-serif;
  --font-text: "Basic", sans-serif;
}

/* --- Font Helper Classes --- */
.basic-regular {
  font-family: "Basic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.barlow-thin { font-family: "Barlow", sans-serif; font-weight: 100; font-style: normal; }
.barlow-extralight { font-family: "Barlow", sans-serif; font-weight: 200; font-style: normal; }
.barlow-light { font-family: "Barlow", sans-serif; font-weight: 300; font-style: normal; }
.barlow-regular { font-family: "Barlow", sans-serif; font-weight: 400; font-style: normal; }
.barlow-medium { font-family: "Barlow", sans-serif; font-weight: 500; font-style: normal; }
.barlow-semibold { font-family: "Barlow", sans-serif; font-weight: 600; font-style: normal; }
.barlow-bold { font-family: "Barlow", sans-serif; font-weight: 700; font-style: normal; }
.barlow-extrabold { font-family: "Barlow", sans-serif; font-weight: 800; font-style: normal; }
.barlow-black { font-family: "Barlow", sans-serif; font-weight: 900; font-style: normal; }

.barlow-thin-italic { font-family: "Barlow", sans-serif; font-weight: 100; font-style: italic; }
.barlow-extralight-italic { font-family: "Barlow", sans-serif; font-weight: 200; font-style: italic; }
.barlow-light-italic { font-family: "Barlow", sans-serif; font-weight: 300; font-style: italic; }
.barlow-regular-italic { font-family: "Barlow", sans-serif; font-weight: 400; font-style: italic; }
.barlow-medium-italic { font-family: "Barlow", sans-serif; font-weight: 500; font-style: italic; }
.barlow-semibold-italic { font-family: "Barlow", sans-serif; font-weight: 600; font-style: italic; }
.barlow-bold-italic { font-family: "Barlow", sans-serif; font-weight: 700; font-style: italic; }
.barlow-extrabold-italic { font-family: "Barlow", sans-serif; font-weight: 800; font-style: italic; }
.barlow-black-italic { font-family: "Barlow", sans-serif; font-weight: 900; font-style: italic; }

body {
  background-color: var(--bg-warm);
  font-family: var(--font-text);
  color: #333333;
  overflow-x: hidden;
}

/* --- Typography --- */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.story-title,
.product-title,
.product-title a,
.footer-heading {
  font-family: var(--font-heading);
  font-weight: 300;
  color: #111111 !important;
}

/* Override slider text to be white */
.slider-title,
.slider-subtitle,
.carousel-caption-custom h2,
.carousel-caption-custom p,
.carousel-caption-custom span {
  color: var(--white) !important;
}

.section-subtitle {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 4.55px;
  color: var(--primary-red);
  margin-bottom: 10px;
}

.section-title {
  font-size: 50px;
  line-height: 1.26;
  text-transform: capitalize;
  margin-bottom: 30px;
}

@media (max-width: 991.98px) {
  .section-title {
    font-size: 42px;
  }
}

@media (max-width: 767.98px) {
  .section-title {
    font-size: 34px;
  }
}

/* --- Custom Outline Buttons --- */
.btn-custom-outline {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--primary-red);
  background-color: transparent;
  border: 1px solid var(--cream-accent);
  border-radius: 0px !important;
  padding: 15px 35px;
  transition: all 0.3s ease-in-out;
}

.btn-custom-outline:hover,
.btn-custom-outline:focus {
  background-color: var(--cream-accent);
  border-color: var(--cream-accent);
  color: var(--white) !important;
}

.btn-slider {
  background-color: var(--white);
  color: var(--primary-red);
  border: none;
}

.btn-slider:hover {
  background-color: var(--primary-red);
  color: var(--white) !important;
}

/* --- Header & Navigation (Reconstructed from index.html) --- */
.vividha-header {
  background: var(--white);
  border-bottom: 1px solid rgba(145, 56, 44, 0.18);
  position: sticky;
  top: 0;
  z-index: 50;
}

.vividha-nav {
  max-width: 1320px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.vividha-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #111;
  flex: 0 0 auto;
}

.vividha-brand img {
  height: 86px;
  width: auto;
  display: block;
}

.vividha-links {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: nowrap;
  flex: 1 0 30%;
}

.vividha-links a {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  color: #91382c;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.vividha-links a:hover {
  color: #111;
}

.vividha-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 0 30%;
  justify-content: flex-end;
}

.vividha-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid rgba(145, 56, 44, 0.22);
  border-radius: 999px;
  color: #91382c;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
}

.vividha-action:hover {
  background: #91382c;
  color: #ddc4a4;
  border-color: #91382c;
}

.vividha-action svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex: 0 0 auto;
}

@media (max-width: 767.98px) {
  .vividha-nav {
    padding: 12px 16px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .vividha-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0;
    width: 100%;
  }

  .vividha-actions {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
  }

  .vividha-action {
    padding: 9px 12px;
  }
}

/* --- Custom Carousel (Hero Slider) --- */
.hero-carousel {
  position: relative;
  overflow: hidden;
}

.carousel-item {
  height: 910px;
  background-size: cover;
  background-position: center center;
  position: relative;
}

@media (max-width: 991.98px) {
  .carousel-item {
    height: 650px;
  }
}

@media (max-width: 767.98px) {
  .carousel-item {
    height: 480px;
  }
}

/* PanZoom Ken Burns Effect with Custom 5x5 Segment Grid Transitions */
.carousel-item .bg-image-zoom {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 9000ms linear;
  transform: scale(1.05);
  /* Starts slightly scaled */
}

.carousel-item.active .bg-image-zoom {
  transform: scale(1.15);
  /* Zooms in continuously over 9 seconds */
}

.bg-grid-container {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  width: 100%;
  height: 100%;
}

.bg-grid-box {
  background-repeat: no-repeat;
  background-size: var(--bg-width, 100vw) var(--bg-height, 100%);
  width: calc(100% + 1.5px);
  height: calc(100% + 1.5px);
  transition: opacity 800ms cubic-bezier(0.19, 1, 0.22, 1), clip-path 800ms cubic-bezier(0.19, 1, 0.22, 1);
}

/* Slide 1: Cross Mask (inset crop box reveal) */
.slide-cross-mask .bg-grid-box {
  opacity: 0;
  clip-path: inset(50%);
}

.active .slide-cross-mask.animate-run .bg-grid-box {
  opacity: 1;
  clip-path: inset(0%);
}

/* Slide 2: West Mask (left-to-right polygon inset reveal) */
.slide-west-mask .bg-grid-box {
  opacity: 0;
  clip-path: inset(0 0 0 100%);
}

.active .slide-west-mask.animate-run .bg-grid-box {
  opacity: 1;
  clip-path: inset(0 0 0 0);
}



/* Dark overlay for readability */
.carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--dark-overlay);
  z-index: 2;
}

.carousel-caption-custom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 100%;
  max-width: 800px;
  padding: 0 15px;
  text-align: center;
  /* Centered slider text */
}

/* Slide layer animation bases */
.hero-layer {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1.8s cubic-bezier(0.19, 1, 0.22, 1), transform 1.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.active .hero-layer-1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 40ms;
}

.active .hero-layer-2 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 280ms;
}

.active .hero-layer-3 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 740ms;
}

.active .hero-layer-4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 990ms;
}

/* Slider Typography */
.slider-subtitle {
  font-family: var(--font-text);
  font-size: 20px;
  /* Restored to original size */
  letter-spacing: 1px;
  color: var(--white);
  margin-bottom: 15px;
}

.slider-title {
  font-family: var(--font-heading);
  font-size: 55px;
  /* Restored to original size */
  /* font-weight: 300; */
  text-transform: capitalize;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 25px;
}

@media (max-width: 991.98px) {
  .slider-title {
    font-size: 55px;
  }

  /* Restored to original size */
  .slider-subtitle {
    font-size: 16px;
  }

  /* Restored to original size */
}

@media (max-width: 767.98px) {
  .slider-title {
    font-size: 38px;
  }

  /* Restored to original size */
  .slider-subtitle {
    font-size: 14px;
  }

  /* Restored to original size */
}

/* --- Our Story & Promise Sections --- */
.bg-light-cream {
  background-color: #ffffff;
}

.our-story-section {
  background-color: #ffffff;
  position: relative;
  overflow: hidden;
}

.story-text-col {
  padding: 80px 10%;
  position: relative;
  z-index: 2; /* Ensures absolute children stack above adjacent columns */
}

.story-content-wrap {
  z-index: 2;
  position: relative;
}

.story-subtitle {
  font-family: var(--font-text);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary-red);
}

.story-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: #111;
  margin-top: 10px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.story-details p {
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.story-highlights-list {
  list-style: none;
  padding-left: 0;
}

.story-highlights-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  color: #444;
}

.story-highlights-list li::before {
  content: "•";
  color: var(--primary-red);
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
  position: absolute;
}

.story-tag {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--primary-red);
}
.story-floating-badge {
  position: absolute;
  bottom: 40px;
  left: 40px;
  background-color: var(--primary-red);
  color: #ddc4a4;
  width: auto;
  min-width: 180px;
  border-radius: 4px;
  padding: 20px 25px !important;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  z-index: 10;
  border: 1px solid rgba(221, 196, 164, 0.3);
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.story-floating-badge::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1px dashed rgba(221, 196, 164, 0.3);
  border-radius: 2px;
  pointer-events: none;
}

.story-floating-badge:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.story-floating-badge .badge-number {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 5px;
  text-align: center;
}

.story-floating-badge .badge-text {
  font-family: var(--font-text);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  text-align: center;
  margin: 0;
  padding: 0;
  width: 100%;
}
.story-bg-col {
  min-height: 600px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

@media (max-width: 991.98px) {
  .story-text-col {
    padding: 60px 30px;
  }

  .story-bg-col {
    min-height: 400px;
  }
}

/* --- NGO Products Horizontal Viewport Slider --- */
.ngo-products-section {
  position: relative;
}

.products-slider-track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  gap: 0;
  margin: 0;
  padding: 0;
  scrollbar-width: none;
  /* Hide scrollbar Firefox */
}

.products-slider-track::-webkit-scrollbar {
  display: none;
  /* Hide scrollbar Chrome/Safari */
}

.product-slider-card {
  flex: 0 0 20%;
  /* Exactly 5 products in viewport on desktop */
  max-width: 20%;
  padding: 20px;
  box-sizing: border-box;
  background-color: var(--white);
  border-right: 1px solid rgba(145, 56, 44, 0.08);
  border-bottom: 1px solid rgba(145, 56, 44, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-slider-card:hover {
  background-color: #faf9f6;
  box-shadow: 0 10px 20px rgba(145, 56, 44, 0.05);
}

.product-slider-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.5s ease;
}

.product-slider-card:hover img {
  transform: scale(1.04);
}

.product-slider-card .product-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 500;
  color: var(--primary-red);
  margin-top: 15px;
  margin-bottom: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Specs details list */
.product-specs {
  font-size: 12px;
  color: #666;
  margin-bottom: 15px;
  border-top: 1px dashed rgba(145, 56, 44, 0.15);
  padding-top: 10px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
}

.spec-label {
  font-weight: 600;
  color: #777;
}

.spec-val {
  color: #333;
}

.product-badge-code {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  background-color: rgba(145, 56, 44, 0.08);
  color: var(--primary-red);
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 10px;
  width: fit-content;
}

/* Add to Cart Button override */
.btn-add-to-cart {
  width: 100%;
  background-color: var(--cream-accent);
  border: 1px solid var(--cream-accent);
  color: var(--primary-red);
  font-weight: 600;
  font-size: 13px;
  padding: 10px 15px;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-to-cart:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
  color: var(--white);
}

.btn-nav-slider {
  background-color: transparent;
  color: var(--primary-red);
  border: 1px solid rgba(145, 56, 44, 0.22);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-nav-slider:hover {
  background-color: var(--primary-red);
  color: #ddc4a4;
  border-color: var(--primary-red);
}

.floating-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--white) !important;
  border: 1px solid rgba(145, 56, 44, 0.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 10;
  width: 50px;
  height: 50px;
}

.floating-nav-btn:hover {
  background-color: var(--primary-red) !important;
  color: #ddc4a4 !important;
}

.floating-nav-btn.left {
  left: 15px;
}

.floating-nav-btn.right {
  right: 15px;
}


/* Responsive configurations */
@media (max-width: 1199.98px) {
  .product-slider-card {
    flex: 0 0 25%;
    /* 4 products in view */
    max-width: 25%;
  }
}

@media (max-width: 991.98px) {
  .product-slider-card {
    flex: 0 0 33.333%;
    /* 3 products in view */
    max-width: 33.333%;
  }
}

@media (max-width: 767.98px) {
  .product-slider-card {
    flex: 0 0 50%;
    /* 2 products in view */
    max-width: 50%;
  }
}


/* --- Symmetrical Call to Action (Side-by-side) --- */
.promo-banner {
  min-height: 520px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 50px 30px;
  position: relative;
  color: var(--white) !important;
  z-index: 1;
}

.promo-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(145, 56, 44, 0.72);
  /* Warm crimson scrim overlay */
  z-index: -1;
  transition: background 0.4s ease;
}

.promo-banner:hover::before {
  background: rgba(145, 56, 44, 0.82);
}

.promo-banner-bg-1 {
  background-image: url('../images/1 (5).jpg');
}

.promo-banner-bg-2 {
  background-image: url('../images/1 (6).jpg');
}

.promo-banner .section-subtitle {
  color: #ddc4a4 !important;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.promo-banner .promo-title {
  color: var(--white) !important;
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  margin-bottom: 20px;
}

.promo-banner p {
  color: rgba(255, 255, 255, 0.9) !important;
  max-width: 480px;
  font-size: 15px;
  line-height: 1.6;
}

.promo-banner .btn-custom-outline {
  border-color: #ddc4a4 !important;
  color: #ddc4a4 !important;
  background-color: transparent !important;
}

.promo-banner .btn-custom-outline:hover {
  background-color: #ddc4a4 !important;
  color: var(--primary-red) !important;
  border-color: #ddc4a4 !important;
}

/* --- Showcase Video Block --- */
.video-promo-section {
  min-height: 650px;
  background-size: cover;
  background-position: center center;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-promo-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0F120E;
  opacity: 0.35;
  z-index: 1;
}

.video-play-btn {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background-color: transparent;
  border: 2px solid var(--white);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 2;
  position: relative;
  transition: all 0.3s ease-in-out;
  cursor: pointer;
}

.video-play-btn:hover {
  background-color: var(--white);
  color: var(--primary-red);
  transform: scale(1.1);
}

/* --- Product Grid & Card Styling --- */
.product-card {
  background-color: var(--white);
  border: 1px solid rgba(145, 56, 44, 0.08);
  border-radius: 4px;
  position: relative;
  transition: all 0.3s ease;
  z-index: 9;
  height: 100%;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card-body {
  padding: 15px 0 0 0;
  text-align: left;
}

.product-card:hover {
  background-color: #faf9f6;
  box-shadow: 0 10px 20px rgba(145, 56, 44, 0.05);
}

/* Product image overflow control */
.product-image-wrap {
  position: relative;
  overflow: hidden;
}

.product-image-wrap img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease-in-out;
}

/* Action button bar sliding up on hover */
.product-actions-hover {
  position: absolute;
  left: 50%;
  bottom: -60px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
}

.product-card:hover .product-actions-hover {
  bottom: 15px;
  opacity: 1;
  visibility: visible;
}

.btn-product-action {
  width: 42px;
  height: 42px;
  border-radius: 0 !important;
  background-color: var(--white);
  border: 1px solid var(--cream-accent);
  color: var(--primary-red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 5px;
  transition: all 0.3s;
}

.btn-product-action:hover {
  background-color: var(--cream-accent);
  color: var(--white);
}

/* Caption details */
.product-category {
  font-size: 14px;
  letter-spacing: 0.03em;
  text-transform: capitalize;
  color: var(--cream-accent);
  margin-bottom: 8px;
}

.product-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 300;
  margin-bottom: 12px;
}

.product-title a {
  color: var(--primary-red);
  text-decoration: none;
  transition: color 0.3s;
}

.product-title a:hover {
  color: var(--cream-accent);
}

.product-price {
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 500;
  color: var(--accent-copper);
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
}

.product-price del {
  font-size: 14px;
  color: #999999;
}

.product-card .btn-custom-outline {
  padding: 10px 25px;
}

.product-card:hover .btn-custom-outline {
  background-color: var(--cream-accent);
  border-color: var(--cream-accent);
  color: var(--white) !important;
}

/* --- Trust Values Grid --- */
.values-bar {
  background-color: var(--white);
  border-top: 1px solid var(--cream-accent);
  border-bottom: 1px solid var(--cream-accent);
}

.value-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 20px 10px;
}

.value-item i {
  font-size: 24px;
  color: var(--primary-red);
}

.value-item h5 {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.5px;
}

/* --- Footer --- */
.footer-main {
  background-color: var(--white);
  padding: 100px 0 95px 0;
  border-top: 1px solid var(--cream-accent);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 25px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--cream-accent);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: var(--primary-red);
}

.copyright-bar {
  background-color: var(--primary-red);
  color: var(--white);
  font-size: 13px;
  padding: 20px 0;
  text-align: center;
}

/* --- Decor Framed Banner Section (Below Hero Carousel) --- */
.decor-framed-section {
  min-height: 400px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.decor-corner {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  pointer-events: none;
  max-width: 220px;
  opacity: 0.85;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.5s ease;
}

.decor-corner.decor-left {
  left: -20px;
  transform-origin: left center;
}

.decor-corner.decor-right {
  right: -20px;
  transform-origin: right center;
}

.decor-framed-section:hover .decor-corner.decor-left {
  transform: translateY(-50%) rotate(3deg) scale(1.04);
  opacity: 1;
}

.decor-framed-section:hover .decor-corner.decor-right {
  transform: translateY(-50%) rotate(-3deg) scale(1.04);
  opacity: 1;
}

.max-width-520 {
  max-width: 520px;
}

.decor-heading-icon {
  max-width: 70px;
  opacity: 0.65;
}

/* ===================================================================
   PRODUCT CARDS & SLIDER (Missing styles causing broken product UI)
   =================================================================== */

/* --- Slider Track --- */
.products-slider-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 40px 20px;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.products-slider-track::-webkit-scrollbar {
  display: none;
}

/* --- Product Card (shared by slider & grid) --- */
.product-slider-card {
  min-width: 260px;
  max-width: 300px;
  flex-shrink: 0;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  display: flex;
  flex-direction: column;
}

.product-slider-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.14);
}

/* In grid context, let cards fill the column */
.product-grid-item .product-slider-card {
  min-width: unset;
  max-width: unset;
  width: 100%;
  height: 100%;
}

/* --- Product Image --- */
.product-image-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f8f5f0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 16px;
  transition: transform 0.4s ease;
}

.product-slider-card:hover .product-image-wrap img {
  transform: scale(1.06);
}

/* --- Product Badge Code --- */
.product-badge-code {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary-red);
  color: var(--white);
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  z-index: 2;
}

/* --- Product Card Body --- */
.product-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-body .product-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: #111 !important;
  margin-bottom: 8px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* --- Product Specs Table --- */
.product-specs {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-bottom: 12px;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  font-family: var(--font-text);
}

.spec-label {
  font-weight: 600;
  color: #444;
  margin-right: 6px;
}

.spec-val {
  text-align: right;
  flex-shrink: 0;
}

/* --- Add to Cart Button --- */
.btn-add-to-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--primary-red);
  color: var(--primary-red);
  background: transparent;
  border-radius: 6px;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: auto;
}

.btn-add-to-cart:hover {
  background: var(--primary-red);
  color: var(--white);
}

/* --- Floating Slider Nav Arrows --- */
.floating-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-red);
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-red);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.floating-nav-btn:hover {
  background: var(--primary-red);
  color: var(--white);
}

.floating-nav-btn.left {
  left: 12px;
}

.floating-nav-btn.right {
  right: 12px;
}

/* --- Category Filter Buttons (Product Page) --- */
#product-categories .btn-custom-outline {
  border-radius: 20px;
  padding: 6px 20px;
  font-size: 13px;
}

#product-categories .btn-custom-outline.active {
  background: var(--primary-red);
  color: var(--white);
  border-color: var(--primary-red);
}

/* --- Fade animation for category filter --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* --- Responsive adjustments --- */
@media (max-width: 576px) {
  .product-slider-card {
    min-width: 220px;
  }

  .products-slider-track {
    padding: 10px 16px 20px;
    gap: 12px;
  }
}

/* ===================================================================
   CART SIDEBAR DRAWER
   =================================================================== */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -360px;
  width: 360px;
  height: 100%;
  background: var(--white);
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.cart-sidebar.open {
  right: 0;
}

.cart-sidebar-header {
  padding: 20px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-sidebar-header h5 {
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
}

.btn-close-cart {
  background: none;
  border: none;
  font-size: 18px;
  color: #666;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s ease;
}

.btn-close-cart:hover {
  color: var(--primary-red);
}

.cart-sidebar-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-sidebar-item {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
  border-bottom: 1px solid #f5f5f5;
  padding-bottom: 12px;
}

.cart-sidebar-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.cart-sidebar-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  background: #f8f5f0;
}

.cart-sidebar-item-info {
  flex-grow: 1;
}

.cart-sidebar-item-title {
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
}

.cart-sidebar-item-details {
  font-size: 11px;
  color: #888;
  margin-bottom: 4px;
}

.cart-sidebar-item-price {
  font-size: 13px;
  color: var(--primary-red);
  font-weight: 600;
}

.cart-sidebar-footer {
  padding: 20px;
  border-top: 1px solid #eee;
  background: #faf8f5;
}

.cart-sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1040;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-sidebar-overlay.open {
  display: block;
  opacity: 1;
}

.btn-dark-custom {
  background: #222 !important;
  color: #fff !important;
  border-color: #222 !important;
}

.btn-dark-custom:hover {
  background: #000 !important;
  border-color: #000 !important;
}