/* ==========================================================================
   LABOOKELLIE TEA ESTATE - LUXURY CEYLON TEA STYLESHEET
   ========================================================================== */

/* Noto Serif is loaded locally via fonts.css */

/* Design Tokens & CSS Variables */
:root {
  --color-primary-navy: #131c24;
  --color-dark-navy: #0e151b;
  --color-header-bg: #121b23;
  --color-card-bg: #18222a;

  --color-gold: #c9a365;
  --color-gold-light: #e5bd57;
  --color-gold-dark: #b48f52;
  --color-gold-border: #c9a365;

  --color-text-white: #ffffff;
  --color-text-cream: #f4f1ea;
  --color-text-muted: #a3b1be;
  --color-text-dark: #23272a;

  --font-serif: "Bellefair", Arial, Helvetica, sans-serif;
  --font-slider-title: "Noto Serif", Georgia, serif;
  --font-nav: 'Montserrat', sans-serif;
  --font-body: 'Titillium Web', 'Segoe UI', Tahoma, sans-serif;

  /* Common Title Font Size Variables */
  --fs-title-hero: clamp(26px, 3.5vw, 38px);
  /* Main hero & page banners */
  --fs-title-section: clamp(26px, 3vw, 48px);
  /* Primary section titles (.section-title, .about-title) */
  --fs-title-card: clamp(20px, 1.8vw, 24px);
  /* Card & showcase titles (.feature-title, product names) */
  --fs-title-item: clamp(17px, 1.4vw, 32px);
  /* Sub-item headings (.about-item-title, timeline, steps) */
  --fs-title-sm: 16px;
  /* Minor headings & subtitles */

  /* Title Font Size Hierarchy Aliases */
  --fs-title-xl: var(--fs-title-hero);
  --fs-title-lg: var(--fs-title-section);
  --fs-title-md: var(--fs-title-card);

  /* ==========================================================================
     COMMON BUTTON DESIGN TOKENS & VARIABLES
     Single source of truth for all action buttons, links, submits, and controls
     ========================================================================== */
  --btn-font-family: var(--font-nav);
  --btn-font-size: 13.5px;
  --btn-font-weight: 600;
  --btn-letter-spacing: 0.5px;
  --btn-text-transform: uppercase;
  --btn-padding-y: 12px;
  --btn-padding-x: clamp(32px, 5vw, 42px);
  --btn-padding: var(--btn-padding-y) var(--btn-padding-x);
  --btn-radius: 0px;
  --btn-spacing-top: clamp(24px, 3.5vw, 36px);
  --btn-transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease;

  /* Common Button Colors */
  --btn-gold-bg: var(--color-gold);
  --btn-gold-hover: #b48f52;
  --btn-gold-color: #ffffff;
  --btn-gold-border: var(--color-gold);

  --btn-navy-bg: var(--color-primary-navy);
  --btn-navy-hover: var(--btn-gold-bg);
  --btn-navy-color: #ffffff;

  --btn-outline-border: rgba(255, 255, 255, 0.4);
  --btn-outline-color: var(--color-text-white);
  --btn-outline-hover-border: var(--btn-gold-bg);
  --btn-outline-hover-color: var(--btn-gold-bg);
  --btn-outline-hover-bg: transparent;

  /* Slider Navigation Arrow Buttons */
  --arrow-btn-size: 38px;
  --arrow-btn-bg: var(--color-primary-navy);
  --arrow-btn-color: #ffffff;
  --arrow-btn-hover-bg: var(--btn-gold-bg);
  --arrow-btn-hover-color: #ffffff;
  --arrow-btn-transition: background-color 0.25s ease, color 0.25s ease, transform 0.2s ease;

  --header-height: 80px;
  /* overridden per breakpoint below */
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-gold: 0 4px 20px rgba(197, 155, 39, 0.18);
  --shadow-dark: 0 10px 30px rgba(0, 0, 0, 0.35);
}

/* Base Reset & Box Sizing */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: #f7f6f2;
  color: var(--color-text-dark);
  line-height: 1.6;
  overflow-x: clip;
  padding-top: var(--header-height);
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400; /* Bellefair display serif true weight */
}

p {
  font-family: var(--font-body);
}

input,
select,
textarea {
  font-family: var(--font-body);
}

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

ul,
ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
}

@media (max-width: 340px) {
  .container {
    padding: 0 12px;
  }
}

/* ==========================================================================
   1. SITE HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-header-bg);
  border-bottom: 2.5px solid var(--color-gold-border);
  z-index: 1000;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
}

.site-header.header-hidden {
  transform: translateY(-100%) !important;
  box-shadow: none !important;
  pointer-events: none;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  /* keeps logo & burger apart even when squeezed */
  width: 100%;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 36px;
  height: var(--header-height);
}


/* Common Gold Shimmer / Sheen Sweep Animation */
.header-brand {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  /* allow logo to shrink on tiny screens */
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.header-brand:hover {
  transform: translateY(-1px) scale(1.02);
}

.site-logo {
  height: 38px;
  max-width: 220px;
  /* safe on tablets; overridden further down */
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: filter 0.9s ease;
}

/* Gold Shimmer strictly clipped to the letters of the logo */
.header-brand::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg,
      transparent 0%,
      transparent 35%,
      rgba(255, 240, 180, 0.35) 42%,
      rgba(255, 255, 255, 0.95) 50%,
      rgba(255, 240, 180, 0.35) 58%,
      transparent 65%,
      transparent 100%);
  background-size: 250% 100%;
  background-repeat: no-repeat;
  -webkit-mask-image: url('../images/Labookellie-logo.png');
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-image: url('../images/Labookellie-logo.png');
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  pointer-events: none;
  animation: goldLetterShine 10s ease-in-out infinite;
}

.header-brand:hover::after {
  animation: goldLetterShine 6s ease-in-out infinite;
}

@keyframes goldLetterShine {
  0% {
    background-position: 180% 0;
  }

  60% {
    background-position: -80% 0;
  }

  100% {
    background-position: -80% 0;
  }
}

/* Desktop Navigation */
.site-nav {
  display: block;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 2.2rem);
  /* gap shrinks fluidly with viewport */
}

.nav-link {
  font-family: var(--font-nav);
  font-size: clamp(11px, 1vw, 13.5px);
  /* shrinks fluidly below 1350px */
  font-weight: 600;
  letter-spacing: clamp(0.8px, 0.12vw, 1.5px);
  text-transform: uppercase;
  color: var(--color-text-white);
  padding: 8px 4px;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  /* prevent individual link wrapping */
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-gold-light);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--color-gold-light);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-gold-light);
}

/* ==========================================================================
   PRODUCTS MULTI-LEVEL DROPDOWN & FLYOUT MENU
   ========================================================================== */
.site-nav {
  display: block;
  align-self: stretch;
  height: 100%;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.6vw, 2.2rem);
  height: 100%;
}

.nav-item.nav-has-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-item.nav-has-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

/* Strictly disable underline for PRODUCTS menu only */
.nav-item.nav-has-dropdown > .nav-link::after,
.nav-item.nav-has-dropdown > .nav-link:hover::after,
.nav-item.nav-has-dropdown:hover > .nav-link::after,
.nav-item.nav-has-dropdown > .nav-link.active::after,
.nav-item.nav-has-dropdown.is-open > .nav-link::after,
.nav-item.nav-has-dropdown.is-hovered > .nav-link::after {
  display: none !important;
  content: none !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
}

.nav-caret {
  font-size: 11px;
  margin-left: 5px;
  vertical-align: middle;
  transition: transform 0.25s ease;
  opacity: 0.85;
}

.nav-item.nav-has-dropdown:hover .nav-caret,
.nav-item.nav-has-dropdown.is-open .nav-caret,
.nav-item.nav-has-dropdown.is-hovered .nav-caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Level 1 Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 235px;
  background-color: #ffffff;
  border-top: 3px solid var(--color-gold);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22);
  list-style: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.22s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.22s;
  z-index: 1050;
  pointer-events: none;
}

/* Generous hover bridge so cursor never leaves hit area */
.nav-dropdown::before {
  content: '';
  position: absolute;
  top: -20px;
  left: 0;
  right: 0;
  height: 20px;
}

.nav-item.nav-has-dropdown:hover > .nav-dropdown,
.nav-item.nav-has-dropdown:focus-within > .nav-dropdown,
.nav-item.nav-has-dropdown.is-open > .nav-dropdown,
.nav-item.nav-has-dropdown.is-hovered > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.nav-dropdown-item {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #f2ede4;
}

.nav-dropdown-item:last-child {
  border-bottom: none;
}

.nav-dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  font-family: var(--font-nav);
  font-size: 14.5px;
  font-weight: 500;
  color: #383838;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.nav-dropdown-link .flyout-arrow {
  font-size: 12px;
  color: #888888;
  transition: color 0.2s ease, transform 0.2s ease;
  margin-left: 18px;
}

/* Hover on item (exact look as in user's screenshot!) */
.nav-dropdown-item:hover > .nav-dropdown-link,
.nav-dropdown-item.active > .nav-dropdown-link,
.nav-dropdown-item.is-hovered > .nav-dropdown-link {
  background-color: #bfa168; /* Warm ochre gold */
  color: #ffffff;
}

.nav-dropdown-item:hover > .nav-dropdown-link .flyout-arrow,
.nav-dropdown-item.active > .nav-dropdown-link .flyout-arrow,
.nav-dropdown-item.is-hovered > .nav-dropdown-link .flyout-arrow {
  color: #ffffff;
  transform: translateX(3px);
}

/* Level 2 Flyout Menu (aligned with hovered item) */
.nav-flyout {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 200px;
  background-color: #ffffff;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.2);
  border-left: 1px solid #ede8de;
  list-style: none;
  padding: 0;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.2s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.2s;
  z-index: 1060;
  pointer-events: none;
}

/* Flyout hover bridge to prevent closing on diagonal mouse travel */
.nav-flyout::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -16px;
  width: 16px;
}

.nav-dropdown-item.has-flyout:hover > .nav-flyout,
.nav-dropdown-item.has-flyout:focus-within > .nav-flyout,
.nav-dropdown-item.has-flyout.is-open > .nav-flyout,
.nav-dropdown-item.has-flyout.is-hovered > .nav-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.nav-flyout-item {
  list-style: none;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid #f5f1eb;
}

.nav-flyout-item:last-child {
  border-bottom: none;
}

.nav-flyout-link {
  display: block;
  padding: 13px 22px;
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 500;
  color: #383838;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.2px;
}

.nav-flyout-link:hover {
  background-color: #f8f6f0;
  color: #b48f52;
  padding-left: 26px;
}

/* Mobile Drawer Products Accordion */
.mobile-nav-item.mobile-has-submenu {
  list-style: none;
  width: 100%;
}

.mobile-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-sub-toggle {
  background: transparent;
  border: 1px solid rgba(197, 155, 39, 0.3);
  border-radius: 3px;
  color: var(--color-gold-light);
  font-size: 14px;
  padding: 6px 12px;
  cursor: pointer;
  transition: transform 0.25s ease, background-color 0.2s ease;
}

.mobile-sub-toggle.is-open {
  transform: rotate(180deg);
  background-color: rgba(197, 155, 39, 0.2);
}

.mobile-sub-menu {
  display: none;
  list-style: none;
  padding: 6px 0 6px 12px;
  margin: 4px 0 10px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
  border-left: 2px solid var(--color-gold);
}

.mobile-sub-menu.is-open {
  display: block;
}

.mobile-sub-link {
  display: block;
  padding: 9px 12px;
  font-family: var(--font-nav);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--color-text-cream, #f5eedf);
  text-decoration: none;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.2s ease, padding-left 0.2s ease, background-color 0.2s ease;
}

.mobile-sub-link:hover,
.mobile-sub-link:focus-visible {
  color: var(--color-gold-light, #e5bd57);
  padding-left: 16px;
  background: rgba(255, 255, 255, 0.04);
}

.mobile-sub-menu li:last-child .mobile-sub-link {
  border-bottom: none;
}

/* Hide packs, tea bags, special packs sub-types */
.mobile-sub-types {
  display: none !important;
}

.mobile-sub-cat {
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.08);
}

.mobile-sub-cat:last-child {
  border-bottom: none;
}

.mobile-sub-title {
  display: block;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-gold-light);
  letter-spacing: 0.5px;
}
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  /* never squeeze the burger icon */
  width: 44px;
  /* larger tap target for accessibility */
  height: 44px;
  padding: 0;
  cursor: pointer;
}

.hamburger-bar {
  width: 26px;
  /* fixed bar width inside the larger tap target */
  height: 2.5px;
  background-color: var(--color-gold-light);
  border-radius: 2px;
  transition: var(--transition-smooth);
}

/* Mobile Drawer Menu */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -105vw;
  /* always starts fully off-screen */
  width: min(300px, 85vw);
  /* capped at 85vw on tiny screens */
  height: 100vh;
  background-color: var(--color-header-bg);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 24px;
  overflow-y: auto;
  /* scroll if many links on short screens */
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(197, 155, 39, 0.3);
  margin-bottom: 24px;
}

.mobile-logo {
  height: 32px;
  width: auto;
}

.mobile-drawer-close {
  color: var(--color-gold-light);
  font-size: 32px;
  line-height: 1;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.mobile-nav-link {
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--color-text-white);
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--color-gold-light);
  padding-left: 6px;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 1999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

/* ==========================================================================
   2. HERO SLIDER SECTION (Damro Tea style)
   Markup: slider.php  |  Behaviour: slider.js
   ========================================================================== */


.hero-slider {
  --hs-gold: var(--color-gold-light, #e5bd57);
  --hs-ease: cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  width: 100%;
  /* fallback first, then dynamic viewport units (fixes mobile address bar) */
  height: clamp(420px, calc(100vh - var(--header-height, 80px)), 950px);
  height: clamp(420px, calc(100dvh - var(--header-height, 80px)), 950px);
  overflow: hidden;
  background: #0b1218;
}

.hs-slides {
  position: absolute;
  inset: 0;
}

.hs-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--hs-ease), visibility 0.9s var(--hs-ease);
}

.hs-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hs-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: var(--pos, center);
  /* per-slide focal point */
  transform: scale(1.06);
  transition: transform 6.5s ease-out;
}

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

.hs-slide.active .hs-bg {
  transform: scale(1);
}

.hs-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 16, 22, .15) 0%, rgba(8, 14, 20, .55) 100%);
}

/* Title block: anchored proportionally so it never leaves the slider */
.hs-content {
  position: absolute;
  left: var(--x, 50%);
  top: var(--y, 50%);
  transform: translateX(calc(var(--x, 50%) * -1));
  /* 22% -> shifts 22% of own width */
  z-index: 3;
  text-align: center;
  width: max-content;
  max-width: calc(100% - 120px);
  /* keeps clear of the arrows */
}

.hs-title {
  font-family: var(--font-slider-title);
  font-size: var(--fs-title-hero);
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, .7);
  text-wrap: balance;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}

.hs-slide.active .hs-title {
  opacity: 1;
  transform: none;
  transition: opacity .9s ease .35s, transform 1.1s cubic-bezier(.22, 1, .36, 1) .35s;
}

.hs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.2vw, 16px);
  margin-top: 10px;
  color: #fff;
  opacity: 0;
  transition: opacity .4s ease;
}

.hs-slide.active .hs-divider {
  opacity: 1;
  transition: opacity .9s ease .7s;
}

.hs-line {
  width: clamp(36px, 8vw, 123px);
  height: 1px;
  background: #fff;
  transform: scaleX(0);
  transition: transform .4s ease;
}

.hs-line-l {
  transform-origin: right center;
}

.hs-line-r {
  transform-origin: left center;
}

.hs-slide.active .hs-line {
  transform: scaleX(1);
  transition: transform 1s cubic-bezier(.22, 1, .36, 1) .8s;
}

.hs-leaf {
  width: clamp(20px, 2.2vw, 28px);
  height: clamp(20px, 2.2vw, 28px);
}

/* Arrows */
.hs-arrow {
  position: absolute;
  top: 50%;
  z-index: 10;
  width: 44px;
  height: 56px;
  margin-top: -28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(30, 38, 46, .55);
  border: 1px solid rgba(255, 255, 255, .15);
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}

.hs-arrow svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.hs-arrow:hover {
  background: var(--btn-gold-bg);
}

.hs-arrow:focus-visible {
  outline: 2px solid var(--btn-gold-bg);
  outline-offset: 2px;
}

.hs-prev {
  left: 0;
}

.hs-next {
  right: 0;
}

/* ---------- Tablet (<= 991px): centre everything, responsive contain ---------- */
@media (max-width: 991px) {
  .hero-slider {
    height: auto !important;
    aspect-ratio: 1920 / 950;
    min-height: 220px;
  }

  .hs-bg {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transform: none !important;
  }

  .hs-slide.active .hs-bg {
    transform: none !important;
  }

  .hs-img {
    object-fit: contain !important;
  }

  .hs-content {
    --x: 50% !important;
    --y: 50% !important;
    top: var(--y);
    transform: translate(-50%, -50%);
    width: 100%;
    max-width: calc(100% - 90px);
  }

  .hs-title {
    font-size: clamp(20px, 4vw, 32px);
  }

  .hs-arrow {
    width: 38px;
    height: 50px;
    margin-top: -25px;
  }
}

/* ---------- Mobile (<= 600px) ---------- */
@media (max-width: 600px) {
  .hero-slider {
    height: auto !important;
    aspect-ratio: 1920 / 950;
    min-height: 180px;
  }

  .hs-bg {
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transform: none !important;
  }

  .hs-slide.active .hs-bg {
    transform: none !important;
  }

  .hs-img {
    object-fit: contain !important;
  }

  .hs-content {
    max-width: calc(100% - 64px);
  }

  .hs-title {
    font-size: clamp(15px, 4.4vw, 22px);
    line-height: 1.25;
    letter-spacing: .5px;
  }

  .hs-divider {
    margin-top: 6px;
    gap: 6px;
  }

  .hs-leaf {
    width: 16px;
    height: 16px;
  }

  .hs-line {
    width: clamp(20px, 4vw, 35px);
  }

  .hs-arrow {
    width: 28px;
    height: 38px;
    margin-top: -19px;
  }

  .hs-arrow svg {
    width: 14px;
    height: 14px;
  }
}

/* ---------- Short landscape phones ---------- */
@media (max-height: 480px) and (orientation: landscape) {
  .hero-slider {
    height: auto !important;
    aspect-ratio: 1920 / 950;
    max-height: calc(100dvh - var(--header-height, 58px));
  }

  .hs-bg {
    background-size: contain !important;
    transform: none !important;
  }

  .hs-slide.active .hs-bg {
    transform: none !important;
  }

  .hs-img {
    object-fit: contain !important;
  }

  .hs-title {
    font-size: clamp(16px, 3.5vw, 22px);
  }
}

@media (prefers-reduced-motion: reduce) {

  .hs-slide,
  .hs-bg,
  .hs-title,
  .hs-divider,
  .hs-line {
    transition: none !important;
  }

  .hs-title,
  .hs-divider {
    opacity: 1;
    transform: none;
  }

  .hs-line {
    transform: none;
  }
}


/* =========================================
   ABOUT SECTION - fully responsive
   Desktop: 3 cols | Tablet: image + 2 cols | Mobile: 1 col
   ========================================= */
.about-section {
  padding: clamp(45px, 6vw, 65px) 0 clamp(40px, 5vw, 55px);
  background: #fff;
  overflow: hidden;
}

.about-header {
  max-width: 650px;
  margin: 0 auto clamp(28px, 4vw, 45px);
  text-align: center;
}

.about-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-section);
  font-weight: 400;
  line-height: 1.3;
  color: #263443;
  margin-bottom: 8px;
}

.about-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: #c9a365;
  margin: 8px 0 22px;
}

.about-divider span {
  width: clamp(28px, 6vw, 45px);
  height: 1px;
  background: currentColor;
  opacity: .85;
}

.about-divider svg {
  width: 34px;
  height: 24px;
  flex-shrink: 0;
}

.about-intro {
  max-width: 590px;
  margin: 0 auto;
  color: #858585;
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 16px);
  line-height: 1.8;
}

/* ---------- Desktop grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(280px, 34vw, 500px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(20px, 3vw, 40px);
}

.about-col {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 36px);
}

.about-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.about-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #131c24;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s ease, transform .3s ease;
}

.about-icon i {
  font-size: 24px;
  line-height: 1;
  color: #fff;
}

.about-item:hover .about-icon {
  background: #c59b27;
  transform: translateY(-2px);
}

.about-item-body {
  flex: 1;
  min-width: 0;
  /* lets text wrap instead of overflowing */
}

.about-item-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-item);
  font-weight: 400;
  line-height: 1.35;
  color: #263443;
  margin: 0 0 5px;
}

.about-item-body p {
  color: #858585;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  margin: 0;
}

.about-figure {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.about-figure img {
  display: block;
  width: 100%;
  max-width: 500px;
  height: clamp(280px, 38vw, 500px);
  object-fit: contain;
  margin: 0 auto;
}


/* ==========================================================================
   ABOUT US PAGE - centered story + wide product image (reference design)
   Paste at the END of style.css. If you pasted the previous about CSS,
   replace it with this.
   ========================================================================== */
.ab-section {
  --ab-gold: #c9a365;
  --ab-ink: #1f2a37;
  padding: clamp(45px, 6vw, 70px) 0 clamp(40px, 6vw, 70px);
  background: #ffffff;
}

.ab-intro {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.ab-title {
  font-family: var(--font-serif);
  font-size: clamp(34px, 4.4vw, 52px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0.5px;
  color: var(--ab-ink);
  margin-bottom: 14px;
}

/* gold line - ornament - gold line */
.ab-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--ab-gold);
  margin: 0 0 clamp(26px, 4vw, 44px);
}

.ab-divider span {
  width: clamp(60px, 11vw, 120px);
  height: 1.5px;
  background: currentColor;
}

.ab-divider svg {
  width: 56px;
  height: 30px;
  flex-shrink: 0;
}

.ab-text {
  font-family: var(--font-nav);
  font-size: clamp(14px, 1.3vw, 15.5px);
  font-weight: 400;
  line-height: 1.95;
  color: #555f68;
  margin-bottom: 16px;
}

.ab-text:last-child { margin-bottom: 0; }

/* wide product image under the text */
.ab-figure {
  max-width: 1180px;
  margin: clamp(30px, 5vw, 56px) auto 0;
}

.ab-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
}

/* ── Values ── */
.ab-values {
  --ab-gold: #c9a365;
  --ab-ink: #263443;
  --ab-muted: #858585;
  padding: clamp(45px, 6vw, 70px) 0;
  background: #f7f8fa;
}

.ab-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 40px);
}

.ab-value { display: flex; align-items: flex-start; gap: 16px; }

.ab-value-icon {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-navy);
  color: #fff;
  font-size: 22px;
  transition: background-color .3s ease;
}

.ab-value:hover .ab-value-icon { background: var(--ab-gold); }

.ab-value-body { flex: 1; min-width: 0; }

.ab-value-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-card);
  font-weight: 400;
  line-height: 1.35;
  color: var(--ab-ink);
  margin: 0 0 5px;
}

.ab-value-body p {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--ab-muted);
  margin: 0;
}

@media (max-width: 992px) {
  .ab-values-grid { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 600px) {
  .ab-text { line-height: 1.8; }
  .ab-divider span { width: 48px; }
}

/* ---------- Tablet (651px - 991px): image on top, 2 columns below ---------- */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 32px;
    row-gap: 28px;
    align-items: start;
  }

  .about-figure {
    grid-column: 1 / -1;
    order: -1;
  }

  .about-figure img {
    max-width: 340px;
    height: clamp(240px, 42vw, 340px);
  }

  .about-col {
    gap: 26px;
  }
}

/* ---------- Mobile (<= 650px): single column ---------- */
@media (max-width: 650px) {
  .about-grid {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }

  .about-figure img {
    max-width: 260px;
    height: clamp(200px, 62vw, 260px);
  }

  .about-col {
    gap: 22px;
  }

  .about-item {
    gap: 14px;
  }

  .about-item-body p {
    font-size: 15px;
  }
}

/* ---------- Very small phones (<= 380px) ---------- */
@media (max-width: 380px) {
  .about-icon {
    flex-basis: 44px;
    width: 44px;
    height: 44px;
  }

  .about-icon i {
    font-size: 20px;
  }

  .about-item {
    gap: 12px;
  }

  .about-figure img {
    max-width: 220px;
    height: 200px;
  }
}

/* ==========================================================================
   3. CONTENT SECTIONS (HOME & GENERAL)
   ========================================================================== */
.intro-section {
  padding: 85px 0;
  background-color: #ffffff;
}

.intro-header {
  max-width: 820px;
  margin: 0 auto 55px auto;
  text-align: center;
}

.section-tag {
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--color-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-section);
  color: var(--color-primary-navy);
  margin-bottom: 12px;
  font-weight: 400;
}

.gold-accent-line {
  width: 70px;
  height: 3px;
  background-color: var(--color-gold);
  margin: 16px auto 24px auto;
}

.gold-accent-line.left-align {
  margin: 16px 0 24px 0;
}

.intro-description {
  font-size: 17px;
  line-height: 1.8;
  color: #555f68;
}

/* Feature Cards Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #faf9f6;
  border: 1px solid #e8e5dc;
  border-top: 3.5px solid var(--color-gold);
  padding: 40px 30px;
  border-radius: 4px;
  text-align: center;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.08);
  border-color: var(--color-gold);
}

.feature-icon {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px auto;
  background-color: #f2eee3;
  color: var(--color-gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 28px;
  height: 28px;
}

.feature-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-card);
  color: var(--color-primary-navy);
  margin-bottom: 12px;
}

.feature-text {
  font-size: 15px;
  color: #65717c;
  line-height: 1.65;
}

/* Teaser Section */
.teaser-section {
  padding: 85px 0;
  background-color: var(--color-primary-navy);
  color: var(--color-text-white);
}

.teaser-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.teaser-text {
  flex: 1;
}

.teaser-text .section-title {
  color: var(--color-text-white);
}

.teaser-text p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

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

.teaser-visual {
  flex: 0 0 320px;
  display: flex;
  justify-content: center;
}

.visual-badge {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 2px dashed var(--color-gold-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 30px rgba(197, 155, 39, 0.15);
}

.badge-year {
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 3px;
  color: var(--color-gold-light);
  margin-bottom: 6px;
}

.badge-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--color-text-white);
  margin-bottom: 6px;
}

.badge-sub {
  font-family: var(--font-nav);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--color-text-muted);
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  text-transform: var(--btn-text-transform);
  transition: var(--btn-transition);
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  text-align: center;
  line-height: normal;
}

.btn-gold {
  background-color: var(--btn-gold-bg);
  color: var(--btn-gold-color);
  border-color: var(--btn-gold-border);
}

.btn-gold:hover {
  background-color: var(--btn-gold-hover);
  border-color: var(--btn-gold-hover);
  color: var(--btn-gold-color);
  box-shadow: var(--shadow-gold);
}

.btn-gold:focus-visible {
  outline: 2px solid var(--btn-gold-bg);
  outline-offset: 2px;
}

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

.btn-outline:hover {
  background: var(--btn-outline-hover-bg);
  border-color: var(--btn-outline-hover-border);
  color: var(--btn-outline-hover-color);
}

.btn-outline:focus-visible {
  outline: 2px solid var(--btn-gold-bg);
  outline-offset: 2px;
}

.btn-block {
  width: 100%;
}


/* ==========================================================================
   TEA PRODUCTS SECTION - fully responsive
   Desktop: 4 cols | Tablet: 3 cols | Mobile: 2 cols + swipeable tabs
   ========================================================================== */
.tp-section {
  --tp-gold: var(--btn-gold-bg);
  --tp-ink: #263443;
  --tp-pad: clamp(50px, 7vw, 85px);
  /* section top/bottom padding */
  --tp-overlap: clamp(80px, 14vw, 150px);
  /* how far the box dips into the dark band */
  --tp-cols: 4;
  --tp-gap: clamp(14px, 2vw, 24px);
  position: relative;
  padding: var(--tp-pad) 0;
  background: #f7f8fa;
  overflow: hidden;
}

.tp-header {
  text-align: center;
  margin-bottom: clamp(26px, 4vw, 38px);
}

.tp-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-section);
  font-weight: 400;
  line-height: 1.3;
  color: var(--tp-ink);
  margin-bottom: 8px;
}

.tp-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--tp-gold);
}

.tp-divider span {
  width: clamp(28px, 6vw, 45px);
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.tp-divider svg {
  width: 34px;
  height: 24px;
  flex-shrink: 0;
}

.tp-wrap {
  position: relative;
  max-width: 1260px;
  margin: 0 auto;
  padding: 0 clamp(0px, 1.5vw, 20px);
}

/* ---------- Tabs ---------- */
.tp-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px;
  margin-bottom: 12px;
}

.tp-tab {
  font-family: var(--font-nav);
  font-size: clamp(12px, 1.1vw, 13.5px);
  font-weight: 600;
  line-height: 1;
  padding: 13px clamp(12px, 1.6vw, 22px);
  border-radius: 2px;
  color: #ffffff;
  background: var(--color-primary-navy);
  white-space: nowrap;
  transition: background-color 0.25s ease;
}

.tp-tab:hover {
  background: #1f2d39;
}

.tp-tab[aria-selected="true"] {
  background: var(--tp-gold);
}

.tp-tab:focus-visible {
  outline: 2px solid var(--tp-gold);
  outline-offset: 2px;
}

/* ---------- Dark band behind the lower part of the box ---------- */
.tp-stage {
  position: relative;
}

.tp-stage::before {
  content: '';
  position: absolute;
  top: var(--tp-overlap);
  bottom: calc(var(--tp-pad) * -1);
  /* always matches section padding */
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: var(--color-primary-navy);
}

/* ---------- White dashed box ---------- */
.tp-box {
  position: relative;
  z-index: 1;
  background: #ffffff;
  border: 1.5px dashed var(--tp-gold);
  padding: clamp(18px, 3vw, 32px) clamp(14px, 3vw, 32px) clamp(30px, 4vw, 48px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.tp-panel[hidden] {
  display: none;
}

.tp-panel {
  animation: tpFade 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes tpFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Grid (flex so partial rows stay centred) ---------- */
.tp-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--tp-gap);
}

.tp-item {
  display: block;
  text-align: center;
  flex: 0 0 calc((100% - var(--tp-gap) * (var(--tp-cols) - 1)) / var(--tp-cols));
  min-width: 0;
}

.tp-item-img {
  display: block;
  aspect-ratio: 1 / 1;
  background: #ffffff;
  overflow: hidden;
}

.tp-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.tp-item:hover .tp-item-img img {
  transform: scale(1.04);
}

.tp-item-name {
  display: block;
  margin-top: 12px;
  font-family: var(--font-serif);
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.35;
  color: var(--tp-ink);
  transition: color 0.25s ease;
}

.tp-item:hover .tp-item-name {
  color: var(--tp-gold);
}

.tp-more {
  text-align: center;
  margin-top: var(--btn-spacing-top);
}

.tp-more a {
  display: inline-block;
  padding: var(--btn-padding);
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border-radius: var(--btn-radius);
  color: var(--btn-gold-color);
  background: var(--btn-gold-bg);
  border: 1px solid var(--btn-gold-border);
  transition: var(--btn-transition);
  text-decoration: none;
}

.tp-more a:hover {
  background: var(--btn-gold-hover);
  border-color: var(--btn-gold-hover);
  color: var(--btn-gold-color);
}

.tp-more a:focus-visible {
  outline: 2px solid var(--btn-gold-bg);
  outline-offset: 2px;
}

/* ---------- Tablet (<= 1024px): 3 per row ---------- */
@media (max-width: 1024px) {
  .tp-section {
    --tp-cols: 3;
  }
}

/* ---------- Mobile (<= 760px): 2 per row, swipeable tabs ---------- */
@media (max-width: 760px) {
  .tp-section {
    --tp-cols: 2;
  }

  .tp-wrap {
    padding: 0 12px;
  }

  .tp-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    overflow: visible;
    margin: 0 0 12px;
    padding: 0;
  }

  .tp-tab {
    white-space: normal;
    /* allow "Flavored Green Tea" to wrap */
    text-align: center;
    padding: 12px 8px;
    line-height: 1.25;
  }
}

/* ---------- Very small phones (<= 360px) ---------- */
@media (max-width: 360px) {
  .tp-box {
    padding-left: 10px;
    padding-right: 10px;
  }

  .tp-item-name {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-panel {
    animation: none;
  }

  .tp-item-img img {
    transition: none;
  }
}

/* ==========================================================================
   4. SUBPAGE BANNER & CONTENT
   ========================================================================== */
.page-banner {
  background-color: var(--color-primary-navy);
  border-bottom: 2px solid var(--color-gold-border);
  padding: clamp(38px, 6vw, 60px) 0;
  text-align: center;
  color: var(--color-text-white);
}

.page-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-hero);
  font-weight: 400;
  letter-spacing: clamp(1px, 0.3vw, 3px);
  margin-bottom: 8px;
  color: var(--color-text-white);
  line-height: 1.25;
  word-break: break-word;
}

.page-subtitle {
  font-family: var(--font-nav);
  font-size: clamp(11.5px, 1.2vw, 13.5px);
  letter-spacing: clamp(0.5px, 0.15vw, 2px);
  color: var(--color-gold-light);
  text-transform: uppercase;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 10px;
}

.page-content-section {
  padding: clamp(35px, 5vw, 70px) 0;
  background-color: #faf9f6;
}

.content-box {
  background-color: #ffffff;
  border: 1px solid #e7e4dc;
  border-radius: 4px;
  padding: clamp(20px, 4vw, 40px);
  margin-bottom: clamp(24px, 4vw, 32px);
}

.content-box h2 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--color-primary-navy);
  font-size: clamp(22px, 2.4vw, 30px);
  margin-bottom: 8px;
  line-height: 1.3;
}

.content-box p {
  font-family: var(--font-body);
  color: #4f5963;
  line-height: 1.75;
  font-size: clamp(14.5px, 1.1vw, 16px);
  margin-bottom: 16px;
}

.content-box p:last-child {
  margin-bottom: 0;
}

/* Product Cards */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 25px;
}

.product-card {
  background-color: #ffffff;
  border: 1px solid #e6e3da;
  border-radius: 4px;
  padding: 30px;
  position: relative;
  transition: var(--transition-smooth);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.product-tag {
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-gold-dark);
  background-color: #f7f2e4;
  padding: 3px 8px;
  border-radius: 2px;
  margin-bottom: 12px;
}

.product-name {
  font-family: var(--font-serif);
  font-size: var(--fs-title-card);
  color: var(--color-primary-navy);
  margin-bottom: 6px;
}

.product-grade {
  font-family: var(--font-nav);
  font-size: 13px;
  color: var(--color-gold-dark);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}

.product-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  color: #5c6670;
  line-height: 1.6;
}

/* Process Steps (Tea Factory) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 35px;
}

.step-card {
  background-color: #f7f6f1;
  padding: 24px;
  border-left: 3px solid var(--color-gold);
  border-radius: 2px;
}

.step-num {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--color-gold);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
}

.step-card h4 {
  font-family: var(--font-serif);
  font-size: var(--fs-title-item);
  color: var(--color-primary-navy);
  margin-bottom: 8px;
}

.step-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: #64707b;
  line-height: 1.5;
  margin-bottom: 0;
}

/* ==========================================================================
   TEA FACTORIES DIRECTORY & DETAIL PAGES - FULLY RESPONSIVE
   ========================================================================== */
.factories-grid-header {
  text-align: center;
  margin: clamp(25px, 4vw, 45px) 0 clamp(20px, 3vw, 30px) 0;
}

.factories-grid-header .section-tag,
.other-factories-header .section-tag {
  font-family: var(--font-nav);
  font-size: clamp(10.5px, 1.1vw, 12px);
  letter-spacing: clamp(1.2px, 0.2vw, 2px);
  font-weight: 700;
  color: var(--color-gold);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.factories-grid-header .section-title,
.other-factories-header .section-title {
  font-family: var(--font-serif);
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 400;
  color: var(--color-primary-navy);
  line-height: 1.25;
}

.factories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.5vw, 30px);
  margin-bottom: clamp(35px, 5vw, 60px);
}

@media (max-width: 1024px) {
  .factories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .factories-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.factory-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7e4dc;
  border-radius: 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
  position: relative;
  width: 100%;
}

.factory-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.08);
  border-color: var(--color-gold);
}

.factory-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e151b;
}

.factory-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

.factory-card:hover .factory-card-media img {
  transform: scale(1.06);
}

.factory-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-gold);
  color: #ffffff;
  font-family: var(--font-nav);
  font-size: clamp(9.5px, 1vw, 11px);
  font-weight: 700;
  letter-spacing: clamp(1px, 0.15vw, 1.5px);
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
  z-index: 2;
  max-width: calc(100% - 24px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.factory-card-elevation {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(19, 28, 36, 0.88);
  backdrop-filter: blur(4px);
  color: #ffffff;
  font-family: var(--font-nav);
  font-size: clamp(10px, 1vw, 11.5px);
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 2;
}

.factory-card-elevation i {
  color: var(--color-gold-light);
}

.factory-card-body {
  padding: clamp(16px, 2.2vw, 24px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.factory-card-name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.6vw, 24px);
  color: var(--color-primary-navy);
  margin-bottom: 6px;
  font-weight: 400;
  line-height: 1.25;
  transition: color 0.25s ease;
}

.factory-card:hover .factory-card-name {
  color: var(--color-gold-dark);
}

.factory-card-tagline {
  font-family: var(--font-nav);
  font-size: clamp(10.5px, 0.9vw, 11.5px);
  color: var(--color-gold);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.factory-card-desc {
  font-family: var(--font-body);
  font-size: clamp(13.5px, 1vw, 14.5px);
  line-height: 1.6;
  color: #5c6670;
  margin-bottom: 16px;
  flex-grow: 1;
}

.factory-card-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 12px 0;
  border-top: 1px solid #f0ede6;
  border-bottom: 1px solid #f0ede6;
  margin-bottom: 16px;
}

.factory-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.spec-label {
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #9aa5b0;
  text-transform: uppercase;
}

.spec-value {
  font-family: var(--font-body);
  font-size: clamp(12.5px, 1vw, 13.5px);
  font-weight: 600;
  color: var(--color-primary-navy);
  line-height: 1.35;
  word-break: break-word;
}

.factory-card-footer {
  margin-top: auto;
  padding-top: 4px;
}

.factory-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-nav);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  transition: gap 0.25s ease, color 0.25s ease;
}

.factory-card:hover .factory-card-cta {
  gap: 12px;
  color: var(--color-gold);
}

@media (max-width: 480px) {
  .factory-card-specs {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px 0;
  }

  .factory-card-badge {
    top: 10px;
    left: 10px;
    padding: 3px 8px;
  }

  .factory-card-elevation {
    bottom: 10px;
    right: 10px;
    padding: 3px 8px;
  }
}

@media (max-width: 360px) {
  .factory-card-body {
    padding: 14px 12px;
  }

  .factory-card-name {
    font-size: 19px;
  }

  .factory-card-tagline {
    font-size: 10px;
  }

  .factory-card-desc {
    font-size: 13px;
    line-height: 1.55;
  }

  .factory-card-cta {
    font-size: 10.5px;
    letter-spacing: 1px;
  }
}

/* Individual Factory Detail Page */
.factory-detail-banner {
  text-align: center;
}

.factory-breadcrumb {
  font-family: var(--font-nav);
  font-size: clamp(10px, 1.1vw, 11px);
  letter-spacing: clamp(0.8px, 0.15vw, 1.5px);
  text-transform: uppercase;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px 10px;
  flex-wrap: wrap;
  padding: 0 10px;
  line-height: 1.4;
}

.factory-breadcrumb a {
  color: var(--color-gold-light);
  transition: opacity 0.2s ease;
}

.factory-breadcrumb a:hover {
  opacity: 0.8;
}

.factory-breadcrumb .current {
  color: rgba(255, 255, 255, 0.9);
}

.factory-showcase-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(20px, 3vw, 35px);
  margin-bottom: clamp(28px, 4vw, 40px);
  align-items: start;
}

@media (max-width: 960px) {
  .factory-showcase-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

.factory-visual-frame {
  position: relative;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e2ded5;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  aspect-ratio: 16 / 11;
  background: #0e151b;
  width: 100%;
}

@media (max-width: 600px) {
  .factory-visual-frame {
    aspect-ratio: 16 / 10;
  }
}

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

.factory-visual-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(19, 28, 36, 0.9);
  backdrop-filter: blur(4px);
  padding: 6px 14px;
  border-radius: 2px;
  border-left: 3px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  color: #ffffff;
  z-index: 2;
}

@media (max-width: 480px) {
  .factory-visual-caption {
    bottom: 8px;
    left: 8px;
    padding: 5px 10px;
  }
}

.factory-visual-caption .caption-tag {
  font-family: var(--font-nav);
  font-size: 8.5px;
  letter-spacing: 1.5px;
  color: var(--color-gold-light);
  font-weight: 700;
}

.factory-visual-caption .caption-val {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
}

.factory-factsheet-card {
  background: #ffffff;
  border: 1px solid #e7e4dc;
  border-radius: 4px;
  padding: clamp(18px, 3.5vw, 32px);
  width: 100%;
}

.factsheet-title {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 24px);
  font-weight: 400;
  color: var(--color-primary-navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.factsheet-list {
  list-style: none;
  margin: 16px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.factsheet-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px dashed #eeebe3;
  font-size: 14px;
}

.factsheet-label {
  font-family: var(--font-nav);
  font-size: 11.5px;
  font-weight: 600;
  color: #727e8a;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.factsheet-label i {
  color: var(--color-gold);
  width: 14px;
  text-align: center;
  flex-shrink: 0;
}

.factsheet-value {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-primary-navy);
  text-align: right;
  line-height: 1.4;
  word-break: break-word;
}

@media (max-width: 680px) {
  .factsheet-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding-bottom: 10px;
  }

  .factsheet-value {
    text-align: left;
    font-size: 13.5px;
    line-height: 1.45;
  }
}

@media (max-width: 360px) {
  .factory-factsheet-card {
    padding: 16px 12px;
  }

  .factsheet-list {
    gap: 10px;
  }

  .factsheet-label {
    font-size: 10.5px;
  }

  .factsheet-value {
    font-size: 13px;
  }
}

.factory-narrative-box {
  margin-bottom: clamp(28px, 4vw, 40px);
}

.factory-lead-p {
  font-family: var(--font-body);
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 1.8;
  color: #434e58;
  margin-bottom: 20px;
}

.factory-subheading-group h3 {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.5vw, 22px);
  font-weight: 400;
  color: var(--color-primary-navy);
  margin: 20px 0 8px;
  line-height: 1.3;
}

.factory-subheading-group p {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.05vw, 15px);
  line-height: 1.7;
  color: #555f68;
}

.factory-highlights {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #ebe7df;
}

.highlights-heading {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.4vw, 21px);
  font-weight: 400;
  color: var(--color-primary-navy);
  margin-bottom: 14px;
  line-height: 1.3;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 20px;
}

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

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-body);
  font-size: clamp(13.5px, 1vw, 14.5px);
  color: #48535d;
  line-height: 1.45;
}

.highlight-item i {
  color: var(--color-gold);
  font-size: 15px;
  flex-shrink: 0;
  margin-top: 3px;
}

/* Other Factories Section */
.other-factories-section {
  margin-top: clamp(35px, 5vw, 55px);
  padding-top: clamp(28px, 4vw, 40px);
  border-top: 1px solid #e5e2d8;
}

.other-factories-header {
  text-align: center;
  margin-bottom: clamp(22px, 3.5vw, 32px);
}

.other-factories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(18px, 2.5vw, 26px);
}

@media (max-width: 600px) {
  .other-factories-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

.other-factory-card {
  background: #ffffff;
  border: 1px solid #e7e4dc;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
  width: 100%;
}

.other-factory-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-gold);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.other-card-img {
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: #0e151b;
}

.other-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

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

.other-card-alt {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-family: var(--font-nav);
  font-size: 9.5px;
  padding: 2px 7px;
  border-radius: 2px;
  z-index: 2;
}

.other-card-body {
  padding: clamp(14px, 1.8vw, 18px);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.other-card-badge {
  font-family: var(--font-nav);
  font-size: 9.5px;
  font-weight: 700;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
  display: block;
}

.other-card-name {
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.3vw, 19px);
  font-weight: 400;
  color: var(--color-primary-navy);
  margin-bottom: 6px;
  line-height: 1.25;
}

.other-card-desc {
  font-family: var(--font-body);
  font-size: clamp(12.5px, 0.95vw, 13.5px);
  line-height: 1.5;
  color: #66727d;
  margin-bottom: 12px;
  flex-grow: 1;
}

.other-card-link {
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

@media (max-width: 360px) {
  .other-card-body {
    padding: 12px;
  }

  .other-card-name {
    font-size: 16px;
  }

  .other-card-desc {
    font-size: 12px;
  }
}

/* ==========================================================================
   TEA HISTORY PAGE - fully responsive
   Desktop: framed text box + 2-col gallery | Mobile: full-width + 1-col
   ========================================================================== */

.th-section {
  --th-gold: #c9a365;
  --th-ink: #263443;
  padding: clamp(50px, 7vw, 90px) 0 clamp(50px, 7vw, 90px);
  background: #fff;
}

/* ---------- Grey frame + overhanging dashed box ---------- */
.th-intro {
  padding: 34px 0;
  /* room for the box overhang */
  margin-bottom: clamp(24px, 4vw, 40px);
}

.th-frame {
  border: clamp(6px, 1vw, 10px) solid #e8ebee;
  padding: 0 clamp(12px, 3vw, 30px);
}

.th-box {
  max-width: 540px;
  margin: -34px auto;
  /* pokes out above and below the frame */
  padding: clamp(26px, 4vw, 38px) clamp(18px, 3.5vw, 36px) clamp(30px, 4vw, 42px);
  background: #fff;
  border: 1px dashed var(--th-gold);
  text-align: center;
}

.th-tag {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--th-gold);
}

.th-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-section);
  font-weight: 400;
  line-height: 1.2;
  text-transform: uppercase;
  color: var(--th-ink);
  margin-bottom: 10px;
}

.th-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--th-gold);
  margin-bottom: clamp(18px, 3vw, 26px);
}

.th-divider span {
  width: clamp(36px, 8vw, 80px);
  height: 1px;
  background: currentColor;
  opacity: .85;
}

.th-divider svg {
  width: 34px;
  height: 24px;
  flex-shrink: 0;
}

.th-text {
  font-family: var(--font-body);
  font-size: clamp(14.5px, 1.15vw, 16px);
  line-height: 1.85;
  color: #555f68;
  text-align: justify;
  hyphens: auto;
  margin-bottom: 16px;
}

.th-text:last-child {
  margin-bottom: 0;
}

/* ---------- Photo gallery ---------- */
.th-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 22px);
}

.th-photo {
  margin: 0;
  /* overflow: hidden; */
  background: #f1eee6;
  aspect-ratio: 16 / 10;
}

.th-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1);
}

/* .th-photo:hover img {
  transform: scale(1.05);
} */

/* ---------- Tablet (<= 1024px): box gets wider ---------- */
@media (max-width: 1024px) {
  .th-box {
    max-width: 620px;
  }
}

/* ---------- Mobile (<= 600px) ---------- */
@media (max-width: 600px) {
  .th-intro {
    padding: 22px 0;
  }

  .th-frame {
    padding: 0 8px;
  }

  .th-box {
    margin: -22px auto;
  }

  .th-text {
    text-align: left;
    /* justify makes ugly gaps on narrow lines */
    font-size: 15px;
    line-height: 1.8;
  }

  .th-gallery {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  .th-photo img {
    transition: none;
  }
}

/* Values Grid (About) */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.value-item {
  background-color: #f8f6f0;
  padding: 22px;
  border-radius: 3px;
  border-top: 2px solid var(--color-gold);
}

.value-item h4 {
  font-family: var(--font-serif);
  color: var(--color-primary-navy);
  margin-bottom: 8px;
}

.value-item p {
  font-family: var(--font-body);
  color: #5c6670;
  font-size: 14.5px;
  line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 35px;
}

.contact-info-card,
.contact-form-card {
  background-color: #ffffff;
  border: 1px solid #e7e4dc;
  border-radius: 4px;
  padding: 36px;
}

.contact-info-card h3,
.contact-form-card h3 {
  font-family: var(--font-serif);
  color: var(--color-primary-navy);
  font-size: var(--fs-title-card);
}

.contact-details {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info-card p {
  font-family: var(--font-body);
}

.contact-row strong {
  font-family: var(--font-nav);
  display: block;
  font-size: 13px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  letter-spacing: 1px;
}

.contact-row span {
  font-family: var(--font-body);
  color: #4e5862;
  font-size: 15px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  font-family: var(--font-nav);
  display: block;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-primary-navy);
  margin-bottom: 6px;
}

.form-input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d3cdc0;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  transition: border-color 0.25s ease;
  background-color: #fdfdfc;
}

.form-input:focus {
  outline: none;
  border-color: var(--color-gold);
  background-color: #ffffff;
}

/* Custom Luxury Select Dropdown (Warm Ochre Gold Highlight) */
.custom-select-wrapper {
  position: relative;
  width: 100%;
}

.custom-select-native {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
}

.custom-select-trigger {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d3cdc0;
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 15px;
  background-color: #fdfdfc;
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.custom-select-trigger:hover {
  border-color: #bfa168;
}

.custom-select-trigger:focus-visible,
.custom-select-wrapper.is-open .custom-select-trigger {
  outline: none;
  border-color: var(--color-gold);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(191, 161, 104, 0.18);
}

.custom-select-arrow {
  font-size: 14px;
  color: var(--color-primary-navy);
  transition: transform 0.25s ease, color 0.25s ease;
  flex-shrink: 0;
  margin-left: 10px;
}

.custom-select-wrapper.is-open .custom-select-arrow {
  transform: rotate(180deg);
  color: var(--color-gold);
}

.custom-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 100;
  background: #ffffff;
  border: 1px solid #bfa168;
  border-radius: 2px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  list-style: none;
  padding: 4px 0;
  margin: 0;
  max-height: 260px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}

.custom-select-wrapper.is-open .custom-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-select-option {
  padding: 11px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
  user-select: none;
}

/* Warm ochre gold selection & hover - replaces default Windows browser blue! */
.custom-select-option:hover,
.custom-select-option.is-focused {
  background-color: #bfa168; /* Warm ochre gold */
  color: #ffffff;
}

.custom-select-option.is-selected {
  background-color: #bfa168; /* Warm ochre gold */
  color: #ffffff;
  font-weight: 600;
}

.custom-select-option .option-check {
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.18s ease;
}

.custom-select-option.is-selected .option-check {
  opacity: 1;
}

/* Fallback styling for native select elements */
select.form-input {
  cursor: pointer;
  accent-color: #bfa168;
}

select.form-input option {
  background-color: #ffffff;
  color: var(--color-primary-navy);
  padding: 10px 14px;
}

select.form-input option:checked,
select.form-input option:hover,
select.form-input option:focus {
  background: #bfa168 !important;
  background-color: #bfa168 !important;
  color: #ffffff !important;
}


/* ==========================================================================
   QUALITY CERTIFICATIONS SECTION
   Markup: includes/certifications.php | Behaviour: certifications.js
   Paste at the END of style.css
   ========================================================================== */
.qc-section {
  --qc-gold: var(--btn-gold-bg);
  --qc-ink: #263443;
  padding: 70px 0 90px;
  background: #f7f8fa;
}

.qc-header {
  text-align: center;
  margin-bottom: 46px;
}

.qc-tag {
  display: block;
  margin-bottom: 4px;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--qc-gold);
}

.qc-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-section);
  font-weight: 400;
  line-height: 1.3;
  color: var(--qc-ink);
  margin-bottom: 8px;
}

.qc-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--qc-gold);
}

.qc-divider span {
  width: 45px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.qc-divider svg {
  width: 34px;
  height: 24px;
}

/* Certificates: 3 across on desktop */
.qc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

.qc-item {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #ffffff;
  cursor: zoom-in;
  box-shadow: 0 2px 10px rgba(19, 28, 36, 0.06);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease;
}

.qc-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.qc-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px rgba(19, 28, 36, 0.16);
}

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

@media (max-width: 640px) {
  .qc-section {
    padding: 50px 0 60px;
  }

  .qc-header {
    margin-bottom: 32px;
  }

  .qc-grid {
    grid-template-columns: minmax(0, 340px);
    justify-content: center;
  }
}

/* Lightbox (created by certifications.js) */
.qc-lightbox {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  background: rgba(10, 16, 22, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.qc-lightbox.open {
  opacity: 1;
  visibility: visible;
}

.qc-lightbox img {
  max-width: 92vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  background: #ffffff;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.qc-lightbox-caption {
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-nav);
  font-size: 13px;
  letter-spacing: 1px;
  text-align: center;
}

.qc-lightbox button {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  background: rgba(30, 38, 46, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 2px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.qc-lightbox button:hover {
  background: var(--qc-gold);
}

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

.qc-lb-close {
  top: 16px;
  right: 16px;
}

.qc-lb-prev {
  left: 16px;
  top: 50%;
  margin-top: -22px;
}

.qc-lb-next {
  right: 16px;
  top: 50%;
  margin-top: -22px;
}

@media (prefers-reduced-motion: reduce) {

  .qc-item,
  .qc-lightbox {
    transition: none;
  }
}


/* Accreditation logo badges (row under the certificates) */
.qc-logos {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 50px auto 0;
  list-style: none;
}

.qc-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  padding: 16px;
  background: #ffffff;
}

.qc-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 760px) {
  .qc-logos {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 36px;
  }
}

/* ==========================================================================
   THE HIGHLAND TEA LOUNGE - minimal, matches About / Products / History sections
   Replace your whole existing "THE HIGHLAND TEA LOUNGE SECTION" block
   (.tl-section ... last .tl-* media query) with this.
   Uses the same tokens as the other sections: gold #c9a365, ink #263443,
   Bellefair titles, leaf divider, navy circle icons, gold square button.
   ========================================================================== */
.tl-section {
  --tl-gold: var(--btn-gold-bg);
  --tl-ink: #263443;
  --tl-muted: #858585;
  --tl-line: #e8ebee;
  padding: clamp(50px, 7vw, 90px) 0;
  background: #ffffff;
  scroll-margin-top: 90px;
}

.tl-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

/* ── Slider ── */
.tl-media-col { min-width: 0; }

.tl-slider-card {
  position: relative;
  container-type: inline-size;
}

.tl-viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.tl-track {
  display: flex;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.tl-slide {
  flex: 0 0 100%;
  min-width: 100%;
}

.tl-slide-img-wrap {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1eee6;
}

.tl-slide-img-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tl-slide-caption { padding: 18px 0 0; }

.tl-slide-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-card);
  font-weight: 400;
  line-height: 1.3;
  color: var(--tl-ink);
  margin: 0 0 4px;
}

.tl-slide-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--tl-muted);
  margin: 0;
}

/* Arrows placed directly on/near the images - hidden by default, shown on hover */
.tl-arrow {
  position: absolute;
  top: 180px;
  top: 37.5cqw;
  transform: translateY(-50%);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 52px;
  padding: 0;
  color: #ffffff;
  background: rgba(19, 28, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.tl-prev {
  left: 10px;
  transform: translateY(-50%) translateX(-6px);
}

.tl-next {
  right: 10px;
  transform: translateY(-50%) translateX(6px);
}

/* Show arrows when hovering over the image / slider card */
.tl-slider-card:hover .tl-arrow,
.tl-arrow:focus-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.tl-slider-card:hover .tl-prev,
.tl-prev:focus-visible {
  transform: translateY(-50%) translateX(0);
}

.tl-slider-card:hover .tl-next,
.tl-next:focus-visible {
  transform: translateY(-50%) translateX(0);
}

.tl-arrow svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.tl-arrow:hover {
  background: var(--btn-gold-bg);
  border-color: var(--btn-gold-bg);
  color: #ffffff;
}

.tl-arrow:focus-visible {
  outline: 2px solid var(--btn-gold-bg);
  outline-offset: 2px;
}

.tl-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

/* Keep arrows accessible on touch devices without mouse hover */
@media (hover: none) {
  .tl-arrow {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .tl-prev,
  .tl-next {
    transform: translateY(-50%) translateX(0);
  }
}

/* Controls (Counter & Dots) */
.tl-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--tl-line);
}

.tl-slider-nav {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.tl-counter {
  display: flex;
  align-items: center;
  gap: 3px;
  min-width: 48px;
  justify-content: center;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--tl-ink);
  user-select: none;
}

.tl-counter-sep { opacity: 0.4; }

.tl-dots { display: flex; align-items: center; gap: 6px; }

.tl-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  background: #d9dde1;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.tl-dot:hover { background: #b9c0c6; }
.tl-dot.is-active { width: 22px; border-radius: 8px; background: var(--tl-gold); }

/* ── Content ── */
.tl-content-col { min-width: 0; max-width: 560px; }

.tl-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-section);
  font-weight: 400;
  line-height: 1.3;
  color: var(--tl-ink);
  margin-bottom: 8px;
}

.tl-divider {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tl-gold);
  margin: 8px 0 22px;
}

.tl-divider span { width: clamp(28px, 6vw, 45px); height: 1px; background: currentColor; opacity: 0.85; }
.tl-divider svg { width: 34px; height: 24px; flex-shrink: 0; }

.tl-lead {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.4vw, 16px);
  line-height: 1.8;
  color: var(--tl-muted);
  margin-bottom: 26px;
}

/* Features: same pattern as the About section */
.tl-features {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-bottom: 28px;
}

.tl-feature-item { display: flex; align-items: flex-start; gap: 16px; }

.tl-feature-icon {
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-primary-navy);
  color: #fff;
  font-size: 18px;
  transition: background-color 0.3s ease;
}

.tl-feature-item:hover .tl-feature-icon { background: var(--tl-gold); }

.tl-feature-body { flex: 1; min-width: 0; }

.tl-feature-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-card);
  font-weight: 400;
  line-height: 1.35;
  color: var(--tl-ink);
  margin: 0 0 3px;
}

.tl-feature-desc {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.7;
  color: var(--tl-muted);
  margin: 0;
}

/* Tea Lounge Locations: Dual Card Grid */
.tl-locations-wrap {
  margin: 26px 0 32px;
  padding-top: 20px;
  border-top: 1px solid var(--tl-line);
}

.tl-locations-header {
  margin-bottom: 12px;
}

.tl-locations-eyebrow {
  display: block;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 4px;
}

.tl-locations-heading {
  font-family: var(--font-serif);
  font-size: clamp(19px, 1.6vw, 22px);
  font-weight: 500;
  color: var(--color-primary-navy);
  margin: 0;
}

.tl-locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.tl-location-card {
  background: #ffffff;
  border: 1px solid #e7e3db;
  border-left: 3px solid var(--color-gold-dark);
  border-radius: 4px;
  padding: 16px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.tl-location-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-gold);
  border-left-color: var(--color-gold);
  box-shadow: 0 8px 20px rgba(19, 28, 36, 0.08);
}

.tl-loc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.tl-loc-badge {
  display: inline-block;
  padding: 3px 8px;
  background: rgba(201, 163, 101, 0.14);
  color: #8c6a2c;
  font-family: var(--font-nav);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  border-radius: 2px;
}

.tl-loc-tag {
  font-family: var(--font-body);
  font-size: 11.5px;
  color: #718096;
}

.tl-loc-name {
  font-family: none !important;
  font-weight: 800;
}

.tl-loc-address {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.5;
  color: #556270;
  margin: 0 0 8px;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.tl-loc-address i {
  color: var(--color-gold-dark);
  margin-top: 3px;
  flex-shrink: 0;
}

.tl-loc-hours {
  font-family: var(--font-nav);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  gap: 6px;
  padding-top: 8px;
  border-top: 1px dashed rgba(19, 28, 36, 0.1);
}

.tl-loc-hours i {
  color: var(--color-gold-dark);
}

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

/* Info: three plain columns between hairlines */
.tl-info {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 30px;
  padding: 16px 0;
  border-top: 1px solid var(--tl-line);
  border-bottom: 1px solid var(--tl-line);
}

.tl-info li { padding: 0 16px; }
.tl-info li:first-child { padding-left: 0; }
.tl-info li + li { border-left: 1px solid var(--tl-line); }

.tl-info strong {
  display: block;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 600;
  color: var(--tl-gold);
  margin-bottom: 2px;
}

.tl-info span {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: var(--tl-ink);
}

/* Button: unified using common button tokens */
.tl-btn {
  display: inline-block;
  padding: var(--btn-padding);
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border-radius: var(--btn-radius);
  color: var(--btn-gold-color);
  background: var(--btn-gold-bg);
  border: 1px solid var(--btn-gold-border);
  transition: var(--btn-transition);
  text-decoration: none;
}

.tl-btn:hover {
  background: var(--btn-gold-hover);
  border-color: var(--btn-gold-hover);
  color: var(--btn-gold-color);
}

.tl-btn:focus-visible {
  outline: 2px solid var(--btn-gold-bg);
  outline-offset: 2px;
}

.tl-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tl-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--color-primary-navy);
  border: 1px solid #c9d2db;
}

.tl-btn-outline:hover {
  background: var(--color-primary-navy);
  border-color: var(--color-primary-navy);
  color: #ffffff;
}

.tl-btn-outline i {
  color: var(--btn-gold-bg);
  transition: color 0.25s ease;
}

.tl-btn-outline:hover i {
  color: var(--color-gold-light);
}

/* ── Responsive ── */
@media (max-width: 992px) {
  .tl-layout { grid-template-columns: 1fr; gap: 40px; }
  .tl-media-col { max-width: 640px; margin: 0 auto; width: 100%; }
  .tl-content-col { max-width: 640px; margin: 0 auto; }
}

@media (max-width: 600px) {
  .tl-info { grid-template-columns: 1fr; gap: 12px; }
  .tl-info li,
  .tl-info li:first-child { padding: 0; }
  .tl-info li + li { border-left: 0; border-top: 1px solid var(--tl-line); padding-top: 12px; }
  .tl-btn { display: block; text-align: center; }
}

@media (max-width: 380px) {
  .tl-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .tl-track { transition: none !important; }
}

/* ── Tea Lounge Dedicated Page Styles ── */
.tl-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .tl-menu-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ── Tea Lounge Interactive Map & Dual Location Tabs ── */

/* Tea Lounge map: robust iframe fill + actions spacing */
.tl-map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.tl-map-actions {
  margin-top: auto;
}

.tl-map-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 2px solid #e7e3db;
}

.tl-map-tab {
  flex: 1;
  max-width: 320px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: #ffffff;
  border: 1px solid #e2ded5;
  border-bottom: none;
  border-radius: 6px 6px 0 0;
  cursor: pointer;
  text-align: left;
  transition: all 0.25s ease;
  position: relative;
  bottom: -2px;
  border-bottom: 3px solid transparent;
}

.tl-map-tab:hover {
  background: #fbfaf7;
  border-color: var(--color-gold-dark);
}

.tl-map-tab.is-active {
  background: #ffffff;
  border-color: #e2ded5 #e2ded5 #ffffff #e2ded5;
  border-bottom: 3px solid var(--color-gold-dark);
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.04);
}

.tl-tab-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(19, 28, 36, 0.06);
  color: var(--color-primary-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.tl-map-tab.is-active .tl-tab-icon {
  background: var(--color-primary-navy);
  color: var(--color-gold);
}

.tl-tab-text strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-primary-navy);
  line-height: 1.25;
}

.tl-tab-text small {
  display: block;
  font-family: var(--font-nav);
  font-size: 11.5px;
  color: #718096;
  letter-spacing: 0.3px;
  margin-top: 3px;
}

.tl-loc-panel {
  display: none;
  animation: tlFadeIn 0.35s ease;
}

.tl-loc-panel.is-active {
  display: block;
}

@keyframes tlFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 650px) {
  .tl-map-tabs {
    flex-direction: column;
    gap: 8px;
    border-bottom: none;
  }
  .tl-map-tab {
    max-width: 100%;
    border-radius: 4px;
    border-bottom: 1px solid #e2ded5;
    bottom: 0;
  }
  .tl-map-tab.is-active {
    border-bottom: 1px solid #e2ded5;
    border-left: 4px solid var(--color-gold-dark);
  }
}

/* ── Tea Lounge Interactive Map Section ── */
.tl-map-section {
  margin-top: clamp(40px, 6vw, 65px);
  scroll-margin-top: 100px;
}

.tl-map-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}

.tl-map-frame {
  position: relative;
  background: #0e151b;
  border: 1px solid #e2ded5;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  min-height: 440px;
}

.tl-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 440px;
  display: block;
  border: 0;
}

.tl-map-card {
  background: #ffffff;
  border: 1px solid #e7e4dc;
  border-radius: 4px;
  padding: clamp(22px, 3.5vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.tl-map-card-title {
  font-family: var(--font-serif);
  font-size: clamp(21px, 1.8vw, 25px);
  font-weight: 400;
  color: var(--color-primary-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.tl-map-card-desc {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.7;
  color: #5c6873;
  margin: 0 0 20px;
}

.tl-map-details {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tl-map-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.tl-map-detail-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary-navy);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background-color 0.25s ease;
}

.tl-map-detail-item:hover .tl-map-detail-icon {
  background: var(--btn-gold-bg);
}

.tl-map-detail-text strong {
  display: block;
  font-family: var(--font-nav);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--color-gold-dark);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.tl-map-detail-text span {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--color-primary-navy);
  font-weight: 500;
}

.tl-btn-directions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #ffffff;
  background: var(--color-primary-navy);
  border: 1px solid var(--color-primary-navy);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s ease;
  width: 100%;
}

.tl-btn-directions:hover {
  background: var(--btn-gold-bg);
  border-color: var(--btn-gold-bg);
  color: #ffffff;
}

.factsheet-map-link {
  color: var(--color-gold-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.factsheet-map-link:hover {
  color: var(--color-gold);
  text-decoration: underline;
}

@media (max-width: 960px) {
  .tl-map-grid {
    grid-template-columns: 1fr;
  }
  .tl-map-frame {
    min-height: 360px;
  }
  .tl-map-frame iframe {
    min-height: 360px;
  }
}

@media (max-width: 480px) {
  .tl-map-frame {
    min-height: 300px;
  }
  .tl-map-frame iframe {
    min-height: 300px;
  }
}
/* ==========================================================================
   TEA FACTORIES SLIDER SECTION (dark, 4 photos visible)
   Markup: includes/tea-factories.php | Behaviour: tea-factories.js
   Paste at the END of style.css
   ========================================================================== */
.tf-section {
  --tf-gold: var(--btn-gold-bg);
  --tf-gap: 24px;
  --tf-pv: 3;
  /* 3 factories visible on desktop */
  padding: 80px 20px 90px;
  background: var(--color-primary-navy);
}

.tf-header {
  text-align: center;
  margin-bottom: 44px;
}

.tf-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-section);
  font-weight: 400;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 8px;
}

.tf-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  color: var(--tf-gold);
}

.tf-divider span {
  width: 45px;
  height: 1px;
  background: currentColor;
  opacity: 0.85;
}

.tf-divider svg {
  width: 34px;
  height: 24px;
}

/* Slider */
.tf-slider {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
}

.tf-viewport {
  overflow: hidden;
  touch-action: pan-y;
  /* vertical page scroll still works on touch */
  padding: 8px 4px 16px;
}

.tf-track {
  display: flex;
  gap: var(--tf-gap);
  will-change: transform;
  justify-content: flex-start;
}

.tf-item {
  flex: 0 0 calc((100% - var(--tf-gap) * (var(--tf-pv) - 1)) / var(--tf-pv));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #18222a;
  border: 1px solid rgba(191, 161, 104, 0.22);
  border-radius: 4px;
  position: relative;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.tf-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  border-color: var(--color-gold);
}

.tf-item:focus-visible {
  outline: 2px solid var(--tf-gold);
  outline-offset: 2px;
}

.tf-item-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0e151b;
}

.tf-item-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.tf-item:hover .tf-item-media img {
  transform: scale(1.06);
}

.tf-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: var(--color-gold);
  color: #ffffff;
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.tf-elevation {
  position: absolute;
  bottom: 12px;
  right: 12px;
  z-index: 2;
  background: rgba(14, 21, 27, 0.88);
  backdrop-filter: blur(4px);
  color: #f5eedf;
  font-family: var(--font-nav);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 9px;
  border-radius: 2px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.tf-elevation i {
  color: var(--color-gold);
}

.tf-item-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background: #18222a;
}

.tf-item-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: #c9a365;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.tf-meta-est {
  white-space: nowrap;
}

.tf-meta-loc {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: right;
  opacity: 0.85;
}

.tf-item-name {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.4vw, 23px);
  font-weight: 400;
  line-height: 1.3;
  color: #ffffff;
  margin: 0 0 8px;
  transition: color 0.25s ease;
}

.tf-item:hover .tf-item-name {
  color: var(--color-gold);
}

.tf-item-tagline {
  font-family: var(--font-body);
  font-size: 13.5px;
  line-height: 1.5;
  color: #b0bac4;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 40px;
}

.tf-item-specs {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 10px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 16px;
  margin-top: auto;
}

.tf-spec-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.tf-spec-label {
  font-family: var(--font-nav);
  font-size: 9.5px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #8c98a4;
  font-weight: 600;
}

.tf-spec-val {
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #f1ede3;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tf-item-footer {
  margin-top: auto;
  padding-top: 4px;
}

.tf-item-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-nav);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: gap 0.25s ease, color 0.25s ease;
}

.tf-item:hover .tf-item-cta {
  gap: 12px;
  color: #ffffff;
}

/* Arrows */
.tf-arrow {
  position: absolute;
  top: clamp(110px, 14vw, 135px);
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 56px;
  margin-top: -28px;
  color: #ffffff;
  background: rgba(14, 21, 27, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(4px);
}

.tf-arrow svg {
  width: 20px;
  height: 20px;
  pointer-events: none;
}

.tf-arrow:hover {
  background: var(--btn-gold-bg);
  color: #ffffff;
}

.tf-arrow:focus-visible {
  outline: 2px solid var(--btn-gold-bg);
  outline-offset: 2px;
}

.tf-prev {
  left: -20px;
}

.tf-next {
  right: -20px;
}

.tf-slider.tf-static .tf-arrow {
  display: none;
  /* nothing to scroll */
}

/* Button: unified using common button tokens */
.tf-more {
  text-align: center;
  margin-top: var(--btn-spacing-top);
}

.tf-more a {
  display: inline-block;
  padding: var(--btn-padding);
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  text-transform: var(--btn-text-transform);
  border-radius: var(--btn-radius);
  color: var(--btn-gold-color);
  background: var(--btn-gold-bg);
  border: 1px solid var(--btn-gold-border);
  transition: var(--btn-transition);
  text-decoration: none;
}

.tf-more a:hover {
  background: var(--btn-gold-hover);
  border-color: var(--btn-gold-hover);
  color: var(--btn-gold-color);
}

.tf-more a:focus-visible {
  outline: 2px solid var(--btn-gold-bg);
  outline-offset: 2px;
}

@media (max-width: 991px) {
  .tf-section {
    --tf-pv: 2;
    --tf-gap: 16px;
    padding: 60px 16px 70px;
  }

  .tf-prev {
    left: 4px;
  }

  .tf-next {
    right: 4px;
  }
}

@media (max-width: 600px) {
  .tf-section {
    --tf-pv: 1;
    --tf-gap: 16px;
    padding: 50px 14px 60px;
  }

  .tf-header {
    margin-bottom: 28px;
  }

  .tf-arrow {
    width: 36px;
    height: 46px;
    margin-top: -23px;
  }

  .tf-prev {
    left: 2px;
  }

  .tf-next {
    right: 2px;
  }

  .tf-item-specs {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tf-item img {
    transition: none;
  }
}


/* ==========================================================================
   5. SITE FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary-navy);
  color: var(--color-text-white);
  border-top: 3px solid var(--color-gold-border);
}

.footer-top {
  padding: 60px 0 45px 0;
}

.footer-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 40px;
}

.footer-logo {
  height: 38px;
  width: auto;
  margin-bottom: 18px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.footer-logo:hover {
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 12px rgba(229, 189, 87, 0.75));
  transform: translateY(-1px);
}

.footer-about {
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  max-width: 380px;
}

.footer-heading {
  font-family: var(--font-nav);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--color-gold-light);
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: var(--color-text-muted);
  font-size: 14.5px;
}

.footer-links a:hover {
  color: var(--color-gold-light);
  padding-left: 4px;
}

.footer-contact-item {
  color: var(--color-text-muted);
  font-size: 14.5px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-contact-item strong {
  color: var(--color-text-white);
}

.footer-contact-item a {
  color: var(--color-gold-light);
}

.footer-bottom {
  background-color: var(--color-dark-navy);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container.bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #7b8895;
}

.footer-golden-leaf span {
  font-family: var(--font-serif);
  color: var(--color-gold-light);
  letter-spacing: 1.5px;
  font-size: 13px;
}

/* ==========================================================================
   6. PRODUCT SHOWCASE (TABBED - DAMRO STYLE)
   ========================================================================== */
.products-showcase {
  padding: 90px 0;
  background-color: #f7f6f2;
}

.showcase-header {
  max-width: 700px;
  margin: 0 auto 40px auto;
  text-align: center;
}

/* Tab Navigation Bar */
.product-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 45px;
  background-color: #ece8dc;
  border-radius: 6px;
  padding: 5px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 12px 22px;
  border-radius: 4px;
  color: #5c6670;
  background: transparent;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--color-primary-navy);
  background-color: rgba(255, 255, 255, 0.5);
}

.tab-btn.active {
  background-color: var(--color-gold);
  color: #ffffff;
  box-shadow: 0 3px 12px rgba(197, 155, 39, 0.35);
}

/* Tab Panels */
.tab-panels {
  position: relative;
}

.tab-panel {
  display: none;
  animation: tabFadeIn 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-panel.active {
  display: block;
}

@keyframes tabFadeIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

/* Product Showcase Grid */
.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.showcase-product-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8e5dc;
  transition: var(--transition-smooth);
  position: relative;
}

.showcase-product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.1);
  border-color: var(--color-gold);
}

/* Product Image Container */
.showcase-product-img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #f5f3ee;
}

.showcase-product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Product Hover Overlay */
.product-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(19, 28, 36, 0.85) 0%, rgba(19, 28, 36, 0.2) 50%, transparent 100%);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 28px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.showcase-product-card:hover .product-overlay {
  opacity: 1;
}

.product-view-btn {
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #ffffff;
  border: 1.5px solid var(--color-gold-light);
  padding: 10px 22px;
  border-radius: 3px;
  transition: var(--transition-smooth);
  transform: translateY(10px);
}

.showcase-product-card:hover .product-view-btn {
  transform: translateY(0);
}

.product-view-btn:hover {
  background-color: var(--color-gold);
  border-color: var(--color-gold);
  color: #ffffff;
}

/* Product Info */
.showcase-product-info {
  padding: 20px 18px;
  text-align: center;
}

.product-category-badge {
  display: inline-block;
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--color-gold-dark);
  background-color: #f7f2e4;
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.product-category-badge.green {
  color: #3a7d44;
  background-color: #e8f5e9;
}

.product-category-badge.white {
  color: #8d7b6a;
  background-color: #f5f0ea;
}

.product-category-badge.specialty {
  color: #7b5e3c;
  background-color: #fdf3e6;
}

.showcase-product-name {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--color-primary-navy);
  margin-bottom: 4px;
  font-weight: 600;
}

.showcase-product-weight {
  font-size: 13px;
  color: #8c96a0;
  font-weight: 500;
}

/* CTA Below Products */
.showcase-cta {
  margin-top: 45px;
  text-align: center;
}

/* ==========================================================================
   7. TEA FACTORY PARALLAX SECTION
   ========================================================================== */
.factory-section {
  position: relative;
}

.factory-parallax {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  min-height: 680px;
  display: flex;
  align-items: center;
}

.factory-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(14, 21, 27, 0.88) 0%, rgba(19, 28, 36, 0.75) 50%, rgba(14, 21, 27, 0.85) 100%);
  z-index: 1;
}

.factory-section .container {
  position: relative;
  z-index: 2;
}

.factory-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 80px 0;
}

.section-tag.light {
  color: var(--color-gold-light);
}

.section-title.light {
  color: #ffffff;
}

.gold-accent-line.center-light {
  background: linear-gradient(90deg, transparent, var(--color-gold-light), transparent);
  width: 120px;
  height: 2px;
  margin: 16px auto 28px auto;
}

.factory-description {
  font-size: 17px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 45px;
}

/* Animated Stats Counter Row */
.factory-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.stat-item {
  text-align: center;
  padding: 20px 10px;
  border: 1px solid rgba(197, 155, 39, 0.25);
  border-radius: 6px;
  background-color: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(3px);
  transition: var(--transition-smooth);
}

.stat-item:hover {
  border-color: var(--color-gold-light);
  background-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 38px;
  font-weight: 700;
  color: var(--color-gold-light);
  line-height: 1.1;
  margin-bottom: 6px;
}

.stat-number::after {
  content: '+';
  font-size: 24px;
}

.stat-label {
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

/* Gold-light Variant Button */
.btn-gold-light {
  display: inline-block;
  font-family: var(--btn-font-family);
  font-size: var(--btn-font-size);
  font-weight: var(--btn-font-weight);
  letter-spacing: var(--btn-letter-spacing);
  padding: var(--btn-padding);
  border-radius: var(--btn-radius);
  text-transform: var(--btn-text-transform);
  border: 1.5px solid var(--btn-gold-bg);
  color: var(--btn-gold-bg);
  background: transparent;
  transition: var(--btn-transition);
  text-decoration: none;
  text-align: center;
  cursor: pointer;
}

.btn-gold-light:hover {
  background-color: var(--btn-gold-bg);
  border-color: var(--btn-gold-bg);
  color: var(--btn-gold-color);
  box-shadow: var(--shadow-gold);
}

.btn-gold-light:focus-visible {
  outline: 2px solid var(--btn-gold-bg);
  outline-offset: 2px;
}

/* ==========================================================================
   8. CERTIFICATIONS SECTION
   ========================================================================== */
.certifications-section {
  padding: 90px 0;
  background-color: #ffffff;
}

.cert-header {
  max-width: 700px;
  margin: 0 auto 50px auto;
  text-align: center;
}

.cert-subtitle {
  font-size: 16px;
  color: #6b7680;
  line-height: 1.6;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cert-card {
  background-color: #faf9f6;
  border: 1px solid #e8e5dc;
  border-radius: 8px;
  padding: 36px 24px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.cert-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light), var(--color-gold-dark));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.cert-card:hover::before {
  transform: scaleX(1);
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(197, 155, 39, 0.3);
}

.cert-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px auto;
  background: linear-gradient(135deg, #f7f2e4, #ede5cf);
  color: var(--color-gold-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.cert-card:hover .cert-icon {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: #ffffff;
  transform: scale(1.08);
}

.cert-icon svg {
  width: 28px;
  height: 28px;
}

.cert-title {
  font-family: var(--font-serif);
  font-size: var(--fs-title-card);
  color: var(--color-primary-navy);
  margin-bottom: 10px;
  font-weight: 600;
}

.cert-text {
  font-size: 14px;
  color: #65717c;
  line-height: 1.65;
}

/* ==========================================================================
   9. SCROLL REVEAL ANIMATIONS
   ========================================================================== */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-animate].animate-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays for grid children */
[data-animate]:nth-child(2) {
  transition-delay: 0.1s;
}

[data-animate]:nth-child(3) {
  transition-delay: 0.2s;
}

[data-animate]:nth-child(4) {
  transition-delay: 0.3s;
}

/* ==========================================================================
   10. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  :root {
    --header-height: 66px;
    /* shorter header on tablets & mobile */
  }

  .site-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .site-logo {
    height: 34px;
  }

  .header-container {
    padding: 0 24px;
  }

  .teaser-content {
    flex-direction: column;
    text-align: center;
  }

  .teaser-content .gold-accent-line.left-align {
    margin: 16px auto 24px auto;
  }

  .teaser-actions {
    justify-content: center;
  }

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

  .footer-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* Product Showcase responsive */
  .product-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-tabs {
    gap: 3px;
  }

  .tab-btn {
    padding: 10px 16px;
    font-size: 12px;
  }

  /* Factory Stats */
  .factory-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .factory-parallax {
    background-attachment: scroll;
    min-height: auto;
  }

  /* Certifications */
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  :root {
    --header-height: 58px;
    /* compact header on phones */
  }

  .site-logo {
    height: 30px;
    max-width: 160px;
    /* prevents logo overflowing on phones */
  }

  .header-container {
    padding: 0 16px;
  }

  .footer-container.bottom-bar {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  /* Product Showcase responsive */
  .product-showcase-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .product-tabs {
    flex-direction: column;
    align-items: stretch;
    max-width: 100%;
  }

  .tab-btn {
    text-align: center;
  }

  .products-showcase {
    padding: 60px 0;
  }

  /* Factory */
  .factory-content {
    padding: 50px 0;
  }

  .factory-stats {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .stat-number {
    font-size: 28px;
  }

  /* Certifications */
  .cert-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .certifications-section {
    padding: 60px 0;
  }

  /* Feature cards */
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 360px) {
  .header-container {
    padding: 0 10px;
    /* maximum space on 320px screens */
  }

  .site-logo {
    height: 26px;
    max-width: 140px;
    /* prevents logo crowding out the hamburger */
  }

  .mobile-drawer {
    padding: 20px 16px;
    /* tighter drawer padding on tiny screens */
  }
}

/* ==========================================================================
   AJAX PRODUCTS CATALOG & SMOOTH DISPLAY
   ========================================================================== */
.product-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 20px;
}

.product-filter-bar .btn {
  padding: 8px 18px;
  font-size: 13px;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.22s ease;
}

.product-filter-bar .btn-outline {
  color: var(--color-primary-navy);
  border-color: #d1cbc0;
}

.product-filter-bar .btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.format-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 42px);
  position: relative;
}

.format-label {
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 600;
  color: #7a7a7a;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-right: 6px;
}

.format-pill {
  display: inline-block;
  padding: 6px 16px;
  font-family: var(--font-nav);
  font-size: 12.5px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  background: #eeebe5;
  color: #555555;
  border: 1px solid transparent;
  cursor: pointer;
}

.format-pill:hover {
  background: #e2ded6;
  color: var(--color-primary-navy);
}

.format-pill.active {
  background: var(--color-primary-navy);
  color: #ffffff;
  border-color: var(--color-primary-navy);
}

.product-result-count {
  font-family: var(--font-body);
  font-size: 13px;
  color: #888888;
  margin-left: 12px;
  font-style: italic;
}

/* Products Grid Container & AJAX State */
.product-grid-container {
  position: relative;
  min-height: 380px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
  transition: opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1), transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-grid.is-loading {
  opacity: 0.22;
  transform: scale(0.995);
  pointer-events: none;
}

/* Floating Loading Badge */
.product-loading-indicator {
  display: none;
  position: absolute;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(19, 28, 36, 0.94);
  color: var(--color-gold-light);
  padding: 12px 24px;
  border-radius: 30px;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 25;
  align-items: center;
  gap: 10px;
}

.product-grid-container.is-loading .product-loading-indicator {
  display: inline-flex;
}

/* Product Card & Smooth Staggered Animation */
@keyframes productCardIn {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #e7e2d8;
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  animation: productCardIn 0.38s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  animation-delay: calc(var(--card-index, 0) * 0.04s);
  opacity: 0;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(19, 28, 36, 0.12);
  border-color: var(--color-gold);
}

.product-card-media {
  position: relative;
  height: 235px;
  background: #fdfcf9;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  border-bottom: 1px solid #f0ecdf;
  overflow: hidden;
}

.product-card-media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

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

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary-navy);
  color: var(--color-gold-light);
  font-size: 10px;
  font-family: var(--font-nav);
  font-weight: 700;
  padding: 4px 10px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 2px;
}

.product-weight-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: #ffffff;
  border: 1px solid #ded8cc;
  font-size: 11px;
  font-family: var(--font-nav);
  font-weight: 600;
  color: #555555;
  padding: 3px 9px;
  border-radius: 2px;
}

.product-card-info {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-cat-label {
  font-family: var(--font-nav);
  font-size: 11.5px;
  text-transform: uppercase;
  color: var(--color-gold);
  font-weight: 600;
  letter-spacing: 0.8px;
  margin-bottom: 6px;
  display: block;
}

.product-name {
  font-family: var(--font-serif);
  font-size: 21px;
  font-weight: 400;
  color: var(--color-primary-navy);
  margin-bottom: 8px;
  line-height: 1.25;
}

.product-desc {
  font-family: var(--font-body);
  font-size: 14px;
  color: #666666;
  line-height: 1.5;
  margin-bottom: 20px;
  flex-grow: 1;
}

.product-card-action {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f2ede4;
}

.btn-product-order {
  width: 100%;
  text-align: center;
  justify-content: center;
  padding: 10px 16px;
  font-size: 12px;
  font-weight: 600;
}

/* Empty State */
.products-empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 24px;
  background: #fdfcf9;
  border: 1px dashed #ded8cc;
  border-radius: 6px;
}

.products-empty-state .empty-icon {
  font-size: 42px;
  color: var(--color-gold);
  margin-bottom: 16px;
}

.products-empty-state .empty-title {
  font-family: var(--font-serif);
  font-size: 24px;
  color: var(--color-primary-navy);
  margin-bottom: 10px;
}

.products-empty-state .empty-desc {
  font-family: var(--font-body);
  font-size: 15px;
  color: #666666;
  max-width: 460px;
  margin: 0 auto 24px;
}