@import url('components/navbar.css');
@import url('components/footer.css');
@import url('components/sticky-cta.css');
@import url('components/sweetalert.css');
@import url('components/lightbox.css');
@import url('components/fab.css');
@import url('components/lead-modal.css');

/* ==========================================================================
   FUBAR MENSWEAR - HOME PAGE STYLING
   ========================================================================== */

/* 1. Reset and Core Design Tokens */
:root {
  --background: #f7f2ea;
  --surface: #fffaf3;
  --dark: #101010;
  --text: #161412;
  --muted: #6c6258;
  --border: #ded3c5;
  --brown: #7a4e2d;
  --rust: #a65335;
  --olive: #4f5a3a;
  --cream: #efe4d4;
  
  --font-heading: 'Oswald', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s ease;
  
  --container-max-width: 1600px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent double-tap to zoom on mobile while keeping pinch-to-zoom accessible */
a, button, select, input, textarea {
  touch-action: manipulation;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  scrollbar-width: thin;
  scrollbar-color: var(--brown) var(--background);
}

/* Responsive typography & scaling for 13, 14 inch laptop screens */
@media (max-width: 1440px) {
  html {
    font-size: 15px; /* Scales down all rem-based layouts by ~6% */
  }
}

@media (max-width: 1200px) {
  html {
    font-size: 14.5px; /* Scales down rem-based layouts by ~9% */
  }
}

/* Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: var(--background);
}

::-webkit-scrollbar-thumb {
  background: var(--brown);
  border: 2px solid var(--background);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--rust);
}

body {
  font-family: var(--font-body);
  background-color: var(--background);
  background-image: linear-gradient(rgba(247, 242, 234, 0.85), rgba(247, 242, 234, 0.85)), url('../images/fabric-texture.jpg');
  background-repeat: repeat;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  touch-action: manipulation;
}

ul, ol {
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-fast);
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

/* Typography Scale */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
  line-height: 1.15;
}

p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Accessibility Focus States */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--brown);
  outline-offset: 4px;
}

/* Custom Selection */
::selection {
  background-color: var(--brown);
  color: var(--surface);
}

/* ==========================================================================
   2. Layout & Global Component Styles
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }
}

/* Global Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.1rem 2.2rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  text-align: center;
  border: none;
  gap: 0.5rem;
}

.btn i {
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.btn-primary {
  background-color: var(--dark);
  color: var(--surface);
  border: 1px solid var(--dark);
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--brown);
  transform: translateY(101%);
  transition: var(--transition-smooth);
  z-index: 1;
}

.btn-primary > span,
.btn-primary > i {
  position: relative;
  z-index: 2;
}

.btn-primary:hover::after {
  transform: translateY(0);
}

.btn-primary:hover {
  border-color: var(--brown);
}

.btn-primary:hover i {
  transform: translateX(3px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--dark);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background-color: var(--dark);
  color: var(--surface);
  border-color: var(--dark);
}

.btn-secondary:hover i {
  transform: translateX(3px);
}

.btn-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-bottom: 1.5px solid var(--dark);
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
}

.btn-text:hover {
  color: var(--brown);
  border-color: var(--brown);
  transform: translateX(5px);
}

/* Section Common Headings */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '';
  width: 15px;
  height: 1.5px;
  background-color: var(--border);
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  letter-spacing: 0.03em;
}

.section-title span {
  color: var(--brown);
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero-section {
  padding-top: 9.5rem;
  padding-bottom: 4.5rem;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background-color: #f7f3ed;
  border: 1px solid rgba(166, 83, 53, 0.15);
  padding: 0.5rem 1.1rem;
  border-radius: 50px;
  margin-bottom: 2rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.badge-accent {
  color: var(--rust);
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-separator {
  width: 4px;
  height: 4px;
  background-color: var(--border);
  border-radius: 50%;
  margin: 0 0.8rem;
}

.badge-text {
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.1;
  margin-bottom: 1.75rem;
  letter-spacing: -0.01em;
  font-weight: 700;
}

.hero-title-highlight {
  display: block;
  background: linear-gradient(135deg, var(--brown) 0%, var(--rust) 100%);
  -webkit-background-clip: text;
  color: transparent;
  text-shadow: 0 2px 10px rgba(166, 83, 53, 0.05);
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.1rem);
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 2.2rem;
  max-width: 32rem;
}

.hero-subtitle strong {
  color: var(--dark);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
  margin-bottom: 2rem;
}

.btn-trade-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  position: relative;
  padding: 0.5rem 0;
  transition: var(--transition-fast);
  cursor: pointer;
}

.btn-trade-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--rust);
  transform: scaleX(0.4);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.btn-trade-link:hover {
  color: var(--rust);
}

.btn-trade-link:hover::after {
  transform: scaleX(1);
}

.btn-trade-link i {
  font-size: 1.1rem;
  color: var(--rust);
  transition: transform 0.3s ease;
}

.btn-trade-link:hover i {
  transform: translateX(4px);
}

.hero-trust-note {
  font-size: 0.78rem;
  color: #8c8378;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.hero-trust-note i {
  color: #4b6b47;
  font-size: 0.95rem;
}

.hero-actions .btn {
  flex-grow: 0;
  min-width: 13rem;
}

/* Layered Hero Image Grid */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 3 / 4;
}

.hero-img-card {
  position: absolute;
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 0.5rem;
  box-shadow: 10px 10px 30px rgba(122, 78, 45, 0.04);
  transition: var(--transition-smooth);
}

.hero-img-main {
  width: 100%;
  aspect-ratio: 3 / 4;
  z-index: 5;
  transform: rotate(-1.5deg);
}

.hero-img-sub-1 {
  width: 60%;
  aspect-ratio: 1 / 1;
  bottom: -15%;
  left: -20%;
  z-index: 6;
  transform: rotate(4deg);
}

.hero-img-sub-2 {
  width: 55%;
  aspect-ratio: 3 / 4;
  top: -10%;
  right: -25%;
  z-index: 4;
  transform: rotate(-5deg);
}

.hero-image-container:hover .hero-img-main {
  transform: rotate(0deg) scale(1.02);
}
.hero-image-container:hover .hero-img-sub-1 {
  transform: rotate(0deg) translate(-5px, 5px);
}
.hero-image-container:hover .hero-img-sub-2 {
  transform: rotate(0deg) translate(5px, -5px);
}

/* Floating labels around hero */
.floating-tag {
  position: absolute;
  background-color: var(--dark);
  color: var(--surface);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  z-index: 10;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.floating-tag-1 {
  top: 15%;
  left: -5%;
  background-color: var(--brown);
}

.floating-tag-2 {
  bottom: 20%;
  right: -5%;
  background-color: var(--olive);
}

.hero-image-container:hover .floating-tag {
  transform: translateY(-3px);
}

@media (max-width: 991px) {
  /* Hero Section Stacking & Image Responsiveness */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  
  .hero-content {
    align-items: center;
    text-align: center;
  }
  
  .hero-badge {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-title-highlight {
    display: inline-block;
  }
  
  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    max-width: 25rem;
  }
  
  .btn-trade-link {
    width: 100%;
    max-width: 25rem;
    justify-content: center;
  }

  .hero-trust-note {
    justify-content: center;
    margin-top: 1rem;
  }

  .hero-image-wrapper {
    padding: 1.5rem;
  }

  .hero-image-container {
    max-width: 280px;
    margin: 0 auto;
  }

  .hero-img-sub-1 {
    left: -12%;
    bottom: -10%;
  }

  .hero-img-sub-2 {
    right: -15%;
    top: -8%;
  }
  
  .floating-tag-1 {
    left: -10%;
  }
  
  .floating-tag-2 {
    right: -10%;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-badge {
    padding: 0.5rem 1rem;
    flex-direction: column;
    border-radius: 16px;
    gap: 0.35rem;
  }
  .badge-separator {
    display: none;
  }
}

/* ==========================================================================
   5. Trust / Credibility Strip (Marquee Revamp)
   ========================================================================== */
.trust-showcase-section {
  background-color: var(--dark); /* High-contrast premium dark strip */
  border-top: 1px solid #1a1a1a;
  border-bottom: 1px solid #1a1a1a;
  padding: 1.25rem 0; /* Thinner elegant strip */
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* Edge fades matching the dark background */
.trust-showcase-section::before,
.trust-showcase-section::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.trust-showcase-section::before {
  left: 0;
  background: linear-gradient(to right, var(--dark) 0%, rgba(16, 16, 16, 0) 100%);
}

.trust-showcase-section::after {
  right: 0;
  background: linear-gradient(to left, var(--dark) 0%, rgba(16, 16, 16, 0) 100%);
}

.trust-marquee-container {
  display: flex;
  overflow: hidden;
  user-select: none;
  width: 100%;
}

.trust-marquee-track {
  display: flex;
  width: max-content;
  animation: trustMarqueeScroll 25s linear infinite; /* Faster scroll */
}

.trust-marquee-track:hover {
  animation-play-state: paused;
}

.trust-marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 3.5rem; /* Perfectly consistent gap between all items and stars */
}

.trust-marquee-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  white-space: nowrap;
}

.trust-marquee-item i {
  font-size: 1.35rem;
  color: var(--rust); /* Accent icon color */
  display: flex;
  align-items: center;
}

.trust-marquee-title {
  font-family: var(--font-heading); /* Bold Oswald heading */
  font-size: 1.15rem;
  color: var(--cream); /* Luxury cream text color */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
}

.trust-marquee-detail {
  color: #8c8378;
  font-weight: 400;
  font-family: var(--font-body);
  text-transform: none;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  margin-left: 0.25rem;
  display: inline-block;
}

.trust-marquee-star {
  color: var(--rust);
  opacity: 0.55;
  font-size: 0.95rem;
  user-select: none;
}

@keyframes trustMarqueeScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   6. Signature Categories (Bento Grid)
   ========================================================================== */
.categories-section {
  padding: 7rem 0;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 240px;
  gap: 1.5rem;
}

.bento-card {
  position: relative;
  background-color: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  transition: var(--transition-smooth);
}

.bento-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(16, 16, 16, 0.85) 0%, rgba(16, 16, 16, 0.2) 60%, transparent 100%);
  z-index: 2;
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-bg-img {
  transform: scale(1.06);
}

.bento-card:hover::after {
  background: linear-gradient(to top, rgba(16, 16, 16, 0.95) 0%, rgba(16, 16, 16, 0.3) 60%, transparent 100%);
}

.bento-content {
  position: relative;
  z-index: 3;
  color: var(--surface);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(15px);
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-content {
  transform: translateY(0);
}

.bento-title {
  font-size: 1.5rem;
  color: var(--surface);
  margin-bottom: 0.25rem;
  letter-spacing: 0.05em;
}

.bento-desc {
  font-size: 0.8rem;
  color: var(--border);
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-desc {
  opacity: 1;
  max-height: 50px;
  margin-bottom: 1rem;
}

.bento-cta {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-cta {
  opacity: 1;
}

.bento-cta i {
  transition: transform 0.2s ease;
}
.bento-card:hover .bento-cta i {
  transform: translateX(3px);
}

/* Bento Sizing Layout */
.bento-w2 { grid-column: span 2; }
.bento-h2 { grid-row: span 2; }

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
}
@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }
  .bento-w2 { grid-column: span 1; }
  .bento-h2 { grid-row: span 1; }
}

/* ==========================================================================
   7. Lookbook Carousel Section
   ========================================================================== */
.lookbook-section {
  padding: 6rem 0;
  background-color: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lookbook-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 0.75rem;
  transition: var(--transition-smooth);
}

.lookbook-img-wrapper {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
  background-color: var(--background);
}

.lookbook-img-wrapper img {
  width: 100%;
  height: 100%;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.lookbook-card:hover img {
  transform: scale(1.05);
}

/* Lookbook Featured Swatches Hover Drawer */
.lookbook-featured-swatches {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.4);
  padding: 6px 10px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  opacity: 0;
  transform: translateX(15px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 5;
  pointer-events: none;
}

.lookbook-card:hover .lookbook-featured-swatches {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.swatch-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
}

.lookbook-swatch-badge {
  border: 1px solid var(--border);
  background-color: var(--surface);
  border-radius: 12px;
  padding: 2px 8px 2px 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition-fast);
}

.lookbook-swatch-badge:hover {
  border-color: var(--brown);
  background-color: var(--dark);
  color: var(--surface);
}

.swatch-color-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.lookbook-info {
  padding: 1.5rem 0.75rem 0.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.lookbook-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.lookbook-title {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.lookbook-desc {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

/* Navigation controls swiper */
.swiper-controls {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 2rem;
}

.swiper-btn {
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  background-color: var(--surface);
  color: var(--dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.swiper-btn:hover {
  background-color: var(--dark);
  color: var(--surface);
  border-color: var(--dark);
}

/* ==========================================================================
   8. Value Proposition (Light Section)
   ========================================================================== */
.value-section {
  padding: 7rem 0;
  background-color: var(--surface);
  color: var(--text);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.value-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 5rem;
  align-items: center;
}

.value-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.value-header .section-subtitle {
  color: var(--muted);
}

.value-header .section-title {
  color: var(--dark);
  line-height: 1.15;
}

.value-pillars-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 2rem;
}

.pillar-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.pillar-icon {
  font-size: 2.2rem;
  color: var(--brown);
  margin-bottom: 1rem;
}

.pillar-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.pillar-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 991px) {
  .value-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
  }
  .value-pillars-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .value-pillars-list {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ==========================================================================
   9. Retail / Wholesale Section
   ========================================================================== */
.retail-section {
  padding: 7rem 0;
  background-color: var(--cream);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.retail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3.5rem;
  margin-bottom: 4rem;
}

.retail-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
}

.retail-card:hover {
  transform: translateY(-5px);
  border-color: var(--brown);
  box-shadow: 0 10px 30px rgba(122,78,45,0.05);
}

.retail-card-icon {
  font-size: 2.4rem;
  color: var(--brown);
  margin-bottom: 1.25rem;
}

.retail-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.retail-card-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.retail-cta-container {
  text-align: center;
}

@media (max-width: 991px) {
  .retail-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .retail-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   10. Brand Story Section
   ========================================================================== */
.story-section {
  padding: 7rem 0;
  overflow: hidden; /* Clips horizontal overflow from entry animations */
}

.story-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4.5rem;
  align-items: center;
}

.story-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.story-title {
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  margin-bottom: 1.5rem;
  margin-top: 0.5rem;
}

.story-title span {
  display: block;
  color: var(--brown);
}

.story-text {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.75;
}

.story-text strong {
  color: var(--dark);
}

.story-image-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 0.75rem;
  box-shadow: 15px 15px 40px rgba(122,78,45,0.03);
  transform: rotate(1.5deg);
  transition: var(--transition-smooth);
}

.story-image-card:hover {
  transform: rotate(0);
}

.story-image-inner {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--cream);
}

.story-image-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  .story-image-wrapper {
    order: 1; /* Puts image first */
  }
  .story-content {
    order: 2; /* Puts text second */
  }
  .story-image-card {
    max-width: 25rem;
    margin: 0; /* Left align instead of centering */
  }
}

/* ==========================================================================
   11. Product Preview Section
   ========================================================================== */
.product-preview-section {
  padding: 6.5rem 0;
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.product-card {
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 0.5rem;
  transition: var(--transition-smooth);
}

.product-img-wrapper {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
}

.product-img-wrapper img {
  width: 100%;
  height: 100%;
  transition: transform 1s ease;
}

.product-card:hover img {
  transform: scale(1.04);
}

/* Product Swatch Spec Tag Badge */
.product-swatch-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: var(--dark);
  color: var(--surface);
  font-family: var(--font-body);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-swatch-tag:hover {
  background-color: var(--rust);
}

.product-info {
  padding: 1.25rem 0.5rem 0.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
}

.product-category {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.product-title {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

/* Dual Column Product Buttons */
.product-card-buttons {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.product-card-buttons .btn {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.75rem;
  margin: 0;
}

.btn-view-weave {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

@media (min-width: 992px) {
  .product-card-buttons {
    flex-direction: row;
    gap: 0.5rem;
  }
  
  .product-card-buttons .btn {
    flex: 1;
    padding: 0.75rem 0.5rem;
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   12. FAQ Accordion Section
   ========================================================================== */
.faq-section {
  padding: 7rem 0;
}

.faq-wrapper {
  max-width: 48rem;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faq-item {
  background-color: var(--surface);
  border: 1px solid var(--border);
  transition: var(--transition-smooth);
}

.faq-item:hover,
.faq-item.active {
  border-color: var(--brown);
  box-shadow: 0 5px 15px rgba(122,78,45,0.02);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.5rem 2rem;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--brown);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
  padding: 0 2rem 1.5rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--muted);
}

@media (max-width: 576px) {
  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 1rem;
  }
  .faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   13. Enquiry Form Section
   ========================================================================== */
.enquiry-section {
  padding: 7rem 0;
}

.enquiry-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: flex-start;
}

.enquiry-info-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.info-subtitle {
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.info-title span {
  color: var(--brown);
}

.info-desc {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 2.5rem;
}

.info-cards-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 2.5rem;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 1.25rem;
  transition: var(--transition-smooth);
}

.info-card:hover {
  border-color: var(--brown);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 78, 45, 0.04);
}

.info-card-icon {
  font-size: 1.5rem;
  color: var(--brown);
  background-color: var(--background);
  width: 2.75rem;
  height: 2.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
}

.info-card-details {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.info-card-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 500;
}

.info-card-link {
  font-size: 0.95rem;
  color: var(--dark);
  font-weight: 600;
  transition: var(--transition-fast);
}

.info-card-link:hover {
  color: var(--brown);
}

.info-card-text {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.45;
}

.navy-dispatch-seal {
  display: flex;
  gap: 1rem;
  background-color: #fcfbf9;
  border-left: 3px solid var(--brown);
  padding: 1.25rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.navy-dispatch-seal i {
  font-size: 1.5rem;
  color: var(--brown);
}

.navy-dispatch-seal p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

/* Right Panel: Enquiry Form Card */
.enquiry-form-panel {
  background-color: var(--surface);
  border: 1px solid var(--border);
  padding: 3.5rem;
  box-shadow: 15px 15px 40px rgba(122, 78, 45, 0.03);
  position: relative;
  width: 100%;
}

.enquiry-form-panel::after {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 4px;
  background-color: var(--brown);
}

.enquiry-form-header {
  margin-bottom: 2.25rem;
}

.form-panel-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.form-panel-subtitle {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Form Fields */
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dark);
  margin-bottom: 0.5rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}

.required-star {
  color: var(--rust);
}

/* Input Icon Container */
.input-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon-wrapper i {
  position: absolute;
  left: 1.1rem;
  color: var(--brown);
  font-size: 1.1rem;
  pointer-events: none;
}

.form-control {
  font-family: var(--font-body);
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.9rem 1.1rem 0.9rem 2.8rem; /* Padding left leaves space for the icon */
  font-size: 1rem; /* Set to 1rem (16px) to prevent iOS Safari auto-zoom on focus */
  border-radius: 0;
  transition: var(--transition-fast);
  width: 100%;
}

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a4e2d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  background-size: 1rem;
  padding-right: 2.8rem;
  cursor: pointer;
}

textarea.form-control {
  resize: vertical;
  min-height: 7.5rem;
  padding-left: 2.8rem;
}

.form-control:focus {
  border-color: var(--brown);
  background-color: var(--surface);
  outline: none;
}

.form-submit-container {
  margin-top: 2.2rem;
  text-align: center;
}

.form-submit-container .btn {
  width: 100%;
  padding: 1.1rem;
}

/* Spinner Loading */
.loading-spinner {
  display: inline-block;
  width: 1.1rem;
  height: 1.1rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 0.8s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 991px) {
  /* Disable AOS transitions on mobile/tablets to prevent rendering lag & layout shifts */
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  /* Responsive Section Paddings */
  .categories-section, .retail-section, .story-section, .faq-section, .enquiry-section {
    padding: 3.5rem 0;
  }
  
  .site-footer {
    padding: 3rem 0 1.5rem;
  }
  
  .hero-section {
    padding-top: 6.5rem;
    padding-bottom: 3.5rem;
  }

  /* Typography Sizing Adjustments */
  .section-title {
    font-size: 2rem;
  }
  .hero-title {
    font-size: clamp(2rem, 6vw, 2.8rem);
  }
  .story-title {
    font-size: 1.7rem;
  }

  .enquiry-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .enquiry-form-panel {
    padding: 2.5rem 1.5rem;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  
  .form-group.full-width {
    grid-column: span 1;
  }
}

/* ==========================================================================
/* ==========================================================================
   17. Marketplace Trust Banner
   ========================================================================== */
.marketplace-trust-banner {
  background-color: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
  overflow: hidden;
}

.trust-banner-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.trust-banner-text-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.trust-badge-label {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--rust);
  margin-bottom: 0.4rem;
  font-weight: 600;
}

.trust-banner-heading {
  font-family: var(--font-heading);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.3;
  color: var(--dark);
  margin: 0;
  font-weight: 500;
}

.trust-banner-logos-side {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
}

.partner-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  opacity: 0.75;
  transition: var(--transition-fast);
}

.partner-logo-item:hover {
  opacity: 1;
}

.partner-logo-img {
  max-height: 100%;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: var(--transition-fast);
}

.partner-logo-item:hover .partner-logo-img {
  filter: none;
}

.trust-banner-stats-side {
  display: flex;
  justify-content: flex-end;
}

.trust-stat-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.trust-stat-number {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  color: var(--dark);
  font-weight: 600;
  line-height: 1.2;
}

.trust-stars-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0;
}

.trust-stars-label {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--brown);
}

.stars-icons {
  display: flex;
  gap: 2px;
  color: #ffb800; /* Star yellow */
  font-size: 0.85rem;
}

.trust-stat-desc {
  font-size: 0.7rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  font-weight: 600;
}

/* Responsive styles for Trust Banner */
@media (max-width: 991px) {
  .trust-banner-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .trust-banner-text-side {
    align-items: center;
  }
  
  .trust-banner-stats-side {
    justify-content: center;
  }
  
  .trust-stat-box {
    align-items: center;
  }
}


/* ==========================================================================
   17. Interactive Textile Catalogue Styling
   ========================================================================== */
.catalogue-section {
  padding: 8rem 0;
  position: relative;
  border-top: 1px solid var(--border);
  background-color: var(--surface);
}

.catalogue-controls {
  margin-bottom: 3.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.catalogue-search-wrapper {
  position: relative;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.catalogue-search-wrapper .search-icon {
  position: absolute;
  left: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.3rem;
  color: var(--muted);
  pointer-events: none;
}

.catalogue-search-input {
  width: 100%;
  padding: 1.25rem 3.5rem 1.25rem 3.5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--dark);
  border-radius: 0;
  transition: var(--transition-smooth);
}

.catalogue-search-input:focus {
  outline: none;
  border-color: var(--brown);
  background-color: #fff;
  box-shadow: 0 4px 20px rgba(122, 78, 45, 0.08);
}

@media (max-width: 768px) {
  .catalogue-search-input {
    font-size: 0.85rem;
    padding: 1rem 3rem 1rem 3rem;
  }
}

.search-clear-btn {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  font-size: 1.3rem;
  padding: 0.2rem;
  display: none;
  transition: var(--transition-fast);
}

.search-clear-btn:hover {
  color: var(--rust);
}

.attribute-filters-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto;
  width: 100%;
  overflow: hidden;
}

@media (max-width: 991px) {
  .attribute-filters-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

.filter-label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  white-space: nowrap;
}

@media (max-width: 768px) {
  .filter-label {
    font-size: 0.75rem;
  }
}

.attribute-pills {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
  flex: 1;
  min-width: 0;
}

.attribute-pills::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

@media (max-width: 991px) {
  .attribute-pills {
    width: 100%;
    margin: 0 -1.5rem;
    padding: 0 1.5rem;
  }
}

.attribute-pill {
  padding: 0.5rem 1.2rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  background-color: var(--background);
  border: 1px solid var(--border);
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.attribute-pill:hover {
  border-color: var(--brown);
  color: var(--brown);
}

.attribute-pill.active {
  background-color: var(--brown);
  border-color: var(--brown);
  color: var(--surface);
}

.catalogue-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.catalogue-sidebar {
  position: sticky;
  top: 100px;
  background-color: var(--background);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
}

.sidebar-heading {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
  color: var(--dark);
}

.collection-tabs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.collection-tab {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: none;
  border: none;
  border-left: 3px solid transparent;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--muted);
  gap: 0.75rem;
}

.collection-tab i {
  font-size: 1.2rem;
}

.collection-tab .tab-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  flex-grow: 1;
}

.collection-tab .tab-count {
  font-family: var(--font-body);
  font-size: 0.75rem;
  background-color: var(--border);
  color: var(--dark);
  padding: 0.15rem 0.5rem;
  font-weight: 600;
  border-radius: 20px;
}

.collection-tab:hover {
  background-color: rgba(122, 78, 45, 0.04);
  color: var(--brown);
}

.collection-tab.active {
  border-left-color: var(--brown);
  background-color: var(--cream);
  color: var(--brown);
  font-weight: 600;
}

.collection-tab.active .tab-count {
  background-color: var(--brown);
  color: var(--surface);
}

.subcategory-pills-container {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 1.25rem;
}

.subcategory-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.subcategory-pill {
  padding: 0.4rem 1rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  background: none;
  border: 1px dashed var(--border);
  color: var(--muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.subcategory-pill:hover {
  border-color: var(--brown);
  color: var(--brown);
  border-style: solid;
}

.subcategory-pill.active {
  background-color: var(--dark);
  border-color: var(--dark);
  border-style: solid;
  color: var(--surface);
}



.results-summary {
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#results-count {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 500;
}

.catalogue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 2rem;
  transition: var(--transition-smooth);
}

@media (max-width: 480px) {
  .catalogue-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 1rem;
  }
}

/* Fabric Card Styling */
.fabric-card {
  background-color: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: var(--transition-smooth);
  opacity: 0;
  transform: translateY(20px);
  animation: cardFadeIn 0.5s forwards ease-out;
}

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fabric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(22, 20, 18, 0.08);
  border-color: var(--brown);
}

.fabric-img-wrapper {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: var(--background);
}

.fabric-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fabric-card:hover .fabric-img-wrapper img {
  transform: scale(1.08);
}

.fabric-sku-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background-color: rgba(16, 16, 16, 0.85);
  backdrop-filter: blur(4px);
  color: var(--surface);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  padding: 0.3rem 0.7rem;
  letter-spacing: 0.05em;
  z-index: 2;
}

@media (max-width: 480px) {
  .fabric-sku-badge {
    top: 0.5rem;
    left: 0.5rem;
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
  }
}

.fabric-zoom-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(122, 78, 45, 0.15);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  cursor: pointer;
  z-index: 3;
}

.fabric-zoom-overlay i {
  color: var(--surface);
  font-size: 2rem;
  background-color: var(--brown);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transform: scale(0.8);
  transition: var(--transition-smooth);
}

.fabric-card:hover .fabric-zoom-overlay {
  opacity: 1;
}

.fabric-card:hover .fabric-zoom-overlay i {
  transform: scale(1);
}

.fabric-info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

@media (max-width: 480px) {
  .fabric-info {
    padding: 0.85rem;
  }
}

.fabric-title {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 480px) {
  .fabric-title {
    font-size: 0.9rem;
    margin-bottom: 0.35rem;
  }
}

.fabric-attributes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.fabric-attr-badge {
  font-size: 0.65rem;
  background-color: var(--background);
  color: var(--muted);
  padding: 0.15rem 0.4rem;
  border: 1px solid var(--border);
  font-weight: 500;
}

.fabric-suits-text {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.4;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  flex-grow: 1;
}

@media (max-width: 480px) {
  .fabric-suits-text {
    font-size: 0.7rem;
    margin-bottom: 0.85rem;
    -webkit-line-clamp: 1;
  }
}

.fabric-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.5rem;
  margin-top: auto;
}

.fabric-card-actions .btn-enquire {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--dark);
  color: var(--surface);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.fabric-card-actions .btn-enquire:hover {
  background-color: var(--brown);
}

@media (max-width: 991px) {
  .catalogue-controls {
    margin-bottom: 2rem;
    gap: 1.25rem;
    padding: 0;
  }
  
  .catalogue-layout {
    grid-template-columns: 1fr !important; /* Stack sidebar and grid vertically on all tablets/mobile screens */
    gap: 2rem !important;
  }

  .catalogue-sidebar {
    position: relative !important;
    top: 0 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 1.5rem !important;
    box-shadow: none !important;
    width: 100% !important;
  }

  .sidebar-heading {
    display: none !important;
  }

  /* Reflow Collection Tabs: Wrap gracefully, no horizontal scroll needed */
  .collection-tabs {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    margin: 0 !important;
    border-bottom: none !important;
    width: 100% !important;
  }

  .collection-tab {
    width: auto !important;
    border-left: none !important;
    border: 1px solid var(--border) !important;
    border-radius: 30px !important;
    padding: 0.45rem 0.85rem !important;
    background: var(--surface) !important;
    gap: 0.4rem !important;
  }

  .collection-tab.active {
    background-color: var(--brown) !important;
    border-color: var(--brown) !important;
    color: var(--surface) !important;
  }
  
  .collection-tab.active .tab-count {
    background-color: var(--surface) !important;
    color: var(--brown) !important;
  }

  /* Subcategory Pills: Wrap gracefully */
  .subcategory-pills-container {
    margin: 0 0 1.25rem 0 !important;
    padding: 0 !important;
    border-bottom: none !important;
    width: 100% !important;
  }

  .subcategory-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding: 0 !important;
    width: 100% !important;
  }

  .subcategory-pill {
    flex: 0 0 auto !important;
    font-size: 0.75rem !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 20px !important;
  }

  /* Quick Tag Attribute Pills: Wrap gracefully */
  .attribute-filters-wrapper {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.5rem !important;
    width: 100% !important;
  }

  .attribute-pills {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .attribute-pill {
    flex: 0 0 auto !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: 20px !important;
  }

  /* Grid details for tablet */
  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
  }
  
  #btn-load-more-fabrics {
    max-width: 100% !important;
    white-space: normal !important;
    height: auto !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 767px) {
  /* Hide Quick Tags on mobile to save vertical screen space */
  .attribute-filters-wrapper {
    display: none !important;
  }

  /* Compact button chips for Collections */
  .collection-tab {
    font-size: 0.72rem !important;
    padding: 0.35rem 0.65rem !important;
    border-radius: 20px !important;
    gap: 0.3rem !important;
  }
  
  .collection-tab i {
    font-size: 0.9rem !important;
  }
  
  .collection-tab .tab-count {
    font-size: 0.6rem !important;
    padding: 0.05rem 0.25rem !important;
  }

  /* Compact button chips for Subcategories */
  .subcategory-pill {
    font-size: 0.68rem !important;
    padding: 0.3rem 0.6rem !important;
    border-radius: 15px !important;
  }

  .catalogue-search-input {
    font-size: 0.85rem !important;
    padding: 0.85rem 2.5rem 0.85rem 2.5rem !important;
  }
  .catalogue-search-wrapper .search-icon {
    left: 1rem !important;
    font-size: 1.05rem !important;
  }
  .search-clear-btn {
    right: 1rem !important;
    font-size: 1.05rem !important;
  }

  .catalogue-grid {
    grid-template-columns: repeat(2, 1fr) !important; /* 2 columns on mobile devices */
    gap: 1.25rem !important;
  }
}

@media (max-width: 480px) {
  .collection-tab i {
    display: none !important; /* Hide icons on very narrow screens to keep them compact */
  }

  .catalogue-grid {
    grid-template-columns: 1fr !important; /* 1 column on standard phones */
    gap: 1.25rem !important;
  }

  .fabric-info {
    padding: 1.25rem !important;
  }
  
  .fabric-attributes-list {
    display: flex !important;
    margin-bottom: 0.75rem !important;
  }
  
  .fabric-suits-text {
    display: block !important;
    margin-bottom: 1.25rem !important;
    -webkit-line-clamp: 2 !important;
  }
  
  .fabric-title {
    font-size: 1rem !important;
    margin-bottom: 0.5rem !important;
  }
  
  .fabric-card-actions .btn-enquire {
    padding: 0.75rem 1rem !important;
    font-size: 0.8rem !important;
  }
  
  #btn-load-more-fabrics {
    font-size: 0.8rem !important;
    padding: 0.6rem 1rem !important;
  }
}

/* Lightbox Modal CSS */
/* Golden pulse effect on Enquiry Form */
.enquiry-wrapper.pulse-highlight {
  animation: borderPulse 1.5s ease-in-out 3;
}

@keyframes borderPulse {
  0% {
    box-shadow: 0 25px 60px rgba(22, 20, 18, 0.08);
    border-color: var(--border);
  }
  50% {
    box-shadow: 0 0 25px rgba(166, 83, 53, 0.35);
    border-color: var(--rust);
  }
  100% {
    box-shadow: 0 25px 60px rgba(22, 20, 18, 0.08);
    border-color: var(--border);
  }
}

/* Skeleton Loading Screens */
.shimmer-skeleton {
  background: #f1ebd8;
  background-image: linear-gradient(to right, #f1ebd8 0%, #e6dfc7 20%, #f1ebd8 40%, #f1ebd8 100%);
  background-repeat: no-repeat;
  background-size: 800px 100%;
  animation: shimmerEffect 1.5s infinite linear;
}

@keyframes shimmerEffect {
  0% {
    background-position: -400px 0;
  }
  100% {
    background-position: 400px 0;
  }
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--background);
  border: 1px dashed var(--border);
}

.no-results i {
  font-size: 3rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.no-results h4 {
  font-size: 1.2rem;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.no-results p {
  font-size: 0.9rem;
  color: var(--muted);
}


/* ==========================================================================
/* ==========================================================================
   18. Testimonials Section (Premium Slider Carousel)
   ========================================================================== */
.testimonials-section {
  padding: 6.5rem 0;
  background: linear-gradient(to bottom, var(--surface) 0%, #fbf9f6 50%, var(--surface) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.testimonials-slider-wrapper {
  position: relative;
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 1rem 0;
}

.testimonials-slider-container {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -webkit-overflow-scrolling: touch;
  width: 100%;
  padding: 1.5rem 0.5rem; /* vertical padding prevents card scale clips */
}

.testimonials-slider-container::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}

.testimonials-slider-track {
  display: flex;
  gap: 2.5rem;
  width: 100%;
}

.testimonial-slide {
  scroll-snap-align: start;
  flex-shrink: 0;
  width: calc((100% - (2.5rem * 2)) / 3); /* exact 3 cards per view */
  box-sizing: border-box;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(122, 78, 45, 0.08);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: 1.25rem;
  right: 1.75rem;
  font-family: var(--font-heading);
  font-size: 5rem;
  color: rgba(122, 78, 45, 0.04);
  line-height: 1;
  font-style: italic;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--brown);
  background: var(--background);
  box-shadow: 0 15px 35px rgba(122, 78, 45, 0.06);
}

.testimonial-card:hover::before {
  color: rgba(122, 78, 45, 0.08);
}

.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.testimonial-rating {
  color: #ffb800;
  font-size: 0.9rem;
  display: flex;
  gap: 0.15rem;
  filter: drop-shadow(0 2px 4px rgba(255, 184, 0, 0.2));
}

.partner-verify-badge {
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #2e7d32;
  background-color: rgba(46, 125, 50, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.testimonial-headline {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.testimonial-text {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2rem;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  margin-top: auto;
}

.author-avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.author-avatar-fallback {
  background: linear-gradient(135deg, var(--brown) 0%, var(--rust) 100%);
  color: var(--surface);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(122, 78, 45, 0.1);
}

.verify-check-icon {
  position: absolute;
  bottom: -2px;
  right: -2px;
  color: #2e7d32;
  font-size: 1rem;
  background-color: var(--surface);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.verify-check-icon i {
  line-height: 1;
}

.author-info {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--dark);
}

.author-title {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
}

/* Slider Controls */
.testimonials-slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.slider-arrow-btn {
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--dark);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: all 0.3s ease;
}

.slider-arrow-btn:hover {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--surface);
  box-shadow: 0 8px 20px rgba(122, 78, 45, 0.15);
  transform: translateY(-2px);
}

.slider-arrow-btn:active {
  transform: translateY(0);
}

.slider-dots-container {
  display: flex;
  gap: 0.6rem;
  align-items: center;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: all 0.3s ease;
}

.slider-dot:hover {
  background: var(--muted);
}

.slider-dot.active {
  background: var(--brown);
  transform: scale(1.35);
  box-shadow: 0 0 8px rgba(122, 78, 45, 0.3);
}

@media (max-width: 991px) {
  .testimonials-section {
    padding: 4.5rem 0;
  }
  .testimonials-slider-track {
    gap: 1.75rem;
  }
  .testimonial-slide {
    width: calc((100% - 1.75rem) / 2); /* 2 cards per view */
  }
}

@media (max-width: 768px) {
  .testimonials-slider-track {
    gap: 1.5rem;
  }
  .testimonial-slide {
    width: 100%; /* 1 card per view */
  }
  .slider-arrow-btn {
    width: 42px;
    height: 42px;
    font-size: 1.1rem;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
  .testimonial-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .testimonial-headline {
    font-size: 1.05rem;
  }
  .testimonial-text {
    font-size: 0.85rem;
  }
}

/* ==========================================================================
   19. Prefers Reduced Motion Styling
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
  
  [data-aos] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
