/* ============================================================
   GREY design system — generated from new-design/new.html
   (font-faces + tokens + components + sections + theme variants).
   Do not hand-edit; regenerate from the prototype.
   ============================================================ */
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-400-1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-400-2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-400-3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-400-4.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-400-5.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-500-1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-500-2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-500-3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-500-4.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-500-5.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* cyrillic-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-600-1.woff2") format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-600-2.woff2") format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* vietnamese */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-600-3.woff2") format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-600-4.woff2") format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 600;
  font-display: optional;
  src: url("fonts/ibm-plex-mono-600-5.woff2") format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Montserrat — one variable file with full Latin + Latin-Extended (Azerbaijani: Ə ə Ö ö Ü ü Ğ ğ Ş ş İ ı ç). No unicode-range, so these glyphs can never fall back to a separate subset that fails to load. */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: optional;
  src: url("fonts/montserrat-var.woff2") format('woff2');
}

/* Same Montserrat variable file, but font-display:swap — for the large decorative CTA "G".
   The body font above uses font-display:optional, which on slow/mobile loads freezes the
   page on the system fallback and never swaps in Montserrat; on the giant glyph that
   mismatch is glaring. This face guarantees the glyph swaps to Montserrat once the (already
   preloaded) file arrives. The glyph is absolutely positioned + clipped, so the swap causes
   no layout shift. */
@font-face {
  font-family: 'Montserrat Display';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/montserrat-var.woff2") format('woff2');
}

/* Montserrat ExtraBold, static + overlaps removed — used ONLY for the outlined hero word so
   -webkit-text-stroke draws one clean outline per glyph (the variable font's overlapping
   contours show internal lines when stroked). Subset to Latin + Latin-Ext + Cyrillic.
   font-display:block (not optional) + a <head> preload of montserrat-hero.woff2: the
   outlined word MUST wait for this exact font — if it falls back to regular Montserrat the
   stroke reveals the overlapping contours as broken/internal lines. block keeps it blank for
   a few ms instead of painting the broken fallback; the preload makes that wait negligible. */
@font-face {
  font-family: 'Montserrat Hero';
  font-style: normal;
  font-weight: 400 900;
  font-display: block;
  src: url("fonts/montserrat-hero.woff2") format('woff2');
}

/* ============================================================
   GREY — Monochrome editorial design system
   ============================================================ */
:root {
  --paper:      #fefdfb;
  --paper-2:    #ece9e1;
  --card:       #ffffff;
  --media:      #f1f3f5;
  --ink:        #17150f;
  --ink-soft:   #423e36;
  --muted:      #8c887d;
  --muted-2:    #b4b0a4;
  --line:       #e2dfd5;
  --line-2:     #d2cec2;
  --line-3:     #c1bcae;
  --invert:     #131109;
  --invert-2:   #1f1c14;
  --on-invert:  #f4f2ed;
  --on-invert-mut: #98948a;
  --focus:      #17150f;
  --ph-line:    rgba(23,21,15,.05);

  --ff: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', system-ui, sans-serif;
  --fm: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Noto Sans', system-ui, sans-serif;

  --maxw: 1320px;
  --pad: clamp(20px, 5vw, 72px);
  --nav-h: 68px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ff);
  background: var(--paper);
  color: var(--ink);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--ink); color: var(--paper); }

/* scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--line-3); border: 3px solid var(--paper); border-radius: 20px; }
::-webkit-scrollbar-thumb:hover { background: var(--muted); }

/* ---- layout primitives ---- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }
.bleed { padding-left: var(--pad); padding-right: var(--pad); }

/* ---- type helpers ---- */
.mono { font-family: var(--fm); font-weight: 400; }
.eyebrow {
  font-family: var(--fm); font-size: 11.5px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--muted);
  display: inline-flex; align-items: center; gap: 10px;
}
/* decorative leading dash removed site-wide */
.eyebrow::before { display: none; }
.display {
  font-weight: 800; letter-spacing: -0.035em; line-height: 0.96;
  font-feature-settings: "ss01";
}
h1, h2, h3 { font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; }

/* ---- buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; letter-spacing: -0.01em;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap; border: 1px solid transparent; user-select: none;
}
.btn:active { transform: translateY(1px); }
.btn--dark { background: var(--ink); color: var(--paper); border-color: rgba(255,255,255,.3); }
.btn--dark:hover { background: #000; border-color: rgba(255,255,255,.45); }
.btn--ghost { border-color: var(--line-3); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--block { width: 100%; }
.arr { display: inline-flex; align-items: center; }
.btn .arr { transition: transform .3s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* icon button */
.iconbtn {
  width: 42px; height: 42px; border-radius: 999px; display: inline-grid; place-items: center;
  position: relative; transition: background .2s var(--ease), color .2s var(--ease);
}
.iconbtn:hover { background: rgba(23,21,15,.07); }
/* mobile menu close (X) — dark round outline, a touch larger (button only, not the scrim) */
.iconbtn[data-mmenu-close], .iconbtn[data-cart-close] { width: 35px; height: 35px; border: 1.5px solid var(--ink); }
.iconbtn[data-mmenu-close] svg, .iconbtn[data-cart-close] svg { width: 15px; height: 15px; }
.iconbtn .badge {
  position: absolute; top: 0; right: 0; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--ink); color: var(--paper); border-radius: 999px;
  font-family: var(--fm); font-size: 10.5px; font-weight: 600;
  display: grid; place-items: center; transform: translate(20%, -10%);
}

/* ---- placeholder media ---- */
.ph {
  position: relative; overflow: hidden; background: var(--paper-2);
  background-image:
    repeating-linear-gradient(135deg, var(--ph-line) 0 1px, transparent 1px 9px);
  transition: background-color .5s var(--ease);
}
.ph::after {
  content: attr(data-label);
  position: absolute; left: 10px; bottom: 8px;
  font-family: var(--fm); font-size: 10px; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted-2);
}
.ph--ink { background: var(--invert-2);
  background-image: repeating-linear-gradient(135deg, rgba(244,242,237,.06) 0 1px, transparent 1px 9px); }
.ph--ink::after { color: rgba(244,242,237,.35); }

/* hairline divider */
.rule { height: 1px; background: var(--line); width: 100%; }

/* tag pill */
.tag {
  font-family: var(--fm); font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-soft);
  background: var(--paper); white-space: nowrap;
}
.tag--solid { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* reveal-on-load — CSS-driven so content is never JS-gated into invisibility */
[data-rise] { opacity: 0; animation: riseUp .7s var(--ease) forwards; }
[data-rise="1"] { animation-delay: .04s; }
[data-rise="2"] { animation-delay: .11s; }
[data-rise="3"] { animation-delay: .18s; }
[data-rise="4"] { animation-delay: .25s; }
@keyframes riseUp { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
  [data-rise] { opacity: 1 !important; transform: none !important; }
}
@media print {
  [data-rise] { opacity: 1 !important; transform: none !important; animation: none !important; }
}

/* ---- footer social icons ---- */
.foot-social { display: flex; gap: 10px; margin-top: 24px; }
.foot-social .soc {
  width: 40px; height: 40px; border-radius: 999px; display: grid; place-items: center;
  border: 1px solid var(--invert-2); background: var(--invert-2); color: var(--on-invert-mut);
  transition: background .25s var(--ease), color .25s var(--ease), transform .25s var(--ease);
}
.foot-social .soc:hover { background: var(--on-invert); color: var(--invert); transform: translateY(-2px); }

/* ===================== SEARCH OVERLAY ===================== */
.search-ov { position: fixed; inset: 0; z-index: 110; display: none; }
.search-ov.open { display: block; }
.search-scrim { position: absolute; inset: 0; background: rgba(19,17,9,.42); opacity: 0; transition: opacity .3s; }
.search-ov.open .search-scrim { opacity: 1; }
.search-panel {
  position: absolute; top: 0; left: 0; right: 0; background: var(--paper);
  border-bottom: 1px solid var(--line); transform: translateY(-16px); opacity: 0;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
  max-height: 86vh; display: flex; flex-direction: column;
}
.search-ov.open .search-panel { transform: none; opacity: 1; }
.search-bar {
  display: flex; align-items: center; gap: 14px; padding: 20px var(--pad);
  max-width: var(--maxw); margin: 0 auto; width: 100%; border-bottom: 1px solid var(--line);
}
.search-bar > svg { color: var(--muted); flex-shrink: 0; }
.search-bar input {
  flex: 1; border: none; background: none; font: inherit; font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 600; letter-spacing: -0.02em; color: var(--ink); outline: none; min-width: 0;
}
.search-bar input::placeholder { color: var(--muted-2); font-weight: 500; }
@media (max-width: 640px) { .search-bar input { font-size: 15px; } }
.search-clear { width: 34px; height: 34px; border-radius: 999px; display: grid; place-items: center; color: var(--muted); background: var(--paper-2); }
.search-clear:hover { color: var(--ink); }
.search-body { overflow-y: auto; padding: 22px var(--pad) 32px; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.search-lbl { font-family: var(--fm); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.search-cats { display: flex; flex-wrap: wrap; gap: 9px; }
.search-cat {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--line-2); font-size: 14.5px; font-weight: 500; color: var(--ink-soft);
  transition: border-color .2s, color .2s, background .2s;
}
.search-cat:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.search-cat .mono { font-size: 11px; color: var(--muted-2); }
.search-cat:hover .mono { color: var(--on-invert-mut); }
.search-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.search-results { display: flex; flex-direction: column; gap: 2px; }
.search-res {
  display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 16px;
  padding: 12px; border-radius: 14px; text-align: left; transition: background .2s;
}
.search-res:hover { background: var(--paper-2); }
.search-thumb { width: 56px; height: 56px; border-radius: 11px; }
.sr-meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.sr-cat { font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.sr-name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.sr-name em { color: var(--muted); font-style: normal; font-weight: 500; }
.sr-go { color: var(--muted-2); transition: color .2s, transform .3s var(--ease); }
.search-res:hover .sr-go { color: var(--ink); transform: translate(2px, -2px); }

/* ===================== NAV ===================== */
.topbar {
  background: var(--invert); color: var(--on-invert);
  font-family: var(--fm); font-size: 11.5px; letter-spacing: .04em;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar .tb-msg { display: flex; align-items: center; gap: 8px; color: var(--on-invert-mut); }
.topbar .tb-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--on-invert); }
.topbar .tb-links { display: flex; align-items: center; gap: 18px; }
.topbar .tb-links button { color: var(--on-invert-mut); transition: color .2s; letter-spacing: .04em; }
.topbar .tb-links button.on, .topbar .tb-links button:hover { color: var(--on-invert); }

.nav {
  position: sticky; top: 0; z-index: 60;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s, height .3s;
}
.nav.scrolled { border-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 18px; height: var(--nav-h); }
.brand { display: flex; align-items: baseline; gap: 9px; margin-right: 6px; }
.brand-logo { height: 61.6px; width: auto; color: var(--ink); display: block; transition: height .3s, color .5s var(--ease); }
.nav.scrolled .brand-logo { height: 52.8px; }
.brand .mark {
  font-weight: 800; font-size: 26px; letter-spacing: -0.05em;
}
.brand .sub { font-family: var(--fm); font-size: 10px; letter-spacing: .12em; color: var(--muted); text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 18px; }
.nav-links a {
  position: relative; padding: 9px 14px; font-size: 17.4px; font-weight: 500; color: var(--ink-soft);
  border-radius: 999px; transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--ink); background: rgba(23,21,15,.05); }
.nav-links a.on { color: var(--ink); font-weight: 600; }
.nav-links a.active { color: var(--ink); background: rgba(23,21,15,.05); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.nav-util { display: flex; align-items: center; gap: 16px; }
.nav-util-link {
  display: inline-flex; align-items: center; gap: 6px; font-size: 15.6px; font-weight: 500;
  color: var(--ink-soft); white-space: nowrap; transition: color .2s;
}
.nav-util-link svg { color: var(--muted); transition: color .2s; }
.nav-util-link:hover, .nav-util-link:hover svg { color: var(--ink); }
.nav-lang {
  display: inline-flex; align-items: center; gap: 1px; padding: 2px;
  border: 1px solid var(--line-2); border-radius: 999px;
}
.nav-lang button {
  font-family: var(--fm); font-size: 11px; font-weight: 500; letter-spacing: .04em;
  padding: 5px 9px; border-radius: 999px; color: var(--muted); transition: color .2s, background .2s;
}
.nav-lang button.on { background: var(--ink); color: var(--paper); }
.nav-lang button:not(.on):hover { color: var(--ink); }
.nav-util-sep { width: 1px; height: 22px; background: var(--line-2); }
.nav-actions { display: flex; align-items: center; gap: 4px; }
.nav-actions .iconbtn svg { width: 23px; height: 23px; }
.nav-burger { display: none; }
.mmenu-lang { display: flex; gap: 4px; margin: 18px 0 8px; }
.mmenu-lang button {
  font-family: var(--fm); font-size: 12px; font-weight: 500; padding: 8px 14px;
  border: 1px solid var(--line-2); border-radius: 999px; color: var(--muted);
}
.mmenu-lang button.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

/* mobile menu */
.mmenu { position: fixed; inset: 0; z-index: 80; display: none; }
.mmenu.open { display: block; }
.mmenu-scrim { position: absolute; inset: 0; background: rgba(19,17,9,.4); opacity: 0; transition: opacity .3s; }
.mmenu.open .mmenu-scrim { opacity: 1; }
.mmenu-panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(86vw, 380px);
  background: var(--paper); padding: 22px var(--pad); transform: translateX(100%); transition: transform .4s var(--ease);
  display: flex; flex-direction: column; gap: 6px;
}
.mmenu.open .mmenu-panel { transform: none; }
.mmenu-panel a { padding: 14px 4px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; border-bottom: 1px solid var(--line); }
.mmenu-panel a.active { box-shadow: inset 4px 0 0 var(--ink); padding-left: 14px; }

/* ===================== FOOTER ===================== */
.footer { background: var(--invert); color: var(--on-invert); margin-top: 0; }
.footer a:hover { color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.8fr 1fr 1.2fr; gap: 40px; padding: 56px 0 44px; }
.foot-col h4 { font-family: var(--fm); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--on-invert-mut); margin-bottom: 20px; }
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.foot-col a, .foot-col li { color: var(--on-invert-mut); font-size: 14.5px; transition: color .2s; }
.foot-col .btn--light { color: var(--ink); }
.foot-col .btn--light:hover { background: var(--paper); color: var(--ink); }
.foot-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 10px 16px; padding: 22px 0 30px; border-top: 1px solid var(--invert-2); font-family: var(--fm); font-size: 13.5px; color: var(--on-invert); }
.foot-copy { grid-column: 1; justify-self: start; }
.foot-made { grid-column: 2; justify-self: center; }
.foot-legal { grid-column: 3; justify-self: end; display: flex; gap: 18px; flex-wrap: wrap; }
.foot-made a { text-transform: uppercase; }
@media (max-width: 640px) {
  .foot-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .foot-copy, .foot-made, .foot-legal { grid-column: 1; justify-self: center; }
}
.foot-brand { font-weight: 800; font-size: 76px; letter-spacing: -0.06em; line-height: .8; color: var(--on-invert); padding: 8px 0 4px; }
.foot-logo { height: 60px; width: auto; display: block; margin: 4px 0 2px; filter: brightness(0) invert(1); }
/* mobile-menu logo rendered solid black on the light panel */
.mmenu-panel img { filter: brightness(0); }

/* ===================== TOAST ===================== */
.toasts { position: fixed; left: 50%; bottom: 26px; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--invert); color: var(--on-invert); padding: 13px 18px; border-radius: 14px;
  display: flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500;
  box-shadow: 0 16px 40px rgba(0,0,0,.22); animation: toastIn .4s var(--ease);
}
.toast .tk { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; background: var(--on-invert); color: var(--invert); display: grid; place-items: center; }
.toast--error .tk { background: #e0483b; color: #fff; }
/* share fallback menu (browsers without the native share sheet) */
.share-menu { position: absolute; z-index: 200; background: var(--paper); border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 22px 54px -18px rgba(19,17,9,.4); padding: 6px; display: flex; flex-direction: column; min-width: 190px; }
.share-menu a, .share-menu button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 16px; border-radius: 10px; font: inherit; font-size: 14.5px; font-weight: 500; color: var(--ink); text-decoration: none; background: none; border: 0; cursor: pointer; text-align: left; }
.share-menu svg { flex: 0 0 auto; }
.share-menu a:hover, .share-menu button:hover { background: rgba(23,21,15,.05); }
.share-menu button { border-top: 1px solid var(--line); margin-top: 4px; padding-top: 13px; }
.toast .mono { color: var(--on-invert-mut); font-size: 12px; }
@keyframes toastIn { from { opacity: 0; transform: translateY(16px) scale(.96); } }

/* ===================== CART DRAWER ===================== */
.drawer-scrim { position: fixed; inset: 0; background: rgba(19,17,9,.42); z-index: 90; opacity: 0; transition: opacity .35s; }
.drawer-scrim.open { opacity: 1; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(86vw, 380px); background: var(--paper); z-index: 100;
  transform: translateX(100%); transition: transform .45s var(--ease); display: flex; flex-direction: column;
}
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 19px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 20px 24px calc(20px + env(safe-area-inset-bottom)); background: var(--card); }
.cart-note { display: flex; gap: 11px; align-items: center; margin-bottom: 14px; color: var(--ink); font-size: 12.5px; font-weight: 600; line-height: 1.5; }
.cart-note-ic { width: 48px; height: 48px; flex: 0 0 auto; filter: grayscale(1); }
.btn-xls-ic { width: 30px; height: 30px; flex: 0 0 auto; }
.cart-line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-line .thumb { width: 64px; height: 64px; border-radius: 10px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; height: 34px; }
.qty button { width: 32px; height: 100%; display: grid; place-items: center; color: var(--ink-soft); }
.qty button:hover { color: var(--ink); }
.qty .qty-input { width: 44px; text-align: center; border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--ink); padding: 0; -moz-appearance: textfield; }
.qty .qty-input::-webkit-outer-spin-button, .qty .qty-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty .qty-input:focus { outline: none; }
.qty span { min-width: 24px; text-align: center; font-family: var(--fm); font-size: 13px; }
.cart-empty { text-align: center; padding: 80px 20px; color: var(--muted); }

/* ===================== PRODUCT CARD ===================== */
.pcard { position: relative; display: flex; flex-direction: column; }
.pcard-media {
  position: relative; aspect-ratio: 1 / 1; border-radius: 14px; overflow: hidden;
  background: var(--media); border: 1px solid var(--line);
  transition: border-color .3s var(--ease), transform .4s var(--ease);
}
.pcard:hover .pcard-media { border-color: var(--line-3); }
.pcard-media .ph { position: absolute; inset: 0; }
.pcard-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; z-index: 2; }
.pcard-actions { position: absolute; top: 10px; right: 10px; z-index: 3; display: flex; flex-direction: row-reverse; gap: 8px; }
.pcard-act {
  width: 36px; height: 36px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line);
  display: grid; place-items: center; color: var(--ink); cursor: pointer; opacity: 0; transform: translateY(-6px);
  transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s, color .2s, border-color .2s;
}
.pcard:hover .pcard-act, .pcard-fav.on { opacity: 1; transform: none; }
.pcard-act:hover { border-color: var(--ink); }
.pcard-fav.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pcard-act svg { width: 16px; height: 16px; }
.pcard-add {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; height: 44px;
  background: var(--ink); color: var(--paper); border-radius: 999px; display: flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(10px);
  transition: opacity .35s var(--ease), transform .35s var(--ease), background .2s;
}
.pcard:hover .pcard-add { opacity: 1; transform: none; }
.pcard-add:hover { background: #000; }

/* mobile quick-add: round + that expands into a stepper */
.pcard-add-m, .pcard-step { display: none; position: absolute; right: 10px; bottom: 10px; z-index: 4; }
.pcard-add-m {
  width: 40px; height: 40px; border-radius: 999px; border: none;
  background: var(--ink); color: var(--paper); place-items: center; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.pcard-step {
  height: 40px; border-radius: 999px; background: var(--ink); color: var(--paper);
  align-items: center; gap: 2px; padding: 0 4px; box-shadow: 0 4px 14px rgba(0,0,0,.18);
}
.pcard-step button { width: 30px; height: 40px; display: grid; place-items: center; background: none; border: none; color: var(--paper); cursor: pointer; }
.pcard-step span { min-width: 22px; text-align: center; font-family: var(--fm); font-size: 14px; font-weight: 600; }
.pcard-meta { padding: 14px 2px 2px; }
.pcard-cat { font-family: var(--fm); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pcard-name { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }
.pcard-name span { color: var(--muted); font-weight: 500; }
.pcard-foot {
  margin-top: 8px; font-family: var(--fm); font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase; color: var(--muted);
}

/* price formatting */
.azn { font-family: var(--fm); font-weight: 500; }

@media (hover: none) {
  .pcard-add { opacity: 1; transform: none; }
  /* touch devices: hide the like/share over the photo — they live on the product page instead */
  .pcard-actions { display: none; }
}

/* form inputs */
.cinput {
  width: 100%; height: 48px; padding: 0 16px; border: 1px solid var(--line-2); border-radius: 12px;
  background: var(--paper); font: inherit; font-size: 15px; color: var(--ink); transition: border-color .2s, background .2s;
}
textarea.cinput { height: auto; padding: 12px 16px; }
.cinput::placeholder { color: var(--muted-2); }
.cinput:focus { outline: none; border-color: var(--ink); background: var(--card); }

/* route fade */
.route-view { animation: routeIn .5s var(--ease); }
@keyframes routeIn { from { opacity: 0; transform: translateY(8px); } }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr !important; } }
/* contact form: two fields per row, collapse on narrow screens */
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .cform-row { grid-template-columns: 1fr; } }

/* article body (info / about pages) */
.grey-article { color: var(--ink-soft); font-size: 16.5px; line-height: 1.8; }
.grey-article > :first-child { margin-top: 0; }
.grey-article p { margin: 0 0 18px; }
.grey-article strong { color: var(--ink); font-weight: 600; }
.grey-article a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.grey-article h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -0.02em; margin: 36px 0 14px; }
.grey-article h3 { font-size: clamp(18px, 2.4vw, 22px); margin: 28px 0 12px; }
.grey-article ul, .grey-article ol { margin: 0 0 18px; padding-left: 1.2em; }
.grey-article li { margin: 0 0 8px; }
.grey-article img { border-radius: 12px; margin: 14px 0; }

/* ============================================================
   GREY — page sections (home / catalog / product)
   ============================================================ */

/* section header */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
/* keep the eyebrow + title block pinned to the top — a tall lead/link on the right must not push it down */
.sec-head > div { align-self: flex-start; }
.sec-head h2 { font-size: clamp(28px, 4vw, 46px); }
.sec-head .lead { color: var(--muted); max-width: 46ch; margin-top: 12px; font-size: 15.5px; }
.sec-head .link { font-weight: 600; font-size: 14.5px; display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.sec-head .link .arr { transition: transform .3s var(--ease); }
.sec-head .link:hover .arr { transform: translateX(4px); }
section { position: relative; }
.sec-num { font-family: var(--fm); font-size: 12px; color: var(--muted-2); letter-spacing: .1em; }

/* ===================== HERO ===================== */
.hero { padding-top: clamp(28px, 4.5vw, 58px); padding-bottom: clamp(22px, 3vw, 42px); }
.hero-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: clamp(14px, 2vw, 24px); }
.hero-h {
  font-size: clamp(40px, 7.4vw, 106px); font-weight: 800; letter-spacing: -0.045em; line-height: 0.9;
}
.hero-h .out { font-family: 'Montserrat Hero', var(--ff); -webkit-text-stroke: 1.4px var(--ink); color: transparent; letter-spacing: -0.015em; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
/* text column stays pinned to the top (keeps the eyebrow→title gap tight); the image column centres vertically */
.hero-grid > div:first-child { align-self: start; }
.hero-sub { max-width: 40ch; color: var(--ink-soft); font-size: clamp(15px, 1.4vw, 18px); }
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hero-media { position: relative; aspect-ratio: 16 / 11; border-radius: 18px; overflow: hidden; }
.hero-media img { object-position: top; }
.hero-media .ph { position: absolute; inset: 0; }
.hero-stats { display: flex; gap: clamp(20px, 4vw, 56px); margin-top: clamp(28px, 4vw, 48px); padding-top: 26px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.hstat .n { font-size: clamp(28px, 3.4vw, 44px); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.hstat .l { color: var(--muted); font-size: 13.5px; margin-top: 7px; max-width: 18ch; }

/* marquee */
.marquee { position: relative; overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
/* Edge fade via overlay gradients instead of -webkit-mask-image: on mobile webkit a mask
   over a transform-animated track stops repainting by region, so the logos vanish until a
   scroll forces a repaint. Overlays give the same fade without touching the track's layer. */
.marquee::before, .marquee::after { content: ""; position: absolute; top: 1px; bottom: 1px; width: 9%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--paper) 28%, transparent); }
.marquee::after { right: 0; background: linear-gradient(270deg, var(--paper) 28%, transparent); }
/* No will-change here: the track is very wide and forcing it onto one permanent GPU layer
   can exceed the max texture size on mobile (another cause of partial/blank painting). The
   translate3d keyframe still composites the animation per frame. */
.marquee-track { display: inline-flex; gap: 44px; white-space: nowrap; animation: marq 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--fm); font-size: 13px; letter-spacing: .05em; color: var(--ink-soft); display: inline-flex; align-items: center; gap: 44px; text-transform: uppercase; }
.marquee-track span::after { content: "✶"; color: var(--muted-2); }
@keyframes marq { to { transform: translate3d(-50%, 0, 0); } }

/* logo carousel (clients + GREY mark) */
.marquee.logos { padding: clamp(1px, 0.2vw, 3px) 0; }
.marquee.logos .marquee-track { gap: 0; align-items: center; animation-duration: 48s; }
.marquee.logos .marquee-track span::after { content: none; }
.marquee.logos .lm-name {
  font-family: var(--ff); font-weight: 700; font-size: clamp(17px, 1.7vw, 23px);
  letter-spacing: -0.03em; text-transform: none; color: var(--muted-2); white-space: nowrap;
  display: inline-flex; align-items: center; gap: 0; transition: color .3s var(--ease);
}
.marquee.logos .lm-logo { display: inline-flex; align-items: center; margin-right: clamp(40px, 5vw, 76px); }
.marquee.logos .lm-logo img {
  height: clamp(110px, 13.8vw, 168px); width: clamp(110px, 13.8vw, 168px); object-fit: contain;
  /* no mix-blend-mode: the logos are transparent PNGs (no white box to knock out), and
     multiply on this GPU-composited, infinitely transform-animated track made logos
     intermittently vanish after a few loops. grayscale + opacity give the same muted look. */
  filter: grayscale(1) contrast(1.2); opacity: .9;
  transition: opacity .3s var(--ease);
}
.marquee.logos:hover .lm-logo img { opacity: 1; }
.marquee.logos .lm-name:hover { color: var(--ink); }
.marquee.logos .lm-logo {
  display: inline-flex; align-items: center; color: var(--muted-2);
  transition: color .3s var(--ease); flex: 0 0 auto;
}
.marquee.logos .lm-logo:hover { color: var(--ink); }
.marquee.logos .lm-logo svg { height: clamp(30px, 3vw, 42px); width: auto; }

/* ===================== SERVICES (focus) ===================== */
.services { background: var(--invert); color: var(--on-invert); padding: clamp(52px, 7.5vw, 100px) 0; }
.services .sec-head h2 { color: var(--on-invert); }
.services .sec-head .lead { color: var(--on-invert-mut); }
.services .eyebrow { color: var(--on-invert-mut); }
.svc-list { border-top: 1px solid var(--invert-2); }
.svc-row {
  display: grid; grid-template-columns: 86px 1fr auto; align-items: center; gap: 24px;
  padding: clamp(22px, 2.6vw, 34px) 4px; border-bottom: 1px solid var(--invert-2);
  cursor: pointer; position: relative; transition: padding-left .35s var(--ease);
}
.svc-row .svc-no { font-family: var(--fm); font-size: 13px; color: var(--on-invert-mut); }
.svc-row .svc-name { font-size: clamp(28px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.035em; line-height: 1; transition: transform .35s var(--ease); }
.svc-row .svc-tag { font-family: var(--fm); font-size: 12px; color: var(--on-invert-mut); letter-spacing: .04em; }
.svc-row .svc-go { width: 50px; height: 50px; border-radius: 999px; border: 1px solid #343025; display: grid; place-items: center; transition: background .3s, color .3s, border-color .3s, transform .3s; }
.svc-row:hover { padding-left: 22px; }
.svc-row:hover .svc-go { background: var(--on-invert); color: var(--invert); border-color: var(--on-invert); transform: rotate(-45deg); }
.svc-panel { overflow: hidden; max-height: 0; transition: max-height .5s var(--ease); }
.svc-row.open + .svc-panel { max-height: 320px; }
.svc-panel-inner { padding: 4px 4px 30px 110px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.svc-panel p { color: var(--on-invert-mut); max-width: 54ch; font-size: 15.5px; }
.svc-points { display: flex; flex-direction: column; gap: 10px; }
.svc-points li { list-style: none; display: flex; align-items: center; gap: 12px; color: var(--on-invert); font-size: 14.5px; }
.svc-points li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--on-invert-mut); }
.services-foot { margin-top: 44px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }

/* ===================== CATEGORIES ===================== */
.cats { padding: clamp(46px, 6.5vw, 84px) 0; }
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: color-mix(in srgb, var(--paper) 93%, var(--ink)); border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.cat-cell {
  background: var(--paper); padding: 22px 18px 18px; min-height: 180px; display: flex; flex-direction: column;
  position: relative; transition: background .3s var(--ease); cursor: pointer; overflow: hidden;
}
.cat-cell:hover { background: var(--card); }
.cat-cell .c-thumb { width: 84px; height: 84px; border-radius: 12px; margin-bottom: auto; transition: transform .4s var(--ease); }
.cat-cell .c-thumb img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cat-cell:hover .c-thumb { transform: scale(1.06) rotate(-2deg); }
.cat-cell .c-name { font-size: 16px; font-weight: 700; letter-spacing: -0.02em; margin-top: 18px; }
.cat-cell .c-count { font-family: var(--fm); font-size: 11px; color: var(--muted); margin-top: 3px; }
.cat-cell .c-arrow { position: absolute; top: 18px; right: 18px; opacity: 0; transform: translate(-4px, 4px); transition: .3s var(--ease); }
.cat-cell:hover .c-arrow { opacity: 1; transform: none; }

/* ===================== FEATURED ===================== */
.featured { padding: clamp(14px, 2.5vw, 30px) 0 clamp(46px, 6.5vw, 84px); }
.tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin-bottom: 34px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  flex: 0 0 auto; padding: 0 1px 15px; font-size: 16px; font-weight: 600; color: var(--muted); position: relative;
  white-space: nowrap; transition: color .25s; letter-spacing: -0.01em;
}
.tab:hover { color: var(--ink-soft); }
.tab.on { color: var(--ink); }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .3s var(--ease); transform-origin: left; }
.tab.on::after { transform: scaleX(1); }
.tab .ct { font-family: var(--fm); font-size: 10px; font-weight: 500; color: var(--muted-2); margin-left: 4px; vertical-align: super; letter-spacing: 0; }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(14px, 1.6vw, 26px); }

/* ===================== PROCESS ===================== */
.process { padding: clamp(46px, 6.5vw, 84px) 0; border-top: 1px solid var(--line); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.step { background: var(--paper); padding: 30px 22px 34px; }
.step .s-no { font-family: var(--fm); font-size: 12px; color: var(--muted); }
.step .s-name { font-size: 21px; font-weight: 700; letter-spacing: -0.02em; margin: 30px 0 10px; }
.step .s-desc { color: var(--muted); font-size: 14px; }

/* ===================== CLIENTS ===================== */
.clients { padding: clamp(64px, 9vw, 120px) 0; }
.client-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.client-cell { background: var(--paper); aspect-ratio: 16 / 9; display: grid; place-items: center; padding: 14px; transition: background .3s; }
.client-cell:hover { background: var(--card); }
.client-cell span { font-weight: 700; font-size: clamp(13px, 1.3vw, 17px); letter-spacing: -0.02em; color: var(--muted); transition: color .3s; text-align: center; }
.client-cell:hover span { color: var(--ink); }

/* ===================== CTA BAND ===================== */
.cta { padding: clamp(42px, 5.5vw, 76px) 0; }
.cta-card { background: var(--invert); color: var(--on-invert); border-radius: 24px; padding: clamp(40px, 6vw, 80px); position: relative; overflow: hidden; }
.cta-card h2 { font-size: clamp(32px, 5.5vw, 72px); max-width: 16ch; }
.cta-card .lead { color: var(--on-invert-mut); max-width: 46ch; margin: 22px 0 34px; font-size: 16.5px; }
.cta-glyph { position: absolute; right: 2%; bottom: -20%; font-family: 'Montserrat Display', var(--ff); font-weight: 800; font-size: clamp(280px, 46vw, 700px); letter-spacing: -0.06em; color: var(--invert-2); pointer-events: none; line-height: 1; user-select: none; }
/* CTA catalog button: dark by default (hides the G), white with black text on hover */
.cta-catbtn { color: var(--on-invert); border-color: rgba(255,255,255,.3); background: var(--invert); }
.cta-catbtn:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* ===================== SERVICE DETAIL ===================== */
.svcd { padding-top: 28px; padding-bottom: 0; min-height: 60vh; }
.svcd-hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 4vw, 64px); align-items: center; margin: clamp(18px, 3vw, 40px) 0 clamp(48px, 7vw, 96px); }
.svcd-hero-text h1 { font-size: clamp(40px, 6.4vw, 78px); letter-spacing: -0.04em; line-height: 1.0; margin-top: 16px; }
.svcd-hero-text .lead { margin-top: 22px; max-width: 46ch; font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.svcd-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.svcd-hero-media { aspect-ratio: 3 / 2; border-radius: 20px; overflow: hidden; background: var(--media); }
.svcd-hero-media img { width: 100%; height: 100%; object-fit: cover; display: block; }

.svcd-sec-head { margin-bottom: clamp(22px, 3vw, 38px); }
.svcd-sec-head h2 { font-size: clamp(26px, 3.6vw, 46px); letter-spacing: -0.03em; line-height: 1.05; margin-top: 12px; }

.svcd-feat { margin-bottom: clamp(48px, 7vw, 96px); }
.svcd-feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.svcd-feat-card { display: flex; align-items: center; gap: 16px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); transition: border-color .25s var(--ease), transform .25s var(--ease); }
.svcd-feat-card:hover { border-color: var(--line-3); transform: translateY(-2px); }
.svcd-feat-ic { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 999px; display: grid; place-items: center; background: var(--ink); color: var(--paper); }
.svcd-feat-t { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

.svcd-body { max-width: 760px; margin: 0 0 clamp(48px, 7vw, 96px); }

.svcd-other { margin-bottom: clamp(44px, 6vw, 88px); }
.svcd-other-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.svcd-other-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 22px 24px; border: 1px solid var(--line); border-radius: 16px; color: var(--ink); text-decoration: none; transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.svcd-other-card:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.svcd-other-name { font-weight: 600; font-size: 15.5px; letter-spacing: -0.01em; }
.svcd-other-arr { flex: 0 0 auto; transition: transform .25s var(--ease); }
.svcd-other-card:hover .svcd-other-arr { transform: translate(2px, -2px); }

@media (max-width: 860px) {
  .svcd-hero { grid-template-columns: 1fr; gap: 26px; }
  .svcd-feat-grid { grid-template-columns: 1fr; }
  .svcd-other-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ----- service listing ----- */
.svcl { padding-top: 28px; padding-bottom: 0; min-height: 60vh; }
.svcl-hero { max-width: 720px; margin: clamp(14px, 2vw, 28px) 0 clamp(36px, 5vw, 64px); }
.svcl-hero h1 { font-size: clamp(40px, 6.4vw, 78px); letter-spacing: -0.04em; line-height: 1.0; margin-top: 16px; }
.svcl-hero .lead { margin-top: 20px; font-size: 17px; line-height: 1.6; color: var(--ink-soft); }
.svcl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2vw, 28px); }
.svcl-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper); text-decoration: none; color: var(--ink); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.svcl-card:hover { border-color: var(--line-3); transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(19,17,9,.25); }
.svcl-card-media { position: relative; aspect-ratio: 3 / 2; background: var(--media); overflow: hidden; }
.svcl-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s var(--ease); }
.svcl-card:hover .svcl-card-media img { transform: scale(1.04); }
.svcl-card-body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.svcl-card-tag { font-family: var(--fm); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.svcl-card-title { font-size: 23px; font-weight: 700; letter-spacing: -0.025em; margin: 8px 0 0; color: var(--ink); }
.svcl-card-desc { margin: 12px 0 0; font-size: 14.5px; line-height: 1.55; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.svcl-card-go { margin-top: auto; padding-top: 20px; display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; color: var(--ink); }
.svcl-card-go svg { transition: transform .25s var(--ease); }
.svcl-card:hover .svcl-card-go svg { transform: translateX(4px); }
@media (max-width: 980px) { .svcl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .svcl-grid { grid-template-columns: 1fr; } }

/* ===================== CATALOG ===================== */
.cat-page { padding-top: 28px; padding-bottom: 100px; min-height: 80vh; }
.breadcrumb { font-family: var(--fm); font-size: 19.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 14px; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb .sep { color: var(--muted-2); }
.cat-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin: 18px 0 34px; flex-wrap: wrap; }
.cat-hero h1 { font-size: clamp(34px, 5.5vw, 66px); }
.cat-hero .cnt { color: var(--muted); margin-top: 8px; }
.catalog-layout { display: grid; grid-template-columns: 1fr 250px; gap: clamp(24px, 3vw, 48px); align-items: start; }
.filters { position: sticky; top: calc(var(--nav-h) + 18px); order: 2; }
.filters-close { display: none; position: absolute; top: 16px; right: 16px; border: 1.5px solid var(--ink); }
.filter-group { border-bottom: 1px solid var(--line); padding: 20px 0; }
.filter-group:first-child { padding-top: 0; }
.filter-group h5 { font-family: var(--fm); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.fopt { display: flex; align-items: center; gap: 11px; padding: 7px 0; cursor: pointer; font-size: 14.5px; color: var(--ink-soft); transition: color .2s; }
.fopt:hover { color: var(--ink); }
.fopt .box { width: 18px; height: 18px; border-radius: 5px; border: 1.5px solid var(--line-3); display: grid; place-items: center; transition: .2s; flex-shrink: 0; }
.fopt input:checked + .box { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.fopt input { position: absolute; opacity: 0; pointer-events: none; }
.fopt .ct { margin-left: auto; font-family: var(--fm); font-size: 11px; color: var(--muted-2); }
.swatch-row { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--line-2); cursor: pointer; position: relative; transition: transform .2s; }
.swatch:hover { transform: scale(1.08); }
.swatch.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.catalog-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 22px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px 6px 12px; border-radius: 999px; background: var(--ink); color: var(--paper); font-size: 13px; font-weight: 500; }
.chip button { width: 18px; height: 18px; border-radius: 999px; display: grid; place-items: center; background: rgba(244,242,237,.16); }
.sortbar { display: flex; align-items: center; gap: 14px; }
.select { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; padding: 9px 14px; font-size: 14px; font-weight: 500; cursor: pointer; background: var(--card); position: relative; }
.select select { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.catalog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 1.8vw, 28px); }
.filter-toggle { display: none; }
.empty-state { grid-column: 1 / -1; text-align: center; padding: 90px 20px; color: var(--muted); }

/* mobile filter drawer */
.filters-scrim { position: fixed; inset: 0; background: rgba(19,17,9,.4); z-index: 90; opacity: 0; transition: opacity .3s; display: none; }

/* ===================== PRODUCT DETAIL ===================== */
.pdp { padding-top: 24px; padding-bottom: 90px; }
.pdp-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(28px, 4vw, 64px); align-items: start; margin-top: 32px; }
.gallery { position: sticky; top: calc(var(--nav-h) + 18px); }
.gallery-main { aspect-ratio: 1/1; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); position: relative; background: var(--media); }
.gallery-main .ph { position: absolute; inset: 0; }
.gallery-thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.gthumb { aspect-ratio: 1/1; border-radius: 11px; overflow: hidden; border: 1px solid var(--line); cursor: pointer; position: relative; transition: border-color .2s; }
.gthumb.on { border-color: var(--ink); }
.pdp-info .cat-label { font-family: var(--fm); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pdp-info h1 { font-size: clamp(28px, 3.6vw, 44px); margin: 0 0 16px; line-height: 1.05; }
.pdp-title-m { display: none; color: var(--ink); }
.pdp-sku { font-family: var(--fm); font-size: 14.4px; color: var(--muted); }
/* Model + Brend on one horizontal row */
.pdp-meta { display: flex; flex-wrap: wrap; gap: 22px; align-items: baseline; }
.pdp-meta + .opt-block { margin-top: 18px; }
/* product name: colour attribute light grey, material attribute dark grey */
.pdp-info h1 .nm-color, .pdp-title-m .nm-color { color: #615d54; }
.pdp-info h1 .nm-material, .pdp-title-m .nm-material { color: #a8a499; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; margin: 22px 0; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pdp-price .big { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; }
.pdp-price .unit { color: var(--muted); font-size: 14px; }
.pdp-desc { color: var(--ink-soft); font-size: 15.5px; max-width: 52ch; }
.opt-block { margin: 26px 0; }
.opt-block .opt-label { display: flex; justify-content: flex-start; align-items: baseline; font-size: 13.5px; margin-bottom: 12px; }
.opt-block .opt-label b { font-weight: 600; }
.opt-block .opt-label .val { color: var(--muted); }
.opt-block .opt-label .val:not(:empty)::before { content: ":\00A0"; }
.opt-row { display: flex; gap: 9px; flex-wrap: wrap; }
.opt-pill { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: .2s; background: var(--card); }
.opt-pill:hover { border-color: var(--line-3); }
.opt-pill.on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.opt-swatch { width: 38px; height: 38px; border-radius: 10px; border: 1px solid var(--line-2); cursor: pointer; transition: .2s; }
.opt-swatch.on { box-shadow: 0 0 0 2px var(--paper), 0 0 0 4px var(--ink); }
.opt-variant { width: 56px; height: 56px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--card); cursor: pointer; transition: border-color .2s, box-shadow .2s; overflow: hidden; display: grid; place-items: center; flex: 0 0 auto; }
.opt-variant img { width: 100%; height: 100%; object-fit: contain; display: block; }
.opt-variant:hover { border-color: var(--line-3); }
.opt-variant.on { border-color: var(--vc, var(--ink)); box-shadow: 0 0 0 2px var(--vc, var(--ink)); }
.opt-variant-txt { font-size: 11px; color: var(--muted); padding: 4px; text-align: center; }
.tier-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; }
.tier { border: 1px solid var(--line-2); border-radius: 12px; padding: 12px 10px; cursor: pointer; text-align: center; transition: .2s; background: var(--card); }
.tier:hover { border-color: var(--line-3); }
.tier.on { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.tier .q { font-weight: 700; font-size: 15px; }
.tier .pp { font-family: var(--fm); font-size: 11px; color: var(--muted); margin-top: 3px; }
.tier.on .pp { color: var(--on-invert-mut); }
.buy-row { display: flex; gap: 12px; align-items: stretch; margin: 26px 0 18px; }
.buy-row .qty { height: 54px; flex: 0 0 auto; }
.buy-row .qty button { width: 44px; }
.buy-row .btn { min-width: 0; height: 54px; }
.pdp-wish, .pdp-share { width: 54px; height: 54px; flex: 0 0 auto; border: 1px solid var(--line-2); border-radius: 14px; color: var(--ink); }
.pdp-wish:hover, .pdp-share:hover { border-color: var(--ink); }
.pdp-wish.on { border-color: var(--ink); }
.pdp-wish.on svg { fill: var(--ink); }
.trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.trust-item { display: flex; gap: 11px; align-items: flex-start; }
.trust-item .ti-ic { width: 34px; height: 34px; border-radius: 9px; border: 1px solid var(--line-2); display: grid; place-items: center; flex-shrink: 0; }
.trust-item .ti-t { font-size: 13.5px; font-weight: 600; }
.trust-item .ti-d { font-size: 12px; color: var(--muted); }
.accordion { margin-top: 8px; }
.acc-item { border-top: 1px solid var(--line); }
.acc-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 2px; cursor: pointer; font-weight: 600; font-size: 16px; }
.acc-body { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.acc-body-inner { padding: 0 2px 20px; color: var(--ink-soft); font-size: 14.5px; max-width: 60ch; }
.acc-item.open .acc-body { max-height: 260px; }
.acc-chev { transition: transform .3s var(--ease); }
.acc-item.open .acc-chev { transform: rotate(180deg); }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1100px) {
  .cat-grid, .client-grid { grid-template-columns: repeat(4, 1fr); }
  .pgrid, .catalog-grid { grid-template-columns: repeat(3, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 1150px) { .nav-util-mail { display: none; } }
@media (max-width: 1080px) { .nav-util { display: none; } }
@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-grid; }
  .nav-account, .nav-fav { display: none; }
  .brand-logo { height: 50px; }
  .nav.scrolled .brand-logo { height: 44px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { aspect-ratio: 16/10; }
  .svc-row { grid-template-columns: 54px 1fr auto; }
  .svc-panel-inner { padding-left: 4px; grid-template-columns: 1fr; gap: 18px; }
  .catalog-layout { grid-template-columns: 1fr; }
  .filters { position: fixed; top: 0; right: 0; height: 100%; width: min(88vw, 360px); background: var(--paper); z-index: 100; padding: 80px 24px 24px; overflow-y: auto; transform: translateX(100%); transition: transform .4s var(--ease); }
  .filters.open { transform: none; }
  .filters-close { display: inline-grid; }
  .filters-scrim.open { display: block; opacity: 1; }
  .filter-toggle { display: inline-flex; }
  .pdp-grid { grid-template-columns: 1fr; }
  .gallery { position: static; }
  /* mobile pdp: product name above the image */
  .pdp-info h1 { display: none; }
  .pdp-title-m { display: block; font-size: clamp(26px, 7vw, 34px); font-weight: 800; line-height: 1.06; letter-spacing: -0.02em; margin: 12px 0 16px; }
}
@media (max-width: 680px) {
  .cat-grid, .client-grid { grid-template-columns: repeat(2, 1fr); }
  .pgrid, .catalog-grid { grid-template-columns: repeat(2, 1fr); }
  .featured .pgrid { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px 22px; }
  .foot-col:first-child { grid-column: 1 / -1; }
  .foot-col:last-child { grid-column: 2; }
  .pcard-add { display: none; }
  .pcard-add-m { display: grid; }
  .pcard-step { display: flex; }
  .pcard-badges { top: 8px; left: 8px; gap: 4px; }
  .tag { font-size: 8.5px; padding: 2px 6px; letter-spacing: .04em; }
  /* one row, columns sized to content (not equal fr): the first two stats pack to the
     left and the third ("13 / məhsul kateqoriyası") takes the remaining 1fr, so each
     full-size label sits on a single line. The wider column gap pushes the 2nd and 3rd
     stats rightward into the empty space on the right (still one line — ~31px of slack). */
  .hero-stats { display: grid; grid-template-columns: auto auto 1fr; column-gap: clamp(20px, 6.5vw, 30px); align-items: start; }
  .hstat .n { white-space: nowrap; }
  .hstat .l { font-size: clamp(12px, 3.4vw, 13.5px); max-width: none; margin-top: 6px; line-height: 1.3; }
  .opt-block--tiers { display: none; }
  .trust { grid-template-columns: 1fr; }
  .buy-row { flex-wrap: nowrap; gap: 10px; }
  .buy-row .pdp-add-txt { display: none; }
  .buy-row [data-pdp-add] svg { width: 22px; height: 22px; }
  .buy-row .qty button { width: 38px; }
  /* keep every buy-row control the same height on mobile */
  .buy-row .qty, .buy-row .btn, .pdp-wish, .pdp-share { height: 48px; }
  .pdp-wish, .pdp-share { width: 48px; }
  .foot-brand { font-size: 46px; }
}
@media (max-width: 440px) {
  .pgrid, .catalog-grid, .cat-grid { grid-template-columns: 1fr 1fr; }
  .pcard-add { font-size: 13px; }
}

/* ===================== AUTH MODAL ===================== */
.auth-ov { position: fixed; inset: 0; z-index: 130; display: none; }
.auth-ov.open { display: grid; place-items: center; padding: 20px; }
.auth-scrim { position: absolute; inset: 0; background: rgba(19,17,9,.5); backdrop-filter: blur(3px); opacity: 0; transition: opacity .3s; }
.auth-ov.open .auth-scrim { opacity: 1; }
.auth-card {
  position: relative; width: min(440px, 100%); max-height: 92vh; overflow-y: auto; overflow-x: hidden;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px;
  padding: clamp(26px, 4vw, 38px); box-shadow: 0 40px 90px -30px rgba(19,17,9,.5);
  transform: translateY(14px) scale(.985); opacity: 0; transition: transform .42s var(--ease), opacity .42s var(--ease);
  scrollbar-width: none; -ms-overflow-style: none;
}
.auth-card::-webkit-scrollbar { width: 0; height: 0; display: none; }
.auth-ov.open .auth-card { transform: none; opacity: 1; }
.auth-x { position: absolute; top: 14px; right: 14px; width: 38px; height: 38px; color: var(--muted); }
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-head h2 { font-size: clamp(23px, 3.4vw, 28px); letter-spacing: -0.02em; margin-top: 18px; }
.auth-head p { color: var(--muted); font-size: 14.5px; margin-top: 8px; max-width: 32ch; margin-inline: auto; }
.auth-notice {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
  background: var(--paper-2); border: 1px solid var(--line-2); border-radius: 999px;
  padding: 8px 15px; font-size: 13px; color: var(--ink-soft); font-weight: 500;
}
.auth-notice svg { width: 15px; height: 15px; color: var(--ink); }
.auth-google {
  width: 100%; height: 50px; display: flex; align-items: center; justify-content: center; gap: 11px;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 12px;
  font: inherit; font-size: 15px; font-weight: 600; color: var(--ink); cursor: pointer;
  transition: border-color .2s, background .2s, transform .12s;
}
.auth-google:hover { border-color: var(--line-3); background: var(--paper-2); }
.auth-google:active { transform: translateY(1px); }
.auth-google:disabled { opacity: .55; cursor: default; }
.auth-or { display: flex; align-items: center; gap: 14px; margin: 20px 0; color: var(--muted-2); }
.auth-or::before, .auth-or::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.auth-or span { font-family: var(--fm); font-size: 11px; text-transform: uppercase; letter-spacing: .14em; }
.auth-form { display: flex; flex-direction: column; gap: 13px; }
.auth-form label { display: flex; flex-direction: column; gap: 7px; }
.auth-form label span.mono { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.auth-err { background: rgba(220,60,40,.08); color: #b6402c; border-radius: 9px; padding: 9px 13px; font-size: 13px; }
.auth-switch { text-align: center; margin-top: 22px; font-size: 14.5px; color: var(--muted); }
.auth-switch button { font: inherit; font-weight: 600; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.auth-legal { text-align: center; margin-top: 16px; font-size: 11px; color: var(--muted-2); }
/* social sign-in (Google / Microsoft / Apple) */
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 22px 0 16px; color: var(--muted); font-size: 12.5px; font-family: var(--fm); letter-spacing: .04em; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.auth-social { display: flex; flex-direction: row; gap: 10px; }
.auth-soc { flex: 1; display: flex; align-items: center; justify-content: center; height: 50px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--paper); color: var(--ink); cursor: pointer; transition: border-color .2s var(--ease), background .2s var(--ease); }
.auth-soc:hover { border-color: var(--ink); background: rgba(23,21,15,.03); }
.auth-soc svg { flex: 0 0 auto; }
/* login/register page: center the card and don't let it scroll inside (the page scrolls if ever needed) */
.auth-page { min-height: calc(100svh - 90px); display: grid; place-items: center; padding: clamp(24px, 5vw, 56px) var(--pad); }
.auth-page .auth-card { max-height: none; overflow: visible; }

/* ===================== PROFILE PAGE ===================== */
.profile-hero {
  display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  margin-top: 26px; padding-bottom: 30px; border-bottom: 1px solid var(--line);
}
.profile-id { display: flex; align-items: center; gap: 20px; }
.profile-avatar {
  width: 76px; height: 76px; border-radius: 50%; flex-shrink: 0;
  background: var(--invert); color: var(--on-invert); display: grid; place-items: center;
  font-size: 32px; font-weight: 700; letter-spacing: -0.02em;
}
.profile-id h1 { font-size: clamp(26px, 4vw, 38px); letter-spacing: -0.03em; }
.profile-sub { display: flex; align-items: center; gap: 12px; margin-top: 8px; flex-wrap: wrap; }
.profile-sub .mono { font-size: 13px; color: var(--muted); }
.profile-prov {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--ink-soft);
}
.profile-prov svg { width: 13px; height: 13px; }

.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.pstat {
  text-align: left; background: var(--card); border: 1px solid var(--line); border-radius: 16px;
  padding: 20px 22px; cursor: pointer; transition: border-color .2s, transform .2s; font: inherit;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
}
.pstat:not(.pstat--static):hover { border-color: var(--line-3); transform: translateY(-2px); }
.pstat--static { cursor: default; }
.pstat-ico { color: var(--muted); margin-bottom: 6px; }
.pstat-ico svg { width: 19px; height: 19px; }
.pstat-n { font-size: 30px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.pstat-l { font-size: 13px; color: var(--muted); }

.profile-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 18px; margin-top: 18px; }
.profile-card { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: clamp(20px, 2.6vw, 30px); }
.profile-card h3 { font-size: 19px; letter-spacing: -0.01em; }
.profile-card-sub { color: var(--muted); font-size: 13.5px; margin-top: 6px; }
.profile-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.profile-fields label { display: flex; flex-direction: column; gap: 7px; }
.profile-fields label span.mono { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.profile-link { font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 6px; color: var(--ink); }
.profile-link svg { width: 14px; height: 14px; transition: transform .25s var(--ease); }
.profile-link:hover svg { transform: translate(2px, -2px); }
.profile-empty { text-align: center; padding: 30px 10px 14px; color: var(--muted); }
.profile-empty-ico { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; margin: 0 auto 14px; color: var(--muted); }
.profile-empty p { font-size: 13.5px; margin: 6px 0 18px; }
.profile-favs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 18px; }
.profile-fav { text-align: left; background: transparent; border: 1px solid var(--line); border-radius: 13px; padding: 10px; cursor: pointer; font: inherit; transition: border-color .2s; }
.profile-fav:hover { border-color: var(--line-3); }
.profile-fav-thumb { width: 100%; aspect-ratio: 4/3; border-radius: 8px; margin-bottom: 10px; }
.profile-fav-name { display: block; font-weight: 600; font-size: 14px; letter-spacing: -0.01em; }
.profile-fav-cat { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; }

/* avatar in nav */
.nav-avatar {
  width: 30px; height: 30px; border-radius: 50%; background: var(--invert); color: var(--on-invert);
  display: grid; place-items: center; font-size: 13px; font-weight: 700; letter-spacing: 0;
}
.iconbtn.on { background: rgba(23,21,15,.08); }
.mmenu-fav { display: flex !important; align-items: center; justify-content: space-between; }
.mmenu-fav svg { width: 20px; height: 20px; }
.mmenu-count {
  font-family: var(--fm); font-size: 13px; font-weight: 600; min-width: 26px; height: 26px; padding: 0 8px;
  display: inline-grid; place-items: center; border-radius: 999px; background: var(--invert); color: var(--on-invert);
}
.mmenu-account { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.mmenu-account > a { display: flex !important; align-items: center; gap: 13px; padding: 6px 0 !important; }
.mmenu-account .btn svg { width: 18px; height: 18px; }

@media (max-width: 760px) {
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .profile-fields { grid-template-columns: 1fr; }
  .profile-stats { gap: 10px; }
  .pstat { padding: 16px; }
  .pstat-n { font-size: 24px; }
}

/* ============================================================
   GREY — Tweak variants: typographic character + surface shape
   (Atmosfer/theme tokens are applied via JS on :root)
   ============================================================ */

/* smooth theme cross-fade on the big surfaces */
body, .nav, .topbar, .services, .footer, .cta-card, .cat-cell, .client-cell,
.pcard-media, .gallery-main, .hero-media, .card, .cinput, .filters,
.tier, .opt-pill, .select, .tab, .step, .drawer, .pcard-meta {
  transition: background-color .5s var(--ease), color .5s var(--ease), border-color .5s var(--ease);
}

/* ===================== TIPOGRAFIKA ===================== */
/* --- Sakit (calm): quieter, lighter, more air, no outline drama --- */
body[data-type="calm"] .hero-h { font-size: clamp(38px, 7vw, 104px); font-weight: 600; letter-spacing: -0.018em; line-height: 1; }
body[data-type="calm"] .hero-h .out { -webkit-text-stroke: 0; color: var(--muted); }
body[data-type="calm"] h1, body[data-type="calm"] h2 { font-weight: 700; letter-spacing: -0.022em; }
body[data-type="calm"] .svc-name { font-weight: 600; font-size: clamp(24px, 3.6vw, 44px); letter-spacing: -0.025em; }
body[data-type="calm"] .sec-head h2 { font-weight: 700; }
body[data-type="calm"] .hstat .n,
body[data-type="calm"] .cta-card h2 { font-weight: 700; }
body[data-type="calm"] .foot-brand,
body[data-type="calm"] .cta-glyph { font-weight: 600; }
body[data-type="calm"] .display { font-weight: 700; }

/* --- Cəsur (bold): louder, heavier, tighter, oversized display --- */
body[data-type="bold"] .hero-h { font-size: clamp(52px, 11.2vw, 168px); font-weight: 800; letter-spacing: -0.052em; line-height: 0.86; }
body[data-type="bold"] .hero-h .out { -webkit-text-stroke-width: 2px; }
body[data-type="bold"] h1, body[data-type="bold"] h2 { letter-spacing: -0.045em; }
body[data-type="bold"] .sec-head h2 { font-size: clamp(32px, 4.8vw, 58px); }
body[data-type="bold"] .svc-name { font-size: clamp(34px, 5.6vw, 78px); letter-spacing: -0.045em; }
body[data-type="bold"] .cta-card h2 { font-size: clamp(38px, 6.4vw, 88px); letter-spacing: -0.05em; }
body[data-type="bold"] .cat-hero h1,
body[data-type="bold"] .pdp-info h1 { letter-spacing: -0.048em; }
body[data-type="bold"] .hstat .n { font-size: clamp(32px, 4vw, 52px); }
body[data-type="bold"] .foot-brand { font-size: 92px; }

/* ===================== FORMA ===================== */
/* --- Kəskin (sharp / editorial-brutal): near-zero radius, flat --- */
body[data-shape="sharp"] .pcard-media,
body[data-shape="sharp"] .hero-media,
body[data-shape="sharp"] .gallery-main,
body[data-shape="sharp"] .cat-grid,
body[data-shape="sharp"] .client-grid,
body[data-shape="sharp"] .cta-card,
body[data-shape="sharp"] .gthumb,
body[data-shape="sharp"] .cinput,
body[data-shape="sharp"] .drawer-body .thumb,
body[data-shape="sharp"] .cart-line .thumb,
body[data-shape="sharp"] .c-thumb { border-radius: 0; }
body[data-shape="sharp"] .btn,
body[data-shape="sharp"] .iconbtn,
body[data-shape="sharp"] .pcard-act,
body[data-shape="sharp"] .pcard-add,
body[data-shape="sharp"] .tag,
body[data-shape="sharp"] .chip,
body[data-shape="sharp"] .chip button,
body[data-shape="sharp"] .select,
body[data-shape="sharp"] .opt-pill,
body[data-shape="sharp"] .qty,
body[data-shape="sharp"] .swatch,
body[data-shape="sharp"] .opt-swatch,
body[data-shape="sharp"] .tier,
body[data-shape="sharp"] .trust-item .ti-ic,
body[data-shape="sharp"] .fopt .box { border-radius: 0; }
body[data-shape="sharp"] .pcard-media,
body[data-shape="sharp"] .cat-grid,
body[data-shape="sharp"] .client-grid { box-shadow: none; }
body[data-shape="sharp"] .svc-go { border-radius: 0; }

/* --- Yumşaq (soft): generous radius, lifted cards, soft shadows --- */
body[data-shape="soft"] .pcard-media,
body[data-shape="soft"] .gallery-main { border-radius: 24px; box-shadow: 0 12px 30px rgba(23,21,15,.07); }
body[data-shape="soft"] .hero-media { border-radius: 28px; box-shadow: 0 22px 50px rgba(23,21,15,.1); }
body[data-shape="soft"] .cat-grid,
body[data-shape="soft"] .client-grid { border-radius: 26px; }
body[data-shape="soft"] .cta-card { border-radius: 34px; }
body[data-shape="soft"] .gthumb { border-radius: 16px; }
body[data-shape="soft"] .c-thumb { border-radius: 18px; }
body[data-shape="soft"] .cinput,
body[data-shape="soft"] .tier { border-radius: 16px; }
body[data-shape="soft"] .pcard { transition: transform .4s var(--ease); }
body[data-shape="soft"] .pcard:hover .pcard-media { transform: translateY(-6px); box-shadow: 0 22px 48px rgba(23,21,15,.13); }
body[data-shape="soft"] .cat-cell:hover,
body[data-shape="soft"] .client-cell:hover { box-shadow: inset 0 0 0 1px var(--line-2); }
body[data-shape="soft"] .step { border-radius: 4px; }
body[data-shape="soft"] .trust-item .ti-ic { border-radius: 12px; }

@media (prefers-reduced-motion: reduce) {
  body[data-shape="soft"] .pcard:hover .pcard-media { transform: none; }
}

/* mobile: a touch more breathing room from the screen edges for the white-bg
   content sections and inner pages. Hero, the dark services band and the footer
   keep their own padding. Only widens (never narrows) below 520px where --pad <= 26px. */
@media (max-width: 520px) {
  .cats, .featured, .process, .cta,
  .cat-page, .pdp, .svcl, .svcd { padding-left: 21px; padding-right: 21px; }

  /* the decorative CTA "G" pins to its 280px clamp floor on phones, so at right: 2%
     it sits almost full-width and bottom: -20% slices its lower curve straight off
     under overflow:hidden — reading as a broken shape rather than a watermark.
     Keep it large but anchor it into the bottom-right corner so it bleeds off both
     edges and only peeks in by a corner. */
  .cta-glyph { font-size: clamp(280px, 86vw, 460px); right: -4%; bottom: -16%; }
}

/* auth: privacy-policy link inside the fine-print legal line */
.auth-legal a { color: var(--ink-soft); text-decoration: underline; text-underline-offset: 2px; }
.auth-legal a:hover { color: var(--ink); }

/* web: align every home section flush to the content box, matching the .cats section
   (which already has no side padding). Mobile keeps its own padding (rule above). */
@media (min-width: 521px) {
  .hero, .services > .wrap, .featured, .process, .cta, .nav-inner { padding-left: 0; padding-right: 0; }
}

/* contact: office + warehouse locations with maps */
.loc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(20px, 3vw, 32px); margin-top: clamp(24px, 3vw, 40px); }
.loc-card { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--paper); transition: border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.loc-card:hover { border-color: var(--line-3); transform: translateY(-3px); box-shadow: 0 18px 40px -26px rgba(19,17,9,.25); }
.loc-map { position: relative; aspect-ratio: 16 / 10; background: var(--media); }
.loc-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(.55) contrast(1.02); transition: filter .35s var(--ease); }
.loc-card:hover .loc-map iframe { filter: grayscale(0); }
.loc-body { padding: 22px 24px 24px; }
.loc-tag { display: inline-block; padding: 5px 13px; border-radius: 999px; background: var(--ink); color: var(--paper); font-family: var(--fm); font-size: 11.5px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; }
.loc-addr { margin-top: 14px; font-size: 16px; font-weight: 600; color: var(--ink); line-height: 1.5; letter-spacing: -0.01em; }
.loc-link { margin-top: 14px; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--ink); }
.loc-link svg { transition: transform .25s var(--ease); }
.loc-link:hover svg { transform: translate(2px, -2px); }
@media (max-width: 760px) { .loc-grid { grid-template-columns: 1fr; } }

/* mobile: the +30% breadcrumb size is for desktop only — keep it compact on phones so a long
   trail wraps instead of pushing the page wider (no horizontal scroll) */
@media (max-width: 640px) {
  /* +10% size, single line; the product name (last crumb) is dropped — it already shows as the bold mobile title */
  .breadcrumb { font-size: 15.4px; margin-top: 10px; flex-wrap: nowrap; overflow: hidden; gap: 5px; }
  .breadcrumb .bc-current, .breadcrumb .bc-sep-last { display: none; }
  .breadcrumb a, .breadcrumb .sep { flex: 0 0 auto; white-space: nowrap; }
  /* the deepest category truncates with an ellipsis if it is too long for one line */
  .breadcrumb a:last-of-type { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
}
