:root {
  --brown: #6f4e37;
  --blue: #4a5a6b;
  --text-heading: #2a3540;
  --text-muted: #5a5448;
  --bg-warm: #faf7f1;
  --divider: #f0ebdd;
  --dark: #F5EDE0;
  --text: #333333;
  --text-light: #666666;
  --font-heading: 'Manrope', sans-serif;
  --font-body: 'Inter', sans-serif;
  --accent-gold: #FFD700;
  --hero-image: url('../images/products/mustard/1.jpg');

  /* =============================================
     FONT SIZES — EDIT THESE TO CHANGE GLOBALLY
     =============================================*/

  /* --- Headings (Desktop) --- */
  --fs-h1: clamp(56px, 5vw, 64px);
  /* Main page titles, hero headings */
  --fs-h2: clamp(36px, 4vw, 42px);
  /* Section titles */
  --fs-h3: clamp(24px, 3vw, 28px);
  /* Sub-headings, card titles */
  --fs-hero-sub: clamp(40px, 4.5vw, 48px);
  /* Hero subtitle ("Welcome to...") */
  --fs-hero-main: clamp(32px, 4vw, 38px);
  /* Hero main heading */
  --fs-about-hero-title: 3.5rem;
  /* About/Contact page hero title */
  --fs-about-hero-subtitle: 2.5rem;
  /* About/Contact page hero subtitle */
  --fs-section-title: 2.5rem;
  /* Products, FAQ section titles */
  --fs-page-hero-h1: 3rem;
  /* Page hero (Terms/Privacy) h1 */
  --fs-products-hero-title: 2.5rem;
  /* Products page hero title */
  --fs-split-h2: 2.2rem;
  /* Mission/Vision split section h2 */
  --fs-faq-title: 2.5rem;
  /* FAQ section title */
  --fs-faq-question: 1.25rem;
  /* Individual FAQ question */

  /* --- Body Text (Desktop) --- */
  --fs-body: clamp(16px, 2vw, 18px);
  /* Default body text, paragraphs */
  --fs-body-lg: 1.2rem;
  /* Slightly larger body text */
  --fs-body-md: 1.1rem;
  /* Medium body text */
  --fs-body-sm: 1rem;
  /* Standard body text */
  --fs-body-desc: 0.95rem;
  /* Descriptions, card text */
  --fs-small: 0.9rem;
  /* Small text, subfooter, notices */
  --fs-xs: 0.85rem;
  /* Topbar, small labels */
  --fs-intro: 15px;
  /* Product intro text */

  /* --- Navigation --- */
  --fs-nav: clamp(15px, 1.5vw, 16px);
  /* Navigation links */
  --fs-nav-desktop: 16px;
  /* Desktop nav links */
  --fs-hamburger: 1.8rem;
  /* Hamburger menu icon */

  /* --- Buttons --- */
  --fs-btn: clamp(16px, 2vw, 18px);
  /* Primary buttons */
  --fs-btn-sm: 12px;
  /* Small buttons (Get Quote card) */
  --fs-btn-detail: 13px;
  /* Product detail buttons */

  /* --- Cards & Products --- */
  --fs-card-title: 1.5rem;
  /* Product card name */
  --fs-card-heading: 2rem;
  /* Card h2, value card h4 */
  --fs-card-desc: 0.88rem;
  /* Card description text */
  --fs-card-label: 11px;
  /* Category labels, badges */
  --fs-card-action: 13px;
  /* "View Specs" link */

  /* --- Footer --- */
  --fs-footer: clamp(14px, 1vw, 15px);
  /* Footer text */
  --fs-footer-heading: 1.5rem;
  /* Footer section headings */
  --fs-subfooter: 0.9rem;
  /* Subfooter copyright text */

  /* --- Product Detail Page --- */
  --fs-pd-title: clamp(25px, 3vw, 40px);
  /* Product detail title */
  --fs-pd-badge: 10px;
  /* Product badge text */
  --fs-pd-eyebrow: 11px;
  /* Eyebrow text above title */
  --fs-pd-stat-value: 15px;
  /* Stat values */
  --fs-pd-stat-label: 11px;
  /* Stat labels */
  --fs-pd-check: 13px;
  /* Checkmark items */
  --fs-pd-section-heading: 29px;
  /* Section heading in detail */
  --fs-pd-section-desc: 14px;
  /* Section description */
  --fs-pd-table-row: 13px;
  /* Table row text */
  --fs-pd-packaging-title: 23px;
  /* Packaging section title */
  --fs-pd-packaging-body: 13px;
  /* Packaging description */
  --fs-pd-variety-title: 16px;
  /* Variety card title */
  --fs-pd-variety-body: 13px;
  /* Variety card body text */
  --fs-pd-variety-small: 12px;
  /* Variety card small text */
  --fs-pd-cta-heading: 29px;
  /* CTA section heading */
  --fs-pd-cta-body: 14px;
  /* CTA body text */
  --fs-pd-trust-label: 14px;
  /* Trust bar label */
  --fs-pd-trust-value: 16px;
  /* Trust bar value */
  --fs-pd-breadcrumb: 13px;
  /* Breadcrumb text */
  --fs-pd-back-link: 13px;
  /* Back to products link */
  --fs-pd-back-icon: 16px;
  /* Back to products icon */
  --fs-pd-origin: 12px;
  /* Origin label */
  --fs-pd-feature: 13px;
  /* Feature bar text */

  /* --- Forms & Contact --- */
  --fs-contact-hero-title: 3.5rem;
  /* Contact hero title */
  --fs-contact-hero-subtitle: 1.5rem;
  /* Contact hero subtitle */
  --fs-contact-hero-desc: 1rem;
  /* Contact hero description */
  --fs-contact-card-title: 1.8rem;
  /* Contact card heading */
  --fs-contact-card-text: 0.95rem;
  /* Contact card body */
  --fs-contact-detail: 0.95rem;
  /* Contact detail text */
  --fs-contact-icon: 24px;
  /* Contact icon size */
  --fs-contact-form-title: 1.5rem;
  /* Form section heading */
  --fs-form-input: 0.95rem;
  /* Form input text */
  --fs-form-icon: 20px;
  /* Form input icons */
  --fs-form-trust: 0.8rem;
  /* Form trust badges text */
  --fs-form-trust-icon: 24px;
  /* Form trust badge icons */
  --fs-submit-btn: 1.1rem;
  /* Submit button text */
  --fs-privacy-note: 0.9rem;
  /* Privacy note text */
  --fs-privacy-icon: 18px;
  /* Privacy note icon */

  /* --- Spec Modal --- */
  --fs-modal-title: 1.5rem;
  /* Modal heading */
  --fs-modal-close: 1.8rem;
  /* Modal close button */
  --fs-spec-table: 0.95rem;
  /* Spec table cells */
  --fs-spec-grid-h4: 1.1rem;
  /* Spec grid heading */
  --fs-spec-grid-li: 0.9rem;
  /* Spec grid list items */
  --fs-spec-bullet: 1.2rem;
  /* Spec grid bullet */
  --fs-spec-notice: 0.9rem;
  /* Spec notice text */

  /* --- Misc --- */
  --fs-topbar: 0.85rem;
  /* Topbar text */
  --fs-search-input: 13px;
  /* Search bar input */
  --fs-search-icon: 16px;
  /* Search bar icon */
  --fs-filter-btn: 13px;
  /* Filter pill buttons */
  --fs-no-results: 1.1rem;
  /* No results message */
  --fs-badge-export: 9px;
  /* Export grade badge */
  --fs-why-list: 1.05rem;
  /* Why choose us list items */
  --fs-fab-label: 0.95rem;
  /* FAB menu labels */
  --fs-fab-icon: 1.2rem;
  /* FAB icon size */
  --fs-fab-toggle: 1.8rem;
  /* FAB toggle button */
  --fs-page-hero-p: 1.2rem;
  /* Page hero paragraph */
  --fs-about-icon: 24px;
  /* About value card icon */
  --fs-about-sub: 0.9rem;
  /* About section subtitle */
  --fs-about-btn: 0.95rem;
  /* About CTA button */
  --fs-logo-name: 2.8rem;
  /* Logo name text */
  --fs-logo-sub: 0.55rem;
  /* Logo subtitle text */
  --fs-contact-export-title: 1rem;
  /* Contact export box title */
  --fs-contact-export-text: 0.85rem;
  /* Contact export box text */
  --fs-contact-detail-icon: 18px;
  /* Contact detail icon */
  --fs-icon-bg: 24px;
  /* Icon background size */
  --fs-icon-bg-form: 20px;
  /* Form icon background */
  --fs-contact-export-icon: 24px;
  /* Contact export icon */
  --fs-product-tag: 14px;
  /* Product tag text */
  --fs-tag-remove: 16px;
  /* Tag remove button */
  --fs-nav-social: 18px;
  /* Nav social icons */
  --fs-products-hero-eyebrow: 11px;
  /* Products hero eyebrow */
  --fs-products-hero-desc: 0.95rem;
  /* Products hero description */
  --fs-products-hero-badge-icon: 28px;
  /* Products hero badge icon */
  --fs-products-hero-badge-label: 18px;
  /* Products hero badge label */
  --fs-products-hero-badge-sub: 14px;
  /* Products hero badge sub text */
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  width: 100%;
}

a,
button,
[onclick],
.fab-toggle,
.fab-item,
.fab-menu,
.ref-hamburger,
.home-product-card,
.new-product-card,
.ref-btn,
.ref-btn-quote,
.filter-btn,
.get-quote-btn,
.view-specs-link,
.product-tag .tag-remove,
.spec-modal-close,
.pd-thumb,
.gallery-arrow,
.back-link,
.sticky-btn,
.ref-nav-links a,
.ref-footer-links a {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Form fields need touch-action but must allow text selection */
input,
select,
textarea {
  touch-action: manipulation;
}

/* Button */
.ref-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #b05b27ff;
  color: #ffffff;
  padding: 12px 18px;
  min-height: 48px;
  min-width: 48px;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.3s;
  font-family: var(--font-body);
  text-transform: uppercase;
}

.ref-btn:hover {
  background: #90471c;
}

/* Topbar */
.ref-topbar {
  background: #173D16;
  color: #FFFFFF;
  height: 45px;
  display: flex;
  align-items: center;
  font-size: var(--fs-topbar);
  z-index: 999;
  position: relative;
}

.ref-topbar-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-left: 60px;
  /* Original left padding */
  padding-right: 0px;
  /* Reduced to 0 to push items as far right as possible */
}


.ref-topbar-left {
  display: flex;
  align-items: center;
  gap: 35px;
}

.topbar-item {
  display: flex;
  align-items: center;
}

.topbar-item svg {
  color: #C88327;
  margin-right: 8px;
}

.ref-topbar-right {
  display: flex;
  align-items: center;
  gap: 35px;
}

.ref-topbar-right a {
  color: #FFFFFF;
  text-decoration: none;
  opacity: 0.75;
  transition: all 0.3s ease;
}

.ref-topbar-right a:hover {
  opacity: 1;
  color: #C88327;
}

/* Nav */
.ref-nav {
  background: rgba(249, 246, 240, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  height: 95px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

.ref-nav.scrolled {
  height: 75px;
}

.ref-nav-inner {
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 60px;
  position: relative;
}






.ref-hamburger {
  display: none;
  color: #2D2D2D;
  font-size: var(--fs-hamburger);
  cursor: pointer;
  padding: 10px;
  min-width: 48px;
  min-height: 48px;
  background: none;
  border: none;
  outline: none;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.ref-nav-links {
  list-style: none;
  display: flex;
  gap: 52px;
  align-items: center;
}

.ref-nav-links.left-links {
  margin-right: auto;
}

.ref-nav-links.right-links {
  margin-left: auto;
}

.ref-nav-links a {
  position: relative;
  color: #2D2D2D;
  text-decoration: none;
  font-size: var(--fs-nav-desktop);
  font-family: 'Montserrat', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
  /* SemiBold */
  transition: all 0.3s ease;
  padding: 5px 0;
}

.ref-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #C88327;
  transition: width 0.3s ease;
}

.ref-nav-links a:hover,
.ref-nav-links a.active {
  color: #C88327;
}

.ref-nav-links a:hover::after,
.ref-nav-links a.active::after {
  width: 100%;
}

.ref-nav-links a.ref-btn-quote,
.ref-nav-links a.ref-btn-quote:hover,
.ref-nav-links a.ref-btn-quote.active {
  background: #C88327 !important;
  color: #FFFFFF !important;
  border-radius: 12px;
  padding: 18px 34px;
  box-shadow: 0 10px 30px rgba(200, 131, 39, .28);
  transition: all 0.3s ease;
  border: none;
}

.ref-nav-links a.ref-btn-quote::after {
  display: none;
}

.ref-nav-links a.ref-btn-quote:hover {
  background: #B96E18 !important;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
  transform: translateY(-2px);
}

/* Mobile & Tablet Styles */
@media (max-width: 992px) {

  .ref-nav-inner,
  .ref-topbar-inner {
    padding: 0 2rem;
  }



  .ref-nav-links.left-links,
  .ref-nav-links.right-links {
    display: none;
    /* Hide on mobile/tablet until active */
  }

  .ref-hamburger {
    display: flex;
    margin-left: auto;
    /* Push hamburger to right */
  }




}

/* Hero */
.ref-hero {
  position: relative;
  min-height: 95vh;
  padding-top: 90px;
  /* Full page */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

/* Slider Backgrounds */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  z-index: 0;
}

.hero-slide.active {
  opacity: 1;
}

.ref-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1;
  /* Sits above the slides, below the content */
}

.ref-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  padding: 2rem;
  color: #fff;
  margin-bottom: 80px;
}

.ref-hero-sub {
  color: #D4AF37;
  /* Gold */
  font-family: var(--font-heading);
  font-size: var(--fs-section-title);
  letter-spacing: 3px;
  margin-bottom: 1rem;
  white-space: nowrap !important;
}

.ref-hero-main {
  font-family: var(--font-heading);
  font-size: var(--fs-section-title);
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.ref-hero-content p {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--fs-body-md);
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #ffffff;
}

.ref-hero-content .ref-btn {
  margin-top: 1.5rem;
}

/* About Page Redesign */
.about-hero {
  background: linear-gradient(135deg, #0f1c2b 0%, #172a3f 100%);
  position: relative;
  overflow: hidden;
  height: 380px;
}

.about-hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
}

.about-hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

.about-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.about-hero-text {
  max-width: 500px;
  color: #fff;
}

.about-hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-about-hero-title);
  margin-bottom: 5px;
}

.about-hero-subtitle {
  color: #6f4e37;
  font-family: var(--font-heading);
  font-size: var(--fs-about-hero-subtitle);
  margin-bottom: 20px;
}

/* Home About Section */
.home-about-section {
  background: #FAF7F2;
  padding: 80px 20px;
  text-align: center;
}

.home-about-inner {
  max-width: 900px;
  margin: 0 auto;
}

.home-about-title {
  font-family: var(--font-heading);
  font-size: var(--fs-section-title);
  color: #0f1c2b;
  margin-bottom: 25px;
}

.home-about-text {
  color: #475569;
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  margin-bottom: 30px;
}

.about-page-body {
  background: #FAF7F2;
  padding: 80px 20px;
}

.about-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.about-content-left {
  padding-right: 20px;
}

.about-section-sub {
  color: #6f4e37;
  font-size: var(--fs-about-sub);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.about-section-title {
  font-family: var(--font-heading);
  font-size: var(--fs-section-title);
  color: #0f1c2b;
  margin-bottom: 25px;
}

.about-text-content p {
  color: #334155;
  font-size: var(--fs-body-sm);
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #6f4e37;
  color: #fff;
  padding: 14px 28px;
  border-radius: 4px;
  font-size: var(--fs-about-btn);
  font-weight: 600;
  text-decoration: none;
  margin-top: 15px;
  transition: background 0.3s;
}

.about-btn:hover {
  background: #5a3d29;
}

.about-value-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.about-value-card {
  background: #fff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.about-value-icon {
  width: 50px;
  height: 50px;
  background: #6f4e37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: var(--fs-about-icon);
  margin-bottom: 20px;
}

.about-value-card h4 {
  font-family: var(--font-heading);
  font-size: var(--fs-card-heading);
  color: #0f1c2b;
  margin-bottom: 15px;
}

.about-value-card p {
  color: #475569;
  font-size: var(--fs-body-desc);
  line-height: 1.6;
}

@media (max-width: 992px) {
  .about-page-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content-left {
    padding-right: 0;
  }

  .about-hero-bg-img {
    width: 100%;
    opacity: 0.3;
  }

  .about-hero-bg-img img {
    clip-path: none;
  }
}

@media (max-width: 600px) {
  .about-value-grid {
    grid-template-columns: 1fr;
  }
}

/* Product Search Bar */
/* ============================
   PRODUCTS PAGE - FILTER & SEARCH
   ============================ */
.products-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.products-filter-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1.5px solid #d5cfc2;
  font-size: var(--fs-filter-btn);
  font-weight: 500;
  color: #5a5448;
  padding: 9px 20px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: var(--font-body);
  white-space: nowrap;
}

.filter-btn.active {
  background: var(--brown) !important;
  color: #fff !important;
  border-color: var(--brown) !important;
  font-weight: 600;
}

.filter-btn:hover:not(.active) {
  background: rgba(111, 78, 55, 0.08) !important;
  border-color: var(--brown) !important;
  color: var(--brown) !important;
}

.products-search-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-bar {
  background: #fff;
  border-radius: 8px;
  padding: 9px 16px;
  box-shadow: 0 2px 6px rgba(74, 90, 107, 0.06);
  border: 1.5px solid #d5cfc2;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 320px;
}

.search-bar input {
  border: none;
  outline: none;
  width: 100%;
  font-size: var(--fs-search-input);
  font-family: var(--font-body);
  color: #333;
}

.search-bar input::placeholder {
  color: #b0a89a;
}

.search-bar i {
  color: var(--text-muted);
  font-size: var(--fs-search-icon);
}

.no-results-msg {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: #999;
  font-size: var(--fs-no-results);
}

/* Products */
.ref-products {
  padding: 5rem 2rem;
  background: var(--bg-warm);
}

.home-products {
  background: #0a192f !important;
}

.ref-products-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ref-products-title {
  font-family: var(--font-heading);
  color: var(--text-heading);
  font-size: var(--fs-section-title);
  text-align: center;
  margin-bottom: 3rem;
}

.home-products .ref-products-title {
  color: #ffffff;
}

.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 1rem 0 3rem 0;
}

.marquee-track {
  display: inline-flex;
  gap: 2rem;
  animation: scrollMarquee 30s linear infinite;
}

@media (hover: hover) {
  .marquee-track:hover {
    animation-play-state: paused;
  }
}

/* Touch-pause class added via JS for mobile devices */
.marquee-track.touch-paused {
  animation-play-state: paused;
}

@keyframes scrollMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* Simplified Card Styles for Home */
.home-product-card {
  width: 340px;
  background: #fdfdfd;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

@media (hover: hover) {
  .home-product-card:hover {
    transform: translateY(-5px);
  }
}

.home-product-card img {
  width: 100%;
  aspect-ratio: 612 / 408;
  object-fit: cover;
  border-bottom: 3px solid var(--orange);
}

.home-product-name {
  padding: 1.2rem;
  text-align: center;
  color: #c96218;
  font-family: var(--font-heading);
  font-size: var(--fs-card-title);
  font-weight: 700;
}

.ref-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  min-height: 80vh;
}

@media (max-width: 992px) {
  .ref-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .ref-products-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ============================
   REDESIGNED PRODUCT CARDS
   ============================ */
.new-product-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #ebe6db;
  box-shadow: 0 2px 12px rgba(35, 45, 55, 0.06);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

@media (hover: hover) {
  .new-product-card:hover {
    box-shadow: 0 8px 30px rgba(35, 45, 55, 0.14);
    transform: translateY(-4px);
  }
}

.card-img-link {
  display: block;
  text-decoration: none;
  position: relative;
}

.card-img-container {
  background: #f5f0e8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.card-img-container img {
  width: 100%;
  height: auto;
  aspect-ratio: 612 / 408;
  object-fit: cover;
  transition: transform 0.4s ease;
}

@media (hover: hover) {
  .new-product-card:hover .card-img-container img {
    transform: scale(1.05);
  }
}

.export-grade-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  font-size: var(--fs-badge-export);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #fff;
  color: var(--brown);
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  border: 1px solid #e8e2d6;
}

.new-product-content {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-label {
  font-size: var(--fs-card-label);
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--brown);
  margin-bottom: 6px;
}

.new-product-content h2 {
  font-size: var(--fs-card-heading);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
  font-family: var(--font-heading);
}

.card-desc {
  color: #555;
  font-size: var(--fs-card-desc);
  line-height: 1.55;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f0ebdd;
}

.view-specs-link {
  font-size: var(--fs-card-action);
  color: #1a1a1a;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.view-specs-link:hover {
  color: var(--brown);
}

.get-quote-btn {
  display: inline-block;
  background: var(--brown);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 8px 18px;
  font-size: var(--fs-btn-sm);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.02em;
}

@media (hover: hover) {
  .get-quote-btn:hover {
    background: #5a3d29;
    transform: translateY(-1px);
  }
}

/* Split Section */
.ref-split {
  display: flex;
  flex-wrap: wrap;
}

.ref-split-left,
.ref-split-right {
  flex: 1;
  min-width: 300px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.ref-split-overlay-dark {
  background: rgba(20, 20, 20, 0.85);
  padding: 5rem 3rem;
  height: 100%;
  color: #fff;
}

.ref-split-overlay-orange {
  background: rgba(176, 91, 39, 0.9);
  padding: 5rem 3rem;
  height: 100%;
  color: #fff;
}

.ref-split h2 {
  font-family: var(--font-heading);
  font-size: var(--fs-split-h2);
  margin-bottom: 2rem;
}

.ref-split-overlay-dark p {
  line-height: 1.8;
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

.ref-why-list {
  list-style: none;
}

.ref-why-list li {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: var(--fs-why-list);
}

.ref-why-list strong {
  color: #FFECC4;
}

/* Footer */
.ref-footer {
  background: #0d141e;
  padding: 4rem 2rem;
  color: #c4cdd5;
}

.ref-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
}

.ref-footer h2 {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: var(--fs-footer-heading) !important;
  margin-bottom: 1.5rem;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

.ref-footer p {
  line-height: 1.8;
  color: #ffffff;
  text-align: left;
  margin-left: 0;
  padding-left: 0;
}

.ref-footer-links,
.ref-footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ref-footer-links li,
.ref-footer-contact li {
  margin-bottom: 0.8rem;
}

.ref-footer-links a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.3s;
  display: inline-block;
  padding: 8px 0;
}

.ref-footer-links a:hover {
  color: var(--brown);
}

.ref-footer-contact li {
  display: flex;
  gap: 10px;
  color: #ffffff;
}

.ref-subfooter {
  background: #000000;
  color: #ffffff;
  padding: 1.5rem 2rem;
  font-size: var(--fs-subfooter);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}

.subfooter-left {
  text-align: center;
}

.subfooter-right {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.designer-text {
  font-weight: 600;
  color: #FFD700;
}

.designer-logo {
  height: 35px;
  width: auto;
  opacity: 1;
  transition: opacity 0.3s;
}

.designer-logo:hover {
  opacity: 1;
}

/* Specification Modal */
.spec-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.spec-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.spec-modal {
  background: #fff;
  width: 90%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.spec-modal-overlay.active .spec-modal {
  transform: translateY(0);
}

.spec-modal-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfdfd;
  border-radius: 8px 8px 0 0;
}

.spec-modal-header h2 {
  margin: 0;
  color: var(--green);
  font-family: var(--font-heading);
  font-size: var(--fs-modal-title);
}

.spec-modal-close {
  background: none;
  border: none;
  font-size: var(--fs-modal-close);
  cursor: pointer;
  color: #888;
  line-height: 1;
  transition: color 0.2s;
}

.spec-modal-close:hover {
  color: #333;
}

.spec-modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.spec-section h3 {
  color: var(--orange);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
}

.spec-section p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
}

.spec-table th,
.spec-table td {
  padding: 0.75rem 1rem;
  border: 1px solid #eee;
  text-align: left;
  font-size: var(--fs-spec-table);
}

.spec-table th {
  background: #fdfdfd;
  font-weight: 600;
  color: #333;
  width: 40%;
}

.spec-table td {
  color: #555;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.spec-grid h4 {
  color: var(--green);
  margin-bottom: 0.75rem;
  font-size: var(--fs-spec-grid-h4);
}

.spec-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.spec-grid ul li {
  position: relative;
  padding-left: 1.2rem;
  margin-bottom: 0.5rem;
  color: #555;
  font-size: var(--fs-spec-grid-li);
  line-height: 1.4;
}

.spec-grid ul li::before {
  content: '•';
  color: var(--orange);
  position: absolute;
  left: 0;
  top: 0;
  font-size: var(--fs-spec-bullet);
  line-height: 1.2;
}

.spec-notice {
  background: #fff8e1;
  border-left: 4px solid var(--orange);
  padding: 1rem;
  color: #666;
  font-size: var(--fs-spec-notice);
  font-style: italic;
  margin-top: 1rem;
}

@media (max-width: 992px) {
  .ref-nav-links.active {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 95px;
    left: 0;
    width: 100%;
    background: #F9F6F0;
    padding: 1rem 0 2rem 0;
    text-align: center;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .ref-nav.scrolled .ref-nav-links.active {
    top: 75px;
  }

  .ref-nav-links a {
    padding: 12px 18px;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #2D2D2D;
  }

  .ref-nav-links .ref-btn-quote {
    display: inline-block;
    margin-top: 1rem;
    width: auto;
  }
}


.ref-hero-main {
  font-size: var(--fs-split-h2);
}

.ref-split-left,
.ref-split-right {
  flex: 100%;
}

/* Disable orbit canvas touch interception on mobile */
.orbit-scene canvas {
  pointer-events: none !important;
}

/* Larger tap targets for buttons */
.get-quote-btn,
.ref-btn,
.filter-btn {
  min-height: 44px;
}


/* Floating Action Button (FAB) */
.fab-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: none;
}

.fab-toggle,
.fab-menu {
  pointer-events: auto;
}

.fab-menu {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  background: #1a1a24;
  padding: 1rem;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.fab-menu.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fab-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  color: #ffffff;
  font-weight: 500;
  padding: 0.5rem;
  border-radius: 8px;
  transition: background 0.2s;
  width: 100%;
  justify-content: flex-end;
}

.fab-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.fab-label {
  font-size: var(--fs-fab-label);
  color: #ffffff;
}

.fab-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-fab-icon);
}

.fab-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  border: none;
  font-size: var(--fs-fab-toggle);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.fab-toggle:hover {
  transform: scale(1.05);
}

.fab-container.active .fab-toggle {
  transform: rotate(45deg);
}

/* Multi-Page Additions */
.page-hero {
  position: relative;
  height: 260px;
  min-height: 260px;
  background-color: var(--brown);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.page-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: transparent;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 100px 2rem 2rem 2rem;
}

.page-hero h1 {
  font-family: var(--font-heading);
  font-size: var(--fs-page-hero-h1);
  margin-bottom: 0.5rem;
  color: var(--orange);
}

.page-hero p {
  font-size: var(--fs-page-hero-p);
  opacity: 0.9;
}

/* Contact Page Redesign */
.contact-hero {
  background: linear-gradient(135deg, #0f1c2b 0%, #172a3f 100%);
  position: relative;
  overflow: hidden;
  height: 380px;
}

.contact-hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 55%;
  height: 100%;
}

.contact-hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  clip-path: polygon(25% 0, 100% 0, 100% 100%, 0% 100%);
}

.contact-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

.contact-hero-text {
  max-width: 500px;
  color: #fff;
}

.contact-hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-contact-hero-title);
  margin-bottom: 5px;
}

.contact-hero-subtitle {
  color: #c8943e;
  font-family: var(--font-heading);
  font-size: var(--fs-contact-hero-subtitle);
  margin-bottom: 20px;
}

.contact-hero-desc {
  font-size: var(--fs-contact-hero-desc);
  line-height: 1.6;
  color: #e2e8f0;
}

.contact-page-body {
  background: #FAF7F2;
  padding: 60px 20px;
}

.contact-page-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

.contact-card-left {
  background: #0f1c2b;
  border-radius: 12px;
  padding: 40px 30px;
  color: #fff;
  order: 2;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.contact-icon-bg {
  width: 50px;
  height: 50px;
  background: #6f4e37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-contact-icon);
}

.contact-card-header h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-contact-card-title);
  color: #fff;
}

.contact-card-text {
  color: #cbd5e1;
  font-size: var(--fs-contact-card-text);
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-details-list {
  list-style: none;
  margin-bottom: 40px;
}

.contact-details-list li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-detail-icon {
  width: 36px;
  height: 36px;
  background: #6f4e37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-contact-detail-icon);
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: var(--fs-contact-detail);
  color: #f1f5f9;
  line-height: 1.5;
}

.contact-export-box {
  background: #6f4e37;
  border-radius: 8px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-export-icon {
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  color: #6f4e37;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-contact-export-icon);
  flex-shrink: 0;
}

.contact-export-content strong {
  display: block;
  font-size: var(--fs-contact-export-title);
  margin-bottom: 3px;
}

.contact-export-content span {
  font-size: var(--fs-contact-export-text);
  opacity: 0.9;
}

.contact-card-right {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  order: 1;
}

.contact-form-header {
  background: #0f1c2b;
  padding: 25px 40px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.contact-icon-bg-form {
  width: 40px;
  height: 40px;
  background: #6f4e37;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--fs-icon-bg-form);
  color: #fff;
}

.contact-form-header h3 {
  font-family: var(--font-heading);
  font-size: var(--fs-contact-form-title);
  color: #fff;
}

.contact-form-body {
  padding: 40px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.new-contact-form .input-wrapper {
  margin-bottom: 20px;
  position: relative;
}

.new-contact-form .input-icon {
  position: absolute;
  left: 15px;
  top: 15px;
  color: #94a3b8;
  font-size: var(--fs-form-icon);
  z-index: 2;
}

.new-contact-form input,
.new-contact-form select,
.new-contact-form textarea {
  width: 100%;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 12px 15px 12px 45px;
  font-size: var(--fs-form-input);
  color: #334155;
  background: #fff;
  transition: all 0.3s;
}

.new-contact-form textarea {
  resize: vertical;
}

.new-contact-form input:focus,
.new-contact-form select:focus,
.new-contact-form textarea:focus {
  outline: none;
  border-color: #6f4e37;
  box-shadow: 0 0 0 3px rgba(111, 78, 55, 0.1);
}

.form-trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 20px 0;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 25px;
}

.form-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.form-trust-item i {
  color: #6f4e37;
  font-size: var(--fs-form-trust-icon);
}

.form-trust-item span {
  font-size: var(--fs-form-trust);
  font-weight: 600;
  color: #475569;
  line-height: 1.2;
}

.contact-submit-btn {
  width: 100%;
  background: #6f4e37;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 6px;
  font-size: var(--fs-submit-btn);
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.3s;
}

.contact-submit-btn:hover {
  background: #5a3d29;
}

.contact-privacy-note {
  text-align: center;
  margin-top: 30px;
  color: #475569;
  font-size: var(--fs-privacy-note);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.contact-privacy-note i {
  color: #0f1c2b;
  font-size: var(--fs-privacy-icon);
}

@media (max-width: 992px) {
  .contact-page-inner {
    grid-template-columns: 1fr;
  }

  .contact-card-left,
  .contact-card-right {
    order: 0;
  }

  .contact-hero-bg-img {
    width: 100%;
    opacity: 0.3;
  }

  .contact-hero-bg-img img {
    clip-path: none;
  }

  .form-trust-row {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}

/* ============================
   PRODUCTS PAGE - HERO BANNER
   ============================ */
.products-hero {
  background: linear-gradient(135deg, #0a192f 0%, #112240 50%, #1a365d 100%);
  position: relative;
  overflow: hidden;
}

.products-hero-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 50px 20px;
}

.products-hero-text {
  flex: 1;
  color: #fff;
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.products-hero-eyebrow {
  font-size: var(--fs-products-hero-eyebrow);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #d4a850;
  margin-bottom: 12px;
  font-weight: 600;
}

.products-hero-title {
  font-size: var(--fs-products-hero-title);
  font-weight: 700;
  color: #fff;
  font-family: var(--font-heading);
  margin-bottom: 14px;
  line-height: 1.1;
}

.products-hero-desc {
  font-size: var(--fs-products-hero-desc);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
  max-width: 520px;
  margin-bottom: 30px;
}

.products-hero-badges {
  display: flex;
  gap: 15px;
  flex-wrap: nowrap;
}

.products-hero-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.products-hero-badge i {
  font-size: var(--fs-products-hero-badge-icon);
  color: #d4a850;
}

.products-hero-badge strong {
  display: block;
  font-size: var(--fs-products-hero-badge-label);
  color: #fff;
  font-weight: 600;
}

.products-hero-badge span {
  display: block;
  font-size: var(--fs-products-hero-badge-sub);
  color: rgba(255, 255, 255, 0.6);
}

.products-hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  height: 100%;
  z-index: 1;
  clip-path: ellipse(75% 100% at 100% 50%);
}

.products-hero-bg-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 992px) {
  .products-hero-bg-img {
    width: 100%;
    opacity: 0.25;
  }

  .products-hero-bg-img img {
    clip-path: none;
  }

  .products-hero-inner {
    position: relative;
    z-index: 2;
  }
}

/* Product Detail Page */
/* ============================
   PREMIUM PRODUCT DETAIL PAGE — FIXED
   ============================ */
:root {
  --navy: #0d2538;
  --navy-soft: #153b55;
  --brown: #805638;
  --brown-dark: #624029;
  --gold: #8f5c00;
  --cream: #f7f0e3;
  --paper: #fffdfa;
  --line: #e5d6c2;
  --ink: #143148;
  --muted: #4a555c;
}

.container {
  width: min(1140px, calc(100% - 40px));
  margin: auto;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  min-height: 44px;
  border-radius: 3px;
  border: 1px solid transparent;
  font-weight: 700;
  font-size: var(--fs-btn-detail);
  letter-spacing: .15px;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--brown);
  color: white;
}

.button.primary:hover {
  background: var(--brown-dark);
}

.button.outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.breadcrumb {
  padding: 12px 0 19px;
  color: var(--muted);
  font-size: var(--fs-pd-breadcrumb);
}

.breadcrumb b {
  color: var(--navy);
}

.breadcrumb span {
  margin: 0 7px;
  color: #756755;
}

.back-to-products {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--navy);
  font-size: var(--fs-pd-back-link);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.3px;
  padding-top: 24px;
}

.back-to-products:hover {
  color: var(--gold);
}

.back-to-products i {
  font-size: var(--fs-pd-back-icon);
  margin-top: -1px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
}

.gallery {
  padding: 20px;
  background: #f0e6d6;
  min-width: 0;
}

.main-image {
  position: relative;
  height: 400px;
  background: #fbf8f2;
  border: 1px solid #d8c8b2;
  overflow: hidden;
}

.main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  top: 17px;
  left: 17px;
  background: var(--navy);
  color: white;
  padding: 8px 10px;
  letter-spacing: 1.2px;
  font-size: var(--fs-pd-badge);
  font-weight: 700;
}

.slide-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d8c8b2;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brown);
  font-size: 0;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all .2s ease;
}

.slide-button:before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
}

.slide-button.prev:before {
  transform: rotate(-135deg);
  margin-left: 4px;
}

.slide-button.next:before {
  transform: rotate(45deg);
  margin-right: 4px;
}

.slide-button:hover {
  background: white;
  border-color: var(--brown);
  color: var(--brown-dark);
  transform: translateY(-50%) scale(1.04);
  box-shadow: 0 4px 15px rgba(128, 86, 56, .15);
}

.slide-button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.slide-button.prev {
  left: 10px;
}

.slide-button.next {
  right: 10px;
}

.gallery-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 74px;
  padding: 13px 2px 0;
}

.product-features-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fffdf9;
  padding: 24px 10px;
  border-radius: 6px;
  margin-top: 24px;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  flex: 1;
  text-align: center;
  position: relative;
}

.feature-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--divider);
}

.feature-item svg {
  width: 42px;
  height: 42px;
  stroke: var(--brown);
  stroke-width: 1.5;
  fill: none;
}

.feature-item span {
  font-size: var(--fs-pd-feature);
  font-weight: 600;
  color: var(--text-heading);
}

.thumbnails {
  display: flex;
  gap: 9px;
}

.thumb {
  width: 56px;
  height: 56px;
  border: 2px solid transparent;
  padding: 0;
  background: #fff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.thumb.active {
  border-color: var(--brown);
  padding: 3px;
}

.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.origin {
  color: var(--brown);
  font-size: var(--fs-pd-origin);
  font-weight: 700;
  white-space: nowrap;
}

.product-copy {
  padding: 52px 50px 35px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--gold);
  font-size: var(--fs-pd-eyebrow);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-copy h1,
.section-heading h2,
.about h2,
.cta h2 {
  font-family: var(--font-heading);
}

.product-copy h1 {
  margin: 0 0 15px;
  font-size: var(--fs-pd-title);
  line-height: 1;
  color: var(--navy);
}

.intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: var(--fs-intro);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 25px 0 20px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat {
  padding: 0 12px;
  border-left: 1px solid var(--line);
}

.stat:first-child {
  border: 0;
  padding-left: 0;
}

.stat strong {
  display: block;
  color: var(--navy);
  font-size: var(--fs-pd-stat-value);
  line-height: 1.25;
}

.stat small {
  display: block;
  color: var(--muted);
  margin-top: 4px;
  font-size: var(--fs-pd-stat-label);
}

.checks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 26px;
  font-size: var(--fs-pd-check);
}

.check:before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 8px;
  border-radius: 50%;
  background: #ede4d5;
  color: var(--brown);
  font-size: var(--fs-pd-stat-label);
  font-weight: 700;
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.trust {
  background: var(--navy-soft);
  color: white;
}

.trust .container {
  min-height: 85px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
}

.trust-item {
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.trust-item:first-child {
  padding-left: 0;
  border: 0;
}

.trust-item strong {
  display: block;
  color: #f3c76e;
  font-size: var(--fs-pd-trust-label);
  letter-spacing: 1px;
}

.trust-item span {
  color: #e1e9eb;
  font-size: var(--fs-pd-trust-value);
}

section.content {
  padding: 66px 0;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 25px;
  margin-bottom: 24px;
}

.section-heading h2,
.about h2 {
  margin: 0;
  font-size: var(--fs-pd-section-heading);
  color: var(--navy);
}

.section-heading p {
  max-width: 390px;
  color: var(--muted);
  margin: 0;
  line-height: 1.45;
  font-size: var(--fs-pd-section-desc);
}

.spec-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.32fr) minmax(300px, .78fr);
  gap: 24px;
}

.table {
  border: 1px solid var(--line);
  background: var(--paper);
}

.row {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 12px;
  padding: 15px 22px;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-pd-table-row);
}

.row:last-child {
  border-bottom: 0;
}

.row:nth-child(even) {
  background: #fcf9f4;
}

.row span {
  color: var(--muted);
}

.row b {
  color: var(--navy);
}

.packaging {
  border: 1px solid var(--line);
  padding: 30px;
  background: linear-gradient(145deg, #fffdfa, #f5ead8);
}

.packaging h3 {
  margin: 0 0 10px;
  font-weight: 700;
  font-size: var(--fs-pd-packaging-title);
  font-family: var(--font-heading);
}

.packaging>p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: var(--fs-pd-packaging-body);
  line-height: 1.55;
}

.pack {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: var(--fs-pd-packaging-body);
  font-weight: 700;
}

.pack span {
  color: var(--brown);
  font-size: var(--fs-pd-variety-small);
  font-weight: 600;
  white-space: nowrap;
}

.about {
  margin-top: 62px;
}

.about h2 {
  margin-bottom: 21px;
}

.varieties {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.variety {
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 25px;
}

.variety h3 {
  color: var(--brown);
  font-size: var(--fs-pd-variety-title);
  margin: 0 0 10px;
}

.variety p {
  color: var(--muted);
  line-height: 1.6;
  font-size: var(--fs-pd-variety-body);
  margin: 0 0 16px;
}

.variety small {
  color: var(--navy);
  display: block;
  line-height: 1.65;
  font-size: var(--fs-pd-variety-small);
}

.cta {
  margin: 0 auto 62px;
  background: var(--brown);
  padding: 38px 48px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta .eyebrow {
  color: #f4d18b;
  margin-bottom: 8px;
}

.cta h2 {
  margin: 0;
  font-size: var(--fs-pd-cta-heading);
}

.cta p {
  margin: 8px 0 0;
  color: #f6e8dd;
  font-size: var(--fs-pd-cta-body);
}

.cta .button {
  color: var(--brown-dark);
  background: white;
  flex: none;
  transition: all 0.3s ease;
}

.cta .button:hover {
  background: var(--brown-dark);
  color: white;
}

@media (max-width:850px) {

  .hero,
  .spec-grid {
    grid-template-columns: 1fr;
  }

  .product-copy {
    padding: 35px 28px;
  }

  .trust .container {
    grid-template-columns: 1fr 1fr;
    padding: 18px 0;
    gap: 18px;
  }

  .trust-item {
    padding-left: 0;
    border: 0;
  }

  .varieties {
    grid-template-columns: 1fr;
  }

  .cta {
    padding: 32px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width:520px) {
  .main-image {
    height: 300px;
  }

  .stats,
  .checks {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .stat {
    border: 0;
    padding: 0;
  }

  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .trust .container {
    grid-template-columns: 1fr;
  }

  .gallery-bottom {
    align-items: flex-start;
    flex-direction: column;
  }

  .product-features-bar {
    padding: 16px 5px;
    margin-top: 16px;
  }

  .feature-item span {
    font-size: 11px;
  }

  .feature-item svg {
    width: 36px;
    height: 36px;
  }

  .thumb {
    width: 48px;
    height: 48px;
  }
}


/* FAQ Section */
.ref-faq {
  padding: 5rem 2rem;
  background: var(--dark);
}

.ref-faq-inner {
  max-width: 900px;
  margin: 0 auto;
}

.ref-faq-title {
  font-family: var(--font-heading);
  font-size: var(--fs-faq-title);
  color: var(--text-heading);
  text-align: center;
  margin-bottom: 3rem;
}

.faq-item {
  background: #fff;
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: var(--fs-faq-question);
  font-weight: 600;
  color: var(--brown);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.6;
}


/* Quote Cart Tags */
.selected-products-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 15px;
}

.product-tag {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: var(--fs-product-tag);
  font-weight: 500;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.3);
  animation: tagFadeIn 0.3s ease;
}

.product-tag .tag-remove {
  margin-left: 8px;
  cursor: pointer;
  font-size: var(--fs-tag-remove);
  font-weight: bold;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.product-tag .tag-remove:hover {
  opacity: 1;
}

@keyframes tagFadeIn {
  from {
    opacity: 0;
    transform: translateY(5px);
  }

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

/* Navbar Social Icons */
.nav-connect-wrapper {
  margin-left: 3rem;
  display: flex;
  align-items: center;
}

.nav-connect-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.nav-connect-links a {
  font-size: var(--fs-nav-social);
  text-decoration: none;
  transition: .3s ease;
}

/* Facebook */
.nav-connect-links .brand-fb {
  color: #1877F2;
}

/* Twitter / X */
.nav-connect-links .brand-tw {
  color: #1DA1F2;
}

/* LinkedIn */
.nav-connect-links .brand-li {
  color: #0A66C2;
}

.nav-connect-links a:hover {
  transform: translateY(-2px) scale(1.1);
}

/* Base styles for SVG Sprite Icons */
svg.ti,
svg.fa,
svg.fas,
svg.fab,
svg.far {
  width: 1em;
  height: 1em;
  fill: currentColor;
  stroke: currentColor;
  display: inline-block;
  vertical-align: middle;
}

/* FontAwesome is usually just fill, no stroke */
svg.fa,
svg.fas,
svg.fab,
svg.far {
  stroke: none;
}

/* Tabler is usually just stroke, no fill */
svg.ti {
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}


/* --- CLIENT REQUESTED FONT SIZES --- */
h1,
.hero h1,
.ref-hero-main,
.page-header h1 {
  font-size: var(--fs-h1);
  white-space: nowrap;
}

#pdTitle {
  font-size: clamp(36px, 4vw, 42px);
  /* Reduced size specifically for product titles */
  white-space: normal;
  /* Allow wrapping */
}

h2,
.section-heading h2,
.ref-products-title,
.home-about-title {
  font-size: var(--fs-h2);
}

h3,
h4,
.ref-hero-sub,
.home-product-name,
.eyebrow {
  font-size: var(--fs-h3);
}

body,
p,
.intro,
.home-about-text,
.trust-item span,
.check,
.ref-hero-desc {
  font-size: var(--fs-body);
}

.button,
.ref-btn,
.ref-btn-quote,
.get-quote-btn {
  font-size: var(--fs-btn);
}

.ref-nav-links a {
  font-size: var(--fs-nav);
}

.ref-footer,
.ref-footer a,
.ref-footer p,
.ref-footer span,
.ref-footer li {
  font-size: var(--fs-footer);
}


/* --- CLIENT REQUESTED FONT FAMILIES AND WEIGHTS --- */
/* Primary Font (Headings): Manrope */
h1,
h2,
h3,
h4,
h5,
h6,
.ref-hero-main,
.hero-title,
.page-header h1,
#pdTitle,
.ref-products-title,
.home-about-title,
.section-title {
  font-family: 'Manrope', sans-serif;
}

/* Secondary Font (Body): Inter */
body,
p,
.intro,
.home-about-text,
.trust-item span,
.check,
.ref-hero-desc {
  font-family: 'Inter', sans-serif;
}

strong,
b {
  font-weight: 700;
}

/* Buttons: Inter SemiBold */
.button,
.ref-btn,
.ref-btn-quote,
.get-quote-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
}

/* Navigation: Inter Medium */
.ref-nav-links a,
.nav-links a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Product Specifications: Inter Regular */
#specifications,
#pdSpecTable table,
.spec-grid,
.packaging p {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* Forms & Tables: Inter Regular */
form,
input,
select,
textarea,
table,
th,
td {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
}

/* However, keep table headers slightly bold if needed, but client said Inter Regular for Tables. I'll respect it. */


/* --- CLIENT REQUESTED LOGO SIZES --- */
.ref-logo-name {
  font-size: var(--fs-logo-name);
}

.ref-logo-sub {
  font-size: var(--fs-logo-sub);
  letter-spacing: 3px;
}


/* --- CLIENT REQUESTED BOLD TABLE LABELS --- */
.row span {
  font-weight: 600;
  color: var(--text-heading);
}





/* Transparent Nav for Home Page */
.ref-nav.transparent-nav {
  position: absolute;
  top: 45px;
  /* Directly below the 45px green topbar */
  left: 0;
  width: 100%;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
  border: none !important;
  z-index: 1000;
  height: 75px;
}

/* For other pages: solid cream background */
.ref-nav:not(.transparent-nav) {
  position: relative;
  background: #F9F6F0 !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .08);
  height: 75px;
  z-index: 1000;
}

/* Nav Inner Container */
.ref-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1320px;
  width: 100%;
  margin: 0 auto;
  padding: 0 60px;
  position: relative;
  height: 100%;
}

/* Navigation Menu Wrapper for links */
.ref-nav-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* Left & Right Links */
.ref-nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 90px;
  /* Premium spacing that fits on all screen resolutions */
}

/* Spacing to prevent collision with the 130px centered logo badge */
.ref-nav-links.left-links {
  flex: 1;
  width: 50%;
  justify-content: flex-end;
  padding-right: 155px;
  /* Elegant buffer for the logo */
}

.ref-nav-links.right-links {
  flex: 1;
  width: 50%;
  justify-content: flex-start;
  /* Align right links to start from the logo */
  padding-left: 155px;
  /* Elegant buffer for the logo */
}

/* Nav Links Typography */
.ref-nav-links a {
  position: relative;
  text-decoration: none;
  font-size: var(--fs-nav-desktop);
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  padding: 5px 0;
  font-family: 'Montserrat', sans-serif;
  white-space: nowrap;
  /* Prevents text from breaking into two lines */
}

/* Colors based on Nav transparency */
.ref-nav.transparent-nav .ref-nav-links a {
  color: #FFFFFF;
}

.ref-nav:not(.transparent-nav) .ref-nav-links a {
  color: #2D2D2D;
}

/* Gold Underline hover/active anim */
.ref-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: #D39A1D;
  transition: width 0.3s ease;
}

.ref-nav-links a:hover,
.ref-nav-links a.active {
  color: #D39A1D !important;
}

.ref-nav-links a:hover::after,
.ref-nav-links a.active::after {
  width: 100%;
}

/* CTA "Get a Quote" Button */
.ref-nav-links a.ref-btn-quote,
.ref-nav-links a.ref-btn-quote:hover,
.ref-nav-links a.ref-btn-quote.active {
  background: linear-gradient(135deg, #D39A1D, #B98015) !important;
  color: #FFFFFF !important;
  border-radius: 10px;
  padding: 14px 28px;
  box-shadow: 0 8px 25px rgba(211, 154, 29, .25);
  transition: all 0.3s ease;
  border: none;
  font-weight: 700;
  white-space: nowrap;
}

.ref-nav-links a.ref-btn-quote::after {
  display: none !important;
}

.ref-nav-links a.ref-btn-quote:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .18);
}

/* Spacing for Get a Quote button inside the list */


/* Floating Logo (Desktop) */
.ref-logo.center-logo {
  position: absolute;
  left: 50%;
  top: -30px;
  /* 30% sits above transparent nav, 70% below nav top edge */
  transform: translateX(-50%);
  z-index: 1005;
  transition: all 0.3s ease;
  text-decoration: none;
  display: block;
}

/* 130px Circular White Logo Badge */
.ref-logo-badge {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Logo image itself has dimensions 110px inside the badge */
.ref-logo-badge img {
  /* Using CSS to scale the uncropped 1536px image so the visible graphic perfectly fits the 130px circle */
  width: 215px !important;
  max-width: none !important;
  height: auto !important;
  margin-top: 10px !important;
}

/* Push hero text down on home page to prevent logo from overlapping heading copy */
.ref-nav.transparent-nav+main .ref-hero-content {
  padding-top: 70px;
}

/* Hide mobile logo on desktop */
.mobile-logo {
  display: none !important;
}

/* Mobile & Tablet Overrides (max-width: 992px) */
@media (max-width: 992px) {
  .mobile-logo {
    display: flex !important;
    align-items: center;
  }

  .ref-logo.center-logo {
    display: none !important;
  }

  .ref-hamburger {
    display: flex !important;
    align-items: center;
    color: #FFFFFF !important;
    /* White on transparent nav */
  }

  .ref-nav:not(.transparent-nav) .ref-hamburger {
    color: #2D2D2D !important;
    /* Dark on solid nav */
  }
}

/* Scrolled state overrides */
.ref-nav.scrolled {
  height: 65px !important;
}

.ref-nav.scrolled .ref-logo.center-logo {
  top: -15px !important;
}

.ref-nav.scrolled .ref-logo-badge {
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 12px 35px rgba(0, 0, 0, .18);
  /* padding removed so inner image can scale */
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.ref-nav.scrolled .ref-logo-badge img {
  /* Using CSS to scale the uncropped 1536px image so the visible graphic perfectly fits the 130px circle */
  width: 215px !important;
  max-width: none !important;
  height: auto !important;
  margin-top: 10px !important;
}

.ref-nav.transparent-nav.scrolled {
  background: rgba(23, 61, 22, 0.95) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, .15) !important;
}

/* Hero text specific overrides */
.ref-hero-sub {
  font-size: var(--fs-hero-sub) !important;
}

.ref-hero-main {
  font-size: var(--fs-hero-main) !important;
}

.product-copy .origin {
  display: block;
  margin-bottom: 1rem;
  font-size: 14px;
}

.ref-hero-content p strong {
  color: #D4AF37;
}

/* Hide mobile-only GET A QUOTE button on desktop */
.ref-btn-quote-mobile {
  display: none !important;
}

/* Hide mobile-only elements on desktop */
.mobile-only {
  display: none !important;
}

/* Desktop: show full hero text, hide short */
.hero-short-text {
  display: none !important;
}

/* Desktop: company overview image hidden */
.home-about-img {
  display: none;
}

/* ============================================
   MOBILE & TABLET OPTIMIZATION (992px and below)
   Do NOT touch desktop styles above this point.
   ============================================ */

/* --- TOPBAR MOBILE --- */
@media (max-width: 992px) {
  .ref-topbar {
    height: auto !important;
    padding: 8px 0;
  }

  .ref-topbar-inner {
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: space-between !important;
    gap: 10px;
    padding: 0 16px !important;
  }

  .ref-topbar-left {
    order: 1;
    gap: 10px !important;
    font-size: 0.72rem;
  }

  .ref-topbar-right {
    display: flex !important;
    order: 2;
  }

  /* Hide the phone/email items specifically inside right container */
  .ref-topbar-right>.topbar-item,
  .ref-topbar-right>.ref-topbar-sep {
    display: none !important;
  }

  .ref-topbar-left,
  .ref-topbar-right {
    justify-content: flex-start !important;
    align-items: center;
    flex-wrap: nowrap;
    width: auto;
  }

  .ref-topbar-sep {
    display: inline !important;
  }

  .social-wrapper {
    display: flex !important;
  }
}

/* --- NAV MOBILE --- */
@media (max-width: 992px) {
  .ref-nav {
    height: 70px !important;
  }

  .ref-nav-inner {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    position: relative;
    padding: 0 16px !important;
  }

  /* Hamburger: far LEFT */
  .ref-hamburger {
    order: 1 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    font-size: 24px;
  }

  /* Logo: absolute CENTER with circular badge (Default for all pages) */
  .mobile-logo {
    order: 2 !important;
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    margin: 0 !important;
    top: 3px !important;
    height: 65px;
    width: 65px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-logo-img {
    height: 100%;
    width: 100%;
    object-fit: contain;
    transform: scale(1.8) translateY(2px);
  }

  /* HOME PAGE ONLY:*/
  .ref-nav.transparent-nav .mobile-logo {
    height: 80px;
    /* Adjust this value to make the white circle bigger/smaller on Home page */
    width: 80px;
    /* Must match the height above */
    top: 5px !important;
    /* Move it up slightly to balance the bigger size */
  }

  /* GET A QUOTE: far RIGHT */
  .ref-btn-quote-mobile {
    display: inline-block !important;
    order: 3 !important;
    background: linear-gradient(135deg, #D39A1D, #C88327) !important;
    color: #fff !important;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(211, 154, 29, 0.3);
  }

  /* --- Dropdown Menu --- */
  .ref-nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    height: auto !important;
    background: rgba(23, 61, 22, 0.98);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
    padding: 15px 0;
    z-index: 999;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ref-nav:not(.transparent-nav) .ref-nav-menu {
    background: #1a3a1a !important;
  }

  .ref-nav-menu.active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start !important;
    gap: 0;
  }

  /* Force the desktop logo to take absolutely no space on mobile */
  .ref-nav-menu .center-logo {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ref-nav-links.left-links,
  .ref-nav-links.right-links {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ref-nav-links li {
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
  }

  .ref-nav-menu .ref-nav-links a {
    color: #FFFFFF !important;
    padding: 14px 20px;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    font-size: 14px !important;
    letter-spacing: 1.5px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ref-nav-menu .ref-btn-quote {
    display: none !important;
  }

  /* Scrolled state on mobile */
  .ref-nav.scrolled {
    height: 60px !important;
  }

  .ref-nav.scrolled .ref-nav-menu {
    top: 60px;
  }
}

/* --- HERO SECTION MOBILE --- */
@media (max-width: 768px) {
  .ref-hero {
    min-height: auto;
    align-items: flex-start;
    padding-top: 140px;
    padding-bottom: 120px;
  }

  .ref-hero-content {
    padding: 1.5rem 1.2rem !important;
    margin-bottom: 30px;
  }

  .ref-nav.transparent-nav+main .ref-hero-content {
    padding-top: 20px !important;
  }

  /* Split WELCOME TO / SURYA AGRO IMPEX */
  .hero-welcome {
    display: block !important;
    font-size: 13px !important;
    letter-spacing: 3px;
    margin-bottom: 4px;
  }

  .hero-company {
    display: block !important;
    font-size: 20px !important;
    letter-spacing: 2px;
    font-weight: 700;
  }

  .ref-hero-sub {
    font-size: inherit !important;
    white-space: normal !important;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .ref-hero-main {
    font-size: clamp(28px, 8vw, 36px) !important;
    line-height: 1.15;
    white-space: normal !important;
    margin-bottom: 1.2rem;
    margin-top: 0.5rem;
  }

  /* Hide full text, show short text on mobile */
  .hero-full-text {
    display: none !important;
  }

  .hero-short-text {
    display: block !important;
    font-size: 14px !important;
    line-height: 1.7;
    color: #fff;
    margin-bottom: 1rem;
  }

  .ref-hero-content .ref-btn {
    margin-top: 1rem;
    padding: 14px 32px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
  }
}

/* --- COMPANY OVERVIEW MOBILE --- */
@media (max-width: 768px) {
  .home-about-section {
    padding: 2rem 1rem;
  }

  .home-about-img {
    display: block !important;
    width: 100%;
    border-radius: 10px;
    object-fit: cover;
    height: 180px;
  }

  .home-about-inner {
    display: grid !important;
    grid-template-columns: 38% 1fr;
    gap: 14px;
    text-align: left;
    align-items: start;
    max-width: 100%;
  }

  .home-about-title {
    font-size: 18px !important;
    text-align: left !important;
    margin-bottom: 8px;
  }

  .home-about-text {
    font-size: 12px !important;
    text-align: left !important;
    line-height: 1.6;
    margin-bottom: 10px;
  }

  .home-about-text-wrap .ref-btn {
    font-size: 11px;
    padding: 8px 16px;
    display: inline-block;
  }
}

/* --- PRODUCTS SECTION MOBILE --- */
@media (max-width: 768px) {

  /* 1. Align text to the top of the section */
  .ref-products {
    padding-top: 2rem !important;
    padding-bottom: 2.5rem !important;
  }

  /* 2. Reorder elements so button is under products */
  .home-products .ref-products-inner {
    display: flex;
    flex-direction: column;
  }

  .home-products .ref-products-inner>div:first-child {
    display: contents !important;
    /* MUST use !important to override inline display: flex */
  }

  .home-products .ref-products-title {
    order: 1;
    margin-bottom: 1.5rem !important;
  }

  .marquee-container {
    order: 2;
    overflow-x: auto !important;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 10px;
  }

  .home-products .button.outline {
    order: 3;
    margin-top: 2rem !important;
    align-self: center;
  }

  .marquee-track {
    animation: none !important;
    display: flex;
    gap: 16px;
    padding: 0 16px;
    width: auto !important;
  }

  /* 3. Make products bigger */
  .home-product-card {
    min-width: 220px;
    max-width: 220px;
    flex-shrink: 0;
    border-radius: 8px !important;
    background: #fdfdfd;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
  }

  .home-product-card img {
    width: 100% !important;
    height: 160px !important;
    border-radius: 0 !important;
    object-fit: cover;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    aspect-ratio: auto !important;
  }

  .home-product-name {
    font-size: 15px !important;
    padding: 14px 10px !important;
    text-align: center;
    line-height: 1.3;
    font-weight: 600;
  }

  .ref-products-title {
    font-size: 24px !important;
  }
}

/* --- MISSION & VISION MOBILE --- */
@media (max-width: 768px) {
  .ref-split {
    flex-direction: column;
  }

  .ref-split-left,
  .ref-split-right {
    min-width: 100% !important;
    flex: 100% !important;
  }

  .ref-split-overlay-dark {
    padding: 2rem 1.5rem;
  }

  .ref-split-overlay-dark p {
    font-size: 13px !important;
    line-height: 1.7;
  }

  .ref-split h2 {
    font-size: 1.4rem !important;
    margin-bottom: 1rem;
  }
}

/* --- WHY CHOOSE US MOBILE (2×2 card grid on orange) --- */
@media (max-width: 768px) {
  .ref-split-overlay-orange {
    padding: 2.5rem 1.5rem;
  }

  .ref-split-overlay-orange h2 {
    color: #fff !important;
    text-align: center;
    font-size: 1.4rem !important;
  }

  .ref-why-list {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 1rem;
  }

  .ref-why-list li {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 16px 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 11px !important;
    color: #fff;
    line-height: 1.5;
    margin-bottom: 0 !important;
  }

  .ref-why-list strong {
    color: #FFECC4 !important;
    display: block;
    margin-bottom: 6px;
    font-size: 13px !important;
  }
}

/* Mobile footer globe scaling and alignment */
@media (max-width: 768px) {
  .orbit-scene {
    display: none !important;
  }
}

/* --- FOOTER MOBILE (3-column compact) --- */
@media (max-width: 768px) {
  .ref-footer-inner {
    grid-template-columns: 1fr 1fr !important;
    /* Only 2 columns left */
    gap: 10px;
  }

  /* Hide the globe AND "A Few Words About Us" columns completely on mobile */
  .ref-footer-inner>.ref-footer-col:first-child,
  .ref-footer-inner>.ref-footer-col:nth-child(2) {
    display: none !important;
  }

  .ref-footer {
    padding: 1.5rem 1rem;
  }

  .ref-footer h2 {
    font-size: 0.8rem !important;
    margin-bottom: 0.5rem;
  }

  .ref-footer p {
    font-size: 9px !important;
    line-height: 1.5;
  }

  .ref-footer a,
  .ref-footer li {
    font-size: 9px !important;
    line-height: 1.5;
  }

  .ref-footer-links li,
  .ref-footer-contact li {
    margin-bottom: 4px;
  }

  .ref-subfooter {
    font-size: 9px;
    padding: 10px 12px;
  }
}

/* --- HEADINGS & TEXT MOBILE --- */
@media (max-width: 768px) {

  h1,
  .hero h1,
  .page-header h1,
  #pdTitle {
    font-size: clamp(26px, 7vw, 34px) !important;
    white-space: normal !important;
  }

  h2,
  .section-heading h2 {
    font-size: clamp(20px, 5.5vw, 26px) !important;
  }

  h3,
  h4,
  .eyebrow {
    font-size: clamp(14px, 4vw, 18px) !important;
  }

  body,
  p,
  .intro,
  .trust-item span,
  .check,
  .ref-hero-desc {
    font-size: 14px !important;
    line-height: 1.7;
  }
}

/* --- PAGE HERO (Terms/Privacy) MOBILE --- */
@media (max-width: 768px) {
  .page-hero {
    height: 180px;
    min-height: 180px;
  }

  .page-hero-overlay {
    padding: 50px 1rem 1rem 1rem;
  }

  .page-hero h1 {
    font-size: 1.6rem !important;
  }
}

/* --- PRODUCT DETAIL PAGE MOBILE --- */
@media (max-width: 768px) {
  .product-copy {
    padding: 20px 16px !important;
  }

  .product-copy .origin {
    font-size: var(--fs-pd-origin);
  }

  #pdTitle {
    font-size: clamp(22px, 6vw, 28px) !important;
    white-space: normal !important;
  }
}

/* --- CONTACT PAGE MOBILE --- */
@media (max-width: 768px) {
  .contact-hero {
    height: 250px;
  }
}

/* --- CUSTOM HOME PAGE NAVIGATION --- */
.home-custom-topbar {
  background-color: #f3ebd8;
  color: #000;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  z-index: 1001;
  position: relative;
}

.home-custom-topbar-inner {
  width: 90%;
  max-width: 1400px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.home-topbar-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.home-topbar-right {
  display: flex;
  align-items: center;
  gap: 15px;
}

.home-social-icons {
  display: flex;
  gap: 12px;
}

.home-social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #000;
  border-radius: 50%;
  color: #000;
  transition: all 0.3s ease;
}

.home-social-icons a svg {
  width: 14px;
  height: 14px;
}

.home-social-icons a:hover {
  background-color: #C89653;
  border-color: #C89653;
  color: #fff;
}

.home-custom-nav {
  position: absolute;
  top: 45px;
  left: 0;
  width: 100%;
  background-color: #0B1215;
  border-top: 1px solid #C89653;
  border-bottom: 1px solid #C89653;
  height: 110px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-custom-nav-inner {
  width: 90%;
  max-width: 100%;
  display: flex;
  align-items: center;
  height: 100%;
}

.home-logo-pill {
  display: flex;
  align-items: center;
  border: 1px solid #C89653;
  border-radius: 50px;
  padding: 5px 25px 5px 5px;
  gap: 15px;
  text-decoration: none;
}

.home-logo-pill .logo-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.home-logo-pill .logo-circle img {
  width: 100%;
  height: auto;
  transform: scale(1.8) translateY(1.6px);
  /* Scales up the logo inside the white circle */
}

.home-logo-text {
  display: flex;
  flex-direction: column;
}

.home-logo-text .title {
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  /* Increased company name size */
  font-weight: 700;
  line-height: 1.2;
}

.home-logo-text .subtitle {
  color: #C89653;
  font-family: var(--font-body);
  font-size: 0.7rem;
  /* Increased subtitle size */
  letter-spacing: 2px;
  font-weight: 600;
  white-space: nowrap;
}

.home-nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0 30px 0 auto;
  /* Pushes the links to the right side, leaving a 30px gap before the button */
  padding: 0;
}

.home-nav-links li a {
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  transition: color 0.3s;
}

.home-nav-links li a:hover {
  color: #C89653;
}

.home-nav-links li a.active {
  color: #C89653;
}

.home-nav-links li a.active::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #C89653;
  box-shadow: 0 0 8px #C89653;
}

.home-quote-btn {
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #d4a35e, #a87630);
  border-radius: 30px;
  padding: 8px 12px 8px 25px;
  color: #fff;
  text-decoration: none;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  gap: 15px;
  transition: transform 0.3s;
}

.home-quote-btn:hover {
  transform: translateY(-2px);
  color: #fff;
}

.home-quote-btn .icon-circle {
  width: 30px;
  height: 30px;
  background-color: rgba(0, 0, 0, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.home-quote-btn .icon-circle svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #fff;
  stroke-width: 2;
}

.home-mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 1050px) {
  .home-logo-text .subtitle {
    display: none;
  }
}

@media (max-width: 900px) {
  .home-custom-topbar {
    height: 35px;
    padding: 0;
  }

  .home-custom-topbar-inner {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding: 0 16px;
  }

  .home-topbar-left {
    font-size: 0.72rem;
  }

  .home-topbar-right > .topbar-item,
  .home-topbar-right > .ref-topbar-sep {
    display: none !important;
  }

  .home-custom-nav {
    top: 35px;
    height: 80px; /* Make nav bar slightly smaller on mobile */
  }

  .home-custom-nav-inner {
    justify-content: space-between; /* push hamburger to the right */
  }

  .home-logo-pill {
    padding: 2px 15px 2px 2px;
    gap: 10px;
  }

  .home-logo-pill .logo-circle {
    width: 50px;
    height: 50px;
  }

  .home-logo-text .title {
    font-size: 1.1rem;
  }

  .home-nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #0B1215;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    margin: 0;
    border-bottom: 1px solid #C89653;
    gap: 20px;
  }

  .home-quote-btn {
    display: none;
  }

  .home-mobile-toggle {
    display: block;
  }
}