/* Grante Foods International — public site */
:root {
  --teal-950: #012626;
  --teal-900: #013838;
  --teal: #024c4c;
  --teal-600: #0b6461;
  --lime: #6abf4b;
  --lime-600: #58a83b;
  --lime-200: #c8ebb8;
  --lime-light: #a6dc8c;
  --mint: #eaffef;
  --mint-2: #dcf7e3;
  --paper: #f6f7f7;
  --white: #fff;
  --ink: #0d2222;
  --muted: #587070;
  --line: rgba(2, 76, 76, .12);
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(1, 38, 38, .06), 0 12px 32px -12px rgba(1, 38, 38, .18);
  --display: 'Bricolage Grotesque', 'Manrope', system-ui, sans-serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --nav-h: 86px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 400 16px/1.6 var(--body); color: var(--ink); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.08; margin: 0; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
button { font: inherit; }
.i { flex: none; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.center { text-align: center; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--lime); color: var(--teal-950); padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

.announce { background: var(--lime); color: var(--teal-950); text-align: center; font-weight: 600; font-size: 14px; padding: 8px 20px; position: relative; z-index: 60; }

/* ---------- Buttons ---------- */
.btn { --bg: var(--teal); --fg: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 22px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s; white-space: nowrap; }
.btn:hover { --bg: var(--lime-light); --fg: var(--teal-950); border-color: var(--lime-light); transform: translateY(-2px); box-shadow: 0 10px 24px -10px rgba(1, 38, 38, .45); }
.btn .i { transition: transform .2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn--primary { --bg: var(--teal); }
.btn--lime { --bg: var(--lime); --fg: var(--teal-950); }
.btn--glass { --bg: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .35); backdrop-filter: blur(8px); }
.btn--outline { --bg: transparent; --fg: var(--teal); border-color: var(--teal); }
.btn--sm { padding: 9px 16px; font-size: 14px; }
.btn--lg { padding: 16px 28px; font-size: 16px; }
.btn--block { width: 100%; }

.link-arrow:hover { color: var(--lime-600); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--teal); font-weight: 700; text-decoration: none; border-bottom: 2px solid var(--lime); padding-bottom: 2px; }
.link-arrow:hover .i { transform: translateX(3px); }
.link-arrow .i { transition: transform .2s; }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: .14em; color: var(--lime-600); margin-bottom: 18px; }
.eyebrow::before { content: ''; width: 22px; height: 2px; background: currentColor; }
.eyebrow--light { color: var(--lime); }
.h2 { font-size: clamp(32px, 4.4vw, 54px); margin-bottom: 20px; text-wrap: balance; }
.h3 { font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.lead { font-size: clamp(18px, 1.8vw, 22px); line-height: 1.55; color: var(--ink); }
.lead-sm { font-size: 17px; color: var(--muted); }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; height: var(--nav-h); background: rgba(255, 255, 255, .9); backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s, color .3s, transform .35s var(--ease); }
.nav.is-hidden { transform: translateY(-100%); }
.has-hero .nav { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; }
.has-hero .nav.is-solid, .has-hero .nav.is-open { background: rgba(255, 255, 255, .92); border-color: var(--line); color: var(--ink); }
.announce + .nav { top: 0; }
.nav__in { height: 100%; display: flex; align-items: center; gap: 28px; }
.nav__logo { position: relative; display: block; width: 200px; height: 54px; flex: none; }
.nav__logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: left center; transition: opacity .3s; }
.logo-light { opacity: 0; }
.has-hero .nav:not(.is-solid):not(.is-open) .logo-light { opacity: 1; }
.has-hero .nav:not(.is-solid):not(.is-open) .logo-dark { opacity: 0; }
.nav__links { display: flex; gap: 4px; margin-left: auto; }
.nav__links { position: relative; gap: 2px; }
.nav__links a { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 9px 15px; border-radius: 999px; text-decoration: none; font-weight: 700; font-size: 15px; letter-spacing: .005em; transition: color .25s; }

.nav__links a.is-lit { color: #fff; }

/* The sliding pill behind the hovered / current link */
.nav__pill { position: absolute; z-index: 0; top: 50%; left: 0; height: 40px; width: 0; margin-top: -20px; border-radius: 999px; background: var(--teal); box-shadow: 0 6px 18px -8px rgba(1, 38, 38, .6); opacity: 0; transition: transform .38s cubic-bezier(.3, 1.4, .5, 1), width .38s cubic-bezier(.3, 1.4, .5, 1), opacity .2s, background .25s; pointer-events: none; }
.nav__pill.is-on { opacity: 1; }
/* over the hero photo */
.has-hero .nav:not(.is-solid):not(.is-open) .nav__links a { text-shadow: 0 1px 8px rgba(0, 0, 0, .45); }
.has-hero .nav:not(.is-solid):not(.is-open) .nav__links a.is-lit { color: var(--teal-950); text-shadow: none; }


.has-hero .nav:not(.is-solid):not(.is-open) .nav__pill { background: var(--lime); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .5); }
.has-hero .nav:not(.is-solid):not(.is-open)::before { content: ''; position: absolute; inset: 0 0 -30px; background: linear-gradient(180deg, rgba(1, 30, 30, .55), transparent); pointer-events: none; z-index: -1; }
.nav__login { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: 14px; text-decoration: none; border: 1.5px solid currentColor; white-space: nowrap; transition: background .2s, color .2s; }
.nav__login:hover, .nav__login[aria-current] { background: var(--teal); color: #fff; border-color: var(--teal); }
.has-hero .nav:not(.is-solid):not(.is-open) .nav__login:hover { background: #fff; color: var(--teal-950); border-color: #fff; }
.nav__phone:hover { color: var(--lime-600); }
.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; text-decoration: none; white-space: nowrap; }
.nav__burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255, 255, 255, .14); border: 1.5px solid currentColor; color: inherit; cursor: pointer; place-items: center; }
.burger { position: relative; width: 20px; height: 14px; display: block; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease), opacity .2s, top .3s var(--ease); }
.burger i:nth-child(1) { top: 0; } .burger i:nth-child(2) { top: 6px; } .burger i:nth-child(3) { top: 12px; }
.nav.is-open .burger i:nth-child(1) { top: 6px; transform: rotate(45deg); }
.nav.is-open .burger i:nth-child(2) { opacity: 0; }
.nav.is-open .burger i:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.drawer { position: fixed; z-index: 49; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: #fff; color: var(--ink); padding: 12px 20px max(28px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 20px; overflow-y: auto; animation: drawer .3s var(--ease); }
@keyframes drawer { from { opacity: 0; transform: translateY(-12px); } }
.drawer[hidden] { display: none; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { display: flex; align-items: center; justify-content: space-between; font: 700 26px/1 var(--display); padding: 18px 4px; border-bottom: 1px solid var(--line); text-decoration: none; }
.drawer nav a .i { color: var(--lime-600); }
.drawer__foot { display: grid; gap: 10px; margin-top: auto; }
.drawer__foot .drawer__phone { justify-content: center; padding: 8px; }
body.menu-open { overflow: hidden; }
.drawer nav a:hover, .drawer nav a[aria-current] { color: var(--lime-600); }
@media (max-width: 1080px) { .nav__burger { display: grid; } }
.drawer__phone { display: inline-flex; gap: 10px; align-items: center; font-weight: 700; text-decoration: none; color: var(--teal); }

@media (max-width: 1280px) { .nav__phone span { display: none; } .nav__links a { padding: 9px 12px; } }
@media (max-width: 1080px) {
  .nav__links, .nav__phone { display: none; }
  .nav__actions { margin-left: auto; }
  .nav__burger { display: inline-flex; align-items: center; justify-content: center; padding: 0; }
}
@media (max-width: 1080px) { .nav__login span { display: none; } .nav__login { padding: 8px 10px; } }
@media (max-width: 520px) {
  .nav__actions .btn, .nav__login { display: none; }
  .nav__logo { width: 170px; height: 46px; }
}

/* ---------- Toast ---------- */
.toast { position: fixed; z-index: 80; left: 50%; bottom: 24px; transform: translateX(-50%); max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px; background: var(--teal-950); color: #fff; font-weight: 600; box-shadow: var(--shadow); animation: toast 5s var(--ease) forwards; }
.toast--error { background: #9f1d2a; }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 20px); } 8%, 90% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 20px); visibility: hidden; } }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: max(640px, 100svh); color: #fff; background: var(--teal-950); overflow: hidden; isolation: isolate; }
.hero__slide { position: absolute; inset: 0; display: flex; align-items: center; opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__bg { position: absolute; inset: -2%; background: center/cover no-repeat; transform: scale(1.08); transition: transform 7s linear; }
.hero__slide.is-active .hero__bg { transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(1, 38, 38, calc(var(--shade) + .35)) 0%, rgba(1, 38, 38, var(--shade)) 45%, rgba(1, 38, 38, calc(var(--shade) * .3)) 100%),
  linear-gradient(0deg, rgba(1, 38, 38, .75) 0%, transparent 35%); }
.hero__content { position: relative; padding: calc(var(--nav-h) + 40px) 0 190px; }
.hero__title { font-size: clamp(42px, 7vw, 92px); font-weight: 800; letter-spacing: -.035em; line-height: .98; max-width: 14ch; margin-bottom: 24px; text-wrap: balance; }
.hero__sub { font-size: clamp(17px, 1.6vw, 20px); max-width: 52ch; color: rgba(255, 255, 255, .85); margin-bottom: 34px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__slide.is-active .hero__content > * { animation: rise .9s var(--ease) both; }
.hero__slide.is-active .hero__content > :nth-child(2) { animation-delay: .08s; }
.hero__slide.is-active .hero__content > :nth-child(3) { animation-delay: .16s; }
.hero__slide.is-active .hero__content > :nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 110px; display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 20px; max-width: 760px; margin-left: max(20px, (100% - 1240px) / 2); z-index: 2; }
.hero__dots button { background: none; border: 0; color: #fff; text-align: left; padding: 8px 0; cursor: pointer; opacity: .6; transition: opacity .2s; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; align-items: center; }
.hero__dots button[aria-selected], .hero__dots button:hover { opacity: 1; }
.hero__dot-num { font: 700 13px var(--display); }
.hero__dot-bar { height: 2px; background: rgba(255, 255, 255, .3); border-radius: 2px; overflow: hidden; }
.hero__dot-bar i { display: block; height: 100%; width: 0; background: var(--lime); }
.hero__dots button[aria-selected] .hero__dot-bar i { animation: bar var(--hero-ms, 7000ms) linear forwards; }
.hero.is-paused .hero__dots button[aria-selected] .hero__dot-bar i { animation-play-state: paused; }
.hero__dot-label { grid-column: 1 / -1; font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@keyframes bar { to { width: 100%; } }

/* ---------- Stats ---------- */
.stats-band { position: relative; z-index: 3; margin-top: -72px; }
.stats { list-style: none; margin: 0; padding: 30px 12px; display: grid; grid-template-columns: repeat(var(--n), 1fr); background: var(--teal); color: #fff; border-radius: var(--radius); box-shadow: 0 30px 60px -30px rgba(1, 38, 38, .6); }
.stats li { padding: 4px 24px; border-left: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 4px; }
.stats li:first-child { border-left: 0; }
.stats strong { font: 800 clamp(30px, 3.4vw, 46px)/1 var(--display); color: var(--lime); letter-spacing: -.02em; }
.stats .stat-label { font-size: 14px; color: rgba(255, 255, 255, .78); font-weight: 500; }
@media (max-width: 860px) {
  .stats { grid-template-columns: repeat(2, 1fr); gap: 22px 0; }
  .stats li:nth-child(odd) { border-left: 0; }
  .stats li:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 10vw, 130px) 0; position: relative; }
.section--tight { padding: clamp(60px, 8vw, 100px) 0; }
.section--mint { background: var(--mint); }
.section--pattern { background: url('../img/pattern-light.svg') 0 0 / 160px, linear-gradient(180deg, #eefbf1, #e3f7e8); }
.section__aside { max-width: 420px; display: grid; gap: 16px; justify-items: start; }
.section__aside p { margin: 0; color: var(--muted); }
.section--dark { background: var(--teal-950); color: #fff; }
.section--dark .h2 { color: #fff; }
.section__head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section__head > div { max-width: 640px; }
.section__head > p { max-width: 420px; color: var(--muted); margin: 0; }
.section__head .h2 { margin-bottom: 0; }
.section__head--center { justify-content: center; text-align: center; }
.section__head--center > div { max-width: 720px; }
.section__head--center .h2 { margin-bottom: 14px; }
.section__head--center p { color: var(--muted); }
@media (max-width: 800px) { .section__head { flex-direction: column; align-items: start; gap: 18px; } }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease) var(--d, 0ms), transform .8s var(--ease) var(--d, 0ms); }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__bg, .marquee__track { transition: none !important; animation: none !important; }
}

/* ---------- Intro ---------- */
.intro__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 100px); align-items: center; }
.intro__media { position: relative; padding: 0 0 26px 26px; }
.intro__media::before { content: ''; position: absolute; left: 0; bottom: 0; width: 72%; height: 70%; border-radius: 28px; background: var(--lime) url('../img/pattern-light.svg') center / 120px; opacity: .9; animation: drift 9s ease-in-out infinite; }
.intro__media::after { content: ''; position: absolute; top: -18px; right: 14%; width: 92px; height: 92px; border-radius: 50%; border: 2px dashed var(--lime); animation: spin 30s linear infinite; }
.intro__frame { position: relative; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(1, 38, 38, .45); }
.intro__frame img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transform-origin: 60% 40%; animation: kenburns 16s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1.02); } to { transform: scale(1.12) translate(-1.5%, -1%); } }
@keyframes drift { 50% { transform: translate(-8px, 8px); } }
@keyframes spin { to { transform: rotate(360deg); } }
.seal { position: absolute; right: -34px; bottom: 56px; width: 176px; height: 176px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; box-shadow: 0 24px 40px -18px rgba(1, 38, 38, .6); }
.seal__ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 24s linear infinite; }
.seal__ring text { font: 700 11.5px var(--body); letter-spacing: .22em; fill: var(--lime); }
.seal__in { position: relative; width: 112px; height: 112px; border-radius: 50%; background: var(--lime); color: var(--teal-950); display: grid; place-content: center; text-align: center; gap: 2px; }
.seal__in span { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; line-height: 1.25; max-width: 11ch; margin: 0 auto; }
.seal__in strong { font: 800 34px/1 var(--display); letter-spacing: -.02em; }
@media (prefers-reduced-motion: reduce) { .intro__frame img, .seal__ring, .intro__media::before, .intro__media::after { animation: none; } }
.ticks { list-style: none; padding: 0; margin: 28px 0 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.ticks li { display: flex; gap: 10px; align-items: start; font-weight: 600; }
.ticks .i { color: #fff; background: var(--lime); border-radius: 50%; padding: 3px; width: 22px; height: 22px; margin-top: 1px; }
@media (max-width: 860px) {
  .intro__grid { grid-template-columns: 1fr; }
  .intro__media img { aspect-ratio: 4 / 3; }
  .seal { right: 8px; bottom: -10px; width: 140px; height: 140px; }
  .seal__in { width: 92px; height: 92px; }
  .seal__in strong { font-size: 28px; }
  .ticks { grid-template-columns: 1fr; }
}

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.cat { position: relative; min-height: 220px; padding: 22px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); text-decoration: none; display: flex; flex-direction: column; justify-content: end; gap: 6px; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, background .35s, color .35s; }
.cat:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: var(--teal); color: #fff; }
.cat__num { position: absolute; top: 20px; left: 22px; font: 700 13px var(--display); color: var(--lime-600); }
.cat:hover .cat__num { color: var(--lime); }
.cat__name { font: 700 21px/1.15 var(--display); letter-spacing: -.01em; }
.cat__desc { font-size: 14px; color: var(--muted); transition: color .35s; }
.cat:hover .cat__desc { color: rgba(255, 255, 255, .75); }
.cat__go { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mint); color: var(--teal); transition: background .35s, transform .35s var(--ease); }
.cat:hover .cat__go { background: var(--lime); color: var(--teal-950); transform: rotate(45deg); }
.cat--img { color: #fff; border: 0; }
.cat--img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .6s var(--ease); }
.cat--img::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(1, 30, 30, .85) 0%, rgba(1, 30, 30, .35) 42%, rgba(1, 30, 30, 0) 70%); transition: background .35s; }
.cat__blur { position: absolute; left: 0; right: 0; bottom: 0; height: 62%; z-index: -1; backdrop-filter: blur(10px) saturate(1.1); -webkit-backdrop-filter: blur(10px) saturate(1.1); -webkit-mask-image: linear-gradient(to top, #000 45%, transparent); mask-image: linear-gradient(to top, #000 45%, transparent); pointer-events: none; }
.cat--img .cat__name { text-shadow: 0 2px 10px rgba(0, 0, 0, .35); }
.cat--img:hover::before { background: linear-gradient(0deg, rgba(2, 76, 76, .95) 0%, rgba(2, 76, 76, .6) 55%, rgba(2, 76, 76, .15) 100%); }
.cat--img .cat__num { color: #fff; text-shadow: 0 1px 6px rgba(0, 0, 0, .5); }
.cat--img { isolation: isolate; background: transparent; }
.cat--img .cat__desc { color: rgba(255, 255, 255, .8); }
.cat--img:hover img { transform: scale(1.06); }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .cats { grid-template-columns: repeat(2, 1fr); gap: 10px; } .cat { min-height: 160px; padding: 16px; } .cat__name { font-size: 17px; } .cat__desc { display: none; } .cat__go { width: 32px; height: 32px; } }

/* ---------- Own brands ---------- */
.own-brands { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.own { --accent: var(--lime); display: flex; flex-direction: column; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
.own:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
/* Banners carry the brand's name/slogan on the left: crop to the product photo on the right. */
.own__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.own__img img, .brand-row__img img { width: 100%; height: 100%; object-fit: cover; object-position: right center; transform-origin: right center; transform: scale(1.5); transition: transform .8s var(--ease); }
.own:hover .own__img img { transform: scale(1.58); }
.own__body { position: relative; display: grid; grid-template-columns: 124px 1fr auto; align-items: center; gap: 16px; padding: 18px 20px; border-top: 4px solid var(--accent); }
.own__logo-wrap { display: grid; place-items: center; height: 76px; }
.own__logo { max-height: 76px; width: 100%; object-fit: contain; }
.own__body h3 { font-size: 20px; margin-bottom: 2px; }
.own__body p { margin: 0; font-size: 15px; line-height: 1.4; color: var(--muted); }
.own__go { position: static; width: 40px; height: 40px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--paper); color: var(--teal); transition: background .3s, color .3s, transform .3s var(--ease); }
.own:hover .own__go { background: var(--accent); color: #fff; transform: rotate(45deg); }
@media (max-width: 1000px) { .own-brands { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .own-brands { grid-template-columns: 1fr; } }

/* ---------- Marquee ---------- */
.partners-band { overflow: hidden; }
.marquee { overflow: hidden; padding: 10px 0; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; animation-duration: 80s; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.logo-chip { width: 132px; height: 132px; flex: none; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 20px; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.logo-chip img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .3s, opacity .3s; }
.logo-chip:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow); border-color: var(--lime-200); }
.logo-chip:hover img { filter: none; opacity: 1; }
.partners-band .center { margin-top: 40px; }

/* ---------- Why ---------- */
.why { overflow: hidden; background: url('../img/pattern-dark.svg') 0 0 / 150px, var(--teal-950); }
.why::before { content: ''; position: absolute; right: -240px; top: -240px; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(106, 191, 75, .22), transparent 65%); pointer-events: none; }
.why__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why__card { background: var(--teal-900); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--radius); overflow: hidden; transition: transform .4s var(--ease), border-color .4s, background .4s; }
.why__card:hover { transform: translateY(-6px); border-color: rgba(106, 191, 75, .45); background: #024242; }
.why__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--teal); }
.why__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.why__card:hover .why__img img { transform: scale(1.07); }
.why__body { position: relative; padding: 34px 26px 28px; }
.why__icon { position: absolute; top: -24px; left: 24px; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--lime); color: var(--teal-950); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .5); }
.why__card h3 { font-size: 21px; margin-bottom: 8px; }
.why__card p { color: rgba(255, 255, 255, .72); margin: 0; font-size: 15px; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .why__grid { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, var(--paper), #fff); }
.anchor { position: absolute; top: 0; }
.contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.contact__list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 18px; }
.contact__list li { display: flex; gap: 16px; align-items: start; }
.contact__list small { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 2px; }
.contact__list a, .contact__list span { font-weight: 700; text-decoration: none; font-size: 17px; }
.contact__list a:hover { color: var(--lime-600); }
.ci { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--mint); color: var(--teal); }
.card { background: #fff; border-radius: 24px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form { padding: clamp(22px, 4vw, 40px); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field > span { font-size: 13px; font-weight: 700; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .2s, background .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--lime); background: #fff; box-shadow: 0 0 0 4px rgba(106, 191, 75, .18); }
.field textarea { resize: vertical; min-height: 120px; }
.seg { border: 0; padding: 0; margin: 0 0 4px; display: flex; flex-wrap: wrap; gap: 8px; }
.seg legend { font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 8px; padding: 0; }
.seg label { cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: inline-block; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14px; transition: all .2s; }
.seg input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.seg input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 2px; }
.hp { position: absolute; left: -9999px; }
.form__note { margin: 0; font-weight: 600; font-size: 14px; min-height: 1em; }
.form__note.is-ok { color: var(--lime-600); }
.form__note.is-err { color: #b3261e; }
.map { margin-top: 60px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); height: 380px; background: var(--paper); }
.map iframe { width: 100%; height: 100%; border: 0; filter: saturate(.7) hue-rotate(-10deg); }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } .map { height: 300px; } }

/* ---------- Page hero ---------- */
.phero { position: relative; background: var(--teal-950); color: #fff; padding: calc(var(--nav-h) + clamp(70px, 10vw, 130px)) 0 clamp(70px, 9vw, 120px); overflow: hidden; isolation: isolate; }
.phero__bg { position: absolute; inset: 0; background: center/cover; z-index: -2; }
.phero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(1, 38, 38, .92), rgba(1, 38, 38, .55)); }
.phero--plain { padding-top: clamp(70px, 9vw, 120px); background: radial-gradient(900px 400px at 85% 0%, rgba(106, 191, 75, .25), transparent 60%), var(--teal-950); }
.phero--plain::after { display: none; }
.phero__title { font-size: clamp(40px, 6vw, 76px); font-weight: 800; letter-spacing: -.03em; max-width: 18ch; margin-bottom: 20px; text-wrap: balance; }
.phero__sub { font-size: clamp(17px, 1.6vw, 20px); color: rgba(255, 255, 255, .82); max-width: 58ch; margin: 0; }

/* ---------- About ---------- */
.story { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.story__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: sticky; top: calc(var(--nav-h) + 24px); }
.story__stats div { background: var(--mint); border-radius: 18px; padding: 22px; display: grid; gap: 4px; }
.story__stats div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.story__stats strong { font: 800 36px/1 var(--display); color: var(--teal); }
.story__stats .stat-label { font-size: 14px; color: var(--muted); font-weight: 600; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv__card { background: #fff; border-radius: 24px; padding: clamp(28px, 4vw, 48px); border: 1px solid var(--line); }
.mv__card p { font: 600 clamp(19px, 2vw, 24px)/1.4 var(--display); margin: 0; letter-spacing: -.01em; }
.mv__card--dark { background: var(--teal); color: #fff; border: 0; }
.mv__tag { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--lime); color: var(--teal-950); font-weight: 700; font-size: 13px; margin-bottom: 24px; text-transform: uppercase; letter-spacing: .08em; }
.wide-img img { width: 100%; max-height: 520px; object-fit: cover; }
.values { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(40px, 7vw, 100px); }
.values__list { list-style: none; margin: 0; padding: 0; }
.values__list li { display: flex; gap: 20px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font: 600 clamp(18px, 1.8vw, 22px) var(--display); }
.values__list li span { font-size: 13px; color: var(--lime-600); }
@media (max-width: 860px) { .story, .mv, .values { grid-template-columns: 1fr; } .story__stats { position: static; } }

/* ---------- Brands page ---------- */
.brand-rows { display: grid; gap: clamp(50px, 7vw, 90px); }
.brand-row { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.brand-row:nth-child(even) .brand-row__img { order: 2; }
.brand-row__img { display: block; border-radius: 26px; overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow); }
.brand-row__img:hover img { transform: scale(1.56); }
.brand-row__logo { height: 96px; width: auto; max-width: 260px; object-fit: contain; object-position: left center; margin-bottom: 18px; }
.brand-row .btn { margin-top: 4px; }
.chip--link { text-decoration: none; transition: background .2s, color .2s; }
.chip--link:hover { background: var(--lime); color: var(--teal-950); }
.brand-row .chips { margin: 14px 0 22px; }
.brand-row .h3 a { text-decoration: none; }
.brand-row .h3 a:hover { color: var(--lime-600); }
.brand-row__body > p { font-size: 17px; }
.brand-row__tag { font-weight: 700; color: var(--accent); margin-bottom: 14px; }
.brand-row__body > p:not(.brand-row__tag) { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 26px; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 999px; background: var(--paper); font-size: 13px; font-weight: 600; }
.chip--accent { background: var(--accent); color: #fff; }
@media (max-width: 860px) { .brand-row { grid-template-columns: 1fr; } .brand-row:nth-child(even) .brand-row__img { order: 0; } }

.search { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 18px; min-width: min(340px, 100%); color: var(--muted); }
.search:focus-within { border-color: var(--lime); }
.search input { border: 0; outline: 0; font: inherit; padding: 13px 0; flex: 1; background: none; color: var(--ink); min-width: 0; }
.logo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.logo-tile { position: relative; aspect-ratio: 1; background: #fff; border-radius: 20px; padding: 20px; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
.logo-tile img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s var(--ease); }
.logo-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(106, 191, 75, .16) 50%, transparent 65%); transform: translateX(-100%); transition: transform .7s var(--ease); pointer-events: none; }
.logo-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--lime-200); }
.logo-tile:hover img { transform: scale(1.08); }
.logo-tile:hover::after { transform: translateX(100%); }
[data-stagger] .logo-tile { opacity: 0; transform: translateY(18px) scale(.96); }
[data-stagger].is-in .logo-tile { opacity: 1; transform: none; transition: opacity .6s var(--ease) calc(var(--i) * 45ms), transform .6s var(--ease) calc(var(--i) * 45ms), box-shadow .35s, border-color .35s; }
[data-stagger].is-in .logo-tile:hover { transform: translateY(-5px); transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
@media (prefers-reduced-motion: reduce) { [data-stagger] .logo-tile { opacity: 1; transform: none; } }
.logo-tile[hidden] { display: none; }
.empty { text-align: center; color: var(--muted); padding: 30px 0; }

/* Brand detail */
.bhero { position: relative; color: #fff; padding: calc(var(--nav-h) + 90px) 0 90px; overflow: hidden; isolation: isolate; background: var(--teal-950); }
/* Brand banners carry their own logo/text on the left, so show the photo on the right and fade it out under the headline. */
.bhero__bg { position: absolute; inset: 0 0 0 38%; background: right center/cover; z-index: -2; }
.bhero::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--teal-950) 42%, rgba(1, 38, 38, .9) 56%, rgba(1, 38, 38, .1) 85%); }
@media (max-width: 700px) { .bhero__bg { inset: 0; } .bhero::after { background: rgba(1, 38, 38, .85); } }
.bhero__logo { margin: 30px 0 14px; }
.bhero__logo img { height: clamp(96px, 12vw, 150px); width: auto; max-width: min(420px, 80vw); object-fit: contain; filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .35)); }
.chips--dark { margin: 22px 0 0; }
.chips--dark .chip { background: rgba(255, 255, 255, .1); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(6px); }
.chips--dark .chip:hover { background: var(--lime); color: var(--teal-950); border-color: var(--lime); }
.bproducts__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 34px; }
.bprod { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 12px 12px 16px; transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
.bprod:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--lime-200); }
.bprod__img { aspect-ratio: 1; background: var(--paper); border-radius: 14px; padding: 14px; margin-bottom: 8px; }
.bprod__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.bprod:hover .bprod__img img { transform: scale(1.06); }
.bprod__name { font-weight: 700; line-height: 1.3; }
@media (max-width: 860px) { .bproducts__grid { grid-template-columns: repeat(2, 1fr); } }
.back { display: table; color: rgba(255, 255, 255, .8); text-decoration: none; font-weight: 600; }
.back:hover { color: #fff; }
.bdetail { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(40px, 7vw, 100px); align-items: start; }
.bfacts { margin: 0; background: var(--mint); border-radius: 24px; padding: 10px 28px; }
.bfacts div { padding: 18px 0; border-bottom: 1px solid var(--line); }
.bfacts div:last-child { border: 0; }
.bfacts dt { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.bfacts dd { margin: 4px 0 0; font: 700 20px var(--display); }
.own-brands--sm { margin-top: 36px; }
@media (max-width: 860px) { .bdetail { grid-template-columns: 1fr; } }

/* Careers */
.perks { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.perk { padding: 28px; border-radius: var(--radius); background: var(--mint); }
.perk span { font: 700 13px var(--display); color: var(--lime-600); }
.perk h3 { font-size: 24px; margin: 30px 0 8px; }
.perk p { color: var(--muted); margin: 0; }
.apply { display: flex; justify-content: space-between; align-items: center; gap: 40px; flex-wrap: wrap; }
.apply > div:first-child { max-width: 620px; }
.apply .lead-sm { color: rgba(255, 255, 255, .75); }
.apply__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 900px) { .perks { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .perks { grid-template-columns: 1fr; } .apply__ctas .btn { white-space: normal; } }

.prose { max-width: 760px; }
.prose h2 { font-size: 30px; margin: 40px 0 14px; }
.prose h2:first-child { margin-top: 0; }
.prose p { color: var(--muted); font-size: 17px; }

/* ---------- Footer ---------- */
.footer { background: var(--teal-950); color: rgba(255, 255, 255, .75); padding: 80px 0 28px; }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.footer__brand img { width: 180px; height: auto; margin-bottom: 20px; }
.footer__brand p { max-width: 34ch; font-size: 15px; }
.footer h4 { color: #fff; font: 700 13px var(--body); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 18px; }
.footer__col { display: flex; flex-direction: column; gap: 12px; }
.footer__col a { text-decoration: none; transition: color .2s; }
.footer__col a:hover { color: var(--lime); }
.footer__contact a, .footer__contact > span { display: flex; gap: 10px; align-items: start; }
.footer__contact .i { margin-top: 4px; color: var(--lime); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .2); color: #fff; transition: background .2s, color .2s, border-color .2s; }
.socials a:hover { background: var(--lime); color: var(--teal-950); border-color: var(--lime); }
.footer__bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 14px; }
.footer__bottom a { text-decoration: none; }
.credit { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; letter-spacing: .02em; color: #7e9c99; opacity: .85; transition: opacity .2s; }
.credit:hover { opacity: 1; }
.credit img { height: 26px; width: auto; }
.footer__bottom { align-items: center; }
.footer__bottom a:hover { color: #fff; }
@media (max-width: 900px) { .footer__top { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__top { grid-template-columns: 1fr; } }

/* ---------- Catalog ---------- */
.cat-hero { background: radial-gradient(900px 380px at 88% -10%, rgba(106, 191, 75, .28), transparent 60%), var(--teal-950); color: #fff; padding: clamp(40px, 6vw, 70px) 0 clamp(44px, 6vw, 64px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: rgba(255, 255, 255, .6); margin-bottom: 18px; }
.crumbs a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.crumbs a:hover { color: var(--lime); }
.cat-hero__title { font-size: clamp(34px, 5vw, 60px); font-weight: 800; letter-spacing: -.03em; margin-bottom: 12px; }
.cat-hero__sub { color: rgba(255, 255, 255, .75); max-width: 62ch; margin-bottom: 28px; }
.cat-search { display: flex; align-items: center; gap: 12px; max-width: 720px; background: #fff; border-radius: 999px; padding: 6px 6px 6px 22px; color: var(--muted); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .5); }
.cat-search input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 16px; padding: 12px 0; color: var(--ink); background: none; }
.cat-search:focus-within { box-shadow: 0 0 0 4px rgba(106, 191, 75, .45); }

.cat-sticky { position: sticky; top: var(--nav-h); z-index: 30; background: rgba(255, 255, 255, .95); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); box-shadow: 0 10px 24px -20px rgba(1, 38, 38, .4); transition: top .35s var(--ease); }
.nav.is-hidden ~ main .cat-sticky { top: 0; }
.cat-sticky__in { display: grid; gap: 10px; padding: 14px 0 10px; }
.cat-sticky .cat-search { max-width: none; box-shadow: none; border: 1.5px solid var(--line); background: var(--paper); padding: 4px 4px 4px 18px; }
.cat-sticky .cat-search:focus-within { background: #fff; border-color: var(--lime); box-shadow: 0 0 0 4px rgba(106, 191, 75, .18); }
.cat-sticky .cat-search input { padding: 9px 0; }
.dept-bar__in { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 4px; scrollbar-width: none; }
.dept-bar__in::-webkit-scrollbar { display: none; }
.dept { display: inline-flex; align-items: center; gap: 8px; flex: none; padding: 6px 14px 6px 6px; border-radius: 999px; border: 1px solid var(--line); text-decoration: none; font-weight: 600; font-size: 14px; white-space: nowrap; transition: border-color .2s, background .2s, color .2s; }
.dept:first-child { padding-left: 14px; }
.dept img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; }
.dept:hover { border-color: var(--lime); color: var(--lime-600); }
.dept.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }

.catalog__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px; align-items: start; }
.filters h2 { font: 700 13px var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.filters__group { display: grid; gap: 2px; }
.fl { display: flex; justify-content: space-between; gap: 8px; padding: 7px 10px; border-radius: 10px; text-decoration: none; font-size: 14px; font-weight: 500; }
.fl small { color: var(--muted); font-size: 12px; }
.fl:hover { background: var(--mint); color: var(--teal); }
.fl--house { font-weight: 700; color: var(--teal); }
.fl.is-on { background: var(--mint); color: var(--teal); font-weight: 700; box-shadow: inset 3px 0 0 var(--lime); }
.fl[hidden] { display: none; }
.filters__find { width: 100%; font: inherit; font-size: 14px; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; }
.filters__find:focus { outline: 0; border-color: var(--lime); }
.filters__list { display: grid; gap: 2px; max-height: 340px; overflow-y: auto; }
.filters__cta { background: var(--mint); border-radius: 16px; padding: 18px; display: grid; gap: 10px; font-size: 14px; }
.filters__cta p { margin: 0; color: var(--muted); }
.filters { position: fixed; inset: 0 auto 0 0; z-index: 70; width: min(340px, 88vw); overflow-y: auto; overscroll-behavior: contain; display: grid; align-content: start; gap: 26px; background: #fff; padding: 64px 22px 30px; box-shadow: 30px 0 60px rgba(0, 0, 0, .25); transform: translateX(-105%); transition: transform .3s var(--ease); }
.filters.is-open { transform: none; }
.filters__close { display: grid; place-items: center; position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; border: 0; background: var(--paper); border-radius: 50%; cursor: pointer; }
/* Filters: a drawer from the left on every screen size, opened by the pull-tab on the left edge (tap, or swipe on touch) — it rides along the drawer's edge */
.filters.is-drag { transition: none; }
.ftab { display: grid; align-items: center; position: fixed; left: 0; top: 50%; z-index: 71; width: 40px; height: 128px; margin-top: -64px; padding: 0 0 0 4px; justify-items: start; border: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 128'%3E%3Cpath d='M0 0C0 30 36 34 36 64S0 98 0 128Z' fill='%236abf4b'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat; color: #fff; filter: drop-shadow(3px 5px 8px rgba(1, 38, 38, .22)); cursor: pointer; transform: translateX(calc(-100% - 40px)); transition: transform .3s var(--ease), filter .3s; touch-action: none; -webkit-tap-highlight-color: transparent; }
.ftab svg { transform: rotate(-90deg); transition: transform .3s var(--ease); stroke-width: 2.6; }
.ftab.is-shown { transform: translateX(0); }
.ftab.is-open { transform: translateX(min(340px, 88vw)); }
.ftab.is-open svg { transform: rotate(90deg); }
.ftab.is-drag { transition: none; }
.ftab__n { position: absolute; top: 30px; left: 5px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--teal); color: #fff; font: 700 10.5px/18px var(--body); font-style: normal; text-align: center; box-shadow: 0 0 0 1.5px #fff; }
.ftab.is-open .ftab__n { display: none; }
.filters-dim { display: block; position: fixed; inset: 0; z-index: 69; background: rgba(1, 26, 26, .38); opacity: 0; pointer-events: none; transition: opacity .3s; }
.filters-dim.is-on { opacity: 1; pointer-events: auto; }
.filters-open { display: inline-flex; }
.filters__clear { position: absolute; top: 14px; left: 22px; height: 40px; display: inline-flex; align-items: center; gap: 7px; padding: 0 14px 0 12px; border-radius: 999px; background: var(--mint); color: var(--teal); font: 700 14px var(--body); text-decoration: none; transition: background .2s, color .2s; }
.filters__clear b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--teal); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.filters__clear:hover { background: var(--lime); color: var(--teal-950); }
/* hover: the bump pops out from the edge (it grows from its base, so it never leaves the edge), the arrow nudges */
.ftab { transform-origin: left center; }
@media (hover: hover) {
  .ftab.is-shown:hover { transform: scale(1.14); filter: drop-shadow(4px 7px 12px rgba(1, 38, 38, .3)); transition: transform .38s cubic-bezier(.34, 1.7, .6, 1), filter .3s; }
  .ftab.is-open:hover { transform: translateX(min(340px, 88vw)) scale(1.14); }
  .ftab:hover svg { transform: rotate(-90deg) translateY(2px); }
  .ftab.is-open:hover svg { transform: rotate(90deg) translateY(2px); }
}
.ftab.is-shown:active { transform: scale(1.04); transition-duration: .12s; }
.ftab.is-open:active { transform: translateX(min(340px, 88vw)) scale(1.04); }
.ftab:focus { outline: none; }                /* no box around a curved tab — keyboard focus gets a ring that follows the curve */
.ftab:focus-visible { filter: drop-shadow(0 0 0 var(--teal)) drop-shadow(0 0 2px var(--teal)) drop-shadow(3px 5px 8px rgba(1, 38, 38, .22)); }

.results__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.results__bar p { margin: 0; color: var(--muted); }
.results__bar b { color: var(--ink); }
.results__tools { display: flex; gap: 10px; align-items: center; }
.sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); font-weight: 600; }
.sort select { font: inherit; font-weight: 600; color: var(--ink); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 16px; }
.product { display: flex; flex-direction: column; text-align: left; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px 12px 16px; cursor: pointer; animation: pop .5s var(--ease) both; animation-delay: calc(var(--i) * 30ms); transition: transform .3s var(--ease), box-shadow .3s, border-color .3s; }
@keyframes pop { from { opacity: 0; transform: translateY(12px); } }
.product:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--lime-200); }
.product__img { aspect-ratio: 1; border-radius: 12px; background: var(--paper); display: grid; place-items: center; padding: 12px; margin-bottom: 12px; color: var(--line); overflow: hidden; }
.product__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.product:hover .product__img img { transform: scale(1.06); }
.product__brand { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--lime-600); margin-bottom: 4px; }
.product__name { font-weight: 700; font-size: 15px; line-height: 1.3; margin-bottom: 6px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.product__meta { margin-top: auto; font-size: 13px; color: var(--muted); }
.empty-box { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 70px 20px; background: var(--paper); border-radius: 24px; color: var(--muted); }
.empty-box h2 { color: var(--ink); font-size: 26px; }
.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 40px; }
.pager a, .pager span { min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center; border-radius: 12px; text-decoration: none; font-weight: 700; border: 1px solid var(--line); }
.pager span { border: 0; color: var(--muted); }
.pager a:hover { border-color: var(--lime); color: var(--lime-600); }
.pager a[aria-current] { background: var(--teal); color: #fff; border-color: var(--teal); }

.pmodal { width: min(880px, calc(100% - 32px)); border: 0; border-radius: 26px; padding: 0; box-shadow: 0 40px 80px -20px rgba(0, 0, 0, .45); color: var(--ink); }
.pmodal::backdrop { background: rgba(1, 38, 38, .55); backdrop-filter: blur(4px); }
.pmodal[open] { animation: modal .35s var(--ease); }
@keyframes modal { from { opacity: 0; transform: translateY(20px) scale(.98); } }
.pmodal__x { position: absolute; top: 14px; right: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.pmodal__grid { display: grid; grid-template-columns: 1fr 1fr; }
.pmodal { width: min(1000px, calc(100% - 32px)); max-height: calc(100vh - 40px); }
.pmodal.is-loading .pmodal__grid { opacity: .5; transition: opacity .2s; }
.pmodal__media { background: var(--paper); display: flex; flex-direction: column; padding: 28px; gap: 14px; }
.pmodal__img { flex: 1; display: grid; place-items: center; min-height: 360px; }
.pmodal__img img { max-height: 420px; width: 100%; object-fit: contain; mix-blend-mode: multiply; animation: fadein .35s var(--ease); }
@keyframes fadein { from { opacity: 0; transform: scale(.98); } }
.pmodal__thumbs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.pmodal__thumbs:empty { display: none; }
.pmodal__thumbs button { width: 58px; height: 58px; padding: 5px; border-radius: 12px; border: 2px solid transparent; background: #fff; cursor: pointer; }
.pmodal__thumbs button.is-on { border-color: var(--lime); }
.pmodal__thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pmodal__body { padding: 38px 32px 28px; display: flex; flex-direction: column; max-height: calc(100vh - 40px); overflow-y: auto; }
.pmodal__body h2 { font-size: 27px; margin: 4px 0 12px; padding-right: 30px; }
.item-no { align-self: flex-start; display: inline-flex; gap: 6px; align-items: center; background: var(--lime); color: #fff; border-radius: 10px; padding: 6px 12px; font-size: 13px; font-weight: 600; margin-bottom: 14px; }
.item-no b { font-weight: 800; letter-spacing: .03em; }
.ptags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.ptags:empty { display: none; }
.ptag { padding: 4px 10px; border-radius: 999px; background: var(--mint); color: var(--teal); font-size: 12px; font-weight: 700; }
.ptag--house { background: var(--teal); color: #fff; }
.pmodal__body dl { margin: 0 0 22px; display: grid; gap: 0; }
.pmodal__body dt small { display: block; font-size: 11px; letter-spacing: .06em; }
.related h3 { font: 700 13px var(--body); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 10px; }
.related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.rel { display: flex; flex-direction: column; text-align: left; gap: 3px; font: inherit; color: inherit; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 10px; cursor: pointer; transition: border-color .2s, transform .25s var(--ease); }
.rel:hover { border-color: var(--lime); transform: translateY(-3px); }
.rel__img { aspect-ratio: 1; border-radius: 10px; background: var(--paper); padding: 6px; margin-bottom: 4px; }
.rel__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.rel__brand { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--lime-600); }
.rel__name { font-size: 12.5px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pmodal__note a { color: var(--teal); font-weight: 700; }
.pmodal__body dl div { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.pmodal__body dt { color: var(--muted); }
.pmodal__body dd { margin: 0; font-weight: 700; text-align: right; }
.pmodal__body [hidden] { display: none; }
.pmodal__note { margin: 12px 0 0; font-size: 13px; color: var(--muted); text-align: center; }

@media (max-width: 900px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .pmodal__grid { grid-template-columns: 1fr; }
  .pmodal__img { min-height: 0; }
  .pmodal__img img { max-height: 240px; }
  .pmodal__media { padding: 20px; }
  .pmodal__body { max-height: none; overflow: visible; }
  .pmodal { overflow-y: auto; }
  .pmodal__body { padding: 26px 22px 24px; }
}
@media (max-width: 420px) { .cat-search .btn { display: none; } .cat-search { padding-right: 18px; } }

/* ---------- Job application ---------- */
.apply-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.apply-form { gap: 26px; }
.apply-form__sec { border: 0; padding: 0 0 26px; margin: 0; display: grid; gap: 16px; border-bottom: 1px solid var(--line); }
.apply-form__sec > legend { display: flex; align-items: center; gap: 10px; font: 700 20px var(--display); margin-bottom: 16px; padding: 0; }
.apply-form__sec > legend span { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--teal-950); font-size: 14px; }
.field select { width: 100%; font: inherit; padding: 13px 15px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--paper); color: var(--ink); }
.field select:focus { outline: 0; border-color: var(--lime); background: #fff; }
.filedrop { position: relative; display: flex; align-items: center; gap: 14px; padding: 20px; border: 2px dashed var(--line); border-radius: 16px; background: var(--paper); cursor: pointer; color: var(--muted); transition: border-color .2s, background .2s; }
.filedrop:hover, .filedrop.is-over, .filedrop.has-file { border-color: var(--lime); background: var(--mint); color: var(--teal); }
.filedrop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.form__fine { margin: 0; font-size: 13px; color: var(--muted); text-align: center; }
.apply-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.apply-side__img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 22px; margin-bottom: 26px; }
.apply-side h2 { font-size: 26px; margin-bottom: 4px; }
.apply-side .ticks { grid-template-columns: 1fr; margin: 18px 0 24px; }
.apply-side .ticks li { font-weight: 500; }
.muted-sm { color: var(--muted); font-size: 14px; }
.sent { padding: clamp(30px, 5vw, 56px); display: grid; gap: 14px; justify-items: start; }
.sent h2 { font-size: 30px; }
.sent p { color: var(--muted); margin: 0 0 8px; }
.sent__icon { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--teal-950); }
@media (max-width: 900px) { .apply-grid { grid-template-columns: 1fr; } .apply-side { position: static; } }
.section.catalog { padding-top: 34px; }


/* Catalog: group headings, promo hero */
.pgroup { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 12px; margin: 18px 0 2px; padding-bottom: 10px; border-bottom: 2px solid var(--mint-2); font: 700 20px var(--display); }
.pgroup:first-child { margin-top: 0; }
.pgroup span { font: 600 14px var(--body); color: var(--muted); }
.pgroup span::before { content: '·'; margin-right: 10px; color: var(--lime); }
/* Fixed height so the page never jumps when promos rotate. The picture fills the right 70% and fades into the text side. */
.cat-hero--promo { position: relative; padding: 0; overflow: hidden; height: 406px; }
.promo { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .8s var(--ease), visibility .8s; }
.promo.is-on { opacity: 1; visibility: visible; }
.promo__in { display: flex; align-items: center; height: 100%; padding: 28px 0 44px; }
.promo__text { position: relative; z-index: 2; min-width: 0; max-width: min(560px, 48%); }
.promo__text .cat-hero__title { font-size: clamp(28px, 3vw, 44px); line-height: 1.08; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; text-wrap: balance; text-shadow: 0 2px 18px rgba(1, 38, 38, .55); }
.promo__text .cat-hero__sub { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 20px; color: rgba(255, 255, 255, .85); text-shadow: 0 1px 12px rgba(1, 38, 38, .6); }
.promo__media { position: absolute; top: 0; right: 0; bottom: 0; width: 70%; z-index: 1;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 14%, #000 42%); mask-image: linear-gradient(90deg, transparent 0, rgba(0, 0, 0, .35) 14%, #000 42%); }
/* the text side: the dark teal melts into the picture, with a soft lime glow */
.promo__media::after { content: ''; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background: linear-gradient(90deg, var(--teal-950) 0%, rgba(1, 38, 38, .72) 22%, rgba(1, 38, 38, .18) 48%, transparent 70%),
              linear-gradient(0deg, rgba(1, 38, 38, .55), transparent 30%),
              radial-gradient(420px 300px at 0% 50%, rgba(106, 191, 75, .22), transparent 70%); mix-blend-mode: normal; }
.pframe { position: absolute; inset: 0; display: block; overflow: hidden; background: var(--teal-950); }
.pframe img, .pframe video { width: 100%; height: 100%; object-fit: cover; object-position: center; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.pframe:hover img, .pframe:hover video { transform: scale(1.06); }
.pframe__shine { position: absolute; inset: 0; z-index: 3; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 70%) var(--my, 30%), rgba(255, 255, 255, .16), transparent 45%); opacity: 0; transition: opacity .3s; }
.pframe:hover .pframe__shine { opacity: 1; }
.promo.is-on .promo__text > * { animation: rise .8s var(--ease) both; }
.promo.is-on .promo__text > :nth-child(2) { animation-delay: .08s; }
.promo.is-on .promo__text > :nth-child(3) { animation-delay: .16s; }
.promo.is-on .pframe img, .promo.is-on .pframe video { animation: promoZoom 9s ease-out both; }
@keyframes promoZoom { from { transform: scale(1.1); } to { transform: scale(1.02); } }

.promo__until { align-self: center; font-weight: 700; color: var(--lime); font-size: 14px; }
.promo__dots { position: absolute; left: 0; right: 0; bottom: 18px; z-index: 3; display: flex; gap: 8px; }
.promo__dots button { width: 28px; height: 4px; border-radius: 2px; border: 0; background: rgba(255, 255, 255, .3); cursor: pointer; padding: 0; }
.promo__dots button.is-on { background: var(--lime); }
@media (max-width: 1100px) {
  .cat-hero--promo { height: 364px; }
}
@media (max-width: 760px) {
  .cat-hero--promo { height: 440px; }
  .promo__in { align-items: flex-end; padding: 0 0 40px; }
  .promo__text { max-width: none; }
  .promo__media { left: 0; width: auto; bottom: auto; height: 62%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%); mask-image: linear-gradient(180deg, #000 55%, transparent 100%); }
  .promo__media::after { background: linear-gradient(0deg, var(--teal-950) 0%, rgba(1, 38, 38, .4) 35%, transparent 65%); }
  .promo__text .cat-hero__title { font-size: 26px; }
}

/* Wholesale account application */
.acct { max-width: 980px; }
.steps { list-style: none; margin: 0 0 22px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; counter-reset: s; }
.steps li { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-weight: 700; font-size: 14px; color: var(--muted); transition: background .3s, color .3s; }
.steps li span { width: 28px; height: 28px; flex: none; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); font-size: 13px; }
.steps li.is-on { background: var(--teal); color: #fff; }
.steps li.is-on span { background: var(--lime); border-color: var(--lime); color: var(--teal-950); }
.steps li.is-done { color: var(--teal); cursor: pointer; }
.steps li.is-done span { background: var(--mint); border-color: var(--lime); }
@media (max-width: 820px) { .steps { grid-template-columns: repeat(5, auto); overflow-x: auto; } .steps li { font-size: 0; padding: 8px; gap: 0; } .steps li.is-on { font-size: 13px; gap: 8px; padding: 8px 14px; } }
.acct-form { gap: 0; grid-template-columns: minmax(0, 1fr); }
.acct-step { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; min-width: 0; } /* fieldsets default to min-width: min-content — made the form wider than a phone */
.acct-step select, .acct-step input, .acct-step textarea { max-width: 100%; min-width: 0; }
.acct-step[hidden] { display: none; }
.acct-step.is-on { animation: rise .5s var(--ease); }
.acct-step > legend { font: 700 26px var(--display); letter-spacing: -.02em; margin-bottom: 18px; padding: 0; }
.acct-sub { font: 700 16px var(--display); margin: 10px 0 -4px; }
.acct-sub small { color: var(--muted); font: 500 13px var(--body); }
.form__row--3 { grid-template-columns: repeat(3, 1fr); }
.form__row--addr { grid-template-columns: 2fr 1fr 1fr; }
.form__row--addr .span-2 { grid-column: 1 / -1; }
@media (max-width: 700px) { .form__row--3, .form__row--addr { grid-template-columns: 1fr; } }
.field.has-error input, .field.has-error select, .field.has-error .sigpad { border-color: #d0453a !important; background: #fff6f5; }
.check.has-error span { color: #b3261e; }
.acct-lock { display: flex; gap: 8px; align-items: center; margin: 4px 0 0; font-size: 13px; color: var(--muted); }
.acct-lock .i { color: var(--lime-600); }
.terms { margin: 0; padding: 18px 20px 18px 40px; background: var(--paper); border-radius: 16px; display: grid; gap: 8px; color: var(--muted); }
.owner { display: grid; gap: 16px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; }
.owner--opt { background: #fcfdfc; }
.guaranty { display: grid; gap: 14px; padding: 22px; background: var(--paper); border-radius: 16px; font-size: 14px; color: var(--muted); }
.guaranty p { margin: 0; }
.sigpad { position: relative; height: 150px; border: 1.5px dashed var(--line); border-radius: 14px; background: #fff; touch-action: none; }
.sigpad canvas { width: 100%; height: 100%; display: block; cursor: crosshair; }
.sigpad__hint { position: absolute; inset: 0; display: grid; place-items: center; color: #b7c4c3; font-style: normal; pointer-events: none; font-size: 14px; }
.sigpad.is-signed .sigpad__hint { display: none; }
.sigpad::after { content: ''; position: absolute; left: 20px; right: 20px; bottom: 34px; border-bottom: 1px solid var(--line); pointer-events: none; }
.sigpad__clear { position: absolute; top: 8px; right: 8px; z-index: 2; border: 0; background: var(--paper); border-radius: 8px; padding: 4px 10px; font: 600 12px var(--body); cursor: pointer; color: var(--muted); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; cursor: pointer; padding: 14px 16px; border-radius: 14px; background: var(--mint); }
.check input { width: 20px; height: 20px; accent-color: var(--teal); margin-top: 1px; flex: none; }
.acct-error { margin: 18px 0 0; padding: 12px 16px; border-radius: 12px; background: #fdecea; color: #9f1d2a; font-weight: 600; }
.acct-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; padding-top: 20px; border-top: 1px solid var(--line); }
.acct-nav [data-next], .acct-nav [data-submit] { margin-left: auto; }
.acct-nav { flex-wrap: wrap; } .acct-nav [hidden] { display: none; }

/* ---------- Website chat ---------- */
.chatw { position: fixed; right: 20px; bottom: 20px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.chatw[hidden] { display: none; }
.chatw__bubble { position: relative; width: 60px; height: 60px; border-radius: 50%; border: 0; background: var(--teal); color: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(1, 38, 38, .6); transition: transform .25s var(--ease), background .2s; }
.chatw__bubble:hover { transform: scale(1.06); background: var(--teal-600); }
.chatw.is-open .chatw__bubble { background: var(--lime); color: var(--teal-950); }
.chatw__dot { position: absolute; top: 4px; right: 4px; width: 14px; height: 14px; border-radius: 50%; background: #e0452b; border: 2px solid #fff; }
.chatw__panel { width: min(380px, calc(100vw - 32px)); height: min(560px, calc(100vh - 120px)); background: #fff; border-radius: 22px; box-shadow: 0 30px 70px -20px rgba(1, 38, 38, .45); display: flex; flex-direction: column; overflow: hidden; animation: modal .3s var(--ease); border: 1px solid var(--line); }
.chatw__panel[hidden] { display: none; }
.chatw__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--teal); color: #fff; }
.chatw__head b { display: block; font-family: var(--display); font-size: 16px; }
.chatw__head small { color: rgba(255, 255, 255, .75); font-size: 12px; }
.chatw__avatar { width: 38px; height: 38px; border-radius: 50%; background: var(--teal-950); display: grid; place-items: center; padding: 6px; }
.chatw__x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center; cursor: pointer; }
.chatw__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: url('../img/pattern-light.svg') 0 0 / 140px, var(--paper); }
.cmsg { max-width: 85%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.45; word-wrap: break-word; }
.cmsg a { color: inherit; font-weight: 700; }
.cmsg--bot, .cmsg--agent { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.cmsg--agent { border-color: var(--lime); }
.cmsg--agent small { display: block; font-size: 11px; font-weight: 700; color: var(--lime-600); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 2px; }
.cmsg--user { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 4px; }
.cmsg--typing { display: flex; gap: 4px; padding: 14px; }
.cmsg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.cmsg--typing i:nth-child(2) { animation-delay: .2s; } .cmsg--typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.chatw__quick { display: flex; flex-wrap: wrap; gap: 6px; }
.chatw__quick button { font: 600 13px var(--body); padding: 7px 12px; border-radius: 999px; border: 1.5px solid var(--lime); background: #fff; color: var(--teal); cursor: pointer; }
.chatw__quick button:hover { background: var(--lime); color: var(--teal-950); }
.chatw__form { display: flex; align-items: flex-end; gap: 8px; padding: 10px; border-top: 1px solid var(--line); }
.chatw__form[hidden], .chatw__pause[hidden] { display: none; }
.chatw__pause { padding: 12px 14px; border-top: 1px solid var(--line); background: #fff7ed; font-size: 14px; line-height: 1.45; color: #7a3d12; display: grid; gap: 6px; }
.chatw__pause p { margin: 0; }
.chatw__wait b { font-variant-numeric: tabular-nums; }
.chatw__fresh { justify-self: start; font: 700 14px var(--body); padding: 9px 16px; border-radius: 999px; border: 0; background: var(--lime); color: var(--teal-950); cursor: pointer; }
.chatw__form textarea { flex: 1; resize: none; font: inherit; font-size: 15px; padding: 10px 12px; border-radius: 14px; border: 1.5px solid var(--line); outline: 0; max-height: 120px; }
.chatw__form textarea:focus { border-color: var(--lime); }
.chatw__form button { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--lime); color: var(--teal-950); display: grid; place-items: center; cursor: pointer; flex: none; }
.chatw__human { border: 0; background: none; font: 600 12.5px var(--body); color: var(--muted); padding: 0 0 10px; cursor: pointer; text-decoration: underline; }
.chatw__human[hidden] { display: none; }
@media (max-width: 520px) {
  .chatw { right: 12px; bottom: 12px; }
  /* phones: full screen, sized to what's visible above the keyboard (--chat-h / --chat-top set from visualViewport) */
  .chatw.is-open { inset: 0; right: 0; bottom: 0; gap: 0; }
  .chatw.is-open .chatw__bubble { display: none; }
  .chatw.is-open .chatw__panel { position: fixed; left: 0; right: 0; top: var(--chat-top, 0px); width: 100%; height: var(--chat-h, 100dvh); border-radius: 0; animation: none; }
  .chatw__head { padding: calc(10px + env(safe-area-inset-top)) 12px 10px 14px; gap: 10px; }
  .chatw__head > div { min-width: 0; }
  .chatw__head small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .chatw__end { white-space: nowrap; padding: 6px 10px; }
  .chatw__form { padding: 8px 10px calc(8px + env(safe-area-inset-bottom)); }
  .chatw__form textarea { font-size: 16px; } /* under 16px iPhone zooms the page on focus */
  body.chat-open { overflow: hidden; }
}


/* ---------- Mobile hero: text on top, photo underneath, blended ---------- */
@media (max-width: 760px) {
  .hero { min-height: 0; height: max(760px, 100svh); }
  .hero__slide { align-items: stretch; flex-direction: column; background: var(--teal-950); }
  .hero__content { order: 1; padding: calc(var(--nav-h) + 22px) 0 0; position: relative; z-index: 2; }
  .hero__title { font-size: clamp(36px, 11vw, 52px); margin-bottom: 14px; }
  .hero__sub { font-size: 16px; margin-bottom: 22px; }
  .hero__ctas .btn--lg { padding: 14px 20px; font-size: 15px; }
  .hero__bg { inset: auto 0 0 0; top: auto; height: 52%; transform: none !important; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 40%); mask-image: linear-gradient(to bottom, transparent 0, #000 40%); }
  .hero__shade { background: linear-gradient(180deg, var(--teal-950) 0%, var(--teal-950) 44%, rgba(1, 38, 38, .15) 70%, rgba(1, 38, 38, .55) 100%); }
  .hero__dots { bottom: 96px; gap: 8px; grid-template-columns: repeat(5, 1fr); margin: 0 16px; }
  .hero__dot-label { display: none; }
  .hero__dots button { grid-template-columns: 1fr; }
  .hero__dot-num { display: none; }
  .hero__dot-bar { height: 4px; }
}

/* ---------- Catalog prices, login prompt ---------- */
.product__price { margin-top: 8px; font: 800 17px var(--display); color: var(--teal); }
.product__price small { font: 600 12px var(--body); color: var(--muted); }
.pm-price dd b { font: 800 20px var(--display); color: var(--teal); }
.pm-price dd small { color: var(--muted); }
.pmodal__min { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 8px 0 0; font-size: 13px; font-weight: 700; color: var(--teal); }
.pmodal__min .i { color: var(--lime-600); }
.pmodal--ask { width: min(460px, calc(100% - 32px)); }
.login-ask { padding: 36px 30px 26px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.login-ask h2 { font-size: 26px; }
.login-ask p { margin: 0; color: var(--muted); }
.login-ask__icon { width: 60px; height: 60px; border-radius: 50%; background: var(--mint); color: var(--teal); display: grid; place-items: center; }
.login-ask__btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.link-btn { border: 0; background: none; font: 600 14px var(--body); color: var(--muted); text-decoration: underline; cursor: pointer; padding: 6px; }

/* ---------- Customer login & account ---------- */
.auth { background: radial-gradient(900px 480px at 90% 0%, rgba(106, 191, 75, .25), transparent 60%), var(--teal-950); min-height: calc(100svh - var(--nav-h)); display: grid; align-items: center; }
.auth__grid { display: grid; grid-template-columns: 1fr 440px; gap: clamp(30px, 6vw, 90px); align-items: center; }
.auth__art { color: #fff; }
.auth__art .h2 { color: #fff; max-width: 14ch; }
.ticks--light li { color: rgba(255, 255, 255, .85); }
.auth__form { gap: 14px; }
.auth__form h2 { font-size: 30px; }
.auth__form .muted-sm { margin: -6px 0 0; }
.auth__new { padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); display: grid; gap: 6px; justify-items: start; }
@media (max-width: 860px) { .auth__grid { grid-template-columns: 1fr; } .auth__art .ticks { display: none; } }
.acct-portal { display: grid; grid-template-columns: 1fr 360px; gap: 30px; align-items: start; }
.acct-side { display: grid; gap: 16px; position: sticky; top: calc(var(--nav-h) + 20px); }
.acct-side .form { padding: 22px; gap: 12px; }
.acct-side h3 { font-size: 18px; }
.acct-rep { padding: 18px 20px; display: grid; gap: 2px; }
.acct-rep small { color: var(--muted); font-weight: 700; text-transform: uppercase; font-size: 11px; letter-spacing: .08em; }
.alert-lite { background: var(--mint); color: var(--teal); padding: 12px 16px; border-radius: 12px; font-weight: 700; }
.orders-list { display: grid; gap: 10px; margin-top: 14px; }
.order-card { border: 1px solid var(--line); border-radius: 16px; padding: 0 18px; background: #fff; }
.order-card summary { display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; padding: 16px 0; cursor: pointer; list-style: none; }
.order-card summary span { color: var(--muted); }
.pill-st { padding: 3px 10px; border-radius: 999px; background: var(--mint); color: var(--teal) !important; font-weight: 700; font-size: 12px; margin-left: auto; }
.order-table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 14px; }
.order-table th { text-align: left; color: var(--muted); font-size: 12px; text-transform: uppercase; padding: 6px 0; }
.order-table td { padding: 10px 0; border-top: 1px solid var(--line); }
.order-table td small { display: block; color: var(--muted); }
.order-table td:not(:first-child), .order-table th:not(:first-child) { text-align: right; width: 90px; }
@media (max-width: 860px) { .acct-portal { grid-template-columns: 1fr; } .acct-side { position: static; } }
body.menu-open .chatw { display: none; }

/* Catalog: brand headings are links, category mega-menu */
.pgroup a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; transition: color .2s; }
.pgroup a::after { content: '→'; font: 600 14px var(--body); color: var(--lime-600); opacity: 0; transform: translateX(-4px); transition: opacity .2s, transform .2s; }
.pgroup a:hover { color: var(--lime-600); }
.pgroup a:hover::after { opacity: 1; transform: none; }
.clear-x { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-left: 4px; border-radius: 50%; background: var(--paper); color: var(--muted); text-decoration: none; font-size: 11px; font-weight: 800; }
.clear-x:hover { background: var(--lime); color: var(--teal-950); }
.dept-wrap { position: relative; display: flex; align-items: center; gap: 10px; }
.dept-wrap .dept-bar__in { flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.dept-all { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--teal); background: #fff; color: var(--teal); font: 700 14px var(--body); cursor: pointer; transition: background .2s, color .2s; }
.dept-wrap.is-open .dept-all, .dept-all:hover { background: var(--teal); color: #fff; }
.mega { position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 40; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: 0 30px 60px -24px rgba(1, 38, 38, .35); padding: 22px 24px; max-height: min(70vh, 640px); overflow-y: auto; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s var(--ease), transform .3s var(--ease), visibility .25s; }
.dept-wrap.is-open .mega { opacity: 1; visibility: visible; transform: none; }
.mega__grid { columns: 4 220px; column-gap: 26px; }
.mega__col { break-inside: avoid; display: grid; gap: 1px; margin-bottom: 18px; }
.mega__dept { display: flex; align-items: center; gap: 10px; font: 700 16px var(--display); text-decoration: none; margin-bottom: 6px; color: var(--teal); }
.mega__dept img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
.mega__col a:not(.mega__dept) { font-size: 14px; color: var(--muted); text-decoration: none; padding: 4px 8px 4px 42px; border-radius: 8px; }
.mega__col a:not(.mega__dept):hover, .mega__col a.is-on { background: var(--mint); color: var(--teal); }
.mega__head { display: none; }
@media (max-width: 700px) {
  .dept-all { padding: 8px 10px; font-size: 0; gap: 0; } .dept-all .i { width: 18px; height: 18px; }
  /* backdrop-filter makes the bar the containing block for position:fixed → the sheet opened off-screen */
  .cat-sticky { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .mega { position: fixed; left: 0; right: 0; top: auto; bottom: 0; z-index: 1001; border-radius: 22px 22px 0 0; max-height: 80vh; max-height: 80dvh; padding: 0 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(24px); }
  .mega__head { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; background: #fff; padding: 18px 0 12px; margin-bottom: 6px; border-bottom: 1px solid var(--line); font: 700 18px var(--display); color: var(--teal); }
  .mega__close { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--paper); color: var(--teal); display: grid; place-items: center; cursor: pointer; }
  .dept-wrap::before { content: ''; position: fixed; inset: 0; z-index: 1000; background: rgba(1, 26, 26, .45); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
  .dept-wrap.is-open::before { opacity: 1; visibility: visible; }
  .mega__grid { columns: 1; }
  .mega__col a:not(.mega__dept) { padding: 9px 10px 9px 42px; font-size: 15px; }
  body.sheet-open { overflow: hidden; }
  body.sheet-open .cat-sticky { z-index: 1000; } /* above the header (50) and chat bubble (90) while the sheet is open */
}

/* Back to top */
.to-top { position: fixed; right: 26px; bottom: 94px; z-index: 89; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; color: var(--teal); display: grid; place-items: center; cursor: pointer; box-shadow: 0 10px 24px -12px rgba(1, 38, 38, .45); opacity: 0; transform: translateY(12px) scale(.9); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s, color .2s; }
.to-top.is-on { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--lime); color: var(--teal-950); border-color: var(--lime); }
.to-top .i { transform: rotate(-90deg); }
@media (max-width: 520px) { .to-top { right: 18px; bottom: 84px; } }
body.menu-open .to-top { display: none; }

/* Brand page: product collage (tall tiles for upright packs, short ones for wide) */
.collage { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 200px); grid-template-areas: "a b d" "a c d" "a e f"; gap: 14px; margin-bottom: 34px; }
.collage > :nth-child(1) { grid-area: a; } .collage > :nth-child(2) { grid-area: b; } .collage > :nth-child(3) { grid-area: c; }
.collage > :nth-child(4) { grid-area: d; } .collage > :nth-child(5) { grid-area: e; } .collage > :nth-child(6) { grid-area: f; }
.collage .bprod { position: relative; padding: 0; overflow: hidden; }
.collage .bprod__img { position: absolute; inset: 0; margin: 0; border-radius: 0; padding: 22px 22px 62px; background: radial-gradient(circle at 50% 40%, #fff, var(--paper) 75%); }
.collage .bprod__txt { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px 14px; background: linear-gradient(0deg, #fff 60%, rgba(255, 255, 255, 0)); display: grid; gap: 2px; }
.collage .bprod__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.collage .bprod.is-tall .bprod__img { padding: 30px 26px 76px; }
@media (max-width: 860px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 170px); grid-template-areas: "a b" "a c" "d e" "d f"; }
}
.cat-sticky__in { grid-template-columns: minmax(0, 1fr); }
.dept-wrap { min-width: 0; }
.collage .bprod__img { aspect-ratio: auto; display: block; }
.collage .bprod__img img { width: 100%; height: 100%; object-fit: contain; }

.chatw__end { margin-left: auto; border: 1.5px solid rgba(255, 255, 255, .35); background: none; color: #fff; font: 700 12.5px var(--body); padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.chatw__end:hover { background: #fff; color: var(--teal); }
.chatw__end[hidden] { display: none; }
.chatw__end:not([hidden]) + .chatw__x { margin-left: 0; }
.cmsg a { display: inline-block; margin: 2px 0; padding: 2px 9px; border-radius: 999px; background: var(--mint); color: var(--teal); text-decoration: none; font-size: 13px; }
.cmsg a:hover { background: var(--lime); color: var(--teal-950); }
.cmsg--user a { background: rgba(255, 255, 255, .15); color: #fff; }

.check--plain { background: none; padding: 0; }
.pk-btn .i { flex: none; }
.auth__secure { display: flex; gap: 6px; align-items: flex-start; margin: 0; font-size: 12.5px; }
.auth__secure .i { color: var(--lime-600); margin-top: 2px; }
.code-input { font: 800 28px var(--display) !important; letter-spacing: .35em; text-align: center; }
.devlist { display: grid; gap: 2px; }
.devrow { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--line); }
.devrow span { display: grid; }
.devrow small { color: var(--muted); font-size: 12px; }


/* ================= Round 8 ================= */

/* Soft looping green gradients: nav pill + every green button on hover */
@keyframes greenflow { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.nav__pill { background: linear-gradient(110deg, #024c4c, #1f7a4d, #3f9a3f, #1f7a4d, #024c4c) 0 50% / 300% 100%; animation: greenflow 5s ease-in-out infinite; }
.has-hero .nav:not(.is-solid):not(.is-open) .nav__pill { background: linear-gradient(110deg, #a6dc8c, #6abf4b, #3f9a3f, #6abf4b, #a6dc8c) 0 50% / 300% 100%; }
.nav__links a[aria-current]:not(.is-lit) { color: var(--lime-600); }
.has-hero .nav:not(.is-solid):not(.is-open) .nav__links a[aria-current]:not(.is-lit) { color: #fff; text-decoration: underline 2px var(--lime); text-underline-offset: 7px; }
.btn:hover { --fg: #fff; border-color: transparent; background: linear-gradient(110deg, #024c4c, #0b6461, #2f8a4f, #0b6461, #024c4c) 0 50% / 300% 100%; animation: greenflow 3.6s ease-in-out infinite; }
.btn--lime:hover { --fg: var(--teal-950); background: linear-gradient(110deg, #a6dc8c, #6abf4b, #3f9a3f, #6abf4b, #a6dc8c) 0 50% / 300% 100%; }
.btn--outline:hover { --fg: #fff; }
/* Glass ("mirror") buttons on photos: frosted, with a soft green glow on hover */
.btn--glass { --fg: #fff; background: linear-gradient(135deg, rgba(255, 255, 255, .26), rgba(255, 255, 255, .06)); border-color: rgba(255, 255, 255, .42); backdrop-filter: blur(12px) saturate(1.5); -webkit-backdrop-filter: blur(12px) saturate(1.5); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 24px -12px rgba(0, 0, 0, .5); }
.btn--glass:hover { --fg: #fff; animation: none; background: linear-gradient(135deg, rgba(255, 255, 255, .32), rgba(106, 191, 75, .16)); border-color: rgba(166, 220, 140, .9); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 0 1px rgba(106, 191, 75, .35), 0 0 26px 2px rgba(106, 191, 75, .5); }
@media (prefers-reduced-motion: reduce) { .nav__pill, .btn:hover { animation: none; } }

/* Textures */
.stats { background: url('../img/pattern-dark.svg') 0 0 / 130px, linear-gradient(120deg, #024c4c, #013c3c); }
.section--texture { background: url('../img/pattern-light.svg') 0 0 / 150px, linear-gradient(180deg, var(--mint), #e2f8e7); }

/* Dark sections: a wide, soft green light that follows the mouse (assets/js/glow.js) */
.auth, .cat-hero, .phero--plain { background: var(--teal-950); }
.auth, .cat-hero, .phero, .bhero, .why, .section--dark, .footer, .stats { position: relative; isolation: isolate; overflow: hidden; }
.why::before { display: none; }
.mglow { position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit;
  background: radial-gradient(760px circle at var(--mx, 80%) var(--my, 15%), rgba(106, 191, 75, .2), rgba(106, 191, 75, .07) 42%, transparent 68%); }
.stats .mglow { background: radial-gradient(420px circle at var(--mx, 80%) var(--my, 15%), rgba(106, 191, 75, .22), transparent 70%); }
.auth__form .field textarea { min-height: 84px; }
.phone-txt { display: inline-flex; align-items: center; gap: 8px; }
.staffnote { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; background: #fff8e6; border: 1px solid #f3dfae; color: #7a5410; font-size: 13px; line-height: 1.45; }
.staffnote a { display: block; margin-top: 4px; font-weight: 700; color: var(--teal); }
/* Catalog sidebar headings in brand green */
.filters__group h2 { color: var(--lime-600); }
/* Pill-style tags show as a colour dot in the filter lists */


/* Catalog photos: always fit inside the square, tall or wide */
.product__img { position: relative; }
.product__img img { position: absolute; inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); object-fit: contain; }
.rel__img { position: relative; }
.rel__img img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; }

/* Tag badges on photos */
.pbadges { position: absolute; top: 8px; left: 8px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; pointer-events: none; }
.pbadge { display: inline-grid; place-items: center; background: var(--tb, var(--lime)); color: var(--tf, var(--teal-950)); font: 800 10.5px/1 var(--body); letter-spacing: .05em; text-transform: uppercase; border-radius: 999px; padding: 5px 9px; white-space: nowrap; box-shadow: 0 4px 10px -4px rgba(0, 0, 0, .35); }
.pbadge--initial { width: 26px; height: 26px; padding: 0; font-size: 10.5px; letter-spacing: 0; }
.pbadge--icon { width: 30px; height: 30px; padding: 4px; background: #fff; }
.pbadge--icon img { width: 100%; height: 100%; object-fit: contain; position: static; mix-blend-mode: normal; }
.pbadge--xs { box-shadow: none; padding: 3px 6px; font-size: 9px; }
.pbadge--xs.pbadge--initial { width: 20px; height: 20px; padding: 0; font-size: 9px; }
.pbadge--xs.pbadge--icon { width: 22px; height: 22px; padding: 2px; border: 1px solid var(--line); }
.ptag--tag { background: var(--tb); color: var(--tf); display: inline-flex; align-items: center; gap: 5px; }
.ptag--tag img { width: 16px; height: 16px; object-fit: contain; }

/* Tag filters: check boxes, 5 visible, the rest slide down on hover */
.fck { display: flex; align-items: center; gap: 9px; padding: 7px 8px; border-radius: 10px; text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 600; }
.fck:hover { background: var(--paper); }
.fck__box { flex: none; width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid #b7c7c6; display: grid; place-items: center; transition: background .15s, border-color .15s; }
.fck.is-on .fck__box { background: var(--teal); border-color: var(--teal); }
.fck.is-on .fck__box::after { content: ''; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.fck__name { flex: 1; min-width: 0; }
.fck small { color: var(--muted); font-weight: 600; font-size: 12px; }
.fold__more { display: grid; max-height: 0; overflow: hidden; opacity: 0; transition: max-height .45s var(--ease), opacity .3s; }
.fold.is-open .fold__more { max-height: 600px; opacity: 1; }
.fold__btn { margin-top: 2px; border: 0; background: none; padding: 6px 8px; font: 700 13px var(--body); color: var(--teal-600, #0b6461); cursor: pointer; }
.fold__btn span + span { display: none; }
.fold.is-open .fold__btn span:first-child { display: none; }
.fold.is-open .fold__btn span + span { display: inline; }


/* Load more */
.loadmore { display: flex; justify-content: center; margin-top: 36px; }
.loadmore .btn { min-width: 240px; }
.loadmore .btn small { font-weight: 600; opacity: .7; }
.loadmore .btn.is-loading { opacity: .6; pointer-events: none; }
.loadmore + .pager { margin-top: 18px; }
.results__tools { flex-wrap: wrap; }

/* Password request */
.auth__reset a { font-weight: 700; color: var(--teal); }
.auth__reset span { color: var(--muted); }
.auth__lead { color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 42ch; }
.auth__ok { width: 54px; height: 54px; border-radius: 50%; background: var(--mint); color: var(--lime-600); display: grid; place-items: center; }
.dev-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: #fff8e6; border: 1px dashed #e0b85a; color: #7a5410; font-size: 13.5px; }

/* ================= Customer account, cart ================= */
.avatar { --av: var(--teal); display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--av); color: #fff; font: 800 15px/1 var(--display); letter-spacing: .02em; overflow: hidden; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .25); }
.avatar--img { background: #fff; }
.avatar--img img { width: 100%; height: 100%; object-fit: contain; }
.avatar--xs { width: 26px; height: 26px; font-size: 10.5px; }
.avatar--lg { width: 72px; height: 72px; font-size: 26px; }
.avatar--xl { width: 116px; height: 116px; font-size: 40px; box-shadow: 0 0 0 4px rgba(255, 255, 255, .12), 0 20px 40px -18px rgba(0, 0, 0, .6); }
.nav__acct { gap: 8px; padding-left: 6px; }
.nav__cart { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid currentColor; text-decoration: none; transition: background .2s, color .2s; }
.nav__cart:hover, .nav__cart.is-on { background: var(--teal); color: #fff; border-color: var(--teal); }
.has-hero .nav:not(.is-solid):not(.is-open) .nav__cart:hover { background: #fff; color: var(--teal-950); border-color: #fff; }
.nav__cart b { position: absolute; top: -5px; right: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--lime); color: var(--teal-950); font: 800 11px/20px var(--body); text-align: center; box-shadow: 0 0 0 2px #fff; }
.acct-hero { padding: clamp(40px, 6vw, 70px) 0; }
.acct-hero--slim { padding: clamp(30px, 5vw, 54px) 0; }
.acct-hero__in { display: flex; align-items: center; gap: clamp(20px, 3vw, 36px); }
.acct-hero__text { min-width: 0; }
.acct-hero .hero__ctas { flex-wrap: wrap; align-items: center; }
.acct-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 0 0 30px; }
.acct-stats > * { display: grid; gap: 4px; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); text-decoration: none; color: inherit; }
.acct-stats small { color: var(--muted); font-weight: 600; font-size: 13px; }
.acct-stats b { font: 800 26px/1.1 var(--display); }
.acct-stats b span { font: 600 14px var(--body); color: var(--muted); }
.acct-stats a:hover { border-color: var(--lime); }
.ordered-ok { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; margin-bottom: 22px; border-radius: 16px; background: var(--mint); border: 1px solid #bfe8c4; }
.ordered-ok > span { flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--lime); color: var(--teal-950); display: grid; place-items: center; }
.ordered-ok p { margin: 2px 0 0; color: var(--muted); }
.order-src { font-size: 12px; font-weight: 700; color: var(--muted); }
.order-again { margin: 4px 0 12px; }
.avpick { display: flex; gap: 16px; align-items: center; }
.avpick > div { display: grid; gap: 6px; justify-items: start; }
.avpick__up { cursor: pointer; }
.avpick .muted-sm { margin: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatches label { cursor: pointer; }
.swatches input { position: absolute; opacity: 0; pointer-events: none; }
.swatches span { display: block; width: 28px; height: 28px; border-radius: 50%; background: var(--sw); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--line); transition: box-shadow .15s, transform .15s; }
.swatches input:checked + span { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sw); transform: scale(1.08); }
.swatches input:focus-visible + span { outline: 3px solid var(--lime); outline-offset: 3px; }
.acct-ro { display: grid; gap: 1px; padding: 12px 14px; border-radius: 12px; background: var(--paper); }
.acct-ro small { color: var(--muted); font-size: 12px; font-weight: 600; margin-top: 6px; }
.acct-ro small:first-child { margin-top: 0; }
.acct-ro b { font-weight: 700; font-size: 14.5px; overflow-wrap: anywhere; }
/* quantity stepper */
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; overflow: hidden; }
.qty button { width: 38px; height: 40px; border: 0; background: none; display: grid; place-items: center; cursor: pointer; color: var(--teal); }
.qty button:hover { background: var(--mint); }
.qty input { width: 48px; height: 40px; border: 0; text-align: center; font: 800 16px var(--body); color: var(--ink); background: none; }
.qty input:focus { outline: 0; }
/* pop-up add to cart */
.pm-add { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 16px 0 6px; padding: 14px; border-radius: 16px; background: var(--mint); }
.pm-add__msg { flex-basis: 100%; margin: 0; font-size: 14px; font-weight: 600; color: var(--lime-600); }
.pm-add__msg a { color: var(--teal); font-weight: 800; }
.pm-add__msg.is-bad { color: #b42318; }
/* cart page */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(20px, 3vw, 40px); align-items: start; }
.cart-lines { display: grid; gap: 10px; margin-bottom: 18px; }
.cart-line { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto 100px 32px; gap: 14px; align-items: center; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.cart-line__img { position: relative; display: block; width: 72px; height: 72px; border-radius: 12px; background: var(--paper); }
.cart-line__img img { position: absolute; inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); object-fit: contain; mix-blend-mode: multiply; }
.cart-line__txt { display: grid; gap: 2px; min-width: 0; }
.cart-line__txt b { font-size: 15px; line-height: 1.3; }
.cart-line__txt small { color: var(--muted); font-size: 12.5px; }
.cart-line__sum { text-align: right; font: 800 17px var(--display); }
.cart-line__x { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--paper); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.cart-line__x:hover { background: #fdecea; color: #b42318; }
.cart-sum { position: sticky; top: calc(var(--nav-h) + 16px); gap: 12px; }
.cart-sum__row { display: flex; justify-content: space-between; align-items: baseline; }
.cart-sum__row span { color: var(--muted); font-weight: 600; }
.cart-sum__total b { font: 800 28px var(--display); }
.cart-sum .field textarea { min-height: 80px; }
@media (max-width: 980px) { .cart-grid { grid-template-columns: 1fr; } .cart-sum { position: static; } .acct-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .acct-hero__in { flex-direction: column; align-items: flex-start; }
  .avatar--xl { width: 84px; height: 84px; font-size: 30px; }
  .cart-line { grid-template-columns: 60px minmax(0, 1fr) 32px; }
  .cart-line__img { width: 60px; height: 60px; }
  .cart-line .qty { grid-column: 2; }
  .cart-line__sum { grid-column: 2 / 4; text-align: left; }
  .cart-line__x { grid-row: 1; grid-column: 3; }
}

/* Red log-out button */
.btn--danger { --bg: #d63a35; --fg: #fff; border-color: #d63a35; }
.btn--danger:hover { --fg: #fff; animation: none; background: #b42318; border-color: #b42318; box-shadow: 0 10px 24px -10px rgba(180, 35, 24, .6); }

/* Tag looks: filled, rounded border (outline), round initials, uploaded image */
.pbadge { display: inline-flex; align-items: center; gap: 4px; }
.pbadge svg { flex: none; }
.pbadge--outline { background: #fff; color: var(--tb); box-shadow: inset 0 0 0 1.5px var(--tb), 0 4px 10px -4px rgba(0, 0, 0, .25); }
.pbadge--img { background: none; padding: 0; border-radius: 4px; box-shadow: none; }
.pbadge--img img { position: static; display: block; height: 24px; width: auto; max-width: 130px; object-fit: contain; mix-blend-mode: normal; }
.product__img .pbadge--img img { height: 26px; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .15)); }
.fck__tag { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; }
.fck .pbadge--f { box-shadow: none; font-size: 11px; padding: 5px 10px; letter-spacing: .03em; }
.fck .pbadge--outline.pbadge--f { box-shadow: inset 0 0 0 1.5px var(--tb); }
.fck .pbadge--img.pbadge--f img { height: 22px; max-width: 150px; }
.fck.is-on .pbadge--outline { background: var(--tb); color: #fff; }
.ptag--tag svg { flex: none; }
.ptag--outline { background: #fff; color: var(--tb); box-shadow: inset 0 0 0 1.5px var(--tb); }
.ptag--img { background: none; padding: 0; }
.ptag--img img { height: 26px; width: auto; max-width: 150px; display: block; }

.fck.is-empty { opacity: .55; }
.fck.is-empty:hover { opacity: .85; }
.fold__btn { display: inline-flex; align-items: center; gap: 4px; }
.fold__btn::after { content: ''; width: 7px; height: 7px; border: 2px solid currentColor; border-top: 0; border-left: 0; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.fold.is-open .fold__btn::after { transform: translateY(1px) rotate(-135deg); }

/* Product cards: div (so they can hold the quick −/+) */
div.product { cursor: pointer; }
div.product:focus-visible { outline: 3px solid var(--lime); outline-offset: 2px; }
.product__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.product__foot .product__price { margin: 0; }
.padd { display: inline-flex; align-items: center; border-radius: 999px; background: var(--lime); box-shadow: 0 6px 14px -8px rgba(1, 38, 38, .5); transition: background .2s, transform .15s; cursor: default; }
.padd button { width: 34px; height: 34px; border: 0; background: none; display: grid; place-items: center; color: var(--teal-950); cursor: pointer; border-radius: 50%; }
.padd button:hover { background: rgba(255, 255, 255, .35); }
.padd__qty { width: 34px; height: 34px; border: 0; background: none; text-align: center; font: 800 15px var(--body); color: var(--teal-950); padding: 0; }
.padd__qty:focus { outline: 0; }
.padd:not(.has-qty) .padd__minus, .padd:not(.has-qty) .padd__qty { display: none; }
.padd:not(.has-qty) .padd__plus { width: 38px; height: 38px; }
.padd.has-qty { background: #fff; box-shadow: inset 0 0 0 1.5px var(--lime), 0 6px 14px -8px rgba(1, 38, 38, .4); }
.padd.has-qty button { color: var(--teal); }
.padd.has-qty .padd__plus { background: var(--lime); color: var(--teal-950); }
.padd.is-bump { transform: scale(1.08); }
/* once in the cart, the stepper gets its own full-width row under the price (cards are too narrow for both) */
.product__foot { flex-wrap: wrap; row-gap: 8px; }
.product__foot .padd.has-qty { width: 100%; justify-content: space-between; }

/* Photo that shifts gently with the mouse (data-parallax) */
[data-parallax] { overflow: hidden; }
[data-parallax] img, [data-parallax] .phero__bg { transform: scale(1.14) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .45s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
@media (prefers-reduced-motion: reduce) { [data-parallax] img, [data-parallax] .phero__bg { transform: none; transition: none; } }

/* Headers with photos: the mouse light sits on top of the photo and overlay ("screen" blend = lit, text stays crisp) */
.hero .mglow, .phero:not(.phero--plain) .mglow, .bhero .mglow, .cat-hero--promo .mglow {
  z-index: 3; mix-blend-mode: screen;
  background: radial-gradient(720px circle at var(--mx, 80%) var(--my, 20%), rgba(106, 191, 75, .32), rgba(106, 191, 75, .1) 42%, transparent 68%);
}
.hero { isolation: isolate; }

/* Login pages: a photo blended into the dark green (duotone), text side kept dark */
.auth--photo { background: var(--teal-950); }
.auth__bg { position: absolute; inset: 0; z-index: -2; background: center/cover; opacity: .5; mix-blend-mode: luminosity; filter: contrast(1.05); }
.auth--photo::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(90deg, rgba(1, 38, 38, .55) 0%, rgba(1, 38, 38, .35) 40%, rgba(1, 38, 38, .75) 75%, rgba(1, 38, 38, .9) 100%), radial-gradient(1200px 700px at 20% 40%, rgba(106, 191, 75, .16), transparent 70%); }
[data-parallax] .auth__bg { transform: scale(1.14) translate3d(var(--px, 0), var(--py, 0), 0); transition: transform .45s cubic-bezier(.2, .7, .2, 1); will-change: transform; }
.auth--photo .mglow { z-index: 1; mix-blend-mode: screen; background: radial-gradient(720px circle at var(--mx, 80%) var(--my, 20%), rgba(106, 191, 75, .3), rgba(106, 191, 75, .08) 42%, transparent 68%); }
.auth--photo .auth__grid { position: relative; z-index: 2; }
/* Login pages: the three ticks one under another, each on a single line */
.auth__art .ticks { grid-template-columns: 1fr; gap: 12px; }
.auth__art .ticks li { white-space: nowrap; }
@media (max-width: 480px) { .auth__art .ticks li { white-space: normal; } }

/* Brand page product showcase: dark section, tall "stage" cards so bottles and jars read large */
.showcase { position: relative; isolation: isolate; overflow: hidden; color: var(--ink); background: url('../img/pattern-light.svg') 0 0 / 150px, linear-gradient(180deg, var(--mint), #e2f8e7); }
.showcase .section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.showcase .h2 { color: var(--teal-950); }
.showcase__grid { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: clamp(14px, 2vw, 24px); margin-top: 34px; }
.sc { display: grid; gap: 6px; text-decoration: none; color: var(--ink); transition-delay: var(--d); }
.sc__stage { position: relative; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden;
  background: radial-gradient(120% 90% at 50% 30%, #ffffff 0%, #fbfdfc 55%, #eef5f2 100%); box-shadow: 0 24px 44px -28px rgba(1, 38, 38, .45), 0 0 0 1px rgba(2, 76, 76, .06); transition: transform .45s var(--ease), box-shadow .45s; }
.sc__stage::after { content: ''; position: absolute; left: 18%; right: 18%; bottom: 7%; height: 18px; border-radius: 50%; background: radial-gradient(closest-side, rgba(1, 38, 38, .28), transparent); }
.sc__stage img { position: absolute; inset: 9% 14% 13%; width: 72%; height: 78%; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--ease); z-index: 1; }
.sc:hover .sc__stage { transform: translateY(-6px); box-shadow: 0 32px 56px -26px rgba(1, 38, 38, .5), 0 0 0 2px var(--lime); }
.sc:hover .sc__stage img { transform: scale(1.07) rotate(-1.5deg); }
.sc__cat { margin-top: 12px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--lime-600); }
.sc__name { font-weight: 700; font-size: 16.5px; line-height: 1.3; }
.sc__pack { font-size: 13px; color: var(--muted); }
@media (max-width: 1100px) { .showcase__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .showcase__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.filters__note { margin: 8px 2px 4px; font-size: 12.5px; color: var(--muted); }
.filters__note a { color: var(--teal); font-weight: 700; }
.staff-prev { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; font-weight: 700; color: #7a5410; background: #fff8e6; border: 1px solid #f3dfae; padding: 7px 11px; border-radius: 999px; text-decoration: none; }

/* Brand page: about text in the hero, dark "More brands" */
.bhero__about { max-width: 58ch; margin-top: 22px; color: rgba(255, 255, 255, .86); font-size: clamp(16px, 1.3vw, 18.5px); line-height: 1.6; }
.bhero__about p { margin: 0 0 10px; }
.bhero__ctas { margin-top: 26px; }
.more-brands { position: relative; isolation: isolate; overflow: hidden; background: var(--teal-950); color: #fff; }
.more-brands .h2 { color: #fff; }
.pill-st--shipped { background: #e7eef9; color: #1c3a6b !important; }
.pill-st--delivered { background: #2f7a1c; color: #fff !important; }

/* Careers: open positions by department */
.jobs__dept { margin-top: 26px; }
.jobs__h { font: 800 13px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--teal); margin: 0 0 12px; display: flex; align-items: center; gap: 10px; }
.jobs__h small { font-weight: 700; letter-spacing: 0; text-transform: none; color: var(--muted, #5f7373); background: var(--mint); padding: 2px 10px; border-radius: 999px; }
.jobs__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.job { background: #fff; border: 1px solid rgba(2, 76, 76, .12); border-radius: 18px; padding: 20px; display: grid; gap: 10px; align-content: start; transition: box-shadow .2s, transform .2s; }
.job:hover { box-shadow: 0 16px 34px -22px rgba(2, 76, 76, .45); transform: translateY(-2px); }
.job__top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.job h4 { margin: 0; font-size: 19px; line-height: 1.2; }
.job__type { flex: none; font-size: 12px; font-weight: 700; color: var(--teal); background: var(--mint); padding: 3px 10px; border-radius: 999px; }
.job__meta { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted, #5f7373); }
.job__desc { margin: 0; font-size: 15px; }
.job__req { margin: 0; padding-left: 18px; font-size: 14px; color: var(--muted, #5f7373); }
.job .btn { justify-self: start; margin-top: 4px; }

/* Customer portal: recommendations & order templates */
.acct-recs { margin: 8px 0 34px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 22px; }
.recs { min-width: 0; }
.acct-recs__h { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.acct-recs__h .h3 { margin: 0; }
.recs__h h3 { margin: 0; font-size: 18px; }
.recs__h p { margin: 2px 0 0; color: var(--muted, #5f7373); font-size: 14px; }
.recs__row { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(190px, 210px); gap: 12px; overflow-x: auto; padding: 10px 2px 14px; scroll-snap-type: x proximity; }
.rec { scroll-snap-align: start; background: #fff; border: 1px solid rgba(2, 76, 76, .12); border-radius: 16px; padding: 12px; display: grid; gap: 4px; align-content: start; }
.rec__img { position: relative; aspect-ratio: 1; border-radius: 12px; background: #f6f8f7; overflow: hidden; margin-bottom: 4px; }
.rec__img img { position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px); object-fit: contain; }
.rec__why { font-size: 11px; font-weight: 800; color: #2f7a1c; line-height: 1.3; }
.rec__name { font-size: 14px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rec__pack { color: var(--muted, #5f7373); font-size: 12px; }
.rec__price { font-weight: 800; }
.rec__price small { font-weight: 600; color: var(--muted, #5f7373); }
.rec__add { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.rec .padd { position: static; }
.rec__usual { border: 0; background: var(--mint); color: var(--teal); font: 800 12px var(--body); padding: 7px 10px; border-radius: 999px; cursor: pointer; }
.tpl-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.tpl-chip { display: grid; text-align: left; gap: 1px; border: 1px solid rgba(2, 76, 76, .18); background: #fff; border-radius: 14px; padding: 10px 14px; cursor: pointer; font: inherit; color: inherit; }
.tpl-chip:hover { border-color: var(--teal); box-shadow: 0 10px 24px -18px rgba(2, 76, 76, .6); }
.tpl-chip small { color: var(--muted, #5f7373); }
.tpl-chip span { display: inline-flex; gap: 4px; align-items: center; color: var(--teal); font-weight: 800; font-size: 13px; margin-top: 4px; }
.order-again { display: flex; gap: 8px; flex-wrap: wrap; }
.tpl-page { display: grid; gap: 20px; }
.tpl-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tpl-card { background: #fff; border: 1px solid rgba(2, 76, 76, .12); border-radius: 18px; padding: 18px; display: grid; gap: 10px; align-content: space-between; }
.tpl-card > a { color: inherit; text-decoration: none; display: grid; gap: 2px; }
.tpl-card > a b { font-size: 18px; }
.tpl-card small { color: var(--muted, #5f7373); }
.tpl-card__f { display: flex; justify-content: space-between; gap: 8px; }
.tpl-card--new { border-style: dashed; align-content: start; }
.tpl-edit { display: grid; gap: 8px; }
.tpl-line { display: grid; grid-template-columns: 56px 1fr auto auto; gap: 12px; align-items: center; padding: 8px 0; border-top: 1px solid rgba(2, 76, 76, .08); }
.tpl-line.is-off { opacity: .55; }
.tpl-line.is-removed { opacity: .3; text-decoration: line-through; }
.tpl-line__img { position: relative; width: 56px; height: 56px; border-radius: 10px; background: #f6f8f7; overflow: hidden; }
.tpl-line__img img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.tpl-line__t { display: grid; min-width: 0; }
.tpl-line__t small { color: var(--muted, #5f7373); }
.tpl-line__q { display: grid; gap: 2px; font-size: 11px; font-weight: 700; color: var(--muted, #5f7373); }
.tpl-line__q input { width: 80px; padding: 8px; border-radius: 10px; border: 1px solid rgba(2, 76, 76, .2); font: inherit; font-size: 15px; }
.tpl-line__rm { border: 0; background: none; font-size: 16px; color: #c92a2a; cursor: pointer; padding: 6px; }
.tpl-edit__f { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid rgba(2, 76, 76, .08); }
.tpl-edit__f .muted-sm { margin-right: auto; }
.tpl-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.tpl-save { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px dashed rgba(2, 76, 76, .25); }
.tpl-save span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; }
.tpl-save input { flex: 1 1 160px; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(2, 76, 76, .2); font: inherit; }
@media (max-width: 560px) { .tpl-line { grid-template-columns: 48px 1fr auto; } .tpl-line__rm { grid-column: 3; grid-row: 1; } .tpl-line__q { grid-column: 2 / -1; } }

/* Help Center */
.help-hero { padding-bottom: clamp(36px, 5vw, 60px); }
.help-hero__in { max-width: 860px; }
.help-hero--sm .cat-hero__title { font-size: clamp(30px, 4vw, 46px); }
.help-search { position: relative; display: flex; align-items: center; gap: 10px; margin-top: 22px; background: #fff; border-radius: 16px; padding: 6px 12px 6px 16px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); color: var(--muted, #5f7373); }
.help-search input { flex: 1; border: 0; outline: 0; font: 500 17px var(--body); padding: 12px 0; background: none; color: var(--ink, #102323); min-width: 0; }
.help-search kbd { font: 700 12px var(--body); border: 1px solid rgba(2, 76, 76, .2); border-radius: 6px; padding: 2px 7px; color: var(--muted, #5f7373); }
.help-search--sm { margin: 0 0 18px; box-shadow: none; border: 1px solid rgba(2, 76, 76, .15); }
.help-search--sm input { font-size: 15px; padding: 9px 0; }
.help-ask { margin-top: 14px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-radius: 18px; padding: 10px; backdrop-filter: blur(6px); }
.help-ask__form { display: flex; align-items: center; gap: 10px; }
.help-ask__form input { flex: 1; min-width: 0; border: 0; outline: 0; border-radius: 12px; padding: 12px 14px; font: 500 16px var(--body); background: rgba(255, 255, 255, .95); color: var(--ink, #102323); }
.help-ask__av { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 17px var(--display, var(--body)); color: #012626; background: linear-gradient(135deg, #b9e59d, #6abf4b); box-shadow: 0 6px 14px -8px rgba(106, 191, 75, .9); }
.help-ask__out { margin-top: 10px; background: #fff; color: var(--ink, #102323); border-radius: 14px; padding: 16px; display: grid; gap: 12px; }
.help-ask__q { justify-self: end; max-width: 80%; background: var(--mint); color: var(--teal); border-radius: 14px 14px 4px 14px; padding: 8px 12px; font-weight: 700; }
.help-ask__a { display: flex; gap: 12px; align-items: flex-start; }
.help-ask__a .help-body { flex: 1; min-width: 0; }
.help-ask__note, .help-ask__err { margin: 0; color: var(--muted, #5f7373); }
.help-ask__err { color: #c92a2a; }
.help-ask__srcs { display: grid; gap: 6px; }
.help-ask__srcs > small { font-weight: 800; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted, #5f7373); }
.help-ask__src { display: grid; padding: 10px 12px; border-radius: 12px; border: 1px solid rgba(2, 76, 76, .14); text-decoration: none; color: inherit; }
.help-ask__src:hover { border-color: var(--lime); }
.help-ask__src small { color: var(--muted, #5f7373); }
.help-ask__think { display: flex; align-items: center; gap: 5px; color: var(--muted, #5f7373); font-weight: 600; }
.help-ask__think span { width: 7px; height: 7px; border-radius: 50%; background: var(--lime); animation: helpDot 1s infinite ease-in-out; }
.help-ask__think span:nth-child(2) { animation-delay: .15s; } .help-ask__think span:nth-child(3) { animation-delay: .3s; margin-right: 6px; }
@keyframes helpDot { 0%, 100% { opacity: .25; transform: translateY(0); } 50% { opacity: 1; transform: translateY(-3px); } }
.help-staffnote { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 16px; padding: 10px 14px; border-radius: 12px; background: var(--mint); color: var(--teal); font-size: 14px; }
.help-notice { margin-bottom: 16px; }
.help-filters { display: grid; gap: 8px; margin-bottom: 8px; }
.help-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.help-chips .chip { cursor: pointer; font: 700 13px var(--body); padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(2, 76, 76, .18); background: #fff; color: var(--ink, #102323); }
.help-chips .chip small { opacity: .6; font-weight: 700; }
.help-chips .chip.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.help-chips--type .chip { font-size: 12px; padding: 5px 10px; }
.help-count { min-height: 20px; margin: 6px 0 10px; color: var(--muted, #5f7373); font-size: 14px; font-weight: 600; }
.help-h { margin: 26px 0 12px; display: flex; align-items: baseline; gap: 8px; }
.help-h small { font: 700 13px var(--body); color: var(--muted, #5f7373); }
.help-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }
.help-card, .help-hit { display: grid; gap: 5px; align-content: start; padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid rgba(2, 76, 76, .12); color: inherit; text-decoration: none; transition: border-color .15s, box-shadow .2s, transform .2s; }
.help-card:hover, .help-hit:hover { border-color: var(--lime); box-shadow: 0 14px 30px -22px rgba(2, 76, 76, .55); transform: translateY(-1px); }
.help-card b, .help-hit b { font-size: 16px; line-height: 1.25; }
.help-card small { color: var(--muted, #5f7373); font-size: 13.5px; }
.help-card__type { justify-self: start; font: 800 10.5px var(--body); letter-spacing: .06em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; background: var(--mint); color: var(--teal); }
.help-card__type--faq { background: #fff3d6; color: #8a5a00; }
.help-results { display: grid; gap: 10px; }
.help-hit { grid-template-columns: auto 1fr; column-gap: 10px; }
.help-hit b, .help-hit > span:last-child { grid-column: 1 / -1; }
.help-hit__sec { align-self: center; color: var(--muted, #5f7373); font-size: 12px; font-weight: 700; }
.help-hit > span:last-child { color: var(--muted, #5f7373); font-size: 14px; }
.help-hit mark { background: #e4f5da; color: inherit; padding: 0 2px; border-radius: 3px; }
.help-none { display: grid; gap: 4px; padding: 26px; border-radius: 16px; background: #fff; border: 1px dashed rgba(2, 76, 76, .25); text-align: center; }
.help-none span { color: var(--muted, #5f7373); }
.help-faq { display: grid; gap: 8px; }
.help-faq__i { background: #fff; border: 1px solid rgba(2, 76, 76, .12); border-radius: 14px; padding: 0 16px; }
.help-faq__i summary { cursor: pointer; padding: 14px 0; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 10px; }
.help-faq__i summary::after { content: '+'; font-weight: 800; color: var(--teal); }
.help-faq__i[open] summary::after { content: '−'; }
.help-faq__i .help-body { padding-bottom: 14px; }
.help-foot { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px 22px; border-radius: 18px; background: var(--mint); }
.help-foot div { display: grid; gap: 2px; }
.help-body { line-height: 1.6; font-size: 15.5px; }
.help-body > :first-child { margin-top: 0; }
.help-body > :last-child { margin-bottom: 0; }
.help-body h2 { font-size: 20px; margin: 22px 0 8px; }
.help-body h3 { font-size: 17px; margin: 18px 0 6px; }
.help-body p { margin: 0 0 12px; }
.help-body ul, .help-body ol { margin: 0 0 12px; padding-left: 22px; display: grid; gap: 5px; }
.help-body code { background: #f1f5f4; padding: 1px 6px; border-radius: 6px; font-size: .92em; }
.help-body a { color: var(--teal); font-weight: 700; }
.help-tip { margin: 12px 0; padding: 12px 14px 12px 16px; border-left: 4px solid var(--lime); background: #f3faef; border-radius: 0 12px 12px 0; }
.help-body--lg { padding: clamp(22px, 3vw, 34px); font-size: 16.5px; }
.help-art { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 22px; align-items: start; }
.help-side { position: sticky; top: 96px; display: grid; gap: 8px; }
.help-side h3 { margin: 4px 0 2px; font-size: 15px; }
.help-rel { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 2px; }
.help-rel a { display: block; padding: 7px 10px; border-radius: 10px; color: inherit; text-decoration: none; font-size: 14px; font-weight: 600; }
.help-rel a:hover { background: var(--mint); color: var(--teal); }
.help-updated { margin: 22px 0 0; padding-top: 12px; border-top: 1px solid rgba(2, 76, 76, .1); font-size: 13px; color: var(--muted, #5f7373); }
@media (max-width: 860px) { .help-art { grid-template-columns: 1fr; } .help-side { position: static; } .help-ask__form { flex-wrap: wrap; } .help-ask__form input { flex-basis: calc(100% - 50px); } .help-ask__form .btn { width: 100%; } .help-search kbd { display: none; } }
.help-ask__out[hidden], .help-results[hidden], .help-page [hidden] { display: none !important; }
/* Help: one box for search + Ask Granty */
.help-search--ask { margin-top: 22px; padding: 6px 6px 6px 16px; }
.help-search--ask input { font-size: 17px; }
.help-search__go { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 10px; }
.help-ask__av--sm { width: 26px; height: 26px; font-size: 13px; box-shadow: none; background: #012626; color: #b9e59d; }
.help-hint { margin: 10px 2px 0; color: rgba(255, 255, 255, .72); font-size: 14px; }
.help-hero .help-ask { background: none; border: 0; padding: 0; backdrop-filter: none; margin-top: 0; }
.help-hero .help-ask__out { margin-top: 12px; box-shadow: 0 18px 40px -22px rgba(0, 0, 0, .55); }
@media (max-width: 600px) { .help-search--ask { flex-wrap: wrap; padding: 8px 8px 8px 14px; } .help-search--ask input { flex-basis: calc(100% - 40px); } .help-search__go { width: 100%; justify-content: center; } }

/* About: interactive distribution map (full width; full screen on phones) */
.dmap { position: relative; width: 100%; height: min(62.5vw, 86vh); min-height: 460px; background: #123c62; overflow: hidden; }
.dmap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.dmap__tap { display: none; }
/* phones & tablets: a still picture of the map (the live one is heavy for touch devices); computers load the interactive map */
.dmap__still { display: none; position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.dmap.is-still .dmap__still { display: block; }
.dmap.is-still iframe, .dmap.is-still .dmap__tap, .dmap.is-still .dmap__close { display: none !important; }
.dmap__close { position: absolute; z-index: 3; top: max(12px, env(safe-area-inset-top)); right: 12px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: rgba(8, 41, 54, .85); color: #fff; font-size: 18px; cursor: pointer; }
.dmap.is-full { position: fixed; inset: 0; z-index: 5000; width: 100vw; height: 100vh; height: 100dvh; min-height: 0; }
.dmap.is-full .dmap__tap { display: none !important; }
body.dmap-lock { overflow: hidden; }
@media (max-width: 760px) {
  .dmap { height: min(128vw, 78svh); min-height: 0; }
  /* On phones the map opens full screen; until then touches scroll the page */
  .dmap__tap { display: inline-flex; align-items: center; gap: 8px; position: absolute; z-index: 2; inset: 0; justify-content: center; align-items: flex-end; padding-bottom: 76px; border: 0; background: linear-gradient(transparent 55%, rgba(5, 26, 45, .55)); color: #fff; font: 700 15px var(--body); cursor: pointer; }
  .dmap__tap svg { flex: none; }
  .dmap__tap::before { content: ''; position: absolute; left: 50%; bottom: 64px; transform: translateX(-50%); width: 230px; height: 44px; border-radius: 999px; background: rgba(106, 191, 75, .95); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6); z-index: -1; }
}
@media (min-width: 761px) { .dmap__close { display: none !important; } }

/* Chat: short replies with product cards and buttons */
.cmsg p { margin: 0 0 8px; }
.cmsg p:last-child { margin-bottom: 0; }
.cmsg--bot:has(.ccards) { max-width: 94%; }
.ccards { display: grid; gap: 6px; margin: 8px 0; }
.ccard { display: grid; grid-template-columns: 56px 1fr; gap: 10px; align-items: center; padding: 6px 10px 6px 6px; border: 1px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: inherit; font-weight: 400 !important; transition: border-color .15s, box-shadow .15s; }
.ccard:hover { border-color: var(--lime); box-shadow: 0 8px 18px -14px rgba(2, 76, 76, .6); }
.ccard__img { position: relative; width: 56px; height: 56px; border-radius: 9px; background: #f5f7f6; overflow: hidden; }
.ccard__img img { position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px); object-fit: contain; }
.ccard__t { display: grid; gap: 1px; min-width: 0; }
.ccard__t i { font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--lime-600, #4d8f35); }
.ccard__t b { font-size: 13.5px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ccard__t small { font-size: 12px; color: var(--muted, #5f7373); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cbtns { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 2px; }
.cbtn { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; background: var(--mint, #e8f6ec); color: var(--teal, #024c4c) !important; font-size: 13px; font-weight: 700; text-decoration: none; }
.cbtn:hover { background: var(--lime, #6abf4b); color: #012626 !important; }
.cmsg p .cbtn { margin: 2px 0; }
.cmsg a.ccard { display: grid; margin: 0; padding: 6px 10px 6px 6px; background: #fff; border-radius: 12px; font-size: inherit; color: inherit; }

/* Help: screenshots */
.help-shot { margin: 16px 0 20px; }
.help-shot a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid rgba(2, 76, 76, .14); box-shadow: 0 16px 34px -24px rgba(2, 76, 76, .55); cursor: zoom-in; background: #f5f7f6; }
.help-shot img { display: block; width: 100%; height: auto; }
.help-shot figcaption { margin-top: 8px; font-size: 14px; color: var(--muted, #5f7373); }
.help-shot--phone a { max-width: 320px; }
.help-zoom { position: fixed; inset: 0; z-index: 6000; background: rgba(3, 20, 22, .86); display: grid; place-items: center; padding: 24px; cursor: zoom-out; }
.help-zoom img { max-width: 100%; max-height: 100%; border-radius: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }
.help-zoom button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: #fff; font-size: 18px; cursor: pointer; }

/* Help article pages: back button + the same search / Ask Granty bar on top */
.help-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.help-back { display: inline-flex; align-items: center; gap: 10px; flex: none; padding: 14px 22px; border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1.5px solid rgba(255, 255, 255, .28); color: #fff; font: 700 17px var(--body); text-decoration: none; transition: background .2s, border-color .2s, color .2s; }
.help-back svg { transform: rotate(180deg); transition: transform .2s; }
.help-back:hover { background: var(--lime); border-color: var(--lime); color: var(--teal-900, #0b2b2b); }
.help-back:hover svg { transform: rotate(180deg) translateX(3px); }
.help-search--top { flex: 1; max-width: 760px; margin: 0; }
.help-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 10px; }
.help-tags .help-card__type { margin: 0; }
.help-secchip { font: 700 12px var(--body); letter-spacing: .04em; text-transform: uppercase; color: rgba(255, 255, 255, .85); border: 1px solid rgba(255, 255, 255, .3); border-radius: 999px; padding: 4px 10px; text-decoration: none; }
.help-secchip:hover { color: var(--lime); border-color: var(--lime); }
.help-jump { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 50; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .55); padding: 6px; display: grid; }
.help-jump[hidden] { display: none; }
.help-jump__i { display: grid; gap: 2px; padding: 10px 14px; border-radius: 10px; text-decoration: none; color: var(--ink, #102323); }
.help-jump__i small { color: var(--muted, #5f7373); font-size: 13px; }
.help-jump__ask { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 12px 14px; margin-top: 4px; border: 0; border-top: 1px solid rgba(2, 76, 76, .1); border-radius: 0 0 10px 10px; background: none; font: 500 15px var(--body); color: var(--teal, #024c4c); cursor: pointer; }
.help-jump__i:hover, .help-jump__i.is-sel, .help-jump__ask:hover, .help-jump__ask.is-sel { background: #eef6f3; }
@media (max-width: 760px) {
  .help-top { flex-wrap: wrap; }
  .help-back { padding: 12px 18px; font-size: 16px; }
  .help-search--top { flex-basis: 100%; }
}

/* Chat header: one slim line — "Granty Chat" · End chat · × (status line only while waiting for / talking to a person) */
.chatw__head { padding: 10px 10px 10px 18px; min-height: 52px; }
.chatw__title { min-width: 0; display: grid; }
.chatw__title b { font-size: 15.5px; line-height: 1.2; }
.chatw__title small { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chatw__title small[hidden] { display: none; }
.chatw__end { white-space: nowrap; padding: 5px 12px; font-size: 12.5px; }
.chatw__x { width: 32px; height: 32px; }
@media (max-width: 520px) { .chatw__head { padding: calc(8px + env(safe-area-inset-top)) 10px 8px 16px; } }

/* Order templates: padded edit card, buttons that fit phones, even suggestion cards */
.tpl-page { grid-template-columns: minmax(0, 1fr); }
.tpl-edit { padding: 20px 22px; }
.tpl-edit__f .btn { min-height: 46px; }
.tpl-edit__f .btn:hover { transform: none; }
.btn--ghost { --bg: #fff; --fg: var(--teal); border-color: rgba(2, 76, 76, .22); }
.tpl-actions .btn { white-space: normal; text-align: center; line-height: 1.25; }
.rec { display: flex; flex-direction: column; }
.rec__why { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.rec__name { min-height: 2.5em; }
.rec__add { margin-top: auto; padding-top: 8px; }
@media (max-width: 560px) {
  .tpl-edit { padding: 14px; }
  .tpl-edit__f { justify-content: stretch; }
  .tpl-edit__f .muted-sm { flex: 1 0 100%; }
  .tpl-edit__f .btn { flex: 1 1 120px; padding-left: 12px; padding-right: 12px; }
}

/* Confirm box (replaces the browser's confirm() for forms with data-confirm) */
.cbox { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(1, 38, 38, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .2s ease; }
.cbox.is-on { opacity: 1; }
.cbox__card { width: min(420px, 100%); background: #fff; border-radius: 22px; padding: 26px 24px 20px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .45); text-align: center; transform: translateY(12px) scale(.97); transition: transform .25s cubic-bezier(.3, 1.3, .5, 1); }
.cbox.is-on .cbox__card { transform: none; }
.cbox__icon { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: #ffeceb; color: #d63a35; }
.cbox__card h2 { margin: 0 0 6px; font-size: 20px; }
.cbox__card p { margin: 0; color: var(--muted, #5f7373); font-size: 15px; line-height: 1.45; }
.cbox__btns { display: flex; gap: 10px; margin-top: 22px; }
.cbox__btns .btn { flex: 1; }
.cbox__btns .btn:hover { transform: none; }

/* ---- Customer account menu (header) ---- */
.acctm { position: relative; }
.acctm .nav__acct .i:last-child { transition: transform .2s; margin-left: -4px; }
.acctm.is-open .nav__acct .i:last-child { transform: rotate(180deg); }
.acctm__menu { position: absolute; right: 0; top: calc(100% + 10px); z-index: 90; width: 270px; padding: 8px; background: #fff; border-radius: 18px; border: 1px solid var(--line); box-shadow: 0 24px 60px -20px rgba(1, 38, 38, .45); display: grid; opacity: 0; transform: translateY(-6px); transition: opacity .16s, transform .16s; }
.acctm.is-open .acctm__menu { opacity: 1; transform: none; }
.acctm__who { display: flex; align-items: center; gap: 10px; padding: 8px 10px 12px; margin-bottom: 4px; border-bottom: 1px solid var(--line); }
.acctm__who span { display: grid; min-width: 0; }
.acctm__who b { font-size: 14px; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acctm__who small { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.acctm__menu a, .acctm__menu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 0; border-radius: 12px; background: none; font: 600 14.5px var(--body); color: var(--ink); text-decoration: none; cursor: pointer; text-align: left; }
.acctm__menu a:hover, .acctm__menu button:hover, .acctm__menu a:focus-visible, .acctm__menu button:focus-visible { background: var(--mint); color: var(--teal); outline: none; }
.acctm__menu .i { color: var(--teal); flex: none; }
.acctm__menu em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 800; background: var(--lime); color: var(--teal-950); border-radius: 999px; padding: 2px 8px; }
.acctm__menu > i { display: block; height: 1px; background: var(--line); margin: 6px 8px; }
.acctm__menu form button { color: #c92a2a; }
.acctm__menu form button .i { color: #c92a2a; }
.acctm__menu form button:hover { background: #fff1f0; color: #c92a2a; }
.drawer__acct { display: grid; gap: 2px; padding: 4px 0; }
.drawer__acct a, .drawer__acct button { display: flex; align-items: center; gap: 10px; padding: 10px 6px; border: 0; background: none; font: 600 15px var(--body); color: var(--ink); text-decoration: none; cursor: pointer; width: 100%; }
.drawer__acct .i { color: var(--teal); }
.drawer__acct form button, .drawer__acct form button .i { color: #c92a2a; }

/* ---- Account overview: orders → templates → recommended → popular ---- */
.acct-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.acct-sec { margin: 0 0 40px; scroll-margin-top: calc(var(--nav-h, 80px) + 16px); }
.acct-sec__h { display: flex; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; margin-bottom: 14px; }
.acct-sec__h h2 { display: inline-flex; align-items: center; gap: 10px; margin: 0; }
.acct-sec__h h2 .i { color: var(--lime-600, #4f9a33); }
.acct-sec__h p { margin: 0; color: var(--muted); font-size: 14px; }
.acct-sec .orders-list { margin-top: 0; }
.acct-more { justify-self: start; margin-top: 4px; }
.acct-recs { margin: 0 0 40px; }
.tplq { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 12px; }
.tplq__card { display: grid; gap: 14px; align-content: space-between; padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; }
.tplq__t { display: grid; gap: 3px; color: inherit; text-decoration: none; }
.tplq__t b { display: inline-flex; align-items: center; gap: 6px; font-size: 17px; }
.tplq__t small { color: var(--muted); font-size: 13px; }
a.tplq__t:hover b { color: var(--teal); }
.tplq__btns { display: flex; gap: 8px; }
.tplq__btns form { flex: 1; }
.tplq__btns form .btn { width: 100%; }
.tplq__btns .btn:hover { transform: none; }
.tplq__new { border-style: dashed; border-color: rgba(2, 76, 76, .28); background: #fbfdfc; }
.tplq__new .tplq__t b { color: var(--teal); }
.tplq__name { display: flex; gap: 8px; }
.tplq__name input { flex: 1; min-width: 0; padding: 9px 12px; border-radius: 12px; border: 1px solid rgba(2, 76, 76, .2); font: inherit; font-size: 15px; }

/* ---- Account settings page ---- */
.acct-set { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.acct-set__nav { display: flex; gap: 8px; flex-wrap: wrap; }
.acct-set__nav a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--teal); font-weight: 700; font-size: 14px; text-decoration: none; }
.acct-set__nav a:hover { border-color: var(--lime); }
.acct-set__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.acct-set__col { display: grid; gap: 18px; }
.acct-card { padding: 24px; gap: 12px; scroll-margin-top: calc(var(--nav-h, 80px) + 16px); }
.acct-card h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 4px; font-size: 20px; }
.acct-card h2 .i { color: var(--lime-600, #4f9a33); }
.acct-card:target { box-shadow: 0 0 0 3px rgba(106, 191, 75, .45), var(--shadow); }
@media (max-width: 860px) { .acct-set__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---- Template edit: −/+ steppers, saves by itself ---- */
.tpl-step { display: inline-flex; align-items: center; border: 1px solid rgba(2, 76, 76, .2); border-radius: 12px; overflow: hidden; background: #fff; }
.tpl-step button { width: 38px; height: 40px; border: 0; background: none; color: var(--teal); cursor: pointer; display: grid; place-items: center; }
.tpl-step button:hover { background: var(--mint); }
.tpl-step input { width: 52px; height: 40px; border: 0; border-left: 1px solid rgba(2, 76, 76, .12); border-right: 1px solid rgba(2, 76, 76, .12); text-align: center; font: 700 15px var(--body); -moz-appearance: textfield; }
.tpl-step input::-webkit-outer-spin-button, .tpl-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.tpl-line { transition: opacity .25s; }
.tpl-saved { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #2f7a1c; }
.tpl-saved[data-state="saving"] { color: var(--muted); }
.tpl-saved[data-state="error"] { color: #c92a2a; }
@media (max-width: 560px) { .tpl-line .tpl-step { grid-column: 2 / -1; justify-self: start; } }
.tplq__t small b { display: inline; font-size: inherit; color: var(--teal); }
.cart-grid .tpl-save { margin-top: 18px; }

/* New horizontal Grante Foods International logo (wider, shorter than the old stacked one) */
.nav__logo { width: 232px; height: 60px; }
.footer__brand img { width: 220px; }
@media (max-width: 1100px) { .nav__logo { width: 200px; height: 52px; } }
@media (max-width: 560px) { .nav__logo { width: 172px; height: 45px; } }

/* Intro photo: no dashed circle; premium "EST. 2007" medallion (dark teal, champagne-gold rings) */
.intro__media::after { display: none; }
.seal { background: none; box-shadow: 0 26px 44px -18px rgba(1, 30, 30, .7), 0 0 0 5px rgba(255, 255, 255, .9); overflow: hidden; transition: transform .5s var(--ease); }
.seal::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: linear-gradient(115deg, transparent 38%, rgba(255, 244, 214, .22) 50%, transparent 62%) -140% 0 / 250% 100% no-repeat; animation: sealshine 6s ease-in-out infinite; pointer-events: none; }
.seal svg { width: 100%; height: 100%; display: block; }
.seal__band text { font: 800 10.5px var(--body); letter-spacing: .3em; }
.seal__est { font: 800 11px var(--body); letter-spacing: .5em; }
.seal__year { font: 800 42px var(--display); letter-spacing: -.01em; }
.seal__na { font: 700 6.8px var(--body); letter-spacing: .2em; }
.intro__media:hover .seal { transform: rotate(-6deg) scale(1.03); }
@keyframes sealshine { 0%, 55% { background-position: -140% 0; } 85%, 100% { background-position: 240% 0; } }
@media (prefers-reduced-motion: reduce) { .seal::after { animation: none; } }
.seal__band .seal__bot { font-size: 9px; letter-spacing: .16em; }

/* Short intro lines break evenly (no single word left alone on the last line) */
.hero__sub, .phero__sub, .cat-hero__sub, .bhero__sub, .lead, .lead-sm, .section__sub, .recs__h p, .acct-sec__h p { text-wrap: balance; }
p, li, figcaption { text-wrap: pretty; }
/* Medallion, simpler: one ring line + big year */
.seal__band text { font-size: 12px; letter-spacing: .32em; }
.seal__est { font-size: 12px; letter-spacing: .55em; }
.seal__year { font-size: 44px; }

/* My account: balance & due date (red when past due) */
.acct-stats--6 { grid-template-columns: repeat(6, minmax(0, 1fr)); }
@media (max-width: 1100px) { .acct-stats--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 980px) { .acct-stats--6 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.acct-bal { border-color: #cfe7d6 !important; background: #f6fcf7 !important; }
.acct-bal.is-late { border-color: #f1b8b1 !important; background: #fdf0ef !important; }
.acct-bal.is-late small, .acct-bal.is-late b { color: #c0352b; }
.acct-bal.is-late b span { color: #c0352b; opacity: .8; }
.acct-due-alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; margin: 0 0 14px; border-radius: 14px; background: #d93a2f; border: 1px solid #c0352b; color: #fff; font-size: 15px; box-shadow: 0 8px 22px -12px rgba(192, 53, 43, .6); }
.acct-due-alert svg { flex: none; color: #fff; margin-top: 2px; }
.acct-due-alert b { color: #fff; }
.acct-due-alert.is-ok { background: #eef9e9; border-color: #c9e8bb; color: #2f6b1d; box-shadow: none; }
.acct-due-alert.is-ok svg, .acct-due-alert.is-ok b { color: #3b8a24; }
.acct-bal.is-ok { border-color: #c9e8bb !important; background: #f3fbef !important; }
.acct-bal.is-ok small { color: #3b8a24; }

/* trace number (whoever is signed in) — small, unlabelled, bottom-right of each card */
div.product { position: relative; }
div.product:has(> .product__trace) { padding-bottom: 9px; }
.product__trace i { font-style: normal; white-space: nowrap; letter-spacing: .05em; }
.product__trace { display: block; margin-top: 8px; text-align: center; font-size: 11px; line-height: 1.25; letter-spacing: .02em; font-variant-numeric: tabular-nums; color: #8a9695; pointer-events: none; user-select: none; -webkit-user-select: none; }
.product__trace--pm { position: static; display: block; text-align: center; margin-top: 10px; }
/* faint watermark of the trace number over product photos (only when someone is signed in: --trace-wm is set) */
.pmodal__img { position: relative; }
.product__img::after, .pmodal__img::after { content: ''; position: absolute; inset: 0; background-image: var(--trace-wm, none); background-size: 176px 96px; pointer-events: none; z-index: 2; border-radius: inherit; }
div.product:not(:has(> .product__foot)) > .product__trace { margin-top: auto; padding-top: 8px; }

/* ---- Signed-in customers: LodDepot's category list on the left of the catalog (visitors keep the department tiles) ---- */
.catalog__grid--ld { grid-template-columns: 264px minmax(0, 1fr); gap: 28px; }
.ldcat { position: sticky; top: calc(var(--nav-h) + 92px); max-height: calc(100vh - var(--nav-h) - 110px); display: flex; flex-direction: column; gap: 8px; padding-right: 12px; border-right: 2px solid var(--teal); transition: top .35s var(--ease); }
.ldcat__head { flex: none; display: flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border: 0; border-radius: 12px; background: var(--teal); color: #fff; font: 800 12.5px var(--body); letter-spacing: .08em; text-transform: uppercase; text-align: left; cursor: default; }
.ldcat__head span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ldcat__head b { font-weight: 800; letter-spacing: .02em; text-transform: none; opacity: .85; }
.ldcat__head i { display: none; width: 8px; height: 8px; border: 2px solid currentColor; border-top: 0; border-left: 0; transform: translateY(-2px) rotate(45deg); transition: transform .25s; }
.ldcat__list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 2px 2px 12px 0; scrollbar-width: thin; }
.ldcat__grp { margin-bottom: 10px; }
.ldcat__grp--flags { padding-bottom: 10px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.ldcat__list a, .ldcat__list .is-plain { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 1.25; }
.ldcat__list a > span { flex: 1; min-width: 0; }
.ldcat__list a:hover { background: var(--paper); }
.ldcat__list a.is-on { background: var(--teal); color: #fff; }
.ldcat__list .is-top { font-weight: 800; }
.ldcat__list .is-sub { position: relative; padding-left: 30px; font-weight: 600; font-size: 14.5px; }
.ldcat__list .is-sub::before { content: ''; position: absolute; left: 15px; top: 8px; width: 8px; height: 9px; border-left: 1.5px solid #b7c7c6; border-bottom: 1.5px solid #b7c7c6; border-radius: 0 0 0 3px; }
.ldcat__list .is-sub.is-on::before { border-color: rgba(255, 255, 255, .55); }
/* departments: green bars, so each one reads as its own block */
.ldcat__grp:not(.ldcat__grp--flags) > .is-top { background: #3d8b2b; color: #fff; margin-bottom: 4px; }
.ldcat__grp:not(.ldcat__grp--flags) > a.is-top:hover { background: #347a24; }
.ldcat__grp:not(.ldcat__grp--flags) > .is-top.is-on { background: var(--teal); box-shadow: 0 0 0 2px #3d8b2b; }
.ldcat__grp:not(.ldcat__grp--flags) > .is-top.is-plain { background: var(--muted); }
.ldflag { flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 9px; background: var(--fb, var(--mint)); color: var(--fc, var(--lime-600)); font-style: normal; }
.ldflag--featured { --fc: #b7791f; --fb: #fdf3d7; }
.ldflag--new { --fc: #d9620f; --fb: #fdeedd; }
.ldflag--promo { --fc: #2f8f2f; --fb: #e3f6dc; }
.ldflag--sugarfree { --fc: #0f8a9b; --fb: #def4f7; }
.ldflag--halal { --fc: #3c7a26; --fb: #e6f4de; }
.ldflag--kosher { --fc: #2a66c8; --fb: #e5eefc; }
.ldflag--organic { --fc: #17633a; --fb: #dff1e6; }
.ldflag--hot { --fc: #d6451b; --fb: #fde6de; }
.ldflag--pallet { --fc: #8a5a12; --fb: #f8ecd6; }
.ldflag--percent { --fc: #b3261e; --fb: #fde3e1; }
.ldcat__list a.is-on .ldflag { background: #fff; }
/* the filters: a bar that slides down under "Filters" */
.ldf-btn b { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--teal); color: #fff; font-size: 11px; line-height: 20px; text-align: center; }
.ldf-btn.is-on, .ldf-btn[aria-expanded="true"] { background: var(--mint); border-color: var(--teal); }
.ldf { display: none; flex-wrap: wrap; align-items: center; gap: 10px; margin: -6px 0 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.ldf.is-open { display: flex; animation: ldf-drop .22s ease-out; }
@keyframes ldf-drop { from { opacity: 0; transform: translateY(-8px); } }
.ldf__chips { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 320px; min-width: 0; }
.ldf__chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 13px 5px 5px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); font: 700 14px var(--body); text-decoration: none; }
.ldf__chip .ldflag, .ldf__sel .ldflag { width: 24px; height: 24px; border-radius: 50%; }
.ldf__chip .ldflag svg, .ldf__sel .ldflag svg { width: 14px; height: 14px; }
.ldf__chip:hover { border-color: var(--teal); }
.ldf__chip.is-on { background: var(--teal); border-color: var(--teal); color: #fff; }
.ldf__chip.is-on .ldflag { background: #fff; }
.ldf__sel { display: inline-flex; align-items: center; gap: 7px; padding: 4px 8px 4px 5px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font: 700 14px var(--body); color: var(--ink); }
.ldf__sel select { border: 0; background: none; font: inherit; font-weight: 600; color: inherit; max-width: 190px; padding: 4px 2px; cursor: pointer; }
.ldf__sel.is-on { border-color: var(--teal); background: var(--mint); }
.ldf__clear { font: 700 14px var(--body); color: var(--teal); }
@media (max-width: 900px) {
  .catalog__grid--ld { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .ldcat { position: static; max-height: none; padding-right: 0; border-right: 0; }
  .ldcat__head { cursor: pointer; }
  .ldcat__head i { display: block; }
  .ldcat__list { display: none; max-height: 62vh; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
  .ldcat.is-open .ldcat__list { display: block; animation: ldf-drop .22s ease-out; }
  .ldcat.is-open .ldcat__head i { transform: translateY(2px) rotate(-135deg); }
}
/* customers come to order: a short promo strip, so the categories and products are on the first screen */
.cat-hero--compact { padding: 26px 0 28px; }
.cat-hero--compact .cat-hero__title { font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.cat-hero--compact .cat-hero__sub { margin-bottom: 0; }
.cat-hero--compact.cat-hero--promo { padding: 0; height: 200px; }
.cat-hero--compact .promo__in { padding: 14px 0 26px; }
.cat-hero--compact .promo__text .cat-hero__title { font-size: clamp(22px, 2.3vw, 30px); margin-bottom: 6px; -webkit-line-clamp: 2; }
.cat-hero--compact .promo__text .cat-hero__sub { -webkit-line-clamp: 1; margin-bottom: 10px; font-size: 15px; }
.cat-hero--compact .promo__text .eyebrow { margin-bottom: 6px; }
.cat-hero--compact .hero__ctas .btn { padding: 8px 16px; font-size: 14px; }
.cat-hero--compact .promo__dots { bottom: 10px; }
/* "Categories" slides the list away to a narrow strip (like the sales app) */
.catalog__grid--ld { transition: grid-template-columns .28s ease; }
.ldcat__head { cursor: pointer; }
.ldcat__head i { display: block; transform: rotate(135deg); }
@media (min-width: 901px) {
  .catalog__grid--ld.is-closed { grid-template-columns: 58px minmax(0, 1fr); }
  .catalog__grid--ld.is-closed .ldcat__list { display: none; }
  .catalog__grid--ld.is-closed .ldcat__head { flex: 1; writing-mode: vertical-rl; width: 44px; min-height: 0; padding: 14px 0; justify-content: flex-start; }
  .catalog__grid--ld.is-closed .ldcat__head span { flex: none; }
  .catalog__grid--ld.is-closed .ldcat__head svg { transform: rotate(90deg); }
  .catalog__grid--ld.is-closed .ldcat__head i { transform: rotate(45deg); margin-top: 4px; }
}
@media (max-width: 900px) {
  .ldcat__head i { transform: translateY(-2px) rotate(45deg); }
}
/* what is already in the cart stands out */
.product:has(.padd.has-qty) { border-color: var(--lime); background: var(--mint); box-shadow: 0 0 0 2px var(--lime); }
.product:has(.padd.has-qty) .product__img { background: #fff; }
/* "All categories" panel: deals inside Promo deals sit one step in */
.mega__col a.mega__sub2 { padding-left: 58px; }
.mega__col--flags .mega__dept { color: var(--lime-600); }

/* ---- catalog hero: a square promo picture is shown whole, as a card, over a blurred copy of itself (it used to be stretched across the banner: cut off and blurry) ---- */
.promo__bg { position: absolute; inset: -50px; z-index: 0; background-size: cover; background-position: center; filter: blur(36px) saturate(1.15); opacity: .55; }
.promo--card::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--teal-950) 0%, rgba(1, 38, 38, .86) 34%, rgba(1, 38, 38, .42) 72%, rgba(1, 38, 38, .3) 100%), radial-gradient(420px 300px at 0% 50%, rgba(106, 191, 75, .2), transparent 70%); }
.promo--card .promo__media { top: 22px; bottom: 34px; right: max(20px, calc((100% - 1240px) / 2)); width: auto; aspect-ratio: 1; z-index: 2; border-radius: 22px; overflow: hidden;
  -webkit-mask-image: none; mask-image: none; box-shadow: 0 26px 54px -20px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .14); }
.promo--card .promo__media::after { display: none; }
.promo--card .pframe img { transform: none; }
.promo--card .pframe:hover img { transform: scale(1.03); }
.promo--card.is-on .pframe img { animation: none; }
.promo--card .promo__text { max-width: min(560px, calc(100% - 400px)); }
.cat-hero--compact .promo--card .promo__media { top: 12px; bottom: 16px; border-radius: 14px; }
.cat-hero--compact .promo--card .promo__text { max-width: calc(100% - 200px); }
@media (max-width: 760px) {
  .cat-hero--promo:has(.promo--card):not(.cat-hero--compact) { height: 520px; }
  .promo--card .promo__media { top: 18px; bottom: auto; right: auto; left: 50%; height: 190px; translate: -50% 0; border-radius: 18px; }
  .promo--card .promo__text { max-width: none; }
  .promo--card::before { background: linear-gradient(0deg, var(--teal-950) 0%, rgba(1, 38, 38, .8) 42%, rgba(1, 38, 38, .35) 100%); }
  .cat-hero--compact .promo--card .promo__media { left: auto; right: 16px; top: 12px; bottom: 16px; height: auto; translate: none; }
  .cat-hero--compact .promo--card .promo__text { max-width: calc(100% - 190px); }
}

/* Catalog: LodDepot's banners on top — shown whole, two side by side (one on phones), sliding */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.cat-hero--banners { padding: 22px 0 18px; }
.ldb { position: relative; --gap: 16px; }
.ldb__track { display: flex; gap: var(--gap); overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; -webkit-overflow-scrolling: touch; border-radius: var(--radius); outline-offset: 4px; }
.ldb__track::-webkit-scrollbar { display: none; }
.ldb__item { flex: 0 0 calc((100% - var(--gap)) / 2); scroll-snap-align: start; display: block; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .06); box-shadow: 0 18px 40px -24px rgba(0, 0, 0, .7); }
.ldb__item img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; transition: transform .6s var(--ease); }
.ldb__item:hover img { transform: scale(1.025); }
.ldb--one .ldb__track { justify-content: center; }
.ldb__nav { position: absolute; top: calc(50% - 16px); z-index: 2; width: 42px; height: 42px; margin-top: -21px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; background: #fff; color: var(--teal-950); box-shadow: 0 8px 22px -8px rgba(0, 0, 0, .55); transition: background .2s, transform .2s var(--ease), opacity .2s; }
.ldb__nav:hover { background: var(--lime); transform: scale(1.06); }
.ldb__nav--prev { left: -14px; }
.ldb__nav--prev svg { transform: rotate(180deg); }
.ldb__nav--next { right: -14px; }
.ldb__dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; min-height: 4px; }
.ldb__dots button { width: 28px; height: 4px; border-radius: 2px; border: 0; padding: 0; cursor: pointer; background: rgba(255, 255, 255, .3); position: relative; }
.ldb__dots button::after { content: ''; position: absolute; inset: -10px 0; } /* easier to tap */
.ldb__dots button.is-on { background: var(--lime); }
@media (max-width: 760px) {
  .cat-hero--banners { padding: 14px 0 12px; }
  .ldb { --gap: 10px; }
  .ldb__item { flex-basis: 100%; }
  .ldb__nav { display: none; }
  .ldb__dots { margin-top: 10px; }
  .ldb__dots button { width: 18px; }
}
@media (prefers-reduced-motion: reduce) { .ldb__track { scroll-behavior: auto; } .ldb__item img { transition: none; } }

