/* ==========================================================================
   M.R. TEXTILE / M.R. SAREES â€” B2B main.css (PRODUCTION BUNDLE)
   Shared (from the main site, unmodified): variables, base
   B2B-only: utilities, layout, components, contact, responsive
   EDIT THE SOURCE FILES, not this file â€” see /b2b/README.md.
   ========================================================================== */

/* ---- shared: css/source/variables.css (design tokens, unmodified) ---- */
/* ==========================================================================
   DESIGN TOKENS â€” M.R. Textile / M.R. Sarees
   --------------------------------------------------------------------------
   Palette is drawn from the material itself: ivory tussar, champagne silk,
   deep maroon bridal zari, emerald pattu, and antique gold thread.
   Every color/spacing/type decision elsewhere in the CSS reads from here â€”
   change the brand here, not in individual component files.
   ========================================================================== */

:root {
  /* ---- Color: base surfaces ---- */
  --color-ivory: #fbf7ef;
  --color-champagne: #ede0cb;
  --color-champagne-soft: #f4ecdd;

  /* ---- Color: brand ---- */
  --color-maroon: #6b1220;
  --color-maroon-deep: #4a0c17;
  --color-burgundy: #3d0a14;
  --color-emerald: #1e4638;
  --color-emerald-deep: #142f26;
  --color-gold: #b08d57;
  --color-gold-light: #d9bd8c;
  --color-gold-soft: #ead9b8;

  /* ---- Color: ink / text ---- */
  --color-ink: #241b14;
  --color-ink-soft: #4a3d31;
  --color-ink-faint: #7a6c5c;
  --color-on-dark: #f6efe3;
  --color-on-dark-soft: #d9c9b3;

  /* ---- Color: functional ---- */
  --color-success: #2e5c45;
  --color-error: #8c2c2c;
  --color-border: rgba(107, 18, 32, 0.12);
  --color-border-dark: rgba(217, 189, 140, 0.25);

  /* ---- Typography ---- */
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Jost", "Segoe UI", sans-serif;

  --fs-eyebrow: clamp(0.7rem, 0.66rem + 0.2vw, 0.8rem);
  --fs-body-sm: clamp(0.85rem, 0.82rem + 0.15vw, 0.95rem);
  --fs-body: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  --fs-body-lg: clamp(1.15rem, 1.08rem + 0.35vw, 1.4rem);
  --fs-h5: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem);
  --fs-h4: clamp(1.4rem, 1.25rem + 0.75vw, 1.9rem);
  --fs-h3: clamp(1.75rem, 1.5rem + 1.25vw, 2.6rem);
  --fs-h2: clamp(2.2rem, 1.8rem + 2vw, 3.6rem);
  --fs-h1: clamp(2.8rem, 2.1rem + 3.5vw, 5.5rem);
  --fs-hero-eyebrow: clamp(0.75rem, 0.7rem + 0.25vw, 0.95rem);

  --lh-tight: 1.08;
  --lh-snug: 1.28;
  --lh-normal: 1.6;
  --lh-loose: 1.85;

  --ls-tight: -0.01em;
  --ls-normal: 0;
  --ls-wide: 0.08em;
  --ls-wider: 0.2em;
  --ls-widest: 0.32em;

  /* ---- Spacing scale (fluid) ---- */
  --space-3xs: clamp(0.25rem, 0.23rem + 0.1vw, 0.35rem);
  --space-2xs: clamp(0.5rem, 0.46rem + 0.2vw, 0.65rem);
  --space-xs: clamp(0.75rem, 0.68rem + 0.35vw, 1rem);
  --space-sm: clamp(1.1rem, 1rem + 0.5vw, 1.5rem);
  --space-md: clamp(1.75rem, 1.5rem + 1.25vw, 2.5rem);
  --space-lg: clamp(2.5rem, 2rem + 2.5vw, 4rem);
  --space-xl: clamp(3.5rem, 2.6rem + 4.5vw, 6.5rem);
  --space-2xl: clamp(5rem, 3.6rem + 7vw, 9rem);
  --space-section: clamp(4.5rem, 3.4rem + 5.5vw, 8rem);

  /* ---- Layout ---- */
  --container-max: 1320px;
  --container-narrow: 780px;
  --container-pad: clamp(1.25rem, 4vw, 3rem);

  /* ---- Radius ---- */
  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  /* ---- Shadow (warm, low-contrast â€” not generic gray) ---- */
  --shadow-sm: 0 2px 10px rgba(74, 12, 23, 0.08);
  --shadow-md: 0 10px 30px rgba(74, 12, 23, 0.12);
  --shadow-lg: 0 24px 60px rgba(61, 10, 20, 0.18);
  --shadow-gold: 0 6px 24px rgba(176, 141, 87, 0.28);

  /* ---- Motion ---- */
  --ease-silk: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-drape: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 220ms;
  --dur-med: 480ms;
  --dur-slow: 900ms;

  /* ---- Z-index scale ---- */
  --z-nav: 100;
  --z-overlay: 500;
  --z-modal: 900;
  --z-toast: 950;
  --z-preloader: 1000;
}

/* Reduced motion: shorten/disable durations globally via this hook */
@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 1ms;
    --dur-med: 1ms;
    --dur-slow: 1ms;
  }
}

/* ---- shared: css/source/base.css (reset + a11y, unmodified) ---- */
/* ==========================================================================
   BASE â€” reset, element defaults, typography, accessibility
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-ink);
  background: var(--color-ivory);
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

/* Offsets in-page anchor jumps (including direct #hash URLs) so content
   doesn't land underneath the fixed header. navigation.js applies the same
   offset for its own smooth-scroll calculation. */
section[id],
main [id] {
  scroll-margin-top: clamp(72px, 11vw, 104px);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
  color: inherit;
  background: none;
  border: none;
}

button {
  cursor: pointer;
}

ul,
ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--color-maroon-deep);
  letter-spacing: var(--ls-tight);
}

p {
  max-width: 65ch;
}

/* ---- Accessibility: visible keyboard focus everywhere ---- */
:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

a:focus-visible,
button:focus-visible {
  outline-offset: 4px;
}

/* ---- Skip link ---- */
.skip-link {
  position: fixed;
  top: -100px;
  left: var(--space-sm);
  z-index: 1200;
  background: var(--color-maroon);
  color: var(--color-on-dark);
  padding: 0.85em 1.5em;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  transition: top var(--dur-fast) var(--ease-silk);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* ---- Selection color ---- */
::selection {
  background: var(--color-gold-light);
  color: var(--color-maroon-deep);
}

/* ---- Scrollbar (progressive enhancement, webkit only) ---- */
::-webkit-scrollbar {
  width: 11px;
}
::-webkit-scrollbar-track {
  background: var(--color-champagne-soft);
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold);
  border-radius: var(--radius-pill);
  border: 3px solid var(--color-champagne-soft);
}

/* ---- Visually hidden (for a11y-only text) ---- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Lazy image fade-in ---- */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-silk);
}
img[loading="lazy"].is-loaded,
img[loading="lazy"].loaded {
  opacity: 1;
}

noscript img {
  opacity: 1 !important;
}

/* ---- source/utilities-b2b.css ---- */
/* ==========================================================================
   B2B UTILITIES
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding-block: clamp(3rem, 2.4rem + 3vw, 5rem);
}

.section--tight {
  padding-block: var(--space-lg);
}

.section--muted {
  background: var(--color-champagne-soft);
}

.section--dark {
  background: var(--color-maroon-deep);
  color: var(--color-on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: var(--color-on-dark);
}

.eyebrow {
  display: block;
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-maroon);
  margin-bottom: var(--space-2xs);
}

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

.section-head {
  max-width: 680px;
  margin-bottom: var(--space-lg);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  font-size: var(--fs-h2);
}

.section-head p {
  margin-top: var(--space-xs);
  font-size: var(--fs-body-lg);
  color: var(--color-ink-soft);
  line-height: var(--lh-loose);
}

.section--dark .section-head p {
  color: var(--color-on-dark-soft);
}

/* ---------------------------- BUTTONS (plain â€” no lift, no glow) ---------------------------- */
.btn {
  --btn-fg: var(--color-ivory);
  --btn-bg: var(--color-maroon);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.95em 1.9em;
  font-family: var(--font-body);
  font-size: var(--fs-body-sm);
  font-weight: 500;
  border-radius: var(--radius-md);
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  transition: background-color var(--dur-fast) linear, border-color var(--dur-fast) linear, color var(--dur-fast) linear;
  white-space: nowrap;
}

.btn:hover,
.btn:focus-visible {
  background: var(--color-maroon-deep);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--color-on-dark);
  border-color: var(--color-border-dark);
}

.btn--ghost:hover,
.btn--ghost:focus-visible {
  background: rgba(246, 239, 227, 0.12);
}

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--color-maroon);
  border-color: var(--color-maroon);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background: var(--color-maroon);
  --btn-fg: var(--color-ivory);
}

.btn--gold {
  --btn-bg: var(--color-gold);
  --btn-fg: var(--color-maroon-deep);
}

.btn--gold:hover,
.btn--gold:focus-visible {
  background: var(--color-gold-light);
}

.btn--sm {
  padding: 0.65em 1.4em;
  font-size: var(--fs-eyebrow);
}

.btn--block {
  width: 100%;
}

.text-link {
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--color-maroon);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.15em;
  transition: border-color var(--dur-fast) linear;
}

.text-link:hover,
.text-link:focus-visible {
  border-color: var(--color-maroon);
}

.text-center { text-align: center; }
.u-mt-sm { margin-top: var(--space-sm); }
.u-mt-md { margin-top: var(--space-md); }
.u-mt-lg { margin-top: var(--space-lg); }

/* ---- source/layout-b2b.css ---- */
/* ==========================================================================
   B2B LAYOUT â€” header, hero, footer
   Deliberately reuses the premium site's class names (.site-header,
   .nav-link, .hero, .site-footer, etc.) so the shared JS modules
   (navigation.js, back-to-top.js, lazy-images.js) work without any
   modification â€” only the CSS differs. No scroll-morph header, no
   slideshow/parallax hero, no hover-lift/underline animation.
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: var(--color-ivory);
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.brand__mark {
  width: 38px;
  height: 38px;
  color: var(--color-maroon);
  flex-shrink: 0;
}

.brand__mark svg { width: 100%; height: 100%; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand__word {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1rem + 0.5vw, 1.4rem);
  font-weight: 600;
  color: var(--color-maroon-deep);
}

.brand__tag {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-ink-faint);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1vw + 0.6rem, 1.8rem);
}

.nav-link {
  position: relative;
  font-size: var(--fs-body-sm);
  font-weight: 500;
  color: var(--color-ink-soft);
  padding-block: 0.3em;
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

.nav-link:hover,
.nav-link:focus-visible,
.nav-link.is-active {
  color: var(--color-maroon);
  border-bottom-color: var(--color-maroon);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--color-maroon);
}

.nav-toggle__bars {
  position: relative;
  width: 20px;
  height: 13px;
}

.nav-toggle__bars span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: currentColor;
}

.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { top: 6px; }
.nav-toggle__bars span:nth-child(3) { top: 12px; }

/* ---------------------------- MOBILE MENU ---------------------------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-ivory);
  display: flex;
  flex-direction: column;
  padding: var(--space-lg);
  opacity: 0;
  visibility: hidden;
}

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

.mobile-menu__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.mobile-menu__list a {
  font-family: var(--font-display);
  font-size: var(--fs-h4);
  color: var(--color-maroon-deep);
}

.mobile-menu__list a.is-active {
  color: var(--color-maroon);
}

.mobile-menu__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.mobile-menu__foot a {
  color: var(--color-ink-soft);
  font-size: var(--fs-body-sm);
}

/* ---------------------------- HERO (single static image) ---------------------------- */
.hero {
  position: relative;
  background: var(--color-maroon-deep);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}

.hero--sm {
  min-height: clamp(550px, 75vh, 900px);
  justify-content: center;
}

.hero__slides {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1600ms var(--ease-silk), transform 7000ms linear;
}

.hero__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

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

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(36, 8, 15, 0.82) 0%, rgba(36, 8, 15, 0.55) 60%, rgba(36, 8, 15, 0.4) 100%);
}

.hero__content {
  position: relative;
  padding-block: clamp(4rem, 8vw, 6.5rem);
  max-width: 640px;
}

.hero__eyebrow {
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-gold-light);
  margin-bottom: var(--space-sm);
}

.hero__title {
  color: var(--color-on-dark);
  font-size: clamp(2.2rem, 1.8rem + 2vw, 3.4rem);
  line-height: var(--lh-tight);
}

.hero__desc {
  margin-top: var(--space-sm);
  color: var(--color-on-dark-soft);
  font-size: var(--fs-body-lg);
  line-height: var(--lh-loose);
  max-width: 48ch;
}

.hero__actions {
  margin-top: var(--space-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ---------------------------- SIMPLE SECTION DIVIDER ---------------------------- */
.simple-divider {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 0;
}

/* ---------------------------- FOOTER ---------------------------- */
.site-footer {
  background: var(--color-champagne-soft);
  color: var(--color-ink-soft);
  border-top: 1px solid var(--color-border);
  padding-top: var(--space-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: var(--space-lg);
  padding-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-border);
}

.footer-brand .brand__word {
  color: var(--color-maroon-deep);
}

.footer-desc {
  margin-top: var(--space-sm);
  max-width: 34ch;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-loose);
}

.footer-social {
  display: flex;
  gap: var(--space-xs);
  margin-top: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  color: var(--color-ink-soft);
  transition: color var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--color-maroon);
  border-color: var(--color-maroon);
}

.footer-social svg { width: 15px; height: 15px; }

.footer-col h6 {
  font-family: var(--font-body);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-wider);
  text-transform: uppercase;
  color: var(--color-maroon);
  margin-bottom: var(--space-sm);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.7em;
}

.footer-col a {
  font-size: var(--fs-body-sm);
  transition: color var(--dur-fast) linear;
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--color-maroon);
}

.footer-contact li {
  display: flex;
  gap: 0.6em;
  font-size: var(--fs-body-sm);
  line-height: var(--lh-normal);
}

.footer-contact svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 0.25em;
  color: var(--color-maroon);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-sm);
  padding-block: var(--space-md);
  font-size: var(--fs-eyebrow);
}

.footer-bottom a:hover,
.footer-bottom a:focus-visible {
  color: var(--color-maroon);
}

/* ---------------------------- VERSION SWITCH NOTICE ---------------------------- */
.version-bar {
  background: var(--color-maroon-deep);
  color: var(--color-on-dark-soft);
  font-size: var(--fs-eyebrow);
  text-align: center;
  padding-block: 0.6em;
}

.version-bar a {
  color: var(--color-gold-light);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- source/components-b2b.css ---- */
/* ==========================================================================
   B2B COMPONENTS
   ========================================================================== */

/* ---------------------------- BREADCRUMBS ---------------------------- */
.breadcrumb-bar {
  padding-block: var(--space-sm);
  background: var(--color-champagne-soft);
  border-bottom: 1px solid var(--color-border);
}

.breadcrumbs__list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5em;
  font-size: var(--fs-eyebrow);
  color: var(--color-ink-faint);
}

.breadcrumbs__list a:hover,
.breadcrumbs__list a:focus-visible {
  color: var(--color-maroon);
}

.breadcrumbs__list li[aria-current="page"] {
  color: var(--color-maroon);
  font-weight: 500;
}

.breadcrumbs__sep {
  color: var(--color-border);
}

/* ---------------------------- CATEGORY BROWSE ROW (plain, not sticky) ---------------------------- */
.category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  padding-block: var(--space-sm);
  border-bottom: 1px solid var(--color-border);
}

.category-links a {
  padding: 0.5em 1.1em;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: var(--fs-eyebrow);
  color: var(--color-ink-soft);
  transition: border-color var(--dur-fast) linear, color var(--dur-fast) linear;
}

.category-links a:hover,
.category-links a:focus-visible {
  border-color: var(--color-maroon);
  color: var(--color-maroon);
}

.category-links a[aria-current="page"] {
  background: var(--color-maroon);
  border-color: var(--color-maroon);
  color: var(--color-ivory);
}

/* ---------------------------- GRID SCAFFOLDING ---------------------------- */
.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

/* ---------------------------- CATEGORY CARD (simple link card) ---------------------------- */
.category-card {
  display: block;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-ivory);
  transition: box-shadow var(--dur-fast) linear, border-color var(--dur-fast) linear;
}

.category-card:hover,
.category-card:focus-visible {
  box-shadow: var(--shadow-sm);
  border-color: var(--color-gold);
}

.category-card__image {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--color-champagne-soft);
}

.category-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__body {
  padding: var(--space-sm) var(--space-sm) var(--space-md);
}

.category-card__title {
  font-size: var(--fs-h5);
  color: var(--color-maroon-deep);
}

.category-card__link {
  margin-top: 0.4em;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  font-size: var(--fs-body-sm);
  color: var(--color-maroon);
  font-weight: 500;
}

.category-card__link svg {
  width: 14px;
  height: 14px;
}

/* ---------------------------- STRENGTH / ADVANTAGE CARD ---------------------------- */
.info-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  background: var(--color-ivory);
  transition: border-color var(--dur-fast) linear, box-shadow var(--dur-fast) linear;
}

.info-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-sm);
}

.info-card__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-champagne-soft);
  color: var(--color-maroon);
  margin-bottom: var(--space-sm);
}

.info-card__icon svg { width: 20px; height: 20px; }

.info-card h3 {
  font-size: var(--fs-h5);
  margin-bottom: 0.3em;
}

.info-card p {
  font-size: var(--fs-body-sm);
  color: var(--color-ink-faint);
  line-height: var(--lh-normal);
}

/* ---------------------------- PRODUCT CARD (with color-variant swatches) ---------------------------- */
.product-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-ivory);
  overflow: hidden;
  transition: box-shadow var(--dur-fast) linear;
}

.product-card:hover {
  box-shadow: var(--shadow-sm);
}

.product-card__image {
  aspect-ratio: 4/5;
  background: var(--color-champagne-soft);
  cursor: zoom-in;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 150ms linear;
}

.product-card__body {
  padding: var(--space-sm) var(--space-sm) var(--space-md);
}

.product-card__category {
  display: block;
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.3em;
}

.product-card__title {
  font-size: var(--fs-h5);
  color: var(--color-maroon-deep);
}

.product-card__variants {
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5em;
}

.product-card__variants-label {
  font-size: 0.7rem;
  color: var(--color-ink-faint);
  margin-right: 0.3em;
}

.variant-swatch {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid transparent;
  padding: 2px;
  overflow: hidden;
}

.variant-swatch img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.variant-swatch:hover,
.variant-swatch:focus-visible {
  border-color: var(--color-border);
}

.variant-swatch.is-active {
  border-color: var(--color-maroon);
}

.product-card__footer {
  margin-top: var(--space-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
}

.product-card__moq {
  font-size: 0.75rem;
  color: var(--color-ink-faint);
}

/* ---------------------------- CTA BANNER ---------------------------- */
.cta-banner {
  background: var(--color-maroon-deep);
  color: var(--color-on-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 3vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.cta-banner h2 {
  color: var(--color-on-dark);
  font-size: var(--fs-h3);
}

.cta-banner p {
  margin-top: 0.4em;
  color: var(--color-on-dark-soft);
  max-width: 46ch;
}

.cta-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
}

/* ---------------------------- SIMPLE LIGHTBOX (product image viewer) ---------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms linear, visibility 180ms linear;
}

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

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 8, 0.92);
}

.lightbox__stage {
  position: relative;
  z-index: 2;
  width: min(90vw, 900px);
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox__frame {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-burgundy);
  max-height: 74vh;
  display: flex;
}

.lightbox__frame img {
  max-height: 74vh;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  margin-inline: auto;
  opacity: 0;
  transition: opacity 150ms linear;
}

.lightbox__frame img.is-visible {
  opacity: 1;
}

.lightbox__caption {
  margin-top: var(--space-sm);
  color: var(--color-on-dark-soft);
  font-size: var(--fs-body-sm);
  text-align: center;
}

.lightbox__close {
  position: absolute;
  top: clamp(0.75rem, 3vw, 1.5rem);
  right: clamp(0.75rem, 3vw, 1.5rem);
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border-dark);
  color: var(--color-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox__close:hover,
.lightbox__close:focus-visible {
  background: var(--color-gold);
  color: var(--color-maroon-deep);
}

.lightbox__close svg { width: 16px; height: 16px; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--color-border-dark);
  color: var(--color-on-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
}

.lightbox__nav:hover,
.lightbox__nav:focus-visible {
  background: var(--color-gold);
  color: var(--color-maroon-deep);
}

.lightbox__nav--prev { left: clamp(0.5rem, 2vw, 1.25rem); }
.lightbox__nav--next { right: clamp(0.5rem, 2vw, 1.25rem); }
.lightbox__nav svg { width: 18px; height: 18px; }

.lightbox__counter {
  margin-top: var(--space-xs);
  font-size: var(--fs-eyebrow);
  color: var(--color-gold-light);
}

/* ---------------------------- FAQ (native details/summary â€” zero JS) ---------------------------- */
.faq-list {
  max-width: var(--container-narrow);
  margin-inline: auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  padding-block: var(--space-sm);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  font-family: var(--font-display);
  font-size: var(--fs-h5);
  color: var(--color-maroon-deep);
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--color-maroon);
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "\2212";
}

.faq-item p {
  margin-top: var(--space-xs);
  color: var(--color-ink-soft);
  font-size: var(--fs-body);
  line-height: var(--lh-loose);
  max-width: 62ch;
}

/* ---------------------------- FLOATING UI (plain, no pulse) ---------------------------- */
.floating-stack {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 500;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

.fab--whatsapp {
  background: #25d366;
  color: #ffffff;
}

.fab--whatsapp svg { width: 24px; height: 24px; }

.fab--top {
  background: var(--color-maroon);
  color: var(--color-ivory);
  opacity: 0;
  visibility: hidden;
  transition: opacity 150ms linear, visibility 150ms linear;
}

.fab--top.is-visible {
  opacity: 1;
  visibility: visible;
}

.fab--top svg { width: 16px; height: 16px; }

/* ---------------------------- TOAST (used by the shared contact-form.js) ---------------------------- */
.toast-stack {
  position: fixed;
  top: var(--space-md);
  right: var(--space-md);
  z-index: 950;
  display: flex;
  flex-direction: column;
  gap: var(--space-2xs);
}

.toast {
  background: var(--color-maroon-deep);
  color: var(--color-on-dark);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  font-size: var(--fs-body-sm);
  display: flex;
  align-items: center;
  gap: 0.6em;
  opacity: 0;
  transition: opacity 200ms linear;
  max-width: 320px;
}

.toast.is-visible {
  opacity: 1;
}

.toast svg {
  width: 18px;
  height: 18px;
  color: var(--color-gold-light);
  flex-shrink: 0;
}

/* ---- source/contact-b2b.css ---- */
/* ==========================================================================
   B2B CONTACT / INQUIRY
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: var(--space-xl);
  align-items: start;
}

.contact-cards {
  display: grid;
  gap: var(--space-sm);
}

.contact-card {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-md);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-dark);
}

.contact-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-maroon-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-card__icon svg { width: 18px; height: 18px; }

.contact-map {
  margin-top: var(--space-md);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
  aspect-ratio: 16/10;
  filter: grayscale(0.25) sepia(0.15);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-card h4 {
  color: var(--color-on-dark);
  font-size: var(--fs-eyebrow);
  letter-spacing: var(--ls-wide);
  text-transform: uppercase;
  margin-bottom: 0.35em;
}

.contact-card p,
.contact-card a {
  color: var(--color-on-dark-soft);
  font-size: var(--fs-body-sm);
  line-height: var(--lh-normal);
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--color-gold-light);
}

.contact-map {
  margin-top: var(--space-sm);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border-dark);
  aspect-ratio: 16/10;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-form-panel {
  background: var(--color-ivory);
  border-radius: var(--radius-md);
  padding: clamp(1.25rem, 3vw, var(--space-lg));
  border: 1px solid var(--color-border);
}

.contact-form-panel h3 {
  font-size: var(--fs-h3);
  color: var(--color-maroon-deep);
}

.contact-form-panel > p {
  margin-top: var(--space-xs);
  color: var(--color-ink-faint);
}

.form-grid {
  margin-top: var(--space-md);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4em;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label {
  font-size: var(--fs-eyebrow);
  color: var(--color-ink-soft);
}

.form-field label .req {
  color: var(--color-maroon);
}

.form-field input,
.form-field textarea {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.65em 0.8em;
  font-size: var(--fs-body);
  color: var(--color-ink);
  background: var(--color-ivory);
  transition: border-color var(--dur-fast) linear;
}

.form-field textarea {
  resize: vertical;
  min-height: 100px;
}

.form-field input:focus-visible,
.form-field textarea:focus-visible {
  outline: none;
  border-color: var(--color-maroon);
}

.form-field.has-error input,
.form-field.has-error textarea {
  border-color: var(--color-error);
}

.form-field__error {
  font-size: var(--fs-eyebrow);
  color: var(--color-error);
  min-height: 1.2em;
}

.form-submit-row {
  margin-top: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.form-note {
  font-size: var(--fs-eyebrow);
  color: var(--color-ink-faint);
}

.form-status {
  margin-top: var(--space-md);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body-sm);
  display: none;
  align-items: center;
  gap: 0.6em;
}

.form-status.is-visible {
  display: flex;
}

.form-status.is-success {
  background: rgba(46, 92, 69, 0.1);
  color: var(--color-success);
}

.form-status.is-error {
  background: rgba(140, 44, 44, 0.1);
  color: var(--color-error);
}

.form-status svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn.is-loading {
  pointer-events: none;
  opacity: 0.75;
}

.btn__spinner {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-top-color: currentColor;
  animation: spin 700ms linear infinite;
  display: none;
}

.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading .btn__label-text { display: none; }

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

/* ---- source/responsive-b2b.css ---- */
/* ==========================================================================
   B2B RESPONSIVE
   ========================================================================== */

@media (max-width: 1200px) {
  .grid--4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .nav-list,
  .nav-cta .btn {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

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

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

  .grid--3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .grid--4,
  .grid--3,
  .grid--2 {
    grid-template-columns: 1fr;
  }

  .hero__actions .btn { width: 100%; }
  .hero__actions { flex-direction: column; }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .contact-form-panel { padding: var(--space-md); }
}

/* ---- Version Bar for B2B / Premium Switching ---- */
.version-bar {
  background: #3d0a14;
  color: #f6efe3;
  text-align: center;
  padding: 8px 16px;
  font-size: 0.85rem;
  font-family: var(--font-body, 'Jost', sans-serif);
  border-bottom: 1px solid rgba(207, 168, 110, 0.3);
  position: relative;
  z-index: 1001;
}

.version-bar a {
  color: #cfa86e;
  font-weight: 500;
  text-decoration: underline;
  margin-left: 6px;
  transition: color 0.2s ease;
}

.version-bar a:hover {
  color: #ffffff;
}
/* ---- Logo image in navbar ---- */
.brand__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

/* ---- WhatsApp footer icon — uses its own circle, remove border wrapper ---- */
.footer-social svg { width: 22px; height: 22px; }
.footer-social a[aria-label*="WhatsApp"] {
  border: none;
  background: transparent;
  padding: 2px;
}
.footer-social a[aria-label*="WhatsApp"] svg {
  width: 32px;
  height: 32px;
}
.footer-social a[aria-label*="WhatsApp"]:hover,
.footer-social a[aria-label*="WhatsApp"]:focus-visible {
  background: transparent;
  transform: translateY(-3px) scale(1.12);
}

/* ---- Floating UI — WhatsApp FAB + back-to-top ---- */
.floating-stack {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  overflow: visible;
  isolation: isolate;
}

.fab {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-fast) var(--ease-silk), box-shadow var(--dur-fast) var(--ease-silk), opacity var(--dur-fast) var(--ease-silk), visibility var(--dur-fast) var(--ease-silk);
}

.fab:hover,
.fab:focus-visible {
  transform: translateY(-4px) scale(1.05);
  box-shadow: var(--shadow-lg);
}

.fab--whatsapp {
  background: transparent;
  color: transparent;
  position: relative;
  box-shadow: none;
}

.fab--whatsapp::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: whatsapp-pulse 2.4s var(--ease-silk) infinite;
}

.fab--whatsapp svg { width: 44px; height: 44px; }

.fab--top {
  background: var(--color-maroon);
  color: var(--color-ivory);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}

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

.fab--top svg { width: 18px; height: 18px; }

@keyframes whatsapp-pulse {
  0%   { transform: scale(1);    opacity: 0.6; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1.55); opacity: 0; }
}

