/* Pharmaline — design system styles (recreated from Claude Design prototype)
   Defaults baked in: pharmacy-green palette · Manrope · white header · classic hero · comfortable density */
:root {
  --c-primary: #0E8A5F;
  --c-primary-dark: #0B3D2E;
  --c-cta: #0E8A5F;
  --c-cta-text: #ffffff;
  --c-bg: #F6F9F7;
  --c-tint: #E7F2EC;
  --c-surface: #ffffff;
  --c-text: #15231C;
  --c-text-soft: #5B6B62;
  --c-border: #DFE8E2;
  --font-head: "Manrope", sans-serif;
  --font-body: "Manrope", sans-serif;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(21,35,28,.05), 0 8px 24px -12px rgba(21,35,28,.12);
  --shadow-lg: 0 24px 48px -16px rgba(21,35,28,.22);
  --card-pad: 20px;
  --grid-min: 248px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; }
p { margin: 0; text-wrap: pretty; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea { font-family: inherit; }
img { max-width: 100%; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .container { padding: 0 16px; } }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; font-weight: 700; font-size: 15px;
  padding: 13px 26px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--c-cta); color: var(--c-cta-text); }
.btn-primary:hover { box-shadow: 0 8px 20px -6px color-mix(in oklab, var(--c-cta) 55%, transparent); }
.btn-outline { background: transparent; color: var(--c-primary); border: 1.5px solid var(--c-primary); }
.btn-outline:hover { background: var(--c-tint); }
.btn-ghost-light { background: rgba(255,255,255,.16); color: #fff; border: 1.5px solid rgba(255,255,255,.45); }
.btn-ghost-light:hover { background: rgba(255,255,255,.26); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.header { position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 20px; min-height: 68px; }
.header-inner > * { min-width: 0; }
.header-white { background: var(--c-surface); border-bottom: 1px solid var(--c-border); }
.header-green { background: linear-gradient(90deg, var(--c-primary-dark), var(--c-primary)); color: #fff; }
.header-green .nav-link { color: rgba(255,255,255,.85); }
.header-green .nav-link:hover, .header-green .nav-link.active { color: #fff; }
.header-green .nav-link.active::after { background: #fff; }

.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--c-primary); color: #fff; font-weight: 800; font-size: 19px; font-family: var(--font-head);
}
.header-green .logo-mark { background: rgba(255,255,255,.95); color: var(--c-primary); }
.logo-name { font-family: var(--font-head); font-weight: 800; font-size: 19px; letter-spacing: .02em; line-height: 1.1; }
.logo-name span { color: var(--c-primary); }
.header-green .logo-name span { color: #B9F3D6; }
.logo-tag { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--c-text-soft); }
.header-green .logo-tag { color: rgba(255,255,255,.7); }

.nav { display: flex; gap: 4px; }
.nav-link {
  position: relative; padding: 8px 14px; font-weight: 600; font-size: 15px;
  color: var(--c-text-soft); border-radius: 8px; background: none; border: none;
  white-space: nowrap;
}
.nav-link:hover { color: var(--c-text); }
.nav-link.active { color: var(--c-primary); }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2.5px;
  border-radius: 2px; background: var(--c-primary);
}

.search-box {
  display: flex; align-items: center; gap: 8px; flex: 1 1 140px; min-width: 70px; max-width: 280px;
  background: var(--c-bg); border: 1px solid var(--c-border); border-radius: 999px; padding: 9px 16px;
  color: var(--c-text-soft); font-size: 14px; position: relative;
}

/* Live search suggestions */
.search-suggest {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 70; min-width: 300px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 6px; animation: ddIn .16s ease;
}
.search-suggest[hidden] { display: none; }
.suggest-item { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; color: var(--c-text); }
.suggest-item:hover { background: var(--c-bg); }
.suggest-thumb { width: 44px; height: 44px; border-radius: 8px; background: var(--c-bg); flex-shrink: 0; overflow: hidden; display: grid; place-items: center; }
.suggest-thumb img { width: 100%; height: 100%; object-fit: contain; }
.suggest-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.suggest-name { font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--c-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.suggest-price { font-size: 12.5px; font-weight: 700; color: var(--c-primary); }
.suggest-empty { padding: 16px 12px; text-align: center; font-size: 13.5px; color: var(--c-text-soft); }
.suggest-more {
  display: block; width: 100%; text-align: center; padding: 12px; margin-top: 4px;
  border: none; border-top: 1px solid var(--c-border); background: none; color: var(--c-primary);
  font-family: inherit; font-weight: 700; font-size: 13.5px;
}
.suggest-more:hover { color: var(--c-primary-dark); }
.search-box input { border: none; background: none; outline: none; width: 100%; min-width: 0; font-size: 14px; color: var(--c-text); }
.search-box button { background: none; border: none; padding: 0; color: inherit; display: inline-flex; }
.header-green .search-box { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: rgba(255,255,255,.8); }
.header-green .search-box input { color: #fff; }
.header-green .search-box input::placeholder { color: rgba(255,255,255,.65); }

.phone-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: 15px; flex-shrink: 0; color: var(--c-primary); }
.header-green .phone-btn { color: #fff; }

.lang-dd { position: relative; flex-shrink: 0; }
.lang-trigger {
  display: inline-flex; align-items: center; gap: 7px; background: var(--c-bg);
  border: 1px solid var(--c-border); border-radius: 999px; padding: 8px 12px;
  font-family: inherit; font-weight: 700; font-size: 13.5px; color: var(--c-text);
  transition: border-color .15s, background .15s;
}
.lang-trigger:hover { border-color: var(--c-primary); }
.lang-trigger-code { letter-spacing: .04em; }
.lang-trigger-native { color: var(--c-text-soft); font-weight: 600; max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lang-caret { display: inline-flex; color: var(--c-text-soft); transition: transform .18s ease; }
.lang-dd.open .lang-caret { transform: rotate(90deg); }

.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 80; min-width: 230px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: 14px;
  box-shadow: var(--shadow-lg); padding: 6px; max-height: 340px; overflow-y: auto;
  animation: ddIn .16s ease;
}
.lang-dd:not(.open) .lang-menu { display: none; }
@keyframes ddIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.lang-option {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
  background: none; border: none; border-radius: 10px; padding: 10px 12px; color: var(--c-text);
  font-family: inherit; transition: background .12s;
}
.lang-option:hover:not(.disabled) { background: var(--c-bg); }
.lang-option.active { background: var(--c-tint); }
.lang-option.disabled { opacity: .5; cursor: default; }
.lang-badge {
  flex-shrink: 0; width: 34px; height: 28px; border-radius: 7px; display: grid; place-items: center;
  background: var(--c-bg); border: 1px solid var(--c-border); font-size: 11.5px; font-weight: 800;
  letter-spacing: .04em; color: var(--c-text-soft);
}
.lang-option.active .lang-badge { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }
.lang-labels { display: flex; flex-direction: column; line-height: 1.25; flex: 1; min-width: 0; }
.lang-native { font-weight: 700; font-size: 14.5px; }
.lang-english { font-size: 12px; color: var(--c-text-soft); }
.lang-check { color: var(--c-primary); display: inline-flex; flex-shrink: 0; }
.lang-soon {
  flex-shrink: 0; font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--c-text-soft); background: var(--c-bg); border: 1px solid var(--c-border);
  padding: 2px 7px; border-radius: 999px;
}

/* green header variant */
.header-green .lang-trigger { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.3); color: #fff; }
.header-green .lang-trigger:hover { border-color: rgba(255,255,255,.6); }
.header-green .lang-trigger-native { color: rgba(255,255,255,.78); }
.header-green .lang-caret { color: rgba(255,255,255,.7); }

/* block variant (mobile drawer) */
.lang-dd-block { width: 100%; }
.lang-dd-block .lang-trigger { width: 100%; justify-content: flex-start; padding: 13px 14px; font-size: 15px; border-radius: 12px; }
.lang-dd-block .lang-caret { margin-left: auto; }
.lang-dd-block .lang-menu { left: 0; right: 0; min-width: 0; bottom: calc(100% + 8px); top: auto; }

.burger { display: none; background: none; border: none; padding: 8px; color: inherit; flex-shrink: 0; }
.header-spacer { flex: 1; }

/* Mobile drawer */
.drawer[hidden], .drawer-overlay[hidden] { display: none; }
.drawer-overlay { position: fixed; inset: 0; background: rgba(11,30,22,.45); z-index: 90; animation: fadeIn .2s ease; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 88vw); z-index: 91;
  background: var(--c-surface); box-shadow: var(--shadow-lg); padding: 18px 18px 22px;
  display: flex; flex-direction: column; gap: 4px; animation: slideIn .25s ease;
}
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 6px 16px; border-bottom: 1px solid var(--c-border); margin-bottom: 12px; }
.drawer-title { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; font-family: var(--font-head); }
.drawer-title .logo-mark { width: 34px; height: 34px; font-size: 17px; border-radius: 9px; }
.drawer .nav-link {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  text-align: left; font-size: 16.5px; padding: 14px; border-radius: 12px; color: var(--c-text);
}
.drawer .nav-link:hover { background: var(--c-bg); }
.drawer .nav-link.active { background: var(--c-tint); color: var(--c-primary); }
.drawer .nav-link.active::after { display: none; }
.drawer .nav-link .chev { color: var(--c-text-soft); opacity: .6; display: inline-flex; }
.drawer .nav-link.active .chev { color: var(--c-primary); opacity: 1; }
.drawer-foot { margin-top: auto; display: flex; flex-direction: column; gap: 14px; border-top: 1px solid var(--c-border); padding-top: 18px; }
.drawer-close { background: var(--c-bg); border: none; border-radius: 50%; width: 38px; height: 38px; display: grid; place-items: center; color: var(--c-text-soft); flex-shrink: 0; }

@media (max-width: 1180px) {
  .header .logo-tag { display: none; }
  .header .nav-link { padding: 8px 10px; font-size: 14.5px; }
}
@media (max-width: 980px) {
  .header .nav, .navbar-row { display: none; }
  .burger { display: inline-flex; }
  .search-box { max-width: none; }
}
@media (max-width: 640px) {
  .header .search-box { display: none; }
  .header .phone-label { display: none; }
  .header-inner { gap: 10px; min-height: 60px; }
  .header .logo-name { font-size: 17px; }
  .header .logo-mark { width: 34px; height: 34px; font-size: 17px; }
  .lang-trigger { padding: 7px 9px; }
  .lang-trigger-native { display: none; }
  .burger { padding: 4px; }
}
@media (max-width: 360px) {
  .header .lang-trigger-code { display: none; }
}

/* ============ Hero variants ============ */
.hero-classic { background: linear-gradient(160deg, var(--c-tint), var(--c-bg) 70%); border-bottom: 1px solid var(--c-border); }
.hero-classic-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 64px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: var(--c-primary);
  background: var(--c-surface); border: 1px solid var(--c-border); padding: 7px 14px; border-radius: 999px;
}
.hero-title { font-size: 50px; font-weight: 800; margin: 20px 0 16px; }
.hero-sub { font-size: 18px; color: var(--c-text-soft); max-width: 48ch; }
.hero-actions { display: flex; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.hero-badges { display: flex; gap: 24px; margin-top: 36px; flex-wrap: wrap; }
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; color: var(--c-text-soft); }
.hero-badge .tick { color: var(--c-primary); flex-shrink: 0; }
.hero-visual { position: relative; }
.hero-photo { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; display: block; }

/* hero product carousel */
.hero-carousel { position: relative; border-radius: var(--radius); box-shadow: var(--shadow-lg); background: var(--c-surface); border: 1px solid var(--c-border); overflow: hidden; }
.hero-carousel-track { display: flex; transition: transform .5s ease; }
.hero-slide { position: relative; flex: 0 0 100%; aspect-ratio: 4/3; display: block; color: inherit; }
.hero-slide > img { width: 100%; height: 100%; object-fit: contain; padding: 24px 24px 72px; }
.hero-slide-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 18px 30px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; color: #fff;
  background: linear-gradient(to top, rgba(11,30,22,.82), rgba(11,30,22,.42) 55%, transparent);
}
.hero-slide-name { width: 100%; text-align: center; font-weight: 700; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hero-slide-price { font-weight: 800; font-size: 15px; white-space: nowrap; flex-shrink: 0; }
.hero-arrow {
  position: absolute; top: 44%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: 1px solid var(--c-border); display: grid; place-items: center;
  color: var(--c-text); box-shadow: var(--shadow); z-index: 3;
}
.hero-arrow:hover { color: var(--c-primary); border-color: var(--c-primary); }
.hero-arrow.prev { left: 10px; }
.hero-arrow.next { right: 10px; }
.hero-arrow.prev svg { transform: rotate(180deg); }
.hero-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 3; }
.hero-dot { width: 8px; height: 8px; padding: 0; border: none; border-radius: 999px; background: rgba(255,255,255,.5); cursor: pointer; transition: width .2s ease, background .2s ease; }
.hero-dot.active { width: 22px; background: #fff; }
.hero-carousel[data-single] .hero-arrow, .hero-carousel[data-single] .hero-dots { display: none; }

.hero-banner { background: linear-gradient(110deg, var(--c-primary-dark) 0%, var(--c-primary) 75%); color: #fff; }
.hero-banner-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; padding-block: 56px; }
.hero-banner .hero-kicker { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #C9F4DE; }
.hero-banner .hero-sub { color: rgba(255,255,255,.82); }
.hero-banner .hero-badge { color: rgba(255,255,255,.85); }
.hero-banner .hero-badge .tick { color: #8BE8BC; }

.hero-compact { background: linear-gradient(90deg, var(--c-primary-dark), var(--c-primary)); color: #fff; }
.hero-compact-inner { padding-block: 40px 44px; text-align: center; }
.hero-compact .hero-kicker { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); color: #C9F4DE; }
.hero-compact .hero-title { font-size: 36px; margin: 8px 0 10px; }
.hero-compact .hero-sub { margin: 0 auto; color: rgba(255,255,255,.82); }
.hero-search {
  display: flex; align-items: center; gap: 10px; max-width: 520px; margin: 26px auto 0;
  background: #fff; border-radius: 999px; padding: 7px 7px 7px 22px; color: var(--c-text-soft);
  box-shadow: var(--shadow-lg);
}
.hero-search input { flex: 1; border: none; outline: none; font-size: 15.5px; background: none; color: var(--c-text); min-width: 0; }

@media (max-width: 860px) {
  .hero-classic-inner, .hero-banner-inner { grid-template-columns: 1fr; gap: 32px; padding-block: 40px; }
  .hero-visual { max-width: 420px; margin: 0 auto; width: 100%; }
}

/* ============ Sections ============ */
.section { padding: 56px 0; }
.section-tint { background: var(--c-tint); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.section-title { font-size: 28px; font-weight: 800; }
.section-link { font-weight: 700; font-size: 14.5px; color: var(--c-primary); white-space: nowrap; }
.section-link:hover { text-decoration: underline; }

/* Categories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
/* Single visible row — shows only the categories that fit, no wrap, no scroll */
.cat-grid-onerow { grid-template-rows: auto; grid-auto-rows: 0; row-gap: 0; overflow: hidden; }
.cat-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 16px; text-align: left; transition: border-color .15s, box-shadow .15s, transform .15s;
  border-bottom: 3px solid var(--c-border); cursor: pointer; font-family: inherit; color: inherit;
}
.cat-card:hover { border-color: var(--c-primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-icon {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  background: var(--c-tint); color: var(--c-primary);
}
.cat-name { font-weight: 700; font-size: 14px; line-height: 1.3; }

.chip-row { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: thin; }
.chip {
  flex-shrink: 0; border: 1px solid var(--c-border); background: var(--c-surface);
  padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--c-text-soft);
}
.chip:hover { border-color: var(--c-primary); color: var(--c-primary); }
.chip.active { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* Product cards */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(var(--grid-min), 1fr)); gap: 18px; }
.prod-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s;
  position: relative;
}
.prod-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.prod-media { position: relative; aspect-ratio: 1 / .82; background: var(--c-bg); cursor: pointer; display: block; }
.prod-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.prod-flag {
  position: absolute; top: 12px; left: 12px; z-index: 2; font-size: 11.5px; font-weight: 800;
  letter-spacing: .05em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px;
  background: var(--c-primary); color: #fff;
}
.prod-body { padding: var(--card-pad); display: flex; flex-direction: column; gap: 6px; flex: 1; }
.prod-cat { font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--c-primary); }
.prod-name { font-size: 17px; font-weight: 800; cursor: pointer; line-height: 1.28; }
.prod-name:hover { color: var(--c-primary); }
.prod-tagline { font-size: 14px; color: var(--c-text-soft); flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.prod-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.prod-price { font-size: 20px; font-weight: 800; display: inline-flex; align-items: baseline; gap: 7px; }
.prod-price small { font-size: 13px; font-weight: 600; color: var(--c-text-soft); }
.price-old { font-size: 14px; font-weight: 600; color: var(--c-text-soft); text-decoration: line-through; }

/* Product row carousel (home: popular / new) */
.prod-carousel { position: relative; }
.prod-carousel-track {
  display: flex; gap: 18px; overflow-x: auto; scroll-behavior: smooth;
  scroll-snap-type: x proximity; padding: 4px 2px 8px; scrollbar-width: thin;
}
.prod-carousel-track::-webkit-scrollbar { height: 8px; }
.prod-carousel-track::-webkit-scrollbar-thumb { background: var(--c-border); border-radius: 999px; }
html:not(.no-js) .prod-carousel-track { scrollbar-width: none; }
html:not(.no-js) .prod-carousel-track::-webkit-scrollbar { display: none; }
.prod-carousel-track > * { flex: 0 0 var(--grid-min); scroll-snap-align: start; }
.prod-carousel-track > .comp-card { flex-basis: 320px; align-self: stretch; }
.prod-carousel-track > .comp-card p { display: -webkit-box; -webkit-line-clamp: 9; -webkit-box-orient: vertical; overflow: hidden; }
.prod-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 4;
  width: 44px; height: 44px; border-radius: 50%; background: var(--c-surface);
  border: 1px solid var(--c-border); color: var(--c-text); display: grid; place-items: center;
  box-shadow: var(--shadow-lg); cursor: pointer; transition: color .15s, border-color .15s;
}
.prod-arrow:hover { color: var(--c-primary); border-color: var(--c-primary); }
.prod-arrow.prev { left: -8px; }
.prod-arrow.next { right: -8px; }
.prod-arrow.prev svg { transform: rotate(180deg); }
.prod-arrow[hidden] { display: none; }
@media (max-width: 640px) {
  .prod-carousel-track > * { flex-basis: 80%; }
  .prod-carousel-track > .comp-card { flex-basis: 84%; }
  .prod-arrow { display: none; }
}

/* Why / value props */
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.why-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; }
.why-card h3 { font-size: 16.5px; margin: 14px 0 6px; }
.why-card p { font-size: 14px; color: var(--c-text-soft); }

/* Delivery band */
.delivery-band {
  background: linear-gradient(110deg, var(--c-primary-dark), var(--c-primary));
  color: #fff; border-radius: calc(var(--radius) + 6px); padding: 40px;
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
}
.delivery-band h2 { font-size: 26px; }
.delivery-band p { color: rgba(255,255,255,.82); margin-top: 8px; max-width: 60ch; }
@media (max-width: 720px) { .delivery-band { grid-template-columns: 1fr; padding: 28px; } }

/* ============ Page hero (subpages) ============ */
.page-head { background: var(--c-tint); border-bottom: 1px solid var(--c-border); padding: 36px 0; }
.breadcrumbs { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--c-text-soft); margin-bottom: 8px; flex-wrap: wrap; }
.breadcrumbs a { color: var(--c-primary); font-weight: 600; }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs .sep { display: inline-flex; color: var(--c-text-soft); }
.page-title { font-size: 36px; font-weight: 800; }
.page-sub { color: var(--c-text-soft); margin-top: 8px; max-width: 64ch; }

/* ============ Product page ============ */
.pdp-hero { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr) 340px; gap: 36px; align-items: start; padding-block: 44px; }
.pdp-title { font-size: 32px; font-weight: 800; }
.pdp-form { font-size: 13.5px; font-weight: 700; color: var(--c-primary); letter-spacing: .05em; text-transform: uppercase; }
.pdp-tagline { font-size: 17px; color: var(--c-text-soft); margin-top: 10px; }
.pdp-ticks { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.pdp-tick { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.pdp-tick .tick { color: var(--c-primary); flex-shrink: 0; margin-top: 2px; }
.pdp-media img { width: 100%; aspect-ratio: 1/1; object-fit: contain; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 18px; }
.order-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); position: sticky; top: 92px;
}
.order-card h3 { font-size: 18px; }
.order-card .order-sub { font-size: 13.5px; color: var(--c-text-soft); margin-top: 6px; }
.order-price { display: flex; align-items: baseline; gap: 8px; margin: 16px 0 4px; flex-wrap: wrap; }
.order-price .val { font-size: 30px; font-weight: 800; color: var(--c-primary); }
.order-price .old { font-size: 17px; font-weight: 600; color: var(--c-text-soft); text-decoration: line-through; }
.order-price .lbl { font-size: 13px; color: var(--c-text-soft); font-weight: 600; }
.field { margin-top: 12px; }
.field input, .field textarea {
  width: 100%; border: 1.5px solid var(--c-border); border-radius: 10px; padding: 12px 14px;
  font-size: 15px; outline: none; background: var(--c-bg); transition: border-color .15s;
}
.field input:focus, .field textarea:focus { border-color: var(--c-primary); background: #fff; }
.field input.error, .field textarea.error { border-color: #D9534F; }
.field-err { font-size: 12.5px; color: #D9534F; margin-top: 4px; }
.order-success { text-align: center; padding: 18px 0 8px; }
.order-success .big-tick {
  width: 56px; height: 56px; border-radius: 50%; background: var(--c-tint); color: var(--c-primary);
  display: grid; place-items: center; margin: 0 auto 14px;
}
.order-disclaimer { font-size: 11.5px; color: var(--c-text-soft); margin-top: 12px; text-align: center; }

@media (max-width: 1080px) {
  .pdp-hero { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .pdp-hero .order-card { grid-column: 1 / -1; position: static; max-width: 480px; }
}
@media (max-width: 720px) {
  .pdp-hero { grid-template-columns: 1fr; padding-block: 28px; }
  .pdp-hero .order-card { max-width: none; }
}

/* product-type promo banner */
.pt-banner { text-align: center; }
.pt-banner img { max-width: 100%; height: auto; border-radius: var(--radius); }

/* composition / benefits / usage */
.comp-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.comp-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; display: flex; gap: 14px; align-items: flex-start; }
.comp-card h4 { font-size: 15.5px; margin-bottom: 6px; }
.comp-card p { font-size: 13.5px; color: var(--c-text-soft); }
.comp-thumb { width: 54px; height: 54px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: var(--c-tint); }
.comp-dot { width: 38px; height: 38px; border-radius: 10px; background: var(--c-tint); color: var(--c-primary); display: grid; place-items: center; flex-shrink: 0; }

.benefit-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.benefit-item { display: flex; gap: 12px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; font-weight: 600; font-size: 15px; align-items: center; }
.benefit-item .tick { color: var(--c-primary); flex-shrink: 0; }

.usage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.usage-step { text-align: center; padding: 12px; }
.usage-imgwrap { position: relative; width: 120px; margin: 0 auto 16px; }
.usage-img { width: 120px; height: 120px; border-radius: 16px; object-fit: cover; background: var(--c-surface); border: 1px solid var(--c-border); display: block; }
.usage-num {
  width: 44px; height: 44px; border-radius: 50%; background: var(--c-primary); color: #fff;
  font-weight: 800; font-size: 18px; display: grid; place-items: center; margin: 0 auto 14px;
}
.usage-imgwrap .usage-num { position: absolute; right: -10px; bottom: -10px; margin: 0; width: 36px; height: 36px; font-size: 15px; border: 3px solid var(--c-bg); }
.usage-step p { font-size: 14.5px; color: var(--c-text-soft); }

.steps-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.step-card { display: flex; align-items: center; gap: 14px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 18px; font-weight: 600; font-size: 14.5px; }

/* ============ Pagination ============ */
.pager { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--c-border);
  background: var(--c-surface); border-radius: 999px; padding: 10px 18px; font-weight: 700; font-size: 14px; color: var(--c-text);
}
.pager a:hover { border-color: var(--c-primary); color: var(--c-primary); }
.pager .current { background: var(--c-primary); border-color: var(--c-primary); color: #fff; }

/* empty state */
.empty-state { text-align: center; padding: 64px 16px; color: var(--c-text-soft); }
.empty-state .cat-icon { margin: 0 auto 16px; width: 52px; height: 52px; }
.empty-state p { font-weight: 600; }

/* ============ About ============ */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 44px; align-items: center; padding-block: 48px; }
.about-lead { font-size: 19px; font-weight: 600; line-height: 1.5; }
.about-grid p + p { margin-top: 14px; }
.about-body { color: var(--c-text-soft); margin-top: 16px; }
.about-visual img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-lg); display: block; }
.stats-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat-card { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 24px; text-align: center; }
.stat-val { font-size: 36px; font-weight: 800; color: var(--c-primary); font-family: var(--font-head); }
.stat-lbl { font-size: 13.5px; color: var(--c-text-soft); font-weight: 600; margin-top: 4px; }
.prose { color: var(--c-text); }
.prose p { margin-top: 14px; }
.prose ul { margin: 14px 0 0; padding-left: 20px; color: var(--c-text-soft); }
.prose li { margin-top: 8px; }
.prose h2 { font-size: 22px; margin-top: 8px; }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; padding-block: 32px; } .stats-row { grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); } }

/* ============ Contacts ============ */
.contacts-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: start; padding-block: 44px; }
.contact-cards { display: grid; gap: 14px; }
.contact-cards-wide { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: start; }
.contact-card { display: flex; gap: 16px; background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 20px; align-items: flex-start; }
.contact-card h4 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-soft); margin-bottom: 4px; }
.contact-card .val { font-weight: 700; font-size: 16.5px; }
.contact-card .sub { font-size: 13.5px; color: var(--c-text-soft); margin-top: 2px; }
.contact-form { background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.contact-form h3 { font-size: 20px; margin-bottom: 4px; }
.contact-map img { width: 100%; border-radius: var(--radius); display: block; border: 1px solid var(--c-border); }
.social-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.social-pill {
  display: inline-flex; align-items: center; gap: 7px; border: 1px solid var(--c-border);
  border-radius: 999px; padding: 7px 14px; font-size: 13.5px; font-weight: 700; background: var(--c-bg);
}
.social-pill:hover { border-color: var(--c-primary); color: var(--c-primary); }
@media (max-width: 860px) { .contacts-grid { grid-template-columns: 1fr; padding-block: 32px; } }

/* ============ Footer ============ */
.footer { background: #15231C; color: rgba(255,255,255,.8); margin-top: 64px; }
.footer-main { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding: 48px 0 36px; }
.footer h3 { color: #fff; font-size: 19px; margin-bottom: 12px; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .07em; text-transform: uppercase; margin-bottom: 14px; opacity: .85; }
.footer p { font-size: 14px; }
.footer-links { display: flex; flex-direction: column; gap: 9px; align-items: flex-start; }
.footer-links a { color: rgba(255,255,255,.75); font-size: 14.5px; }
.footer-links a:hover { color: #fff; }
.footer-disc { font-size: 12.5px; color: rgba(255,255,255,.5); margin-top: 14px; }
.footer-socials { display: flex; gap: 12px; margin-top: 16px; }
.footer-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; color: rgba(255,255,255,.85); transition: background .15s; }
.footer-socials a:hover { background: var(--c-primary); color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding: 20px 0; display: flex;
  justify-content: space-between; gap: 12px; font-size: 13px; color: rgba(255,255,255,.55); flex-wrap: wrap;
}
.footer-bottom a:hover { color: #fff; }
@media (max-width: 760px) { .footer-main { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 24px; } }

/* ============ Thank-you page ============ */
.ty-header { background: var(--c-surface); border-bottom: 1px solid var(--c-border); padding: 14px 0; position: sticky; top: 0; z-index: 50; }
.ty-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ty-hero { background: linear-gradient(160deg, var(--c-tint), var(--c-bg) 70%); border-bottom: 1px solid var(--c-border); padding: 56px 0; }
.ty-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.ty-tick {
  width: 84px; height: 84px; border-radius: 50%; background: var(--c-primary); color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -10px color-mix(in oklab, var(--c-primary) 60%, transparent);
}
.ty-title { font-size: 33px; font-weight: 800; margin: 22px 0 12px; }
.ty-sub { font-size: 16.5px; color: var(--c-text-soft); max-width: 48ch; }
.ty-side { display: flex; flex-direction: column; gap: 18px; align-items: stretch; }
.ty-side .btn { align-self: center; }
.ty-order-card {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px 24px; width: 100%; text-align: left;
}
@media (max-width: 860px) {
  .ty-hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .ty-message { text-align: center; }
  .ty-message .ty-tick { margin-left: auto; margin-right: auto; }
  .ty-side { align-items: center; }
  .ty-order-card { max-width: 440px; }
}
.ty-order-card h3 { font-size: 13px; letter-spacing: .06em; text-transform: uppercase; color: var(--c-text-soft); margin-bottom: 6px; }
.ty-data-row { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--c-border); font-size: 15px; }
.ty-data-row span { color: var(--c-text-soft); }
.ty-data-row b { font-weight: 800; }
.ty-edit { font-size: 13px; color: var(--c-text-soft); margin-top: 12px; }
.ty-edit a { color: var(--c-primary); font-weight: 700; }
.ty-edit a:hover { text-decoration: underline; }
.ty-socials { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.ty-promo {
  background: var(--c-surface); border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: box-shadow .18s, transform .18s; color: var(--c-text);
}
.ty-promo:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.ty-promo-media { aspect-ratio: 1 / .82; background: var(--c-bg); display: grid; place-items: center; overflow: hidden; }
.ty-promo-media img { width: 100%; height: 100%; object-fit: contain; padding: 10px; }
.ty-promo-body { padding: var(--card-pad); display: flex; flex-direction: column; gap: 6px; }
.ty-promo-title { font-size: 16px; font-weight: 800; line-height: 1.3; }
.ty-promo-desc { font-size: 13.5px; color: var(--c-text-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ty-video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-lg); max-width: 820px; margin: 0 auto; }
.ty-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
@media (max-width: 640px) { .ty-title { font-size: 25px; } .ty-hero { padding: 40px 0; } .ty-tick { width: 72px; height: 72px; } }

/* ============ Modal ============ */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(11,30,22,.5); z-index: 100;
  display: grid; place-items: center; padding: 20px; animation: fadeIn .2s ease;
}
.modal-overlay[hidden] { display: none; }
.modal {
  background: var(--c-surface); border-radius: 18px; padding: 28px; width: 100%; max-width: 420px;
  box-shadow: var(--shadow-lg); animation: popIn .22s ease; position: relative;
}
@keyframes popIn { from { transform: translateY(14px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal h3 { font-size: 20px; }
.modal-close { position: absolute; top: 14px; right: 14px; background: var(--c-bg); border: none; border-radius: 50%; width: 34px; height: 34px; display: grid; place-items: center; color: var(--c-text-soft); }
.modal-sub { font-size: 13.5px; color: var(--c-text-soft); margin-top: 6px; }
.modal-prod { display: flex; gap: 14px; align-items: center; background: var(--c-bg); border-radius: 12px; padding: 12px; margin: 16px 0 4px; }
.modal-prod .thumb { width: 56px; height: 56px; border-radius: 9px; overflow: hidden; flex-shrink: 0; background: var(--c-surface); }
.modal-prod .thumb img { width: 100%; height: 100%; object-fit: contain; }
.modal-prod .nm { font-weight: 800; font-size: 15px; line-height: 1.25; }
.modal-prod .pr { font-size: 14px; color: var(--c-primary); font-weight: 700; }

/* misc */
@media (max-width: 720px) {
  .hero-title { font-size: 34px; }
  .hero-compact .hero-title { font-size: 27px; }
  .section-title { font-size: 23px; }
  .delivery-band h2 { font-size: 21px; }
  .page-title { font-size: 27px; }
  .pdp-title { font-size: 26px; }
  .stat-val { font-size: 29px; }
}
.tick { display: inline-flex; }
.hide-mobile { display: initial; }
@media (max-width: 640px) { .hide-mobile { display: none; } }
.no-js .lang-menu, .no-js .modal-overlay { display: none; }

/* ============ Accessibility ============ */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 12px; top: -64px; z-index: 200; background: var(--c-primary);
  color: #fff; padding: 11px 18px; border-radius: 999px; font-weight: 700; transition: top .15s ease;
}
.skip-link:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
.header-green :focus-visible, .hero-compact :focus-visible, .hero-banner :focus-visible,
.delivery-band :focus-visible, .footer :focus-visible { outline-color: #fff; }
