/* ===================================================================
   Dynamic Greenthumb Food Supply Inc. — Wholesale Marketing Site
   =================================================================== */

:root {
  --teal: #17A0AE;
  --teal-dark: #0F7E8A;
  --lime: #7AC143;
  --lime-dark: #5da32c;
  --forest: #2E7D32;
  --forest-deep: #1f5a24;
  --cream: #f3ead7;
  --kraft: #c9a877;
  --ink: #222629;
  --muted: #5b6670;
  --line: #e6e9ec;
  --bg: #ffffff;
  --bg-alt: #f6faf7;
  --shadow-sm: 0 2px 10px rgba(20, 50, 40, .06);
  --shadow-md: 0 10px 30px rgba(20, 50, 40, .10);
  --radius: 14px;
  --radius-sm: 10px;
  --container: 1180px;
  --font-head: 'Poppins', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .4em; color: var(--ink); }
p { margin: 0 0 1em; }
a { color: var(--teal-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 22px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .7em 1.4em; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-lg { font-size: 1.05rem; padding: .85em 1.8em; }
.btn-lime { background: var(--lime); color: #173a0c; box-shadow: 0 6px 16px rgba(122,193,67,.35); }
.btn-lime:hover { background: var(--lime-dark); color: #fff; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 6px 16px rgba(23,160,174,.30); }
.btn-teal:hover { background: var(--teal-dark); }
.btn-ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.7); backdrop-filter: blur(2px); }
.btn-ghost:hover { background: #fff; color: var(--forest); border-color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96); backdrop-filter: blur(8px);
  border-bottom: 1px solid transparent; transition: box-shadow .2s, border-color .2s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-logo { height: 60px; width: auto; }
.brand-name { display: flex; flex-direction: column; line-height: 1.05; font-family: var(--font-head); }
.brand-name strong { font-weight: 700; font-size: 1.12rem; color: var(--forest); letter-spacing: .01em; }
.brand-name small { font-weight: 500; font-size: .72rem; color: var(--teal-dark); letter-spacing: .04em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 26px; }
.nav-link { font-family: var(--font-head); font-weight: 500; color: var(--ink); font-size: .96rem; }
.nav-link:hover { color: var(--teal); text-decoration: none; }
.nav-cta { margin-left: 4px; }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--forest); border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; color: #fff; }
.hero-slides, .hero-overlay { position: absolute; inset: 0; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.4s ease; transform: scale(1.05); animation: kenburns 16s ease-in-out infinite alternate;
}
.hero-slide.is-active { opacity: 1; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14); } }
.hero-overlay {
  background:
    linear-gradient(100deg, rgba(15,90,36,.86) 0%, rgba(15,90,36,.55) 42%, rgba(23,160,174,.30) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 760px; padding-top: 40px; padding-bottom: 40px; }
.hero-eyebrow {
  display: inline-block; background: rgba(122,193,67,.92); color: #173a0c;
  font-family: var(--font-head); font-weight: 600; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .4em 1em; border-radius: 50px; margin-bottom: 18px;
}
.hero-title { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; color: #fff; margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-sub { font-size: clamp(1rem, 2vw, 1.2rem); max-width: 580px; color: rgba(255,255,255,.94); margin-bottom: 1.8em; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Video band (mid-page) ---------- */
.video-band {
  position: relative; overflow: hidden; color: #fff;
  min-height: 460px; display: flex; align-items: center;
}
.band-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
}
.video-band-overlay {
  position: absolute; inset: 0; z-index: 2;
  background: linear-gradient(90deg, rgba(15,90,36,.82) 0%, rgba(15,90,36,.5) 45%, rgba(0,0,0,.25) 100%);
}
.video-band-content { position: relative; z-index: 3; max-width: 620px; padding-top: 56px; padding-bottom: 56px; }
.vb-eyebrow {
  display: inline-block; background: rgba(122,193,67,.92); color: #173a0c;
  font-family: var(--font-head); font-weight: 600; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase;
  padding: .4em 1em; border-radius: 50px; margin-bottom: 16px;
}
.vb-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: .4em; text-shadow: 0 2px 18px rgba(0,0,0,.3); }
.vb-sub { font-size: clamp(1rem, 1.8vw, 1.12rem); color: rgba(255,255,255,.94); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--forest-deep); color: #fff; }
.trust-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; padding: 16px 22px; font-family: var(--font-head); }
.trust-item { font-weight: 500; font-size: .92rem; letter-spacing: .02em; }
.trust-dot { color: var(--lime); }
.trust-badge { margin-left: 10px; background: var(--lime); color: #173a0c; font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; padding: .35em .9em; border-radius: 50px; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-deep { background: linear-gradient(120deg, var(--teal-dark), var(--forest)); color: #fff; }
.section-head { max-width: 720px; margin: 0 auto 48px; text-align: center; }
.section-head.light .section-title, .section-head.light .kicker { color: #fff; }
.kicker { display: inline-block; font-family: var(--font-head); font-weight: 600; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.section-title { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-weight: 700; color: var(--forest); }
.section-deep .section-title { color: #fff; }
.section-lead { color: var(--muted); font-size: 1.08rem; }
.section-deep .section-lead { color: rgba(255,255,255,.9); }

/* ---------- Featured ---------- */
.featured-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.feature-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.feature-img { background: #fff; aspect-ratio: 1/1; display: flex; align-items: center; justify-content: center; padding: 14px; }
.feature-img img { width: 100%; height: 100%; object-fit: contain; }
.feature-body { padding: 22px 24px 26px; }
.feature-body h3 { font-size: 1.35rem; color: var(--forest); }
.feature-body p { color: var(--muted); }

/* ---------- Categories ---------- */
.category { margin-bottom: 46px; }
.category:last-of-type { margin-bottom: 0; }
.category-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px 14px; padding-bottom: 14px; margin-bottom: 22px; border-bottom: 2px solid var(--line); }
.cat-letter {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 10px; flex: none;
  background: linear-gradient(135deg, var(--lime), var(--teal)); color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; align-self: center;
}
.cat-name { font-size: 1.5rem; color: var(--forest); margin: 0; }
.cat-note { margin: 0; color: var(--muted); font-size: .9rem; font-style: italic; flex-basis: 100%; }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 18px; }

/* product-card = generated box mockup tile */
.product-card {
  position: relative; cursor: pointer; text-align: center;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0; overflow: hidden;
  transition: transform .15s, box-shadow .15s, border-color .15s;
  display: flex; flex-direction: column;
}
.product-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; background: #fff; }
.pc-name { display: none; } /* product name is baked into the box image label */
.product-card::after {
  content: "Inquire"; position: absolute; left: 50%; bottom: 12px;
  transform: translateX(-50%) translateY(8px);
  background: var(--teal); color: #fff; font-family: var(--font-head); font-weight: 600; font-size: .8rem;
  padding: .4em 1em; border-radius: 50px; opacity: 0; transition: opacity .15s, transform .15s; pointer-events: none;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--lime); }
.product-card:hover::after { opacity: 1; transform: translateX(-50%) translateY(0); }
.product-card:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.products-cta { text-align: center; margin-top: 40px; font-size: 1.1rem; color: var(--muted); }
.link-strong { font-weight: 700; color: var(--teal-dark); }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
.about-media { display: flex; flex-direction: column; gap: 18px; }
.about-media img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; object-fit: cover; }
.about-facts { list-style: none; padding: 0; margin: 18px 0 26px; }
.about-facts li { display: grid; grid-template-columns: 200px 1fr; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.about-facts strong { font-family: var(--font-head); color: var(--forest); }
.about-facts span { color: var(--muted); }
.mv-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mv-card { background: var(--bg-alt); border-left: 4px solid var(--lime); border-radius: var(--radius-sm); padding: 18px 20px; }
.mv-card h4 { color: var(--teal-dark); font-size: 1.1rem; }
.mv-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Quality ---------- */
.qa-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 46px; }
.qa-item { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; box-shadow: var(--shadow-sm); }
.qa-num { font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; color: var(--lime); flex: none; }
.qa-item h4 { margin: 0; font-size: 1rem; color: var(--forest); }

.halal-banner { display: flex; align-items: center; gap: 26px; background: linear-gradient(120deg, var(--forest), var(--forest-deep)); color: #fff; border-radius: var(--radius); padding: 30px 34px; margin-bottom: 36px; }
.halal-mark { flex: none; width: 110px; height: 110px; border: 3px solid var(--lime); border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-head); }
.halal-mark { font-size: 1.8rem; line-height: 1; }
.halal-mark span { font-size: .8rem; letter-spacing: .15em; margin-top: 6px; }
.halal-text h3 { color: #fff; }
.halal-text p { margin: 0; color: rgba(255,255,255,.9); }

.quality-strip img { border-radius: var(--radius); box-shadow: var(--shadow-md); width: 100%; }

/* ---------- Why ---------- */
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--teal); border-radius: var(--radius-sm); padding: 24px 22px; box-shadow: var(--shadow-sm); transition: transform .18s, box-shadow .18s; }
.why-card:nth-child(odd) { border-top-color: var(--lime); }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.why-card h4 { color: var(--forest); font-size: 1.12rem; }
.why-card p { margin: 0; color: var(--muted); font-size: .95rem; }

/* ---------- Customers ---------- */
.customers-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.customer-chip { background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); color: #fff; font-family: var(--font-head); font-weight: 500; padding: .7em 1.4em; border-radius: 50px; backdrop-filter: blur(2px); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 22px 0 24px; }
.contact-list li { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.ci-label { font-family: var(--font-head); font-weight: 600; color: var(--forest); }
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }

.contact-form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-md); }
.quote-form label { display: block; font-family: var(--font-head); font-weight: 500; font-size: .9rem; color: var(--ink); margin-bottom: 16px; }
.quote-form input, .quote-form textarea {
  width: 100%; margin-top: 6px; padding: .7em .85em; font-family: var(--font-body); font-size: .98rem;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fbfdfb; color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.quote-form input:focus, .quote-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(23,160,174,.15); background: #fff; }
.quote-form textarea { resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-submit { width: 100%; margin-top: 4px; }
.form-status { margin: 14px 0 0; font-weight: 600; font-family: var(--font-head); font-size: .95rem; text-align: center; min-height: 1.2em; }
.form-status.success { color: var(--forest); }
.form-status.error { color: #c0392b; }
.form-note { margin: 12px 0 0; font-size: .82rem; color: var(--muted); text-align: center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--forest-deep); color: rgba(255,255,255,.85); padding-top: 56px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.footer-logo { height: 56px; background: #fff; padding: 8px 12px; border-radius: 10px; margin-bottom: 14px; }
.footer-brand p { max-width: 320px; color: rgba(255,255,255,.8); }
.footer-halal { display: inline-block; background: var(--lime); color: #173a0c; font-family: var(--font-head); font-weight: 700; font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; padding: .35em .9em; border-radius: 50px; }
.footer-col h5 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.footer-col a, .footer-col span { display: block; color: rgba(255,255,255,.8); margin-bottom: 9px; font-size: .94rem; }
.footer-col a:hover { color: var(--lime); text-decoration: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.15); padding: 18px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: .85rem; color: rgba(255,255,255,.7); }

/* ---------- Floating CTA ---------- */
.floating-cta {
  position: fixed; left: 18px; bottom: 18px; z-index: 90;
  background: var(--lime); color: #173a0c; font-family: var(--font-head); font-weight: 700;
  padding: .8em 1.4em; border-radius: 50px; box-shadow: 0 8px 22px rgba(0,0,0,.25);
  display: none;
}
.floating-cta:hover { background: var(--lime-dark); color: #fff; text-decoration: none; }
.floating-cta.show { display: inline-flex; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 920px) {
  .featured-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .qa-grid, .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-media { order: -1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .main-nav {
    position: fixed; inset: 72px 0 auto 0; flex-direction: column; gap: 0;
    background: #fff; box-shadow: var(--shadow-md); padding: 8px 0 16px;
    transform: translateY(-130%); transition: transform .3s ease; align-items: stretch;
  }
  .main-nav.open { transform: translateY(0); }
  .nav-link { padding: 14px 24px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin: 12px 24px 0; }
  .nav-toggle { display: flex; }
  .brand-logo { height: 52px; }
  .brand-name strong { font-size: 1rem; }
  .brand-name small { font-size: .64rem; }
  .section { padding: 60px 0; }
  .hero { min-height: 78vh; }
  .form-row { grid-template-columns: 1fr; }
  .about-facts li, .contact-list li { grid-template-columns: 1fr; gap: 2px; }
  .mv-cards { grid-template-columns: 1fr; }
  .halal-banner { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .qa-grid, .why-grid, .footer-grid { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom .container { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================================================================
   PRODUCTS PAGE
   =================================================================== */
.nav-link.active { color: var(--teal); font-weight: 600; }

.products-hero {
  background: linear-gradient(120deg, var(--forest), var(--teal-dark));
  color: #fff; padding: 54px 0 40px; text-align: center;
}
.products-hero .hero-eyebrow { margin-bottom: 14px; }
.products-hero-title { font-size: clamp(1.9rem, 4vw, 2.9rem); font-weight: 800; color: #fff; }
.products-hero-sub { max-width: 660px; margin: 0 auto; color: rgba(255,255,255,.92); font-size: 1.05rem; }

/* Sticky category tab bar */
.cat-bar {
  position: sticky; top: 72px; z-index: 80;
  background: rgba(255,255,255,.97); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
}
.cat-bar-inner { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 22px; justify-content: center; }
.cat-tab {
  font-family: var(--font-head); font-weight: 600; font-size: .95rem;
  padding: .55em 1.25em; border-radius: 50px; border: 2px solid var(--line);
  background: #fff; color: var(--muted); cursor: pointer; white-space: nowrap;
  transition: all .15s ease;
}
.cat-tab:hover { border-color: var(--teal); color: var(--teal-dark); }
.cat-tab.active { background: linear-gradient(135deg, var(--lime), var(--teal)); color: #fff; border-color: transparent; box-shadow: 0 6px 16px rgba(23,160,174,.3); }

.products-main { padding-top: 48px; }
.cat-panel { display: none; }
.cat-panel.active { display: block; animation: fadeUp .35s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* Product cards grid */
.pcard-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.pcard {
  text-align: left; padding: 0; cursor: pointer; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column; transition: transform .18s, box-shadow .18s, border-color .18s;
  font-family: var(--font-body);
}
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--lime); }
.pcard:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.pcard-img { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-alt); }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.pcard:hover .pcard-img img { transform: scale(1.07); }
.pcard-badge {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  background: rgba(15,90,36,.9); color: #fff; font-family: var(--font-head); font-weight: 600;
  font-size: .72rem; padding: .3em .7em; border-radius: 50px;
}
.pcard-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.pcard-body h3 { font-size: 1.18rem; color: var(--forest); margin-bottom: 6px; }
.pcard-body p { color: var(--muted); font-size: .9rem; margin: 0 0 12px; flex: 1; }
.pcard-cta { font-family: var(--font-head); font-weight: 600; font-size: .85rem; color: var(--teal-dark); }

/* Product detail modal */
.pm-overlay {
  position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center;
  background: rgba(15,30,25,.6); backdrop-filter: blur(3px); padding: 20px;
}
.pm-overlay[hidden] { display: none; }
.pm-dialog {
  position: relative; background: #fff; border-radius: var(--radius); width: 100%; max-width: 880px;
  max-height: 92vh; overflow: auto; box-shadow: 0 30px 80px rgba(0,0,0,.4); animation: fadeUp .25s ease;
}
.pm-close {
  position: absolute; top: 10px; right: 12px; z-index: 5; border: 0; background: rgba(0,0,0,.06);
  width: 38px; height: 38px; border-radius: 50%; font-size: 1.6rem; line-height: 1; color: var(--ink);
  cursor: pointer; transition: background .15s;
}
.pm-close:hover { background: rgba(0,0,0,.14); }
.pm-body { position: relative; display: grid; grid-template-columns: 380px 1fr; gap: 28px; padding: 30px; }
.pm-gallery { width: 380px; }
.pm-stage {
  position: relative; width: 380px; height: 380px; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-alt); cursor: crosshair;
}
.pm-main-img { width: 100%; height: 100%; object-fit: cover; }
.pm-lens {
  position: absolute; display: none; width: 146px; height: 146px;
  border: 2px solid var(--teal); background: rgba(23,160,174,.12); pointer-events: none; border-radius: 6px;
}
.pm-zoom-result {
  position: absolute; display: none; top: 30px; left: 438px; width: calc(100% - 468px); height: 380px;
  background-repeat: no-repeat; background-color: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-md); z-index: 4;
}
.pm-thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.pm-thumb {
  border: 2px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; padding: 0;
  width: 78px; overflow: hidden; transition: border-color .15s, transform .15s; font-family: var(--font-body);
}
.pm-thumb img { width: 100%; height: 58px; object-fit: cover; display: block; }
.pm-thumb span { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); padding: 3px 2px; text-align: center; font-family: var(--font-head); }
.pm-thumb:hover { border-color: var(--teal); }
.pm-thumb.active { border-color: var(--lime); }
.pm-thumb.active span { color: var(--forest); }
.pm-info { min-height: 380px; }
.pm-info .kicker { margin-bottom: 6px; }
.pm-name { font-size: 1.7rem; color: var(--forest); margin-bottom: 2px; }
.pm-variant { font-family: var(--font-head); font-weight: 600; color: var(--teal-dark); margin: 0 0 12px; min-height: 1em; }
.pm-desc { color: var(--muted); }
.pm-points { list-style: none; padding: 0; margin: 16px 0 22px; }
.pm-points li { position: relative; padding-left: 26px; margin-bottom: 8px; color: var(--ink); font-size: .92rem; }
.pm-points li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--lime-dark); font-weight: 700; }
.pm-inquire { width: 100%; }

/* ===================================================================
   WhatsApp floating button (both pages)
   =================================================================== */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 95;
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #fff; padding: 13px 16px; border-radius: 50px;
  box-shadow: 0 8px 22px rgba(0,0,0,.25); transition: transform .15s, background .15s;
}
.wa-float:hover { background: #1fb855; color: #fff; text-decoration: none; transform: translateY(-2px); }
.wa-float svg { width: 26px; height: 26px; fill: currentColor; position: relative; z-index: 2; }
.wa-label { font-family: var(--font-head); font-weight: 700; font-size: .9rem; position: relative; z-index: 2; }
.wa-ping { position: absolute; inset: 0; border-radius: 50px; background: #25D366; opacity: .25; animation: waping 2s ease-out infinite; }
@keyframes waping { 0% { transform: scale(1); opacity: .35; } 70%, 100% { transform: scale(1.25); opacity: 0; } }

@media (max-width: 860px) {
  .pm-body { grid-template-columns: 1fr; padding: 22px; }
  .pm-gallery, .pm-stage { width: 100%; }
  .pm-stage { height: auto; aspect-ratio: 1/1; cursor: default; }
  .pm-zoom-result { display: none !important; }
  .pm-info { min-height: 0; }
  .cat-bar { top: 0; }
}
@media (max-width: 560px) {
  .pcard-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .pcard-body { padding: 12px 12px 16px; }
  .pcard-body h3 { font-size: 1rem; }
  .pcard-body p { display: none; }
  .wa-label { display: none; }
}
