@import url('https://fonts.googleapis.com/css2?family=Herr+Von+Muellerhoff&family=Reenie+Beanie&display=swap');

/* 
   ==========================================================================
   DESIGN SYSTEM FOR POORNIMA CUT PIECE HOUSE (ESTD 1965)
   CLEAN MINIMALIST Redesign
   ==========================================================================
*/

:root {
  --navy: #1A365D;
  --navy-dark: #0F2547;
  --maroon: #5A1A25;
  --cream: #FAF8F5;
  --cream-dark: #F3EFE6;
  --gold: #B89F74;
  --gold-light: #D2C0A5;
  --charcoal: #2C2C2C;
  --white: #FFFFFF;
  --gray-light: #E4DFD5;
  
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-cursive: 'Herr Von Muellerhoff', cursive;
  --font-note: 'Reenie Beanie', cursive;
  
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-fast: all 0.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Premium Custom Scrollbar Styles */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-button {
  display: none !important;
}

::-webkit-scrollbar-track {
  background: var(--navy-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--gold-light);
}

/* Firefox scrollbar support */
html {
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--navy-dark);
}

/* Base & Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle fabric texture overlay */
.fabric-noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  opacity: 0.015;
  pointer-events: none;
  z-index: 9999;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.01em;
}

p {
  font-weight: 400;
  color: var(--charcoal);
  opacity: 0.9;
}

.maroon-dot {
  color: var(--maroon);
}

/* Layout Utilities */
section {
  padding: 110px 20px;
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
  font-weight: 700;
  text-align: center;
}

.section-title {
  font-size: 2.8rem;
  line-height: 1.15;
  margin-bottom: 45px;
  text-align: center;
  position: relative;
}

.section-title.left-align {
  text-align: left;
}

.section-divider {
  height: 1px;
  background-color: var(--gray-light);
  max-width: 1200px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 14px 28px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
  border-radius: 0;
  border: none;
}

.btn-nav-quote {
  background-color: var(--maroon);
  color: var(--cream);
  border: 1px solid var(--maroon);
  padding: 8px 16px;
  font-size: 0.7rem;
}

.btn-nav-quote:hover {
  background-color: transparent;
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-1px);
}

.btn-view-all {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--gold);
  font-size: 0.75rem;
  padding: 12px 24px;
}

.btn-view-all:hover {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-gold-cta {
  background-color: var(--gold);
  color: var(--navy);
  border: 1px solid var(--gold);
}

.btn-gold-cta:hover {
  background-color: transparent;
  color: var(--cream);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-wa-cta {
  background-color: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-wa-cta:hover {
  background-color: var(--cream);
  color: var(--maroon);
  border-color: var(--cream);
  transform: translateY(-2px);
}

.btn-know-more {
  background-color: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
}

.btn-know-more:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
  transform: translateY(-2px);
}

/* Floating WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #25D366;
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
  z-index: 999;
  text-decoration: none;
  font-size: 1.8rem;
  transition: var(--transition-fast);
}

.whatsapp-float:hover {
  transform: scale(1.06);
  background-color: #20BA5A;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background-color: transparent;
  transition: var(--transition-smooth);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header.scrolled {
  background-color: var(--white);
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--gray-light);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 30px;
  max-width: 1240px;
  margin: 0 auto;
  transition: var(--transition-smooth);
}

.logo-container {
  text-decoration: none !important;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  line-height: 1;
}

.logo-sub {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
  font-weight: 700;
}

.header.scrolled .logo-main {
  color: var(--navy);
}

.header.scrolled .logo-sub {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 24px;
}

.nav-item a {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  position: relative;
  padding: 5px 0;
  opacity: 0.85;
  transition: var(--transition-fast);
}

.header.scrolled .nav-item a {
  color: var(--charcoal);
}

.nav-item a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.header.scrolled .nav-item a:hover {
  color: var(--gold);
}

.nav-item a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--gold-light);
  transition: var(--transition-fast);
}

.header.scrolled .nav-item a::after {
  background-color: var(--gold);
}

.nav-item a:hover::after {
  width: 100%;
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--cream);
  font-size: 1.5rem;
}

.header.scrolled .mobile-nav-toggle {
  color: var(--navy);
}

/* ==========================================================================
   HOMEPAGE HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background-color: var(--navy-dark);
  color: var(--cream);
  overflow: hidden;
  padding: 0 80px;
  z-index: 1;
}

.hero-video-container, .hero-static-frame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at bottom left, rgba(17, 24, 39, 0.4) 0%, rgba(11, 15, 25, 0.94) 80%);
  z-index: -1;
}

.hero-static-frame {
  display: none;
}

.hero-static-frame.active {
  display: block;
}

.video-controls {
  position: absolute;
  bottom: 45px;
  right: 50px;
  display: flex;
  gap: 15px;
  z-index: 10;
}

.video-btn {
  background: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 20px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  border-radius: 2px;
  transition: var(--transition-fast);
}

.video-btn:hover {
  background: var(--cream);
  color: var(--navy-dark);
  border-color: var(--cream);
}

.hero-content {
  text-align: left;
  max-width: 740px;
  z-index: 2;
  margin-top: 60px;
}

.hero-badge-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--gold-light);
  display: inline-block;
  margin-bottom: 20px;
  font-weight: 700;
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

.hero-title {
  font-size: 4.8rem;
  font-weight: 700;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 25px;
  font-family: var(--font-serif);
}

.hero-title span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold-light);
}

.hero-subtitle {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--cream);
  opacity: 0.85;
  max-width: 580px;
  margin-bottom: 45px;
  font-weight: 400;
  line-height: 1.6;
}

.hero-action-row {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  background: none;
  border: none;
  text-align: left;
  text-decoration: none;
}

.hero-play-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-size: 1rem;
  transition: var(--transition-fast);
}

.hero-play-btn:hover .hero-play-circle {
  background-color: var(--cream);
  color: var(--navy-dark);
  transform: scale(1.05);
}

.hero-play-text {
  display: flex;
  flex-direction: column;
}

.hero-play-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.2;
}

.hero-play-sub {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.hero-scroll-control {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--cream);
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.scroll-mouse {
  width: 18px;
  height: 28px;
  border: 2px solid var(--cream);
  border-radius: 10px;
  position: relative;
}

.scroll-mouse::after {
  content: '';
  width: 2px;
  height: 5px;
  background-color: var(--cream);
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
  animation: scrollWheel 1.5s infinite;
}

@keyframes scrollWheel {
  0% { opacity: 1; top: 5px; }
  100% { opacity: 0; top: 13px; }
}

.fabric-parallax-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--gold);
  z-index: 10;
}

/* ==========================================================================
   LEGACY SECTION (OUR STORY)
   ========================================================================== */
.legacy-section {
  background-color: var(--cream);
  z-index: 2;
}

.legacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: flex-start;
}

.legacy-image-panel {
  position: relative;
}

.clean-image-frame {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  padding: 15px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.clean-image-frame img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--gray-light);
}

.image-caption {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  color: var(--gold);
  text-align: center;
  margin-top: 15px;
}

.legacy-content {
  display: flex;
  flex-direction: column;
}

.legacy-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 35px;
  opacity: 0.9;
}

.legacy-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
  padding: 30px 0;
  margin-bottom: 35px;
}

.stat-item {
  text-align: left;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--charcoal);
  opacity: 0.8;
  font-weight: 700;
  line-height: 1.3;
}

/* Inventory Widget */
.inventory-widget {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.03);
  padding: 25px;
  margin-bottom: 35px;
}

.inventory-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.inventory-header h3 {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--navy);
}

.inventory-status {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  background-color: rgba(90, 26, 37, 0.08);
  color: var(--maroon);
  padding: 3px 8px;
  border-radius: 2px;
  letter-spacing: 1px;
}

.inventory-table-wrapper {
  overflow-x: auto;
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.82rem;
}

.inventory-table th {
  font-family: var(--font-sans);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 1px;
  color: var(--gold);
  padding: 8px 10px;
  border-bottom: 2px solid var(--gray-light);
}

.inventory-table td {
  padding: 10px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  color: var(--charcoal);
}

.inventory-table tr:last-child td {
  border-bottom: none;
}

/* ==========================================================================
   PRODUCT SECTION (STRUCTURED PRODUCT GRID)
   ========================================================================== */
.product-section {
  background-color: var(--navy-dark);
  color: var(--cream);
  padding: 110px 20px;
}

.product-section .section-title {
  color: var(--cream);
}

.products-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 55px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.08);
  padding-bottom: 30px;
}

.products-header .btn-view-all {
  color: var(--cream);
  border-color: rgba(245, 241, 232, 0.3);
}

.products-header .btn-view-all:hover {
  background-color: var(--cream);
  color: var(--navy-dark);
  border-color: var(--cream);
}

.section-subtitle-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--gold-light);
  opacity: 0.9;
  margin-top: 5px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-card {
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-5px);
  background-color: rgba(255, 255, 255, 0.05);
  border-color: var(--gold);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.product-card-image {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
}

.product-card-image::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(0deg, rgba(11, 15, 25, 0.4) 0%, transparent 100%);
}

.product-card-body {
  padding: 25px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 10px;
}

.product-card-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.8;
  margin-bottom: 20px;
  line-height: 1.5;
  flex-grow: 1;
}

.product-specs {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 15px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  margin-bottom: 6px;
  color: var(--cream);
  opacity: 0.7;
}

.spec-row strong, .spec-row span {
  color: var(--white);
}

/* ==========================================================================
   BRANDS SECTION (MINIMALIST LOGO MARQUEE)
   ========================================================================== */
.brands-section {
  background-color: var(--cream-dark);
  padding: 60px 0;
  overflow: hidden;
  z-index: 2;
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.ribbon-wrap {
  width: 100%;
  position: relative;
}

.brands-ribbon {
  overflow: hidden;
  position: relative;
}

@keyframes ribbonMarquee {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-50%, 0, 0); }
}

.ribbon-marquee-track {
  display: flex;
  width: max-content;
  animation: ribbonMarquee 26s linear infinite;
}

.ribbon-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 60px;
  opacity: 0.65;
  transition: var(--transition-fast);
}

.ribbon-item:hover {
  opacity: 1;
}

.ribbon-sep {
  color: var(--gold);
  margin-left: 60px;
  font-size: 0.9rem;
}

/* ==========================================================================
   WHY CHOOSE US (MINIMALIST CAPABILITIES)
   ========================================================================== */
.why-choose-us {
  background-color: var(--cream);
  padding: 110px 20px;
  z-index: 2;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px 30px;
  padding-top: 20px;
}

.capability-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.capability-icon {
  width: 50px;
  height: 50px;
  border-radius: 0;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 22px;
}

.capability-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 10px;
  font-weight: 600;
}

.capability-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.85;
  line-height: 1.6;
}

/* ==========================================================================
   INFRASTRUCTURE SECTION (CLEAN CARDS)
   ========================================================================== */
.infrastructure-section {
  background-color: var(--cream);
  z-index: 2;
}

.infra-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 50px;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 25px;
}

.infra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.infra-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  display: flex;
  flex-direction: row;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.infra-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.06);
  border-color: var(--gold);
}

.infra-image {
  width: 45%;
  height: 100%;
  min-height: 260px;
  overflow: hidden;
  position: relative;
}

.infra-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.infra-card:hover .infra-image img {
  transform: scale(1.03);
}

.infra-badge {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 10px;
  display: block;
}

.infra-body {
  width: 55%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: var(--white);
  color: var(--charcoal);
}

.infra-card-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 10px;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 8px;
}

.infra-address {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.85;
  margin-bottom: 25px;
  line-height: 1.55;
}

.btn-directions {
  background-color: var(--navy);
  color: var(--cream);
  border: none;
  padding: 8px 16px;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-fast);
  border-radius: 0;
  align-self: flex-start;
}

.btn-directions:hover {
  background-color: var(--gold);
  color: var(--navy);
}

/* ==========================================================================
   FINAL CTA SECTION
   ========================================================================== */
.final-cta {
  background-color: var(--navy);
  padding: 110px 20px;
  text-align: center;
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-top: 2px solid var(--gold);
}

.cta-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
}

.cta-title {
  font-size: 3rem;
  color: var(--white);
  margin-top: 10px;
  margin-bottom: 15px;
}

.cta-desc {
  font-size: 1.15rem;
  color: var(--cream);
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 40px auto;
  font-family: var(--font-serif);
  font-style: italic;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.cta-buttons .btn {
  padding: 14px 30px;
  font-size: 0.8rem;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: var(--navy-dark);
  color: var(--cream);
  padding: 70px 20px 25px 20px;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
  gap: 40px;
  margin-bottom: 45px;
}

.footer-col-brand .logo-main {
  font-size: 1.7rem;
  color: var(--white);
}

.footer-desc {
  font-size: 0.85rem;
  opacity: 0.7;
  margin: 15px 0 20px 0;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-sans);
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 22px;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
  opacity: 0.75;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.footer-contact-info {
  list-style: none;
}

.footer-contact-info li {
  margin-bottom: 12px;
  font-size: 0.85rem;
  opacity: 0.8;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-contact-info span {
  color: var(--gold);
  width: 15px;
}

.footer-newsletter-text {
  font-size: 0.85rem;
  opacity: 0.75;
}

.newsletter-form {
  display: flex;
  margin-bottom: 0;
  border-bottom: 1px solid rgba(245, 241, 232, 0.2);
}

.newsletter-input {
  background: transparent;
  border: none;
  color: var(--cream);
  padding: 10px 5px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  flex-grow: 1;
  outline: none;
}

.newsletter-btn {
  background: transparent;
  color: var(--gold);
  border: none;
  padding: 10px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.newsletter-btn:hover {
  color: var(--white);
}

.footer-socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid rgba(245, 241, 232, 0.2);
  color: var(--cream);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.social-icon:hover {
  background: var(--gold);
  color: var(--navy-dark);
  border-color: var(--gold);
  transform: translateY(-2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  opacity: 0.6;
}

/* ==========================================================================
   QUOTE MODAL
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(11, 15, 25, 0.8);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-content {
  background-color: var(--cream);
  width: 100%;
  max-width: 580px;
  position: relative;
  box-shadow: 0 25px 50px rgba(0,0,0,0.15);
  transform: scale(0.95) translateY(15px);
  transition: var(--transition-smooth);
  border: 1px solid var(--gold);
  padding: 40px;
  border-radius: 0;
}

.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px; right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--navy);
  opacity: 0.6;
  transition: var(--transition-fast);
  line-height: 1;
}

.modal-close:hover {
  opacity: 1;
  color: var(--maroon);
}

.modal-title {
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}

.modal-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.8;
  margin-bottom: 30px;
  text-align: center;
  line-height: 1.4;
}

.modal-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group-full {
  grid-column: 1 / -1;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  outline: none;
  transition: var(--transition-fast);
  border-radius: 0;
  color: var(--charcoal);
}

.form-input:focus {
  border-color: var(--gold);
}

select.form-input {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
}

.modal-actions {
  grid-column: 1 / -1;
  margin-top: 10px;
  display: flex;
}

.modal-actions .btn {
  width: 100%;
  padding: 14px 0;
}

.btn-primary {
  background-color: var(--navy);
  color: var(--cream);
}

.btn-primary:hover {
  background-color: var(--gold);
  color: var(--navy);
}

.btn-secondary {
  background-color: var(--gray-light);
  color: var(--navy);
}

.btn-secondary:hover {
  background-color: var(--navy);
  color: var(--cream);
}

.form-success-message {
  display: none;
  text-align: center;
  padding: 30px 0;
}

.form-success-message h3 {
  font-size: 1.8rem;
  color: var(--maroon);
  margin-bottom: 12px;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-section {
    padding: 0 40px;
  }
  
  .hero-title {
    font-size: 4rem;
  }
  
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  
  .capabilities-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  section {
    padding: 80px 20px;
  }
  
  .section-title {
    font-size: 2.3rem;
  }
  
  .legacy-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .legacy-image-panel {
    max-width: 550px;
    margin: 0 auto;
  }
  
  .infra-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .categories-preview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 12px 20px;
  }
  
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--navy-dark) !important;
    padding: 30px 20px;
    gap: 20px;
    border-bottom: 2px solid var(--gold);
    z-index: 999;
  }
  
  .nav-menu.active {
    display: flex;
  }
  
  .nav-menu .nav-item a {
    color: var(--cream) !important;
    font-size: 0.9rem;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    width: 100%;
  }
  
  .nav-menu .nav-item a:hover {
    color: var(--gold-light) !important;
  }
  
  .nav-menu .nav-cta {
    margin-top: 10px;
    width: 100%;
  }
  
  .nav-menu .btn-nav-quote {
    width: 100%;
    padding: 12px;
    font-size: 0.8rem;
    text-align: center;
  }
  
  .mobile-nav-toggle {
    display: block;
  }
  
  .hero-section {
    padding: 0 20px;
  }
  
  .hero-title {
    font-size: 3rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-action-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin: 0 auto;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  
  .infra-card {
    flex-direction: column;
  }
  
  .infra-image, .infra-body {
    width: 100%;
  }
  
  .infra-image {
    min-height: 200px;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }
  
  .cta-buttons .btn {
    width: 100%;
    max-width: 280px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .modal-form {
    grid-template-columns: 1fr;
  }
  
  .modal-content {
    padding: 30px 20px;
    width: 94%;
  }
}

}

/* 
   ==========================================================================
   EDITORIAL SUBPAGE SYSTEM (ANTI-AI TEMPLATE FEEL)
   ==========================================================================
*/

body#subpage {
  background-color: var(--cream);
}

.subpage-hero {
  padding: 150px 20px 80px 20px;
  background-color: var(--navy-dark);
  background-image: radial-gradient(circle at 80% 20%, rgba(184, 159, 116, 0.15) 0%, transparent 60%);
  color: var(--cream);
  text-align: center;
  position: relative;
  border-bottom: 2px solid var(--gold);
  overflow: hidden;
}

.subpage-hero .container {
  background: rgba(15, 37, 71, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 159, 116, 0.18);
  border-radius: 8px;
  padding: 50px 40px;
  max-width: 880px;
  margin: 0 auto;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
}

.subpage-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("../assets/mandala_pattern_clean.png");
  background-position: center;
  background-repeat: repeat;
  background-size: 450px auto;
  opacity: 0.38;
  filter: blur(0.5px);
  pointer-events: none;
}

.subpage-badge {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--gold-light);
  font-weight: 700;
  display: inline-block;
  margin-bottom: 18px;
  border: 1px solid rgba(184, 159, 116, 0.4);
  padding: 4px 10px;
  background-color: rgba(17, 24, 39, 0.4);
}

.subpage-title {
  font-family: var(--font-serif);
  font-size: 4rem;
  font-weight: 600;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: 22px;
  letter-spacing: -0.5px;
}

.subpage-subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--cream-dark);
  opacity: 0.85;
  max-width: 760px;
  margin: 0 auto;
  line-height: 1.6;
}

.subpage-content {
  background-color: var(--cream);
  padding: 0;
  position: relative;
  z-index: 2;
}

/* ==========================================================================
   EDITORIAL SECTION LAYOUTS (ASYMMETRICAL & PRINT-INSPIRED)
   ========================================================================== */
.editorial-section {
  padding: 120px 20px;
}

.editorial-grid-asym {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 90px;
  align-items: flex-start;
}

.editorial-left {
  position: sticky;
  top: 130px;
}

.editorial-title-small {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  color: var(--navy);
  margin-bottom: 30px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  font-weight: 600;
}

.editorial-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.65rem;
  line-height: 1.45;
  color: var(--maroon);
  border-left: 2px solid var(--gold);
  padding-left: 28px;
  margin: 40px 0;
}

.editorial-paragraph {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--charcoal);
  margin-bottom: 25px;
  opacity: 0.95;
}

.drop-cap {
  font-family: var(--font-serif);
  font-size: 5rem;
  float: left;
  line-height: 0.75;
  padding-top: 6px;
  padding-right: 12px;
  color: var(--maroon);
  font-weight: 700;
}

/* ==========================================================================
   CHRONOLOGY TIMELINE (OUR STORY)
   ========================================================================== */
.timeline-section {
  padding: 120px 20px;
  background-color: var(--cream-dark);
  border-top: 1px solid var(--gray-light);
  border-bottom: 1px solid var(--gray-light);
}

.milestone-timeline {
  position: relative;
  max-width: 850px;
  margin: 60px auto 0 auto;
  padding-left: 60px;
}

.milestone-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 20px; /* Aligns line start to the center of the first year box (1965) to prevent top overflow */
  bottom: 5px;
  width: 1px;
  background-color: var(--gold);
}

.timeline-item {
  position: relative;
  margin-bottom: 60px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-year {
  position: absolute;
  left: -60px;
  top: -2px;
  width: 40px;
  height: 40px;
  background-color: var(--cream-dark);
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--maroon);
  z-index: 2;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -42px;
  top: 17px;
  width: 5px;
  height: 5px;
  background-color: var(--maroon);
  border-radius: 50%;
  z-index: 3;
  display: none; /* Hide dot to prevent overlap with timeline-year box text */
}

.timeline-content {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  padding: 35px 40px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.01);
  transition: var(--transition-fast);
}

.timeline-content:hover {
  border-color: var(--gold);
}

.timeline-content h3 {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.timeline-content p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.7;
  opacity: 0.9;
}

/* ==========================================================================
   PRODUCT SPECIFICATIONS DIRECTORY
   ========================================================================== */
.product-directory-section {
  padding: 120px 20px;
}

.product-category-block {
  margin-bottom: 100px;
}

.product-category-block:last-child {
  margin-bottom: 0;
}

.category-meta-header {
  border-bottom: 1px solid var(--gold);
  padding-bottom: 20px;
  margin-bottom: 40px;
}

.category-meta-header h2 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.category-meta-header p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--charcoal);
  opacity: 0.85;
}

.specs-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--gray-light);
  background-color: var(--white);
}

.specs-table-wrapper .inventory-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table-wrapper .inventory-table th {
  background-color: var(--navy);
  color: var(--cream);
  padding: 18px 24px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: left;
  border-bottom: 1px solid var(--gold);
}

.specs-table-wrapper .inventory-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-light);
  font-size: 0.88rem;
  color: var(--charcoal);
}

.specs-table-wrapper .inventory-table tr:hover td {
  background-color: var(--cream-dark);
}

.specs-table-wrapper .inventory-table tr:last-child td {
  border-bottom: none;
}

.specs-table-wrapper .btn-nav-quote {
  font-size: 0.65rem;
  padding: 6px 12px;
  letter-spacing: 1px;
}

/* ==========================================================================
   BRANDS DIRECTORY (PARTNER MILLS - GARMENT TAG EDITORIAL LOOK)
   ========================================================================== */
.brands-directory-section {
  padding: 120px 20px;
}

.brands-detailed-grid {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 60px;
}

.brand-detail-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  transition: var(--transition-smooth);
}

.brand-detail-card:hover {
  border-color: var(--gold);
  box-shadow: 0 15px 40px rgba(0,0,0,0.03);
}

.brand-card-logo {
  background-color: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 50px 30px;
  border-right: 1px solid var(--gray-light);
}

.brand-card-content {
  padding: 45px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-card-content h3 {
  font-family: var(--font-serif);
  font-size: 2rem;
  color: var(--navy);
  margin-bottom: 18px;
}

.brand-card-text {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.75;
  margin-bottom: 25px;
  opacity: 0.9;
}

.brand-card-meta {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: var(--charcoal);
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
  display: flex;
  align-items: center;
}

.brand-card-meta span {
  color: var(--maroon);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 1.5px;
  margin-right: 10px;
}

/* ==========================================================================
   CAPABILITIES / OPERATIONS DETAIL
   ========================================================================== */
.capabilities-detail-section {
  padding: 120px 20px;
}

.capabilities-intro-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: center;
}

.capabilities-grid-asym {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.capability-column {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  padding: 45px;
  transition: var(--transition-smooth);
}

.capability-column:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.03);
}

.capability-column .capability-icon {
  width: 50px;
  height: 50px;
  border: 1px solid var(--gold);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 25px;
}

.capability-column h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 15px;
}

.capability-column p {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.7;
  opacity: 0.85;
}

/* ==========================================================================
   INFRASTRUCTURE / DEPOT & OFFICE DETAIL
   ========================================================================== */
.infra-details-section {
  padding: 120px 20px;
}

.infra-detailed-cards {
  display: flex;
  flex-direction: column;
  gap: 90px;
}

.infra-detail-block {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.infra-detail-block:nth-child(even) {
  grid-template-columns: 0.9fr 1.1fr;
}

.infra-detail-block:nth-child(even) .clean-image-frame {
  order: 2;
}

.infra-detail-block:nth-child(even) div:not(.clean-image-frame) {
  order: 1;
}

.infra-detail-title {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  color: var(--navy);
  margin-bottom: 15px;
}

.infra-specs-list {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  margin-bottom: 25px;
  line-height: 2;
  color: var(--charcoal);
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
}

.infra-specs-list div {
  margin-bottom: 10px;
}

.infra-specs-list strong {
  color: var(--navy);
}

/* ==========================================================================
   CONTACT US DESK
   ========================================================================== */
.contact-details-section {
  padding: 120px 20px;
}

.contact-grid-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 90px;
  align-items: flex-start;
}

.contact-form-container {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  padding: 50px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
}

.contact-sidebar-info {
  position: sticky;
  top: 130px;
}

.sidebar-block {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  padding: 40px;
  margin-bottom: 40px;
}

.sidebar-block:last-child {
  margin-bottom: 0;
}

.dir-item {
  border-bottom: 1px dashed var(--gray-light);
  padding-bottom: 15px;
  margin-bottom: 15px;
}

.dir-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

/* ==========================================================================
   RESPONSIVE OVERRIDES FOR SUBPAGE ELEMENTS
   ========================================================================== */
@media (max-width: 1024px) {
  .editorial-grid-asym {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .editorial-left {
    position: relative;
    top: 0;
  }
  
  .brand-detail-card {
    grid-template-columns: 1fr;
  }
  
  .brand-card-logo {
    border-right: none;
    border-bottom: 1px solid var(--gray-light);
    padding: 35px;
  }
  
  .brand-card-content {
    padding: 35px;
  }
  
  .infra-detail-block {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  
  .infra-detail-block:nth-child(even) .clean-image-frame {
    order: 0;
  }
  
  .infra-detail-block:nth-child(even) div:not(.clean-image-frame) {
    order: 0;
  }
  
  .capabilities-grid-asym {
    grid-template-columns: 1fr 1fr;
  }
  
  .capabilities-intro-row {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 50px;
  }
  
  .contact-grid-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .contact-sidebar-info {
    position: relative;
    top: 0;
  }
}

/* Homepage Grids (Refined for Mobile Responsiveness) */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.categories-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.stats-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  text-align: center;
}

.shipping-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 40px;
}

.shipping-card {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  padding: 40px;
}

@media (max-width: 768px) {
  .subpage-hero {
    padding: 110px 15px 50px 15px;
  }
  
  .subpage-title {
    font-size: 2.4rem;
  }
  
  .capabilities-grid-asym {
    grid-template-columns: 1fr;
  }
  
  .timeline-section {
    padding: 70px 20px;
  }
  
  .milestone-timeline {
    padding-left: 45px;
  }
  
  .milestone-timeline::before {
    left: 12px;
    top: 20px; /* Aligns to center of desktop/tablet timeline year box */
  }
  
  .timeline-year {
    left: -51px;
    width: 36px;
    height: 36px;
    font-size: 0.8rem;
  }
  
  .timeline-item::after {
    left: -32.5px;
    top: 12px;
    display: none; /* Hide dot on mobile as well */
  }
  
  .timeline-content {
    padding: 20px 25px;
  }
  
  .timeline-content h3 {
    font-size: 1.25rem;
  }
  
  .timeline-item {
    margin-bottom: 35px;
  }
  
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .stats-overview-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* ==========================================================================
   HOMEPAGE CUSTOM ARCHIVE & LEDGER LAYOUTS
   ========================================================================== */

/* Split-Screen Hero Section */
.hero-split-container {
  display: flex;
  min-height: 100vh;
  background-color: var(--navy-dark);
  position: relative;
  overflow: hidden;
}

.hero-split-media {
  width: 55%;
  position: relative;
  border-right: 1px solid var(--gold);
}

.hero-split-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.hero-split-media .hero-video-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(90deg, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 0.95) 100%);
  z-index: 1;
}

.hero-split-text {
  width: 45%;
  background-color: var(--cream);
  display: flex;
  align-items: center;
  padding: 120px 60px 80px 60px;
  position: relative;
  z-index: 2;
  border-left: 1px solid var(--gray-light);
}

.hero-split-text::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(circle at 10% 20%, rgba(184, 159, 116, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.hero-split-content {
  max-width: 460px;
  width: 100%;
  text-align: left;
}

/* Lot/Ledger Badge inside Hero */
.hero-archive-badge {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--maroon);
  border: 1px solid rgba(90, 26, 37, 0.2);
  padding: 5px 10px;
  background-color: var(--cream-dark);
  margin-bottom: 30px;
}

.hero-archive-badge .archive-code {
  font-weight: 800;
}

.hero-archive-badge .archive-location {
  border-left: 1px solid rgba(90, 26, 37, 0.2);
  padding-left: 12px;
  color: var(--charcoal);
  opacity: 0.8;
}

/* Dotted Leader Ledger Box */
.ledger-box {
  background-color: var(--white);
  border: 4px double var(--gold);
  padding: 35px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.01);
  margin-top: 25px;
}

.ledger-box-title {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--maroon);
  border-bottom: 1px dashed var(--gray-light);
  padding-bottom: 12px;
  margin-bottom: 18px;
  text-align: center;
}

.ledger-row-dotted {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 0.85rem;
  margin-bottom: 12px;
  font-family: var(--font-sans);
}

.ledger-row-dotted:last-child {
  margin-bottom: 0;
}

.ledger-label {
  font-weight: 500;
  color: var(--charcoal);
  white-space: nowrap;
}

.ledger-leader {
  flex-grow: 1;
  border-bottom: 1px dotted var(--gold);
  margin: 0 10px 4px 10px;
  opacity: 0.6;
}

.ledger-value {
  font-family: 'Courier New', Courier, monospace;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

/* Static Approved Mill Sourcing Directory */
.mill-directory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.mill-block {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.mill-block:hover {
  border-color: var(--gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.02);
}

.mill-block-logo {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.mill-block-logo svg {
  max-width: 140px;
  height: auto;
}

.mill-block-meta {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--maroon);
  border-top: 1px dashed var(--gray-light);
  padding-top: 12px;
  width: 100%;
}

.mill-block-text {
  font-size: 0.78rem;
  color: var(--charcoal);
  opacity: 0.8;
  line-height: 1.4;
  margin-top: 8px;
}

/* Textile Index Ledger (Homepage products teaser) */
.ledger-index-wrapper {
  margin-top: 50px;
  border-top: 1px solid var(--gold);
}

.ledger-index-row {
  display: grid;
  grid-template-columns: 80px 1.5fr 1fr 150px;
  align-items: center;
  padding: 30px 20px;
  border-bottom: 1px solid rgba(245, 241, 232, 0.1);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ledger-index-row:hover {
  background-color: rgba(255, 255, 255, 0.02);
  border-bottom-color: var(--gold);
}

.ledger-index-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
}

.ledger-index-main {
  padding-right: 40px;
}

.ledger-index-title {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 8px;
  font-weight: 600;
  letter-spacing: -0.2px;
  transition: var(--transition-fast);
}

.ledger-index-row:hover .ledger-index-title {
  color: var(--gold-light);
  transform: translateX(5px);
}

.ledger-index-details {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--cream);
  opacity: 0.7;
  line-height: 1.5;
}

.ledger-index-specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  color: var(--cream);
}

.ledger-spec-item {
  display: flex;
  gap: 10px;
}

.ledger-spec-item .spec-label {
  color: var(--gold);
  font-weight: 700;
  width: 50px;
}

.ledger-spec-item .spec-val {
  color: var(--white);
}

.ledger-index-action {
  text-align: right;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  transition: var(--transition-fast);
}

.ledger-index-action i {
  margin-left: 6px;
  transition: var(--transition-fast);
}

.ledger-index-row:hover .ledger-index-action {
  color: var(--white);
}

.ledger-index-row:hover .ledger-index-action i {
  transform: translateX(5px);
}

/* Principles of the Loom (Why choose us teaser) */
.principles-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: flex-start;
  margin-top: 40px;
}

.principles-left {
  position: sticky;
  top: 130px;
}

.principles-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 2rem;
  line-height: 1.4;
  color: var(--maroon);
  border-left: 2px solid var(--gold);
  padding-left: 25px;
  margin: 35px 0 25px 0;
}

.principles-philosophy {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  line-height: 1.8;
  color: var(--charcoal);
  opacity: 0.85;
}

.principles-right {
  display: flex;
  flex-direction: column;
  gap: 45px;
  border-left: 1px solid var(--gray-light);
  padding-left: 50px;
}

.principle-item {
  position: relative;
}

.principle-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 10px;
}

.principle-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 600;
}

.principle-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--charcoal);
  opacity: 0.85;
}

/* Logistical Dossier List (Capabilities page specs) */
.dossier-list {
  margin-top: 20px;
  list-style: none;
  padding-left: 0;
  border-top: 1px dashed var(--gray-light);
  padding-top: 18px;
}

.dossier-list li {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--charcoal);
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.dossier-list li::before {
  content: '■';
  font-size: 0.5rem;
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 1px;
}

/* Split-Screen Hero and Page Layouts Responsive Overrides (Mobile-Focused) */
@media (max-width: 1024px) {
  .hero-split-container {
    flex-direction: column;
    min-height: auto;
  }
  
  .hero-split-media {
    width: 100%;
    height: 360px;
    border-right: none;
    border-bottom: 1px solid var(--gold);
  }
  
  .hero-split-media .hero-video-overlay {
    background: radial-gradient(circle at center, rgba(11, 15, 25, 0.3) 0%, rgba(11, 15, 25, 0.9) 100%);
  }
  
  .hero-split-text {
    width: 100%;
    padding: 60px 40px;
    border-left: none;
  }
  
  .hero-split-content {
    max-width: 100%;
  }
  
  .mill-directory-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .ledger-index-row {
    grid-template-columns: 60px 1.5fr 1fr;
    gap: 20px;
    padding: 25px 10px;
  }
  
  .ledger-index-action {
    display: none; /* Hide action text on smaller screens */
  }
  
  .principles-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  
  .principles-left {
    position: relative;
    top: 0;
  }
  
  .principles-right {
    border-left: none;
    padding-left: 0;
    border-top: 1px solid var(--gray-light);
    padding-top: 40px;
  }
}

@media (max-width: 600px) {
  .categories-preview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ledger-index-row {
    grid-template-columns: 1fr;
    gap: 15px;
    padding: 20px 10px;
  }
  
  .ledger-index-num {
    font-size: 0.85rem;
  }
  
  .ledger-index-main {
    padding-right: 0;
  }
  
  .ledger-index-title {
    font-size: 1.5rem;
  }
  
  .ledger-index-specs {
    flex-direction: row;
    gap: 20px;
    margin-top: 5px;
  }
  
  .principles-quote {
    font-size: 1.6rem;
  }
}

/* Logistical Dossier List (Capabilities page specs) */
.dossier-list {
  margin-top: 20px;
  list-style: none;
  padding-left: 0;
  border-top: 1px dashed var(--gray-light);
  padding-top: 18px;
}

.dossier-list li {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.7;
  color: var(--charcoal);
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.dossier-list li::before {
  content: '■';
  font-size: 0.5rem;
  color: var(--gold);
  position: absolute;
  left: 0;
  top: 1px;
}

/* ==========================================================================
   MOBILE VIEW EXTRA REFINEMENTS (BULLETPROOF OVERRIDES)
   ========================================================================== */

/* Expand hamburger button touch targets for accessibility */
.mobile-nav-toggle {
  padding: 10px;
  font-size: 1.8rem !important;
  line-height: 1;
}

/* Scrollable tables display visual scroll shadow indicator */
.specs-table-wrapper {
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 600px) {
  /* Dotted leader ledger boxes: Stack fields vertically to prevent text collision & overflow */
  .ledger-row-dotted {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-bottom: 15px;
  }
  .ledger-leader {
    display: none;
  }
  .ledger-value {
    white-space: normal;
    font-size: 0.85rem;
    font-weight: 700;
  }
}

@media (max-width: 480px) {
  /* Homepage hero layout & fonts optimization */
  .hero-split-text {
    padding: 50px 20px;
  }
  .hero-title {
    font-size: 2.2rem !important;
    line-height: 1.15;
  }
  .hero-subtitle {
    font-size: 0.95rem !important;
    margin-bottom: 30px;
  }
  .hero-archive-badge {
    margin-bottom: 20px;
    font-size: 0.62rem;
  }

  /* Logo size optimization to prevent header crowding */
  .logo-main {
    font-size: 1.25rem !important;
  }
  .logo-sub {
    font-size: 0.46rem !important;
    letter-spacing: 0.5px !important;
  }

  /* Subpage hero titles & padding */
  .subpage-hero {
    padding: 120px 15px 45px 15px !important;
  }
  .subpage-title {
    font-size: 1.8rem !important;
    line-height: 1.15;
  }
  .subpage-subtitle {
    font-size: 0.95rem !important;
  }
  .section-title {
    font-size: 1.5rem !important;
    margin-bottom: 25px !important;
  }

  /* Compact timeline on mobile */
  .milestone-timeline {
    padding-left: 40px !important;
  }
  .milestone-timeline::before {
    left: 10px !important;
    top: 18px !important;
  }
  .timeline-year {
    left: -47px !important;
    width: 34px !important;
    height: 34px !important;
    font-size: 0.72rem !important;
  }
  .timeline-content {
    padding: 15px 18px !important;
  }
  .timeline-content h3 {
    font-size: 1.15rem !important;
  }
  .timeline-content p {
    font-size: 0.8rem !important;
    line-height: 1.55 !important;
  }
  .timeline-item {
    margin-bottom: 25px !important;
  }
  
  .stats-overview-grid {
    grid-template-columns: 1fr !important;
    gap: 15px !important;
  }

  /* Approved sourcing directory */
  .mill-directory-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Floating WhatsApp button scaling */
  .whatsapp-float {
    width: 46px;
    height: 46px;
    bottom: 20px;
    right: 20px;
    font-size: 1.4rem;
  }
  
  /* Sections vertical padding spacing reduction */
  section {
    padding: 60px 15px;
  }
  
  /* Modal responsive adjustment */
  .modal-content {
    padding: 25px 15px;
    width: 96%;
  }
}

/* Product Visual Cards */
.product-visual-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  background: var(--white);
  border: 1px solid var(--gray-light);
  margin-bottom: 30px;
  overflow: hidden;
  transition: var(--transition-smooth);
}
.product-visual-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}
.product-visual-image-wrapper {
  height: 100%;
  min-height: 240px;
  overflow: hidden;
}
.product-visual-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-visual-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 768px) {
  .product-visual-card {
    grid-template-columns: 1fr !important;
  }
  .product-visual-image-wrapper {
    height: 220px !important;
    min-height: auto !important;
  }
  .shipping-grid {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
  .shipping-card {
    padding: 25px !important;
  }
}
@media (max-width: 480px) {
  .product-visual-info {
    padding: 20px 15px !important;
  }
  .product-visual-info h3 {
    font-size: 1.35rem !important;
  }
  .shipping-card {
    padding: 20px 15px !important;
  }
}

/* ==========================================================================
   HUMANIZATION REDLINE STYLES (CUSTOM CURSOR, REVEALS, OVERLAPS, HANDWRITING)
   ========================================================================== */



/* Scroll Reveal Transitions */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Editorial Overlap Cards */
@media (min-width: 992px) {
  .product-visual-card.editorial-overlap {
    grid-template-columns: 350px 1fr;
    position: relative;
    overflow: visible !important;
  }
  
  .product-visual-card.editorial-overlap .product-visual-info {
    margin-left: -40px;
    margin-top: 30px;
    margin-bottom: -30px;
    background: var(--white);
    border: 1px solid var(--gray-light);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.04);
    z-index: 10;
    position: relative;
    padding: 40px;
  }
  
  .milestone-timeline .timeline-content.editorial-overlap {
    margin-left: 20px;
    position: relative;
    z-index: 5;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
  }
}

/* Intermediate viewport scaling for Editorial Overlap Cards */
@media (min-width: 992px) and (max-width: 1200px) {
  .product-visual-card.editorial-overlap {
    grid-template-columns: 280px 1fr;
  }
  
  .product-visual-card.editorial-overlap .product-visual-info {
    margin-left: -20px;
    padding: 30px;
  }
}


/* Handwritten Cursive Signatures & Margin Floor-Notes */
.handwritten-signature {
  font-family: var(--font-cursive);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 0.7;
  display: inline-block;
  vertical-align: middle;
  margin-top: -5px;
  user-select: none;
}

.handwritten-note {
  font-family: var(--font-note);
  font-size: 1.45rem;
  color: var(--maroon);
  line-height: 1.15;
  display: inline-block;
  transform: rotate(-2.5deg);
  opacity: 0.95;
  user-select: none;
  border-left: 1.5px solid rgba(90, 26, 37, 0.2);
  padding-left: 10px;
  margin: 10px 0;
}

/* Live Trade Floor Ledger Widget */
.trade-ledger-widget {
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-left: 3px solid var(--maroon);
  padding: 25px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  margin-bottom: 30px;
}

.trade-ledger-title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--navy);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px dashed var(--gray-light);
  padding-bottom: 10px;
}

.trade-ledger-title i {
  color: var(--maroon);
}

.trade-ledger-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.trade-ledger-item {
  padding: 10px 0;
  border-bottom: 1px dashed rgba(0, 0, 0, 0.06);
}

.trade-ledger-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.trade-ledger-tag {
  display: inline-block;
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  font-weight: 700;
  background-color: rgba(90, 26, 37, 0.06);
  color: var(--maroon);
  padding: 2px 6px;
  border-radius: 2px;
  margin-bottom: 4px;
}

.trade-ledger-time {
  font-size: 0.68rem;
  color: var(--charcoal);
  opacity: 0.5;
  float: right;
  font-family: 'Courier New', Courier, monospace;
  margin-top: 2px;
}

.trade-ledger-item p {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.5;
  color: var(--charcoal);
  opacity: 0.95;
  margin: 0;
}
/* Admin Stats Grid */
.admin-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .admin-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .admin-stats-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

/* Mobile Responsive Font Size Overrides to fix "very big big on mobile view" */
@media (max-width: 768px) {
  /* Hero title adjustment if inline styled */
  .hero-title {
    font-size: 2.3rem !important;
  }
  
  /* Section title & Subpage section headings */
  .cta-bottom h2 {
    font-size: 1.8rem !important;
  }
  
  .infra-detail-title {
    font-size: 1.6rem !important;
  }
  
  .infra-details-section h2 {
    font-size: 1.6rem !important;
  }
  
  .product-directory-section h2 {
    font-size: 1.5rem !important;
  }

  .admin-stat-value {
    font-size: 1.7rem !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.8rem !important;
  }
  
  .cta-bottom h2 {
    font-size: 1.4rem !important;
  }
  
  .infra-detail-title {
    font-size: 1.35rem !important;
  }
  
  .infra-details-section h2 {
    font-size: 1.35rem !important;
  }
  
  .product-directory-section h2 {
    font-size: 1.25rem !important;
  }

  .admin-stat-value {
    font-size: 1.4rem !important;
  }
  
  .subpage-hero {
    padding: 110px 15px 40px 15px !important;
  }
  
  .subpage-title {
    font-size: 1.8rem !important;
  }
}

/* ==========================================================================
   SHOWCASE UPGRADES: DIGITAL SWATCH BINDER, 3D CARD TILT, HERITAGE THREADS
   ========================================================================== */

/* Background Heritage Thread Wave Decorative Graphic */
.heritage-thread-wave-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.12;
}

.heritage-thread-wave-svg {
  position: absolute;
  width: 150%;
  height: 100%;
  top: -10%;
  left: -25%;
  transform: translate3d(0, 0, 0);
  transition: transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Digital Swatch Binder Section */
.swatch-section {
  position: relative;
  background-color: var(--navy-dark);
  color: var(--cream);
  padding: 120px 20px;
  overflow: hidden;
  border-top: 1px solid rgba(184, 159, 116, 0.2);
  border-bottom: 1px solid rgba(184, 159, 116, 0.2);
}

.swatch-section .section-title {
  color: var(--cream);
}

.swatch-binder-container {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 50px;
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
}

.swatch-tabs-panel {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.swatch-tab-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(228, 223, 213, 0.1);
  color: rgba(243, 239, 230, 0.7);
  padding: 24px 30px;
  text-align: left;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
}

.swatch-tab-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background-color: var(--gold);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.swatch-tab-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--cream);
  border-color: rgba(184, 159, 116, 0.3);
}

.swatch-tab-btn.active {
  background: rgba(184, 159, 116, 0.1);
  border-color: var(--gold);
  color: var(--white);
}

.swatch-tab-btn.active::before {
  transform: scaleY(1);
}

.swatch-tab-btn .tab-num {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  border: 1px solid rgba(184, 159, 116, 0.3);
  padding: 2px 6px;
}

.swatch-tab-btn .tab-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 600;
}

/* Swatch Viewer Panel (Glassmorphic Card) */
.swatch-viewer-panel {
  background: rgba(17, 24, 39, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(184, 159, 116, 0.2);
  padding: 50px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  position: relative;
}

.swatch-viewer-panel::after {
  content: '';
  position: absolute;
  top: 10px; right: 10px; bottom: 10px; left: 10px;
  border: 1px solid rgba(184, 159, 116, 0.05);
  pointer-events: none;
}

.swatch-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.swatch-preview-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  padding: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  background: rgba(11, 15, 25, 0.8);
}

.swatch-preview-circle {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.swatch-preview-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.swatch-preview-circle:hover img {
  transform: scale(1.15);
}

.swatch-preview-grid-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(184, 159, 116, 0.25) 1px, transparent 1px);
  background-size: 8px 8px;
  opacity: 0.4;
  pointer-events: none;
}

.swatch-specs-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.swatch-header-block {
  margin-bottom: 25px;
}

.swatch-lot-code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.72rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.swatch-active-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--cream);
  margin-bottom: 12px;
  line-height: 1.15;
}

.swatch-desc {
  font-size: 0.9rem;
  color: var(--cream-dark);
  opacity: 0.85;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* Weight Simulator Slider */
.swatch-simulator-controls {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(228, 223, 213, 0.08);
  padding: 25px;
  margin-bottom: 30px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold-light);
  margin-bottom: 15px;
  font-weight: 700;
}

.swatch-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(228, 223, 213, 0.15);
  outline: none;
  margin-bottom: 15px;
}

.swatch-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  border: 2px solid var(--navy-dark);
  transition: transform 0.1s ease;
}

.swatch-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  font-family: var(--font-sans);
  color: var(--cream-dark);
  opacity: 0.6;
  padding: 0 4px;
}

.slider-ticks span {
  cursor: pointer;
  transition: color 0.2s ease;
}

.slider-ticks span.active {
  color: var(--gold);
  font-weight: 700;
  opacity: 1;
}

/* Spec Values List */
.swatch-values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.value-item {
  border-bottom: 1px solid rgba(228, 223, 213, 0.08);
  padding-bottom: 10px;
}

.value-item .val-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold-light);
  display: block;
  margin-bottom: 4px;
  opacity: 0.8;
}

.value-item .val-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--white);
}

.value-item .gauge-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  margin-top: 8px;
  position: relative;
  overflow: hidden;
}

.value-item .gauge-fill {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Custom 3D Card Hover Tilt Effects */
.category-preview-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.category-preview-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
}

.category-preview-card > * {
  transform: translateZ(0px);
  transition: transform 0.1s ease-out;
}



/* Swatch Responsive Layout */
@media (max-width: 992px) {
  .swatch-binder-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .swatch-tabs-panel {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: var(--gold) rgba(255,255,255,0.05);
  }
  .swatch-tab-btn {
    flex: 0 0 auto;
    padding: 15px 20px;
  }
  .swatch-tab-btn::before {
    left: 0;
    top: auto;
    bottom: 0;
    width: 100%;
    height: 3px;
    transform: scaleX(0);
  }
  .swatch-tab-btn.active::before {
    transform: scaleX(1);
  }
  .swatch-viewer-panel {
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .swatch-viewer-panel {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .swatch-visual-col {
    flex-direction: row;
    justify-content: center;
  }
  .swatch-preview-wrapper {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 480px) {
  .swatch-section {
    padding: 80px 15px;
  }
  .swatch-active-title {
    font-size: 1.7rem !important;
  }
  .swatch-values-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .swatch-visual-col {
    flex-direction: column;
  }
  }
}

/* Card Glow Sheen Overlays */
.category-preview-card,
.swatch-viewer-panel {
  position: relative;
  overflow: hidden;
}

.card-sheen {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 5;
  opacity: 0;
  mix-blend-mode: overlay;
  transition: opacity 0.4s ease;
  background: radial-gradient(circle 120px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.22), transparent 80%);
}

.category-preview-card:hover .card-sheen,
.swatch-viewer-panel:hover .card-sheen {
  opacity: 1;
}

/* HTML5 Canvas Swatch Visualizer styling */
#weaveCanvas {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 50%;
  background-color: var(--navy-dark);
}

/* Hero Media Parallax Smoothness */
.hero-split-media video,
.hero-static-frame {
  transition: transform 0.3s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
  will-change: transform;
}

/* ==========================================================================
   REFIMAGE-BASED FRONTEND REBUILD (COMPLETE HOMEPAGE)
   ========================================================================== */

/* Brand & Navbar Overrides */
.ref-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: transparent;
  transition: all 0.4s ease;
  border-bottom: 1px solid rgba(184, 159, 116, 0.15);
}

.ref-header.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(15, 37, 71, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(184, 159, 116, 0.25);
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.ref-header.menu-open {
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

.ref-header.scrolled .ref-navbar {
  padding: 14px 40px;
}

.ref-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  padding: 20px 40px;
}

.ref-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ref-logo-emblem {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 0;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-logo-emblem text {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  fill: var(--gold);
}

.ref-logo-text {
  display: flex;
  flex-direction: column;
}

.ref-logo-main {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--white);
  line-height: 1.1;
  text-transform: uppercase;
}

.ref-logo-sub {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-transform: uppercase;
}

.ref-nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ref-nav-item a {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition-fast);
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}

.ref-nav-item a:hover,
.ref-nav-item.active a {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.ref-nav-cta-btn {
  background-color: var(--maroon);
  color: var(--white);
  border: 1px solid var(--gold);
  padding: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.ref-nav-cta-btn:hover {
  background-color: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

/* Hero Rebuild */
.ref-hero-section {
  position: relative;
  min-height: 80vh;
  background-color: var(--navy-dark);
  display: flex;
  align-items: center;
  padding: 140px 40px 60px 40px;
  overflow: hidden;
  z-index: 1;
}

.ref-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.ref-hero-bg img,
.ref-hero-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.42;
}

.ref-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(11, 15, 25, 0.25) 0%, rgba(11, 15, 25, 0.92) 100%);
  z-index: -1;
}

.ref-hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  width: 100%;
  position: relative;
}

.ref-hero-left {
  text-align: left;
}

.ref-hero-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

.ref-hero-title {
  font-family: var(--font-serif);
  font-size: 4.6rem;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 25px;
}

.ref-hero-title span.italic-gold {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold-light);
  font-weight: 400;
}

.ref-hero-desc {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 480px;
}

.ref-hero-play-row {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}

.ref-play-circle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.ref-play-circle-btn i {
  color: var(--white);
  font-size: 1rem;
  margin-left: 3px;
}

.ref-play-circle-btn:hover {
  border-color: var(--gold);
  background-color: rgba(184, 159, 116, 0.15);
  transform: scale(1.06);
}

.ref-play-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.ref-play-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
}

.ref-play-subtitle {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  color: var(--gold-light);
  letter-spacing: 0.5px;
}

.ref-scroll-explore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: var(--transition-fast);
}

.ref-scroll-explore:hover {
  color: var(--gold);
}

/* Hero Signboard Component */
.ref-hero-right {
  display: flex;
  justify-content: center;
}

.ref-signboard-wrapper {
  perspective: 1200px;
  width: 100%;
  max-width: 520px;
}

.ref-signboard {
  background: linear-gradient(135deg, #1E3A60 0%, #0F2547 100%);
  border: 4px solid var(--gold);
  outline: 1px solid var(--gold);
  outline-offset: -12px;
  padding: 45px 30px;
  text-align: center;
  position: relative;
  box-shadow: 0 35px 80px rgba(0,0,0,0.6), inset 0 0 20px rgba(184, 159, 116, 0.25);
  transform: rotateY(-10deg) rotateX(3deg) rotateZ(-1.5deg);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  border-radius: 2px;
}

.ref-signboard:hover {
  transform: rotateY(-4deg) rotateX(1deg) rotateZ(-0.5deg) scale(1.02);
  box-shadow: 0 45px 90px rgba(0,0,0,0.7), inset 0 0 25px rgba(184, 159, 116, 0.35);
}

.ref-signboard::before {
  content: '';
  position: absolute;
  top: 18px; left: 18px; right: 18px; bottom: 18px;
  border: 1px dashed rgba(184, 159, 116, 0.4);
  pointer-events: none;
}

/* Ornate Corner Elements */
.ref-signboard-corner {
  position: absolute;
  width: 25px;
  height: 25px;
  border: 2px solid var(--gold);
  pointer-events: none;
}

.corner-tl { top: 12px; left: 12px; border-right: none; border-bottom: none; }
.corner-tr { top: 12px; right: 12px; border-left: none; border-bottom: none; }
.corner-bl { bottom: 12px; left: 12px; border-right: none; border-top: none; }
.corner-br { bottom: 12px; right: 12px; border-left: none; border-top: none; }

.ref-signboard-logo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-signboard-logo text {
  font-family: var(--font-serif);
  font-size: 36px;
  font-weight: 700;
  fill: var(--gold);
}

.ref-signboard-title {
  font-family: var(--font-serif);
  font-size: 2.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 5px;
  text-transform: uppercase;
  text-shadow: 1px 1px 1px rgba(255,255,255,0.05), -1px -1px 2px rgba(0,0,0,0.8);
}

.ref-signboard-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: var(--white);
  margin-bottom: 25px;
  text-transform: uppercase;
}

.ref-signboard-date {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-transform: uppercase;
  border-top: 1px solid rgba(184, 159, 116, 0.3);
  display: inline-block;
  padding-top: 10px;
  width: 60%;
}

/* Fabric Transition Edge Overlay */
.ref-fabric-transition-wrapper {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 180px;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}

.ref-fabric-transition-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: fill;
  filter: drop-shadow(0 -8px 15px rgba(0, 0, 0, 0.22));
}

@media (max-width: 768px) {
  .ref-fabric-transition-wrapper {
    height: 120px;
  }
}

/* Legacy Memory Board Section */
.ref-legacy-section {
  background-color: var(--cream);
  padding: 140px 40px;
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.ref-legacy-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 70px;
  max-width: 1300px;
  margin: 0 auto;
  align-items: center;
}

/* Polaroid Memory Board Styles */
.ref-memory-board {
  position: relative;
  height: 480px;
}

.ref-measuring-tape {
  position: absolute;
  top: 60px;
  left: -20px;
  width: 480px;
  height: 24px;
  background-color: #EFD15B;
  border-top: 1px solid #7c6204;
  border-bottom: 1px solid #7c6204;
  transform: rotate(26deg);
  z-index: 1;
  opacity: 0.85;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  background-image: repeating-linear-gradient(90deg, transparent, transparent 9px, #7c6204 9px, #7c6204 10px),
                    repeating-linear-gradient(90deg, transparent, transparent 49px, #7c6204 49px, #7c6204 51px);
}

.ref-measuring-tape::after {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(90deg, transparent, transparent 4.5px, #8c730e 4.5px, #8c730e 5px);
  height: 35%;
}

.ref-polaroid {
  background: var(--white);
  padding: 16px 16px 45px 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.12), 0 3px 8px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  position: absolute;
  width: 280px;
  transition: transform 0.4s ease;
  z-index: 2;
}

.ref-polaroid:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 10;
}

.ref-polaroid-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #e5e7eb;
}

.ref-polaroid-label {
  font-family: var(--font-note);
  font-size: 1.9rem;
  color: var(--maroon);
  text-align: center;
  margin-top: 12px;
  line-height: 1;
}

.ref-polaroid-pin {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e2e8f0 0%, #64748b 80%, #475569 100%);
  box-shadow: 0 3px 6px rgba(0,0,0,0.3);
  z-index: 3;
}

.ref-polaroid-pin::after {
  content: '';
  position: absolute;
  top: 4px; left: 4px; width: 4px; height: 4px;
  background: rgba(255,255,255,0.7);
  border-radius: 50%;
}

.ref-polaroid-1 {
  top: 20px;
  left: 40px;
  transform: rotate(-5deg);
}

.ref-polaroid-2 {
  bottom: 20px;
  right: 60px;
  transform: rotate(4deg);
}

/* Brass coin and accessories overlays */
.ref-brass-coin {
  position: absolute;
  top: 120px;
  right: 180px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fcd34d 0%, #b45309 80%, #78350f 100%);
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
  z-index: 3;
}

/* Right Content */
.ref-legacy-right {
  text-align: left;
}

.ref-legacy-right .ref-eyebrow {
  color: var(--gold);
}

.ref-legacy-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--navy);
  margin-bottom: 25px;
  line-height: 1.15;
}

.ref-legacy-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 40px;
}

.ref-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 45px;
}

.ref-stat-col {
  border-right: 1px solid var(--gray-light);
  padding-right: 10px;
}

.ref-stat-col:last-child {
  border-right: none;
}

.ref-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  display: block;
}

.ref-stat-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
}

.ref-legacy-btn {
  background-color: var(--maroon);
  color: var(--white);
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  border: 1px solid var(--maroon);
  cursor: pointer;
}

.ref-legacy-btn:hover {
  background-color: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}

/* Products Section (Deep Navy Fabric Display) */
.ref-products-section {
  background-color: var(--navy-dark);
  color: var(--white);
  padding: 120px 40px;
  position: relative;
  z-index: 1;
}

/* Subtle Cloth Overlay */
.ref-products-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: radial-gradient(rgba(184, 159, 116, 0.05) 1px, transparent 1px);
  background-size: 16px 16px;
  pointer-events: none;
  z-index: 0;
}

.ref-products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid rgba(184, 159, 116, 0.2);
  padding-bottom: 30px;
  margin-bottom: 60px;
  position: relative;
  z-index: 1;
}

.ref-products-title-block {
  text-align: left;
}

.ref-products-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.ref-products-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--white);
  margin-bottom: 10px;
}

.ref-products-subtitle {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gold-light);
  opacity: 0.8;
}

.ref-products-view-all {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.ref-products-view-all::after {
  content: '→';
  width: 32px;
  height: 32px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.ref-products-view-all:hover {
  color: var(--gold);
}

.ref-products-view-all:hover::after {
  background-color: var(--gold);
  color: var(--navy-dark);
}

/* Hanging Fabric Swatches showcase */
.ref-swatch-hanger-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  position: relative;
  z-index: 1;
}

.ref-swatch-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-top: 35px;
  transform-origin: top center;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s ease;
}

.ref-swatch-card:hover {
  transform: translateY(-8px) rotate(0.8deg);
}

/* Brass Hanger Pin styling */
.ref-swatch-pin {
  position: absolute;
  top: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 35% 35%, #fff176 0%, #d4af37 60%, #aa7c11 100%);
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  z-index: 3;
}

.ref-swatch-cloth {
  width: 100%;
  height: 240px;
  position: relative;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  padding: 30px 15px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-decoration: none;
  /* Frayed Jagged Edge Clip Path */
  clip-path: polygon(0% 0%, 100% 0%, 100% 90%, 96% 87%, 92% 91%, 88% 88%, 84% 92%, 80% 88%, 76% 91%, 72% 87%, 68% 91%, 64% 88%, 60% 92%, 56% 88%, 52% 91%, 48% 87%, 44% 91%, 40% 88%, 36% 92%, 32% 88%, 28% 91%, 24% 87%, 20% 91%, 16% 88%, 12% 92%, 8% 88%, 4% 91%, 0% 87%);
}

.ref-swatch-cloth::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 4px),
              repeating-linear-gradient(90deg, rgba(255,255,255,0.02) 0px, rgba(255,255,255,0.02) 2px, transparent 2px, transparent 4px);
  pointer-events: none;
}

/* Swatch Colors mapping */
.swatch-navy { background-color: #1a2a44; color: var(--white); }
.swatch-blue { background-color: #2b4e78; color: var(--white); }
.swatch-charcoal { background-color: #374151; color: var(--white); }
.swatch-beige { background-color: #FAF8F5; color: var(--charcoal); }
.swatch-maroon { background-color: #5A1A25; color: var(--white); }
.swatch-green { background-color: #2d3f28; color: var(--white); }

/* Faded/highlighted texts based on swatch colors */
.swatch-navy .ref-swatch-name { color: #f3efe6; }
.swatch-blue .ref-swatch-name { color: #f3efe6; }
.swatch-charcoal .ref-swatch-name { color: #f3efe6; }
.swatch-beige .ref-swatch-name { color: var(--navy); }
.swatch-maroon .ref-swatch-name { color: #f3efe6; }
.swatch-green .ref-swatch-name { color: #f3efe6; }

.ref-swatch-icon {
  font-size: 2.2rem;
  margin-bottom: 20px;
  opacity: 0.9;
  transition: transform 0.4s ease;
}

.ref-swatch-card:hover .ref-swatch-icon {
  transform: scale(1.15) translateY(-5px);
}

.ref-swatch-name {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.25;
}

/* Trusted Brands Cotton Ribbon */
.ref-brands-section {
  background-color: var(--cream-dark);
  padding: 40px 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.ref-brands-ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
  position: relative;
}

.ref-brands-label {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  width: 220px;
  border-right: 1px solid rgba(11, 15, 25, 0.15);
  padding-right: 25px;
  margin-right: 25px;
  line-height: 1.15;
  text-align: left;
  white-space: nowrap;
}

.ref-brands-label span {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 600;
  color: var(--maroon);
  display: block;
  font-size: 1.25rem;
  text-transform: none;
  margin-top: 4px;
}

.ref-brands-carousel-container {
  overflow: hidden;
  flex-grow: 1;
  margin: 0 20px;
  border-radius: 12px;
}

.ref-brands-list {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  align-items: center;
  gap: 50px;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: scrollBrands 35s linear infinite;
}

.ref-brands-list:hover {
  animation-play-state: paused;
}

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ref-brand-item {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--charcoal);
  opacity: 0.7;
  white-space: nowrap;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.ref-brand-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--navy);
  transition: transform 0.2s ease, color 0.2s ease;
}

.ref-brand-arrow:hover {
  color: var(--maroon);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .ref-brands-ribbon {
    flex-direction: column;
    padding: 25px 20px;
    gap: 15px;
    align-items: center;
  }
  
  .ref-brands-label {
    width: auto;
    border-right: none;
    border-bottom: 1px solid rgba(11, 15, 25, 0.1);
    padding-right: 0;
    margin-right: 0;
    padding-bottom: 12px;
    margin-bottom: 5px;
    text-align: center;
    letter-spacing: 0.5px;
  }
  
  .ref-brands-label span {
    display: inline;
    margin-left: 5px;
    font-size: 1.15rem;
  }
  
  .ref-brand-arrow {
    display: none;
  }
  
  .ref-brands-carousel-container {
    margin: 0;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
  }
  
  .ref-brands-list {
    gap: 35px;
  }
}

/* Why Choose Poornima Section */
.ref-why-choose-section {
  background-color: var(--maroon);
  color: var(--white);
  padding: 90px 40px 40px 40px;
  position: relative;
  z-index: 1;
}

.ref-why-choose-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 2px, transparent 2px, transparent 4px);
  pointer-events: none;
}

.ref-why-choose-header {
  text-align: center;
  margin-bottom: 60px;
}

.ref-why-choose-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.ref-why-choose-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--cream);
}

.ref-features-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
}

.ref-feature-col {
  padding: 0 20px;
  text-align: center;
  border-right: 1px solid rgba(210, 192, 165, 0.2);
}

.ref-feature-col:last-child {
  border-right: none;
}

.ref-feature-icon {
  font-size: 2.2rem;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.ref-feature-title {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 10px;
}

.ref-feature-desc {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

/* Infrastructure location cards */
.ref-infra-section {
  background-color: var(--cream);
  padding: 80px 40px;
}

.ref-infra-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 30px;
  margin-bottom: 60px;
}

.ref-infra-title-block {
  text-align: left;
}

.ref-infra-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.ref-infra-title {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  color: var(--navy);
}

.ref-infra-view-all {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--gold);
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  border-radius: 2px;
  transition: var(--transition-smooth);
}

.ref-infra-view-all:hover {
  background-color: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.ref-infra-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
}

.ref-infra-card {
  position: relative;
  background-color: var(--white);
  box-shadow: 0 20px 45px rgba(0,0,0,0.06), 0 3px 10px rgba(0,0,0,0.02);
  border: 1px solid var(--gray-light);
  overflow: hidden;
  height: 380px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.ref-infra-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 0.6s ease;
}

.ref-infra-card:hover .ref-infra-img {
  transform: scale(1.05);
}

.ref-infra-info-plate {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, rgba(11, 15, 25, 0.6) 0%, rgba(11, 15, 25, 0.88) 100%);
  border-top: 2px solid var(--gold);
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
}

.ref-infra-details {
  max-width: 70%;
}

.ref-infra-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.ref-infra-address {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}

.ref-infra-btn {
  background-color: var(--gold);
  color: var(--navy-dark);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 2px;
}

.ref-infra-btn:hover {
  background-color: var(--white);
  color: var(--maroon);
}

/* Bulk CTA segment */
.ref-bulk-cta-section {
  background-color: var(--maroon);
  padding: 40px 40px 120px 40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
  border-top: 1px solid rgba(184, 159, 116, 0.15);
  border-radius: 0 0 45px 45px;
}

.ref-bulk-cta-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.015) 0px, rgba(255,255,255,0.015) 2px, transparent 2px, transparent 4px);
  pointer-events: none;
}

.ref-bulk-cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ref-bulk-cta-left {
  display: flex;
  align-items: center;
  gap: 40px;
  text-align: left;
}

.ref-rolled-fabric {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 50%;
  -webkit-mask-image: radial-gradient(circle, black 75%, transparent 100%);
  mask-image: radial-gradient(circle, black 75%, transparent 100%);
  border: none;
  box-shadow: none;
}

.ref-bulk-cta-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--cream);
  margin-bottom: 5px;
}

.ref-bulk-cta-sub {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--gold-light);
}

.ref-bulk-cta-right {
  display: flex;
  gap: 20px;
}

.ref-btn-call {
  background-color: var(--gold);
  color: var(--navy-dark);
  border: 1px solid var(--gold);
  border-radius: 4px;
}

.ref-btn-call:hover {
  background-color: transparent;
  color: var(--gold);
}

.ref-btn-whatsapp {
  background-color: transparent;
  color: var(--cream);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 4px;
}

.ref-btn-whatsapp:hover {
  background-color: var(--white);
  color: #25D366;
  border-color: var(--white);
}

/* Footer Section */
.ref-footer {
  background-color: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 135px 40px 40px 40px;
  margin-top: -45px;
  border-top: none;
  font-size: 0.85rem;
  position: relative;
  overflow: hidden;
  z-index: 0;
}

.ref-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("../assets/mandala_pattern_clean.png");
  background-position: center;
  background-repeat: repeat;
  background-size: 450px auto;
  opacity: 0.38;
  filter: blur(0.5px);
  pointer-events: none;
}

.ref-footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr 1fr;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto 60px auto;
}

.ref-footer-col {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.ref-footer-col h4 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 25px;
}

.ref-footer-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.6);
  margin: 20px 0;
}

.ref-footer-socials {
  display: flex;
  gap: 12px;
}

.ref-footer-social-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: var(--transition-fast);
}

.ref-footer-social-icon:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.ref-footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

.ref-footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: var(--transition-fast);
}

.ref-footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.ref-footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0;
  padding: 0;
}

.ref-footer-contact-list li {
  display: flex;
  gap: 10px;
  line-height: 1.4;
}

.ref-footer-contact-list li i {
  color: var(--gold);
  margin-top: 3px;
}

.ref-newsletter-form {
  position: relative;
  display: flex;
}

.ref-newsletter-input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(184, 159, 116, 0.25);
  padding: 12px 50px 12px 16px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  border-radius: 2px;
}

.ref-newsletter-input:focus {
  outline: none;
  border-color: var(--gold);
}

.ref-newsletter-submit {
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  width: 48px;
  background-color: transparent;
  border: none;
  color: var(--gold);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.ref-newsletter-submit:hover {
  color: var(--white);
}

.ref-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 30px;
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
}

.ref-footer-bottom-links {
  display: flex;
  gap: 20px;
}

.ref-footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: var(--transition-fast);
}

.ref-footer-bottom-links a:hover {
  color: var(--gold);
}

/* Responsive Rebuild Reflows */
@media (max-width: 1200px) {
  .ref-features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
  .ref-feature-col {
    border-right: none;
    margin-bottom: 20px;
  }
  .ref-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .ref-hero-container {
    grid-template-columns: 1fr;
    gap: 50px;
    text-align: center;
  }
  .ref-hero-left {
    text-align: center;
  }
  .ref-hero-desc {
    margin: 0 auto 30px auto;
  }
  .ref-hero-play-row {
    justify-content: center;
  }
  .ref-legacy-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
  .ref-memory-board {
    height: 400px;
    max-width: 500px;
    margin: 0 auto;
  }
  .ref-products-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
  .ref-swatch-hanger-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-infra-grid {
    grid-template-columns: 1fr;
  }
  .ref-bulk-cta-container {
    flex-direction: column;
    gap: 30px;
    text-align: center;
  }
  .ref-bulk-cta-left {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .ref-navbar {
    padding: 15px 20px;
    position: relative;
  }
  .ref-nav-cta {
    display: none;
  }
  .mobile-nav-toggle {
    display: block !important;
    color: var(--white) !important;
    font-size: 1.6rem !important;
    z-index: 1010;
  }
  .ref-nav-menu {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgba(11, 23, 44, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 0 20px;
    border-bottom: 2px solid var(--gold);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    gap: 0;
    z-index: 1000;
    box-shadow: 0 15px 35px rgba(0,0,0,0.5);
    
    /* Smooth Transition Setup */
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .ref-nav-menu.active {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
    padding: 20px 20px 25px 20px;
    pointer-events: auto;
  }
  .ref-nav-menu .ref-nav-item {
    width: 100%;
  }
  .ref-nav-menu .ref-nav-item a {
    color: var(--cream) !important;
    font-size: 0.88rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(184, 159, 116, 0.1);
    transition: all 0.3s ease;
  }
  .ref-nav-menu .ref-nav-item a::after {
    content: '→';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    color: var(--gold);
  }
  .ref-nav-menu .ref-nav-item a:hover {
    color: var(--gold-light) !important;
    padding-left: 15px;
    background-color: rgba(255, 255, 255, 0.01);
  }
  .ref-nav-menu .ref-nav-item a:hover::after {
    opacity: 1;
    transform: translateX(0);
  }
  .ref-nav-menu .ref-nav-item:last-child a {
    border-bottom: none;
  }
  .ref-memory-board {
    height: 420px;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
  }
  .ref-polaroid {
    width: 230px;
    padding: 12px 12px 35px 12px;
  }
  .ref-polaroid-photo {
    height: 160px;
  }
  .ref-polaroid-label {
    font-size: 1.4rem;
    margin-top: 8px;
  }
  .ref-polaroid-1 {
    top: 15px;
    left: 10px;
  }
  .ref-polaroid-2 {
    bottom: 15px;
    right: 10px;
  }
  .ref-measuring-tape {
    width: 380px;
    top: 40px;
    left: -10px;
  }
  .ref-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .ref-swatch-hanger-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ref-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Compact Floating Buttons */
  .whatsapp-float {
    width: 44px !important;
    height: 44px !important;
    bottom: 20px !important;
    right: 20px !important;
    font-size: 1.3rem !important;
  }
  .floating-cart-trigger {
    width: 44px !important;
    height: 44px !important;
    bottom: 75px !important;
    right: 20px !important;
    font-size: 1.1rem !important;
  }
  .floating-cart-count {
    width: 16px !important;
    height: 16px !important;
    font-size: 0.62rem !important;
    top: -4px !important;
    right: -4px !important;
    border-width: 1px !important;
  }
}

@media (max-width: 768px) {
  .subpage-hero::before,
  .ref-footer::before {
    opacity: 0.08 !important;
  }
  .subpage-hero .container {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    padding: 0 !important;
  }
  .ref-infra-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 30px;
  }
  .ref-infra-title {
    font-size: 2.0rem;
    line-height: 1.35;
  }
  .ref-footer-bottom {
    flex-direction: column !important;
    gap: 15px !important;
    text-align: center !important;
    padding-bottom: 20px !important;
  }
  .ref-footer-bottom-links {
    justify-content: center !important;
  }
}

@media (max-width: 480px) {
  .ref-hero-title {
    font-size: 2.8rem;
  }
  .ref-swatch-hanger-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .ref-swatch-card {
    padding-top: 25px !important;
  }
  .ref-swatch-pin {
    width: 14px !important;
    height: 14px !important;
  }
  .ref-swatch-cloth {
    height: 170px !important;
    padding: 20px 10px !important;
  }
  .ref-swatch-icon {
    font-size: 1.6rem !important;
    margin-bottom: 12px !important;
  }
  .ref-swatch-name {
    font-size: 0.9rem !important;
  }
  .ref-infra-title {
    font-size: 1.6rem;
    line-height: 1.4;
  }
  .ref-infra-card {
    height: auto !important;
  }
  .ref-infra-info-plate {
    flex-direction: column;
    align-items: stretch !important;
    gap: 15px;
    padding: 20px !important;
  }
  .ref-infra-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    display: inline-flex;
    padding: 12px 15px;
  }
  .ref-features-grid {
    grid-template-columns: 1fr;
  }
  .ref-stats-row {
    grid-template-columns: 1fr;
  }
  .ref-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   INTERACTIVE PRODUCTS CATALOG & INQUIRY CART STYLES
   ========================================================================== */
.catalog-controls {
  max-width: 1200px;
  margin: 0 auto 50px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  font-family: var(--font-sans);
}

.search-bar-container {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.search-bar-input {
  width: 100%;
  padding: 14px 50px 14px 20px;
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  background-color: var(--white);
  color: var(--navy);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar-input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 4px 20px rgba(184, 159, 116, 0.1);
}

.search-icon-btn {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gold);
  font-size: 1.1rem;
  cursor: pointer;
}

.filter-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-pill {
  background: var(--white);
  border: 1px solid var(--gray-light);
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--navy);
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.filter-pill:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.filter-pill.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--cream);
}

/* Products Grid */
.products-interactive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.ref-product-card {
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ref-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(11,15,25,0.06);
}

.product-card-visual {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: var(--cream-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ref-product-card:hover .product-card-visual img {
  transform: scale(1.05);
}

.product-card-mill-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--navy-dark);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid var(--gold);
  z-index: 2;
}

.product-card-swatches {
  position: absolute;
  bottom: 15px;
  right: 15px;
  display: flex;
  gap: 6px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  padding: 4px 8px;
  border-radius: 20px;
  border: 1px solid rgba(0,0,0,0.05);
}

.swatch-color-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.1);
  cursor: pointer;
}

.product-card-body {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 12px;
  font-weight: 600;
}

.product-card-desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--charcoal);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 20px;
}

.product-card-specs {
  border-top: 1px dashed var(--gray-light);
  padding-top: 15px;
  margin-bottom: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--charcoal);
}

.product-spec-row strong {
  color: var(--navy);
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.6;
}

.product-card-cta {
  background-color: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  width: 100%;
  padding: 12px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.product-card-cta:hover {
  background-color: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}

/* Floating Inquiry Cart Badge */
.floating-cart-trigger {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background-color: var(--navy-dark);
  color: var(--cream);
  border: 1px solid var(--gold);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.floating-cart-trigger:hover {
  transform: scale(1.1);
  background-color: var(--maroon);
}

.floating-cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--gold);
  color: var(--navy-dark);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.75rem;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--navy-dark);
}

/* Slide-out Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 15, 25, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background-color: var(--white);
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  transition: right 0.3s ease;
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 25px 30px;
  border-bottom: 1px solid var(--gray-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--navy-dark);
  color: var(--cream);
}

.cart-drawer-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin: 0;
  font-weight: 600;
}

.cart-drawer-close {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 1.8rem;
  cursor: pointer;
}

.cart-drawer-body {
  padding: 30px;
  flex-grow: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-empty-message {
  text-align: center;
  margin-top: 50px;
  color: var(--charcoal);
  opacity: 0.6;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.cart-item-row {
  display: flex;
  gap: 15px;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 20px;
  align-items: center;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-name {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.cart-item-mill {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
}

.cart-item-qty-control {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.cart-item-qty-input {
  width: 80px;
  padding: 6px;
  border: 1px solid var(--gray-light);
  font-family: var(--font-sans);
  font-size: 0.82rem;
  text-align: center;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--maroon);
  cursor: pointer;
  font-size: 0.9rem;
  padding: 5px;
}

.cart-drawer-footer {
  padding: 30px;
  border-top: 1px solid var(--gray-light);
  background-color: var(--cream-dark);
}

.cart-submit-btn {
  background-color: var(--navy);
  color: var(--cream);
  border: 1px solid var(--navy);
  width: 100%;
  padding: 14px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.cart-submit-btn:hover {
  background-color: var(--maroon);
  border-color: var(--maroon);
  color: var(--white);
}

/* Swatches popup */
.shade-cards-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.shade-item {
  text-align: center;
  cursor: pointer;
}

.shade-preview-box {
  height: 60px;
  border: 1px solid rgba(0,0,0,0.1);
  border-radius: 4px;
  margin-bottom: 6px;
}

.shade-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--charcoal);
  font-weight: 600;
}

/* ==========================================================================
   B2B PRODUCT SPECIFICATIONS MODAL STYLES
   ========================================================================== */
.ref-spec-modal-card {
  max-width: 900px;
  width: 90%;
  background: var(--white);
  border-radius: 4px;
  border: 1px solid var(--gray-light);
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
  padding: 40px;
  position: relative;
  overflow: hidden;
}

/* 2-Column Grid Layout */
.ref-spec-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}

/* Left Column: Image Viewer */
.ref-spec-modal-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.ref-spec-image-container {
  width: 100%;
  height: 320px;
  background-color: var(--cream-dark);
  border-radius: 4px;
  border: 1px solid var(--gray-light);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-spec-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.ref-spec-mill-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--navy);
  color: var(--gold-light);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 2px;
  z-index: 5;
  border: 1px solid var(--gold);
}

/* Dynamic Shades List */
.ref-spec-swatches-row {
  border-top: 1px solid var(--gray-light);
  padding-top: 15px;
}

.ref-spec-swatches-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: block;
  margin-bottom: 10px;
}

.ref-spec-swatches-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ref-spec-swatch-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.ref-spec-swatch-btn:hover {
  transform: scale(1.1);
}

.ref-spec-swatch-btn.active {
  border-color: var(--gold);
  transform: scale(1.15);
  box-shadow: 0 0 0 1px var(--navy), 0 3px 8px rgba(11,15,25,0.25);
}

/* Right Column: Spec Content */
.ref-spec-modal-content {
  display: flex;
  flex-direction: column;
}

.ref-spec-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  color: var(--navy);
  margin-bottom: 15px;
  font-weight: 600;
}

.ref-spec-desc {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  color: var(--charcoal);
  opacity: 0.85;
  line-height: 1.6;
  margin-bottom: 25px;
}

.ref-spec-table-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--navy);
  margin-bottom: 12px;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 8px;
}

/* Technical Specification Table */
.ref-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 30px;
}

.ref-spec-table th, 
.ref-spec-table td {
  padding: 12px 10px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  border-bottom: 1px solid var(--gray-light);
}

.ref-spec-table th {
  font-weight: 600;
  color: var(--navy);
  text-align: left;
  width: 35%;
  background-color: rgba(0,0,0,0.015);
}

.ref-spec-table td {
  color: var(--charcoal);
  opacity: 0.9;
}

/* Sourcing Configuration Form Block */
.ref-spec-action-box {
  background-color: var(--cream-dark);
  border: 1px solid var(--gray-light);
  padding: 20px;
  border-radius: 4px;
}

.ref-spec-action-title {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.ref-spec-action-row {
  display: flex;
  gap: 15px;
  align-items: center;
}

.ref-spec-qty-selector {
  display: flex;
  align-items: center;
  background-color: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 2px;
  padding: 2px;
  flex-grow: 1;
}

.ref-spec-qty-selector input {
  width: 70px;
  border: none;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  outline: none;
}

.ref-spec-qty-selector input::-webkit-outer-spin-button,
.ref-spec-qty-selector input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ref-qty-btn {
  background: none;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease;
}

.ref-qty-btn:hover {
  background-color: var(--gray-light);
  border-radius: 2px;
}

.ref-qty-unit {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--charcoal);
  opacity: 0.65;
  margin-right: 12px;
}

.ref-spec-action-hint {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--charcoal);
  opacity: 0.6;
  margin-top: 8px;
}

/* Mobile Responsive Specs Layout overrides */
@media (max-width: 768px) {
  .ref-spec-modal-card {
    padding: 30px 20px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .ref-spec-modal-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .ref-spec-image-container {
    height: 220px;
  }
  
  .ref-spec-title {
    font-size: 1.7rem;
  }
  
  .ref-spec-action-row {
    flex-direction: column;
    align-items: stretch;
  }
  
  .ref-spec-qty-selector {
    justify-content: space-between;
  }
}

/* Catalog Layout Bar */
.catalog-layout-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  border-bottom: 1px solid var(--gray-light);
  padding-bottom: 15px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.catalog-results-count {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--charcoal);
  font-weight: 600;
}

.catalog-results-count span {
  color: var(--navy);
  font-weight: 700;
}

.layout-toggle-buttons {
  display: flex;
  gap: 8px;
  background-color: var(--cream-dark);
  padding: 4px;
  border-radius: 4px;
  border: 1px solid var(--gray-light);
}

.layout-btn {
  background: none;
  border: none;
  padding: 6px 12px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--charcoal);
  opacity: 0.65;
  cursor: pointer;
  border-radius: 2px;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.layout-btn:hover {
  opacity: 1;
}

.layout-btn.active {
  background-color: var(--navy);
  color: var(--gold-light) !important;
  opacity: 1;
}

/* Grid View Modifiers for Products Interactive Grid */
.products-interactive-grid.view-grid {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.products-interactive-grid.view-grid .ref-product-card {
  box-shadow: 0 2px 10px rgba(0,0,0,0.01);
}

.products-interactive-grid.view-grid .product-card-visual {
  height: 140px;
}

.products-interactive-grid.view-grid .product-card-title {
  font-size: 1rem;
  margin-bottom: 6px;
}

.products-interactive-grid.view-grid .product-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.78rem;
  margin-bottom: 12px;
}

.products-interactive-grid.view-grid .product-card-specs {
  display: none; /* Hide detailed specs inside grid mode */
}

.products-interactive-grid.view-grid .product-card-body {
  padding: 15px;
}

.products-interactive-grid.view-grid .product-card-cta {
  padding: 8px;
  font-size: 0.72rem;
  width: 100%;
}

/* Mobile responsive Grid View overrides (2 Columns!) */
@media (max-width: 768px) {
  .products-interactive-grid.view-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
  }
  
  .products-interactive-grid.view-grid .product-card-visual {
    height: 110px;
  }
  
  .products-interactive-grid.view-grid .product-card-visual img {
    height: 100%;
  }

  .products-interactive-grid.view-grid .product-card-mill-badge {
    top: 8px;
    left: 8px;
    font-size: 0.55rem;
    padding: 3px 6px;
  }

  .products-interactive-grid.view-grid .product-card-swatches {
    padding: 6px;
    gap: 4px;
  }
  
  .products-interactive-grid.view-grid .swatch-color-dot {
    width: 10px;
    height: 10px;
  }

  .products-interactive-grid.view-grid .product-card-title {
    font-size: 0.88rem;
    font-weight: 700;
  }

  .products-interactive-grid.view-grid .product-card-desc {
    display: none; /* Hide description too to make it extremely compact */
  }

  .products-interactive-grid.view-grid .product-card-cta {
    font-size: 0.68rem;
    padding: 6px;
  }

  .layout-btn span {
    display: none; /* Hide List/Grid text on mobile screens to save space */
  }
}

/* ==========================================================================
   AWARDS CIRCULATING CAROUSEL
   ========================================================================== */
.awards-carousel-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 20px 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.awards-carousel-list {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
  animation: scrollAwards 45s linear infinite;
}

.awards-carousel-list:hover {
  animation-play-state: paused;
}

@keyframes scrollAwards {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.awards-carousel-card {
  width: 380px;
  flex-shrink: 0;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-radius: 4px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.02);
  text-align: left;
  transition: var(--transition-smooth);
}


