/* Mağaza arayüzü — onaylı MASTER ana sayfa tasarımı (references/master/anasayfa-master.webp) esas alınmıştır.
   Renkler MASTER’dan ölçüldü: marka kırmızısı, antrasit/siyah bölümler, beyaz zemin. */
/* Prices on product cards: Inter (SIL Open Font License, assets/fonts/Inter-OFL-LICENSE.txt), the real 400 and 600
   faces, latin set only. Used for the card price alone; the rest of the shop keeps the system font (--font). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../assets/fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../assets/fonts/inter-latin-600-normal.woff2") format("woff2"); }
:root {
  --red: #e30613;
  --red-dark: #b8000f;
  --red-deep: #7a0710;
  --ink: #111418;
  --text: #1d2126;
  --muted: #646b74;
  --line: #e7e9ec;
  --soft: #f5f6f8;
  --dark: #12171c;
  --dark-2: #1b2229;
  --white: #ffffff;
  --success: #17703d;
  /* Theme (Site Ayarları › Renkler, docs/THEME.md): theme.css replaces these when staff save other colours. The defaults
     are the MASTER colours above, so an unchanged theme looks exactly as approved. --error is fixed, never the brand. */
  --primary-text: var(--red);
  --accent: var(--red);
  --surface: #ffffff;
  --header-bg: #ffffff;
  --header-text: var(--ink);
  --topbar-text: #d9dde2;
  --footer-bg: var(--dark);
  --footer-text: #c3c9cf;
  --footer-heading: #ffffff;
  --footer-line: #262e36;
  --menu-bg: var(--red);
  --menu-hover: var(--red-dark);
  --on-menu: #ffffff;
  --button-bg: var(--red);
  --button-hover: var(--red-dark);
  --on-button: #ffffff;
  --on-primary: #ffffff;
  --on-primary-muted: #ffe1e3;
  --red-mid: #c3000e;
  --red-light: #f0222c;
  /* Pale tints of the primary colour, each the exact MASTER shade of its place: soft (selected variant), tint (senet
     note), wash (selected address), note (store announcement). */
  --primary-soft: #fff5f5;
  --primary-tint: #fff2f2;
  --primary-wash: #fff7f7;
  --primary-note: #fff4f4;
  --primary-soft-border: #f6c7ca;
  --banner-glow: #8f1a1f;
  --banner-glow-fade: rgba(143,26,31,0);
  --error: #b8000f;
  --radius: 10px;
  --wrap: 1280px;
  --font: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 16px; }
body { margin: 0; background: var(--surface); -webkit-font-smoothing: antialiased; }
body.no-scroll { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
/* Type scale outside the MASTER homepage blocks: body 400, emphasis 500, headings 600; helper text at least 14 px. */
h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0; font-weight: 600; }
p { margin: 0; }
ul { list-style: none; margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #1f5fbf; outline-offset: 2px; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.accent { color: var(--accent); }
.boot { padding: 40px 24px; color: var(--muted); }
/* First load (docs/FIRST_LOAD.md). The server's readable page content (.ssr-fallback) is for search engines and visitors
   without JavaScript; with scripting on, the app replaces it in a moment, so until then its place is an empty area of
   page height under the server-drawn header: no raw text flashes and the footer does not rise and fall. Should the app
   fail to start, the content shows after 6 s. The app's main area keeps the same height while it is empty or the page
   is still loading, for the same reason. */
@media (scripting: enabled) {
  .ssr-fallback { visibility: hidden; min-height: 100vh; animation: ssr-reveal 0s 6s forwards; }
}
@keyframes ssr-reveal { to { visibility: visible; } }
#icerik:empty { min-height: 100vh; }
#icerik:has(> .wrap.page > .state.loading:last-child) { min-height: 100vh; } /* separate: :has() is newer */
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip-link:focus { left: 8px; }
.icon { flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 6px; padding: 11px 20px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; line-height: 1.2; min-height: 44px; }
.btn-red { background: var(--button-bg); color: var(--on-button); }
.btn-red:hover:not(:disabled) { background: var(--button-hover); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover:not(:disabled) { border-color: var(--ink); }
.btn-lg { padding: 14px 26px; font-size: 1.05rem; min-height: 52px; }
.btn-sm { padding: 8px 14px; font-size: 0.875rem; min-height: 40px; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; }
.btn[aria-busy="true"] { cursor: progress; }
.link-btn { background: none; border: 0; padding: 6px 4px; color: var(--muted); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; text-decoration: underline; }
.danger { color: var(--error) !important; }
.icon-btn { background: none; border: 0; padding: 8px; cursor: pointer; display: inline-flex; color: var(--ink); min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

/* Topbar */
.topbar { background: var(--footer-bg); color: var(--topbar-text); font-size: 0.78rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 38px; gap: 16px; }
.tb-items { display: flex; gap: 34px; }
.tb-items li { display: inline-flex; align-items: center; gap: 7px; }
.tb-links { display: inline-flex; gap: 8px; color: #aab1b9; }
.tb-links a { color: var(--topbar-text); text-decoration: none; }
.tb-links a:hover { color: var(--footer-heading); }

/* Header */
.site-header { position: relative; z-index: 30; background: var(--header-bg); }
.header-main { display: grid; grid-template-columns: auto minmax(260px, 600px) auto; align-items: center; gap: 32px; padding-top: 16px; padding-bottom: 16px; justify-content: space-between; }
.menu-btn { display: none; }
.logo { display: inline-flex; }
.logo img { width: 150px; height: auto; max-height: 81px; object-fit: contain; }
.search { display: flex; width: 100%; border: 1px solid #dfe2e6; border-radius: 8px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px rgba(17, 20, 24, 0.04); }
.search input { flex: 1; border: 0; padding: 0 18px; min-height: 52px; font-size: 0.95rem; background: transparent; min-width: 0; }
.search input:focus { outline: none; }
.search:focus-within { outline: 3px solid #1f5fbf; outline-offset: 2px; }
.search-btn { width: 72px; border: 0; background: var(--button-bg); color: var(--on-button); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.search-btn:hover { background: var(--button-hover); }
/* Search suggestions: a panel under the search box, same width, never wider than the screen. */
.search-box { position: relative; min-width: 0; }
.search-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 45; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(17, 20, 24, 0.12); max-height: min(70vh, 520px); overflow-y: auto; padding: 6px 0; }
.sugg-group + .sugg-group, .sugg-all { border-top: 1px solid var(--line); }
.sugg-head { display: flex; justify-content: space-between; align-items: center; padding: 8px 14px 4px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.02em; }
.sugg-head .link-btn { text-transform: none; font-weight: 600; letter-spacing: 0; }
.sugg-item { display: flex; align-items: center; gap: 10px; padding: 8px 14px; color: var(--text); text-decoration: none; min-width: 0; flex: 1; }
.sugg-item:hover, .sugg-item[aria-selected="true"] { background: var(--soft); }
.sugg-item img, .sugg-ph { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: var(--soft); flex: none; display: inline-flex; align-items: center; justify-content: center; color: var(--muted); }
.sugg-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sugg-price { font-weight: 600; color: var(--primary-text); white-space: nowrap; }
.sugg-row { display: flex; align-items: center; }
.sugg-remove { border: 0; background: transparent; color: var(--muted); padding: 8px 14px; cursor: pointer; display: inline-flex; }
.sugg-remove:hover { color: var(--accent); }
.sugg-note { margin: 0; padding: 8px 14px; font-size: 0.88rem; color: var(--muted); }
.sugg-all .sugg-item { font-weight: 600; color: var(--primary-text); }
.header-actions { display: flex; gap: 30px; align-items: center; }
.hdr-action { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--header-text); font-size: 0.8rem; font-weight: 600; line-height: 1.25; }
.hdr-action small { font-size: 0.8rem; font-weight: 600; }
.hdr-action:hover { color: var(--accent); }
.cart-icon { position: relative; display: inline-flex; }
.badge-count { position: absolute; top: -8px; right: -10px; background: var(--red); color: var(--on-primary); font-size: 0.7rem; font-weight: 700; min-width: 20px; height: 20px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #fff; }

/* Main navigation */
.main-nav { border-bottom: 1px solid var(--line); background: var(--header-bg); }
.nav-inner { display: flex; align-items: center; gap: 40px; padding-bottom: 12px; position: relative; }
.all-cats { display: inline-flex; align-items: center; gap: 14px; background: var(--menu-bg); color: var(--on-menu); border: 0; border-radius: 6px; padding: 0 22px; min-height: 48px; width: 280px; font-weight: 700; font-size: 0.95rem; cursor: pointer; }
.all-cats:hover, .all-cats[aria-expanded="true"] { background: var(--menu-hover); }
.nav-links { display: flex; gap: 36px; flex: 1; justify-content: space-between; max-width: 900px; }
/* Panel-managed links (docs/SITE_MENUS.md): longer labels scroll inside the menu instead of widening the page. */
.nav-links { overflow-x: auto; scrollbar-width: none; }
.nav-links::-webkit-scrollbar { display: none; }
.nav-links a { text-decoration: none; font-weight: 700; font-size: 0.92rem; color: var(--header-text); padding: 12px 0; white-space: nowrap; }
.nav-links a:hover { color: var(--accent); }
.nav-links a.accent, .drawer-nav a.accent { color: var(--accent); }
/* Category menu (layout.js): compact columns under the button for a few top categories; with more, top categories on
   the left and the subcategories of the active one on the right. */
.mega { position: absolute; left: 24px; right: 24px; top: calc(100% + 1px); background: #fff; border: 1px solid var(--line); border-radius: 0 0 var(--radius) var(--radius); box-shadow: 0 18px 40px rgba(17, 20, 24, 0.12); padding: 24px; z-index: 40; }
.mega.compact { right: auto; min-width: 280px; max-width: calc(100% - 48px); }
.mega.two-pane { padding: 0; }
.mega-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px 28px; }
.mega.compact .mega-grid { grid-auto-flow: column; grid-auto-columns: minmax(180px, max-content); grid-template-columns: none; gap: 20px 40px; }
.mega-two { display: grid; grid-template-columns: 280px minmax(0, 1fr); min-height: 320px; max-height: min(70vh, 560px); }
.mega-roots { border-right: 1px solid var(--line); overflow-y: auto; padding: 10px 0; }
.mega-root-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 20px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.mega-root-link .icon { color: var(--muted); }
.mega-root-link.active, .mega-root-link:hover { background: var(--soft); color: var(--accent); }
.mega-root-link.active .icon { color: var(--accent); }
.mega-pane { padding: 22px 28px; overflow-y: auto; }
.mega-pane-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 20px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.mega-pane-head strong { font-size: 1.1rem; color: var(--ink); }
.mega-all { font-weight: 600; font-size: 0.9rem; color: var(--accent); text-decoration: none; }
.mega-all:hover { text-decoration: underline; }
.mega-subs { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 4px 24px; }
.mega-subs a { display: block; padding: 8px 0; text-decoration: none; color: var(--text); }
.mega-subs a:hover { color: var(--accent); }
.mega-empty { padding: 0 4px; }
.mega-root { font-weight: 600; text-decoration: none; color: var(--ink); }
.mega-root:hover, .mega-col li a:hover { color: var(--accent); }
.mega-col ul { margin-top: 8px; display: grid; gap: 6px; }
.mega-col li a { text-decoration: none; color: var(--muted); font-size: 0.9rem; }

/* Mobile drawer */
.drawer { position: fixed; inset: 0 auto 0 0; width: min(88vw, 360px); background: #fff; z-index: 60; box-shadow: 4px 0 24px rgba(0,0,0,0.2); overflow-y: auto; padding: 0 0 24px; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 8px 18px; border-bottom: 1px solid var(--line); }
.drawer-title { padding: 16px 18px 6px; font-size: 0.8125rem; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; }
.drawer-cats li, .drawer-nav a { border-bottom: 1px solid var(--soft); }
.drawer-cats summary, .drawer-cats a, .drawer-nav a { display: block; padding: 13px 18px; text-decoration: none; font-weight: 600; cursor: pointer; }
.drawer-cats details ul a { padding-left: 32px; font-weight: 500; color: var(--muted); }
.drawer-cats summary { display: flex; align-items: center; justify-content: space-between; list-style: none; }
.drawer-cats summary::-webkit-details-marker { display: none; }
.drawer-cats summary::after { content: ""; width: 8px; height: 8px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); margin: -4px 4px 0 12px; transition: transform 0.15s; }
.drawer-cats details[open] > summary { color: var(--accent); }
.drawer-cats details[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.drawer-backdrop { position: fixed; inset: 0; z-index: 59; background: rgba(15, 23, 42, 0.45); }
.drawer-nav { display: flex; flex-direction: column; }

/* Hero */
.hero { position: relative; overflow: hidden; background: #fff; }
.hero-visual { position: absolute; inset: 0; background:
  linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255,255,255,0.8) 46%, rgba(255,255,255,0) 64%),
  linear-gradient(180deg, #f1e6d8 0%, #e2cdb3 60%, #cfb08f 100%); }
/* Panel photo: fills the right side behind the copy; the MASTER white fade keeps the text readable. On phones the
   photo is hidden and the MASTER mobile background stays, so the text is never laid over the picture. */
.hero-photo { position: absolute; top: 0; right: 0; width: 66%; height: 100%; object-fit: cover; }
@media (min-width: 641px) {
  .hero-visual.has-photo { background: #fff; }
  .hero-visual.has-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255,255,255,0.8) 46%, rgba(255,255,255,0) 64%); }
}
.hero-inner { position: relative; min-height: 520px; display: flex; align-items: center; padding-top: 48px; padding-bottom: 56px; }
.hero-copy { max-width: 600px; }
.hero-eyebrow { font-weight: 800; font-size: 1.15rem; color: var(--ink); letter-spacing: 0.01em; margin-bottom: 8px; }
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 900; line-height: 1.02; letter-spacing: -0.02em; display: flex; flex-direction: column; }
.hero-lead { margin-top: 18px; font-size: clamp(1.05rem, 1.8vw, 1.45rem); font-weight: 500; color: var(--ink); line-height: 1.35; }
.hero-features { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 18px; margin: 30px 0 32px; max-width: 560px; }
.hero-features li { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 0.78rem; color: var(--muted); }
.hero-features strong { color: var(--ink); font-size: 0.88rem; margin-top: 8px; }
.hf-icon { color: var(--primary-text); }
.hero-badge { position: absolute; right: 24px; top: 40px; width: 230px; height: 230px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, var(--red-light), var(--red) 55%, var(--red-dark)); color: var(--on-primary); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; text-decoration: none; box-shadow: 0 0 0 6px color-mix(in srgb, var(--red) 25%, transparent), 0 14px 30px color-mix(in srgb, var(--red-deep) 35%, transparent); padding: 24px; line-height: 1.15; }
.hb-1, .hb-2 { font-weight: 800; font-size: 1.15rem; }
.hb-3 { font-weight: 900; font-size: 1.5rem; color: #ffe04a; }
.hb-4 { font-size: 0.78rem; margin-top: 6px; color: #ffe9a6; font-weight: 600; }

/* Sections */
.section { margin-top: 36px; }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: -0.01em; }
.section-sub { color: var(--muted); margin-top: 4px; }
.see-all { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; text-decoration: none; white-space: nowrap; }
.see-all:hover { color: var(--accent); }

/* Category strip */
.cat-section { margin-top: 24px; }
.cat-strip-inner { position: relative; }
.cat-strip { display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 56px 4px 4px; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-strip li { scroll-snap-align: start; flex: 0 0 auto; width: 130px; min-width: 0; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; text-align: center; width: 100%; }
.cat-circle { width: 120px; height: 120px; border-radius: 50%; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 1.9rem; font-weight: 800; color: #9aa1aa; border: 1px solid var(--line); transition: border-color 0.15s; }
.cat-item:hover .cat-circle { border-color: var(--red); color: var(--primary-text); }
/* Long names wrap inside their own column (a word longer than the column breaks), so neighbours never overlap. */
.cat-name { font-size: 0.85rem; font-weight: 600; line-height: 1.3; max-width: 100%; overflow-wrap: anywhere; hyphens: auto; }
.cat-circle.has-image { overflow: hidden; background: #fff; }
.cat-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.strip-btn[hidden] { display: none; }
.strip-btn { position: absolute; top: 44px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: 0 4px 14px rgba(17,20,24,0.12); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.strip-btn.prev { left: -8px; }
.strip-btn.next { right: -8px; }

/* 7 stores block */
.stores-block { display: grid; grid-template-columns: 1.15fr 1.6fr 1fr; background: var(--dark); border-radius: 12px; overflow: hidden; min-height: 300px; color: #fff; }
.sb-copy { padding: 30px 34px; display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.sb-title { display: flex; align-items: center; gap: 12px; color: #fff; }
.sb-seven { font-size: 6.5rem; font-weight: 900; color: var(--red); line-height: 0.8; letter-spacing: -0.04em; }
.sb-lines { display: flex; flex-direction: column; }
.sb-l1 { font-size: 2rem; font-weight: 800; }
.sb-l2 { font-size: 1.25rem; font-weight: 700; }
.checklist { display: grid; gap: 8px; font-size: 1.1rem; }
.checklist li { display: flex; align-items: center; gap: 10px; }
.checklist.dark { color: var(--ink); font-size: 1rem; }
.checklist.dark .icon { color: var(--red); }
.sb-note { font-size: 0.875rem; color: #aab1b9; }
.sb-copy .btn { align-self: flex-start; }
.sb-visual { position: relative; display: flex; align-items: center; justify-content: center; background:
  radial-gradient(ellipse at 50% 85%, rgba(255,214,150,0.55), rgba(255,214,150,0) 55%),
  linear-gradient(180deg, #2a323b 0%, #151b21 45%, #0d1115 100%); }
.sb-visual { overflow: hidden; }
.sb-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sb-logo { position: relative; width: 46%; max-width: 230px; filter: drop-shadow(0 6px 18px rgba(0,0,0,0.5)); }
.sb-side { background: var(--dark-2); padding: 28px 26px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.sb-script { font-family: "Segoe Script", "Brush Script MT", "Snell Roundhand", cursive; font-style: italic; font-size: 1.6rem; line-height: 1.2; transform: rotate(-4deg); color: #fff; }
.sb-list { display: grid; gap: 14px; font-size: 0.98rem; }
.sb-list li { display: flex; align-items: center; gap: 12px; }
.sb-ic { width: 34px; height: 34px; border-radius: 6px; background: var(--red); display: inline-flex; align-items: center; justify-content: center; }

/* Trust */
/* Shopping advantages: four cards on a very light grey ground with a thin border (no shadow), the red icon in a light
   red 48px tile; about 104px tall on desktop and free to grow with the text. Four in a row, 2×2 below 993px. */
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.trust-card { display: flex; align-items: center; gap: 16px; min-height: 104px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #f7f8fa; }
.trust-card strong { display: block; font-size: 16px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.trust-card small { display: block; margin-top: 2px; font-size: 14px; font-weight: 400; line-height: 1.4; color: #4a5058; }
.trust-ic { flex: none; width: 48px; height: 48px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary-text);
  background: var(--primary-tint); background: color-mix(in srgb, var(--accent) 10%, #fff); }

/* Product cards */
.product-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 16px; }
.product-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; position: relative; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow 0.15s; }
.fav-btn { position: absolute; top: 18px; right: 18px; z-index: 1; width: 36px; height: 36px; border-radius: 50%; border: 0; background: #fff; color: var(--muted); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 1px 4px rgba(17,20,24,0.12); }
.fav-btn:hover, .fav-btn.is-favorite { color: var(--primary-text); }
.fav-btn.is-favorite .icon, .fav-btn-label.is-favorite .icon { fill: currentColor; }
.fav-btn-label { margin-top: 12px; gap: 8px; }
.fav-btn-label.is-favorite { color: var(--primary-text); border-color: var(--red); }
.product-card:hover { box-shadow: 0 8px 24px rgba(17,20,24,0.08); }
.card-media { display: block; position: relative; padding: 12px 12px 0; }
.media-ph { background: var(--soft); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #b6bcc4; }
.media-ph.card { aspect-ratio: 1 / 0.82; }
.media-ph.large { aspect-ratio: 1 / 0.9; border-radius: var(--radius); }
.media-ph.thumb { width: 88px; height: 88px; }
.card-body { padding: 12px 16px 16px; display: flex; flex-direction: column; flex: 1; gap: 4px; }
.card-brand { font-size: 0.875rem; font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.03em; }
.card-title { font-size: 0.95rem; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.6em; }
.card-title a { text-decoration: none; }
.card-title a:hover { color: var(--accent); }
.card-foot { margin-top: auto; padding-top: 10px; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
/* Card prices: current 18px/600 in the primary red, old 14px/400 grey and struck through (<s>); both in the real Inter
   faces above, never a synthesised bold. In a card too narrow for an 18px price beside the 40px cart button (two
   columns on a phone) the price follows the card's width down to 15px instead of pushing the button out of the card. */
.card-price, .card-foot .old-price { font-family: "Inter", var(--font); font-synthesis: none; }
/* --price-room: the cart button and the gap beside the price. 0.15 = 18px over the width of a 9-character price at 18px. */
.card-foot { container-type: inline-size; --price-room: 54px; }
.card-price { color: var(--primary-text); font-weight: 600; font-size: 18px; font-size: clamp(15px, (100cqi - var(--price-room)) * 0.15, 18px); white-space: nowrap; }
.card-foot .old-price { font-size: 14px; font-weight: 400; }
.card-disc { position: absolute; top: 20px; left: 20px; background: var(--red); color: var(--on-primary); font-weight: 800; font-size: 0.85rem; padding: 3px 9px; border-radius: 999px; }
.old-price { color: var(--muted); font-weight: 600; }
.pd-offer { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 8px; }
.pd-offer:empty { display: none; }
.pd-offer .old-price { font-size: 1.1rem; }
.disc-badge { background: var(--red); color: var(--on-primary); font-weight: 800; font-size: 0.85rem; padding: 3px 10px; border-radius: 999px; }
.stock-out { font-size: 0.875rem; color: var(--muted); font-weight: 500; }
.card-cart { width: 46px; height: 46px; border-radius: 6px; background: var(--button-bg); color: var(--on-button); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.card-cart:hover { background: var(--button-hover); }

/* Brands */
.brand-row { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px; }
.brand-row.wide { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
/* Homepage brands (brand-carousel.js): one row at every width, six cards in view on desktop, four on tablets, three on
   phones; the row scrolls sideways (arrows, touch, trackpad) and never wraps. Logos keep their proportions. */
.brand-head-actions { display: inline-flex; align-items: center; gap: 14px; }
.brand-pause[hidden] { display: none; }
.brand-pause { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.brand-pause:hover { border-color: var(--red); color: var(--primary-text); }
.brand-carousel { --per: 6; --gap: 12px; --arrow: 44px; display: grid; grid-template-columns: var(--arrow) minmax(0, 1fr) var(--arrow); align-items: center; gap: 10px; }
.brand-carousel.static { grid-template-columns: minmax(0, 1fr); }
.brand-carousel.static .brand-arrow, .brand-carousel.static .brand-copy { display: none; }
.brand-track { position: relative; display: flex; gap: var(--gap); overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 2px 0; }
.brand-track::-webkit-scrollbar { display: none; }
.brand-track > li { flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per)); min-width: 0; scroll-snap-align: start; }
.brand-track .brand-tile { height: 100%; }
.brand-arrow { width: var(--arrow); height: var(--arrow); border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: 0 4px 14px rgba(17,20,24,0.12); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; color: var(--ink); }
.brand-arrow:hover { border-color: var(--red); color: var(--primary-text); }
.brand-tile { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 76px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-weight: 800; font-size: 1.05rem; text-decoration: none; color: var(--ink); padding: 10px; }
.brand-tile:hover { border-color: var(--red); color: var(--primary-text); }
.brand-tile.has-logo img { max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.brand-head { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 18px; }
.brand-head img { flex: none; max-width: 160px; max-height: 80px; width: auto; height: auto; object-fit: contain; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 8px; }
.brand-head p { margin: 0 0 8px; color: var(--muted); max-width: 72ch; }

/* Campaign banners */
.banner-grid { display: grid; grid-template-columns: repeat(20, minmax(0, 1fr)); gap: 16px; }
.banner { border-radius: var(--radius); min-height: 236px; padding: 30px 32px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; overflow: hidden; position: relative; }
.banner h3 { font-size: clamp(1.4rem, 2.3vw, 1.9rem); font-weight: 800; line-height: 1.15; }
.banner p { font-size: 1rem; }
.banner-dark { grid-column: span 10; color: #fff; background: radial-gradient(ellipse at 78% 62%, var(--banner-glow) 0%, var(--banner-glow-fade) 40%), linear-gradient(90deg, #11161b 0%, #11161b 45%, #2c2420 100%); }
.banner-dark h3 { color: #fff; }
.banner-light { grid-column: span 10; background: linear-gradient(90deg, #f5f5f3 0%, #f5f5f3 50%, #e2ddd6 100%); }
.banner-red { grid-column: span 12; background: linear-gradient(100deg, var(--red) 0%, var(--red-mid) 50%, var(--red-deep) 100%); color: var(--on-primary); display: grid; grid-template-columns: 1.5fr 0.7fr 1fr; align-items: center; gap: 18px; }
.banner-red h3 { color: #fff; font-size: clamp(1.3rem, 2.2vw, 1.85rem); }
.bn-small { font-size: 0.85em; font-weight: 700; }
.bn-copy p { margin-top: 10px; font-size: 0.95rem; color: var(--on-primary-muted); }
.bn-paper { justify-self: center; width: 110px; height: 140px; background: #fbf7ef; border-radius: 4px; transform: rotate(-8deg); box-shadow: 0 8px 18px rgba(0,0,0,0.3); display: flex; align-items: flex-start; justify-content: center; padding-top: 16px; }
.bn-paper span { color: #2b2b2b; font-weight: 800; letter-spacing: 0.08em; font-size: 0.85rem; }
.checklist.light { font-size: 0.9rem; gap: 10px; }
.banner.has-photo > :not(.banner-photo, .photo-set) { position: relative; z-index: 1; }
/* Desktop/phone photo pair: a box over the whole area, so it never takes part in the area's text layout. */
.photo-set { position: absolute; inset: 0; }
.banner-photo { position: absolute; top: 0; right: 0; width: 55%; height: 100%; object-fit: cover; -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 45%); mask-image: linear-gradient(90deg, transparent 0%, #000 45%); }
.bn-photo { justify-self: center; width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 8px; box-shadow: 0 8px 18px rgba(0,0,0,0.3); }
.bn-link { grid-column: 1 / -1; color: #fff; font-size: 0.875rem; font-weight: 600; }
.banner-sky.wide { grid-column: 1 / -1; }
.banner-sky { grid-column: span 8; background: linear-gradient(90deg, #eef4fb 0%, #eef4fb 55%, #d3e1f0 100%); }

/* States and notices */
.state { text-align: center; padding: 40px 20px; border: 1px dashed var(--line); border-radius: var(--radius); background: #fcfcfd; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.state.loading { flex-direction: row; justify-content: center; color: var(--muted); border-style: solid; }
.state-title { font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.spinner { width: 20px; height: 20px; border: 3px solid var(--line); border-top-color: var(--red); border-radius: 50%; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .spinner { animation-duration: 3s; } html { scroll-behavior: auto; } }
.notice { border-radius: 8px; padding: 12px 14px; margin: 10px 0; border: 1px solid; font-size: 0.92rem; }
.notice.error { background: #fdeceb; border-color: #f1b9b3; color: #7a1a12; }
.notice.success { background: #e8f5ee; border-color: #b6dcc5; color: #145c33; }
.notice.warning { background: #fff6e0; border-color: #f0c25c; color: #5c4200; }
.notice.info { background: #eef4fb; border-color: #c4d7ee; color: #1d3f66; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.chip { display: inline-block; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 0.88rem; background: #fff; }
.chip:hover { border-color: var(--red); color: var(--primary-text); }
.row-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.row-actions.center { justify-content: center; }

/* Pages */
.page { padding-top: 20px; padding-bottom: 56px; }
.page h1 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.lead { font-size: 1.05rem; margin: 12px 0 20px; max-width: 760px; }
.breadcrumb ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; font-size: 0.875rem; color: var(--muted); margin-bottom: 14px; }
.breadcrumb li + li::before { content: "›"; margin-right: 6px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; }
.list-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.sort-box { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 0.9rem; }
select, input[type="text"], input[type="email"], input[type="password"], input[type="tel"], input[type="number"], input:not([type]), input[inputmode], textarea {
  border: 1px solid #d5d9de; border-radius: 6px; padding: 10px 12px; background: #fff; min-height: 44px; width: 100%; }
.sort-box select { width: auto; }
.list-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; align-items: start; }
.list-results .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.filters { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.filters summary { list-style: none; padding: 14px 16px; font-weight: 600; display: flex; align-items: center; gap: 8px; cursor: pointer; }
.filters summary::-webkit-details-marker { display: none; }
.filter-body { padding: 0 16px 16px; display: grid; gap: 18px; }
.filter-body fieldset { border: 0; padding: 0; margin: 0; }
.filter-body legend { font-weight: 600; margin-bottom: 8px; font-size: 0.92rem; }
.filter-list { display: grid; gap: 4px; font-size: 0.9rem; }
.filter-list ul { padding-left: 14px; display: grid; gap: 4px; margin-top: 4px; }
.filter-list a { text-decoration: none; color: var(--muted); display: inline-block; padding: 3px 0; }
.filter-list a[aria-current="true"] { color: var(--primary-text); font-weight: 600; }
.filter-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.filter-list li > ul { flex-basis: 100%; }
.check-row { display: flex; align-items: center; gap: 10px; }
.check-row input, .filter-list input { width: 20px; height: 20px; min-height: 0; accent-color: var(--red); }
.price-form { display: grid; gap: 8px; }
.price-inputs { display: flex; align-items: center; gap: 6px; }
/* Cart coupon field (cart summary). */
.coupon-box { display: grid; gap: 6px; margin: 12px 0; }
.coupon-inputs input { flex: 1; min-width: 0; }
.field-error { color: var(--error); font-size: 0.875rem; }
.field-error:empty { display: none; }
.pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; }

/* Product detail */
.pd-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.pd-info { display: flex; flex-direction: column; gap: 10px; }
.pd-brand { font-weight: 500; color: var(--muted); text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.875rem; text-decoration: none; }
.pd-info h1 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.pd-short { font-size: 1.02rem; }
.pd-price { font-size: 2rem; font-weight: 700; color: var(--primary-text); margin-top: 8px; }
.pd-pay-note { margin-top: 2px; font-size: 0.875rem; font-weight: 400; color: #4a5058; }
.pd-stock { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.stock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--success); }
.stock-dot.low { background: #d99100; }
.stock-dot.out { background: #9aa1aa; }
.pd-buy { display: grid; gap: 14px; border-top: 1px solid var(--line); padding-top: 16px; margin-top: 6px; }
.variant-picker { border: 0; padding: 0; margin: 0; display: grid; gap: 8px; }
.variant-picker legend { font-weight: 600; margin-bottom: 8px; }
.variant-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant-option label { display: flex; justify-content: space-between; gap: 12px; border: 2px solid var(--line); border-radius: 8px; padding: 10px 14px; cursor: pointer; font-weight: 600; }
.variant-option label small { color: var(--muted); font-weight: 500; font-size: 0.875rem; }
.variant-option input:checked + label { border-color: var(--red); background: var(--primary-soft); }
.variant-option input:focus-visible + label { outline: 3px solid #1f5fbf; outline-offset: 2px; }
.buy-row { display: flex; align-items: flex-end; gap: 12px; }
.qty-field { display: grid; gap: 4px; font-weight: 500; font-size: 0.875rem; }
.qty-input { width: 92px !important; text-align: center; }
.add-to-cart { flex: 1; }
.pd-facts { display: grid; gap: 10px; margin-top: 8px; font-size: 0.9rem; }
.pd-facts li { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 8px; background: var(--soft); }
.pd-facts li .icon { color: var(--primary-text); margin-top: 2px; }
.pd-facts li.senet { background: var(--primary-tint); border: 1px solid var(--primary-soft-border); }
.pd-details { margin-top: 36px; display: grid; gap: 10px; }
.pd-section { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pd-section summary { cursor: pointer; padding: 16px 18px; list-style: none; }
.pd-section summary::-webkit-details-marker { display: none; }
.pd-section summary h2 { font-size: 1.1rem; display: inline; }
.pd-section-body { padding: 0 18px 18px; display: grid; gap: 10px; }
.spec-table { border-collapse: collapse; width: 100%; max-width: 720px; }
.spec-table th, .spec-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.spec-table th { width: 40%; color: var(--muted); font-weight: 600; }
.faq dt { font-weight: 600; margin-top: 10px; }
.faq dd { margin: 4px 0 0; }
.sticky-buy { display: none; }

/* Product photos and gallery */
.card-img { aspect-ratio: 1 / 0.82; border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: contain; }
.gallery { display: grid; gap: 12px; }
.gal-stage { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; overflow: hidden; }
.gal-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0; padding: 0; list-style: none; }
.gal-track::-webkit-scrollbar { display: none; }
.gal-slide { flex: 0 0 100%; scroll-snap-align: center; }
.gal-open { display: flex; align-items: center; justify-content: center; width: 100%; aspect-ratio: 1 / 0.9; padding: 16px; border: 0; background: #fff; cursor: zoom-in; }
.gal-open img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: #fff; box-shadow: 0 4px 14px rgba(17,20,24,0.12); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.gal-nav.prev { left: 12px; }
.gal-nav.next { right: 12px; }
.gal-nav:disabled { opacity: 0.35; cursor: default; }
.gal-count { position: absolute; left: 12px; bottom: 12px; background: rgba(17,20,24,0.75); color: #fff; font-size: 0.875rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; }
.gal-zoom-hint { position: absolute; right: 12px; bottom: 12px; font-size: 0.8125rem; color: var(--muted); background: rgba(255,255,255,0.9); padding: 3px 8px; border-radius: 999px; }
.gal-thumbs { display: flex; gap: 10px; overflow-x: auto; list-style: none; margin: 0; padding: 2px; scrollbar-width: thin; }
.gal-thumb { width: 76px; height: 76px; border: 2px solid var(--line); border-radius: 8px; background: #fff; padding: 4px; cursor: pointer; display: flex; align-items: center; justify-content: center; flex: none; }
.gal-thumb img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.gal-thumb[aria-current="true"] { border-color: var(--red); }
.viewer { position: fixed; inset: 0; z-index: 90; background: rgba(10,12,15,0.94); display: flex; align-items: center; justify-content: center; padding: 56px 64px; }
.viewer-figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 12px; max-width: 100%; max-height: 100%; }
.viewer-figure img { max-width: 100%; max-height: calc(100vh - 140px); width: auto; height: auto; object-fit: contain; background: #fff; border-radius: 6px; }
.viewer-caption { color: #e3e7eb; font-size: 0.9rem; text-align: center; }
.viewer-close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.12); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.viewer-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.14); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.viewer-nav.prev { left: 10px; }
.viewer-nav.next { right: 10px; }
.viewer-close:hover, .viewer-nav:hover { background: var(--red); }

/* Auth, account, cart */
.auth-page { display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 460px; border: 1px solid var(--line); border-radius: 12px; padding: 28px; background: #fff; }
.auth-card form { display: grid; gap: 14px; margin-top: 18px; }
.auth-alt { margin-top: 16px; text-align: center; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: 0.9rem; }
.field .req { color: var(--primary-text); }
.field .hint { color: var(--muted); font-size: 0.875rem; }
.field.wide { grid-column: 1 / -1; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card-box { border: 1px solid var(--line); border-radius: 12px; padding: 22px; background: #fff; }
.card-box h2 { font-size: 1.2rem; margin-bottom: 14px; }
.card-box form { display: grid; gap: 14px; }
.card-box > p + form { margin-top: 14px; }
.card-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.card-head h2 { margin: 0; }
.account-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 20px; align-items: start; }
.address-list { display: grid; gap: 12px; }
.address-item { display: flex; justify-content: space-between; gap: 12px; border: 1px solid var(--line); border-radius: 8px; padding: 14px; font-size: 0.92rem; }
.address-form { border: 1px solid var(--line); border-radius: 8px; padding: 16px; margin-bottom: 16px; background: var(--soft); }
.address-form h3 { font-size: 1rem; }
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; margin-top: 16px; }
.cart-lines { display: grid; gap: 12px; }
.cart-line { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; background: #fff; }
.cart-line.unavailable { background: #fafafa; }
.cart-thumb { display: block; width: 88px; height: 88px; object-fit: contain; background: #fff; border-radius: var(--radius); }
.cart-name { font-weight: 600; text-decoration: none; }
.cart-name:hover { color: var(--accent); }
.line-issue { color: var(--error); font-size: 0.875rem; font-weight: 500; margin-top: 4px; }
.cart-qty { display: flex; gap: 8px; align-items: center; }
.cart-total { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; min-width: 120px; }
.cart-summary { border: 1px solid var(--line); border-radius: 12px; padding: 20px; background: #fff; position: sticky; top: 16px; }
.cart-summary h2 { font-size: 1.15rem; margin-bottom: 12px; }
.cart-summary dl { display: grid; gap: 8px; margin: 0 0 12px; }
.cart-summary dl div { display: flex; justify-content: space-between; }
.cart-summary dd { margin: 0; font-weight: 500; white-space: nowrap; }
.sum-total { font-size: 1.15rem; border-top: 1px solid var(--line); padding-top: 10px; }
.sum-total dd { color: var(--primary-text); font-weight: 700; }
.sum-total dd.sum-pending { color: var(--muted); font-size: 0.875rem; font-weight: 500; text-align: right; max-width: 60%; }

/* Order summary, my orders and order detail — same cards, lines and summary box as the cart */
.checkout-steps { display: grid; gap: 16px; }
.checkout-steps .card-box h2 { margin-bottom: 12px; }
.checkout-steps .address-form { margin: 12px 0 0; }
.address-choices { display: grid; gap: 10px; margin-bottom: 12px; }
.address-choice { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; cursor: pointer; font-size: 0.92rem; }
.address-choice input { width: 20px; height: 20px; min-height: 0; margin: 2px 0 0; accent-color: var(--red); flex: none; }
.address-choice.selected { border-color: var(--red); background: var(--primary-wash); }
.address-choice .block { display: block; }
.order-lines { list-style: none; margin: 0; padding: 0; display: grid; }
.order-lines li { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.order-lines li:last-child { border-bottom: 0; }
/* Order summary: 72 px product cover on the left, proportions kept. */
.order-lines li.with-thumb { grid-template-columns: 72px minmax(0, 1fr) auto auto; }
.order-thumb { display: block; width: 72px; height: 72px; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 8px; }
.order-thumb.empty { background: var(--soft); }
.order-line-name { font-weight: 600; margin: 0; }
.order-lines p { margin: 0; }
.order-line-qty { color: var(--muted); white-space: nowrap; }
.order-line-total { font-weight: 600; min-width: 110px; text-align: right; white-space: nowrap; }
.request-list, .return-lines { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.request-item { border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 6px; }
.request-item p { margin: 0; }
.request-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.request-lines { margin: 0; padding-left: 18px; font-size: 0.9rem; }
.request-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
/* The cancel/return form opens under its buttons as a separate step. */
.order-requests form { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.return-line { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, auto); gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); }
.return-line p { margin: 0; }
.refund-box h3 { font-size: 1rem; margin: 4px 0 8px; }
@media (max-width: 640px) { .return-line { grid-template-columns: 1fr; } }
.cart-summary .notice { font-size: 0.875rem; }
.cart-summary .btn-block + .muted, .cart-summary .btn-block + .btn-block { margin-top: 12px; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 4px 12px; font-size: 0.875rem; font-weight: 500; border: 1px solid; white-space: nowrap; }
.badge.wait { background: #fff6e0; border-color: #f0c25c; color: #5c4200; }
.badge.ok { background: #eef4fb; border-color: #c4d7ee; color: #1d3f66; }
.badge.done { background: #e8f5ee; border-color: #b6dcc5; color: #145c33; }
.badge.off { background: var(--soft); border-color: var(--line); color: var(--muted); }
.badge.test { background: var(--dark); border-color: var(--dark); color: #fff; }
.order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.order-card { display: grid; gap: 10px; }
.order-card-head { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.order-card-head h2 { font-size: 1.1rem; margin: 0; }
.order-card-head h2 a { text-decoration: none; }
.order-card-head h2 a:hover { color: var(--accent); }
.order-card-total { font-weight: 600; font-size: 1.15rem; margin: 0; white-space: nowrap; }
.order-card .btn { justify-self: start; }
.order-addresses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.order-address h3 { font-size: 1rem; margin: 0 0 6px; }
.order-address p { margin: 0; font-size: 0.92rem; }
.order-facts { display: grid; gap: 8px; margin: 0; }
.order-facts div { display: flex; justify-content: space-between; gap: 12px; }
.order-facts dd { margin: 0; font-weight: 500; }
.order-facts + .btn { margin-top: 12px; }
.shipping-note { margin: -6px 0 12px; text-align: right; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 18px; border-left: 2px solid var(--line); display: grid; gap: 14px; }
.timeline li { position: relative; display: grid; gap: 2px; }
.timeline li::before { content: ""; position: absolute; left: -25px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--red); }
.store-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.store-list p { display: flex; gap: 8px; align-items: center; margin-top: 6px; }
.store-card { display: grid; gap: 4px; align-content: start; }
.store-card h2 a { text-decoration: none; }
.store-card h2 a:hover { color: var(--accent); }
.store-card .row-actions { margin-top: 12px; }
.store-cover { display: block; margin: -22px -22px 12px; border-radius: 12px 12px 0 0; overflow: hidden; aspect-ratio: 16 / 9; background: var(--soft); }
.store-cover img { width: 100%; height: 100%; object-fit: cover; }
.store-detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 24px; align-items: start; margin: 16px 0 24px; }
.store-detail > .store-info:only-child { grid-column: 1 / -1; max-width: 640px; }
.store-info { display: grid; gap: 10px; }
.store-info h2 { font-size: 1.15rem; margin: 6px 0 0; }
.store-info p { display: flex; gap: 8px; align-items: flex-start; margin: 0; }
.store-info .btn { justify-self: start; }
.store-info p.store-note { display: block; margin-top: 6px; }
.store-hours { display: grid; gap: 6px; margin: 0; }
.store-hours div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.store-hours dd { margin: 0; font-weight: 500; }
.page-text { max-width: 860px; display: grid; gap: 14px; line-height: 1.65; margin-top: 16px; }
.page-text h2 { font-size: 1.25rem; margin-top: 10px; }
.page-text ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; list-style: disc; }
.page-text p { margin: 0; }
.senet-info { display: grid; gap: 18px; max-width: 860px; }

/* Footer */
.site-footer { background: var(--footer-bg); color: var(--footer-text); margin-top: 56px; font-size: 0.9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr 1.3fr; gap: 28px; padding-top: 40px; padding-bottom: 32px; }
/* Fewer columns when a link group or the category list is empty (layout.js); five columns keep the MASTER layout. */
@media (min-width: 993px) {
  .footer-grid.cols-4 { grid-template-columns: 1.4fr 1.2fr 1.2fr 1.3fr; }
  .footer-grid.cols-3 { grid-template-columns: 1.4fr 1.2fr 1.3fr; }
  .footer-grid.cols-2 { grid-template-columns: 1.4fr 1.3fr; }
}
.footer-brand img { width: 160px; height: auto; max-height: 86px; object-fit: contain; object-position: left; margin-bottom: 14px; }
.footer-social { display: flex; gap: 18px; margin-top: 18px; }
.footer-social a { color: var(--footer-text); display: inline-flex; }
.footer-social a:hover { color: var(--footer-heading); }
.footer-contact { display: grid; gap: 12px; }
.footer-contact li { display: flex; gap: 10px; align-items: flex-start; overflow-wrap: anywhere; }
.footer-contact .icon { flex: none; margin-top: 1px; }
.footer-brand p { max-width: 300px; line-height: 1.6; }
.footer-col h2 { color: var(--footer-heading); font-size: 1rem; margin-bottom: 14px; }
.footer-col ul { display: grid; gap: 10px; }
.footer-col a { text-decoration: none; color: var(--footer-text); }
.footer-col a:hover, .legal-links a:hover { color: var(--footer-heading); text-decoration: underline; }
.footer-col .muted { color: #9aa2ab; }
.footer-col .muted a { text-decoration: underline; }
.footer-bottom { border-top: 1px solid var(--footer-line); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 24px; flex-wrap: wrap; font-size: 0.82rem; }
.legal-links { display: flex; gap: 18px; }
.legal-links a { color: var(--footer-text); text-decoration: none; }
.to-top { width: 56px; height: 56px; border-radius: 50%; background: var(--button-bg); color: var(--on-button); border: 3px solid #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }

/* Toasts */
.toasts { position: fixed; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 8px; z-index: 80; max-width: calc(100vw - 32px); }
.toast { background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.2); }
.toast.error { background: var(--error); }

/* Wide screens */
@media (min-width: 1600px) {
  :root { --wrap: 1440px; }
}
/* Laptop */
@media (max-width: 1200px) {
  .header-main { gap: 20px; }
  .header-actions { gap: 18px; }
  .nav-inner { gap: 24px; }
  .all-cats { width: 220px; }
  .nav-links { gap: 20px; }
  .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .list-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid.picks-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .hero-badge { width: 190px; height: 190px; top: 28px; }
  .stores-block { grid-template-columns: 1.2fr 1.1fr 1fr; }
  .sb-seven { font-size: 5rem; }
  .sb-l1 { font-size: 1.6rem; }
  .sb-l2 { font-size: 1.05rem; }
}
/* Tablet */
@media (max-width: 992px) {
  .brand-carousel { --per: 4; }
  .tb-items { display: none; }
  .header-main { grid-template-columns: auto 1fr auto; }
  .search-box { grid-column: 1 / -1; grid-row: 2; }
  .header-actions { grid-column: 3; justify-self: end; }
  .logo { grid-column: 2; }
  .hdr-text { display: none; }
  .nav-inner { gap: 16px; }
  .all-cats { width: auto; }
  .nav-links { overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .nav-links::-webkit-scrollbar { display: none; }
  .hero-inner { min-height: 440px; }
  .hero-visual { background: linear-gradient(90deg, #fff 0%, #fff 48%, rgba(255,255,255,0.6) 70%, rgba(255,255,255,0.2) 100%), linear-gradient(180deg, #d9c2a7 0%, #b88f69 55%, #8b6448 100%); }
  /* With a photo the white fade reaches as far as on the photo-less tablet hero, so the copy never sits on the picture. */
  .hero-visual.has-photo::after { background: linear-gradient(90deg, #fff 0%, #fff 48%, rgba(255,255,255,0.85) 62%, rgba(255,255,255,0) 80%); }
  /* Tablet: the four features in two rows keep the copy inside the white fade, off the photo. */
  .hero-features { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 150px)); justify-content: start; gap: 16px 18px; }
  .hero-badge { width: 160px; height: 160px; padding: 16px; }
  .hb-1, .hb-2 { font-size: 0.92rem; }
  .hb-3 { font-size: 1.15rem; }
  .hb-4 { font-size: 0.68rem; }
  .stores-block { grid-template-columns: 1fr 1fr; }
  .sb-visual { display: none; }
  .trust-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .product-grid, .list-results .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product-grid.picks-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .banner-dark, .banner-light, .banner-red, .banner-sky { grid-column: 1 / -1; }
  .list-layout { grid-template-columns: 1fr; }
  .pd-grid { grid-template-columns: 1fr; gap: 24px; }
  .account-grid, .cart-layout { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
/* Mobile */
@media (max-width: 640px) {
  /* Side gutters only: .wrap also sits on blocks with their own vertical padding (page, footer). */
  .wrap { padding-left: 16px; padding-right: 16px; }
  .topbar { display: none; }
  .header-main { grid-template-columns: auto 1fr auto; gap: 8px 10px; padding-top: 10px; padding-bottom: 12px; }
  .menu-btn { display: inline-flex; }
  .logo img { width: 112px; max-height: 61px; }
  .header-actions { gap: 4px; }
  .hdr-action { padding: 8px; }
  .hdr-action .icon { width: 26px; height: 26px; }
  .main-nav { display: none; }
  .hero-inner { min-height: 0; flex-direction: column; align-items: flex-start; padding-top: 28px; padding-bottom: 28px; gap: 20px; }
  .hero-visual { background: linear-gradient(180deg, #fff 0%, #fff 70%, #efe3d6 100%); }
  .hero-features { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; margin: 22px 0; }
  .hero-badge { position: static; width: 100%; height: auto; border-radius: 12px; flex-direction: row; flex-wrap: wrap; gap: 6px; padding: 14px 16px; justify-content: flex-start; text-align: left; box-shadow: none; }
  .hero-badge span { font-size: 0.95rem; }
  .hb-4 { flex-basis: 100%; margin: 0; font-size: 0.8125rem; }
  .hero .btn-lg { width: 100%; }
  .section { margin-top: 28px; }
  .brand-carousel { --per: 3; --gap: 8px; --arrow: 34px; gap: 6px; }
  .brand-track .brand-tile { min-height: 64px; padding: 8px; font-size: 0.875rem; }
  .cat-strip li { width: 92px; }
  .cat-circle { width: 84px; height: 84px; font-size: 1.4rem; }
  .strip-btn { display: none; }
  .stores-block { grid-template-columns: 1fr; }
  .sb-copy { padding: 24px 20px; }
  .sb-seven { font-size: 4.2rem; }
  .sb-side { padding: 22px 20px; }
  .trust-row { gap: 10px; }
  .trust-card { flex-direction: column; align-items: flex-start; gap: 10px; min-height: 0; padding: 14px; }
  .trust-ic { width: 44px; height: 44px; }
  .product-grid, .list-results .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card-body { padding: 10px 12px 12px; }
  .card-cart { width: 40px; height: 40px; }
  .card-foot { --price-room: 48px; }
  .banner { padding: 24px 20px; min-height: 0; }
  .banner-red { grid-template-columns: 1fr; }
  .bn-paper { display: none; }
  .bn-photo { display: none; }
  .hero-photo { display: none; }
  .banner-photo { width: 45%; opacity: 0.35; }
  .section-head { flex-wrap: wrap; align-items: flex-start; }
  .form-grid { grid-template-columns: 1fr; }
  .buy-row { flex-wrap: wrap; }
  .product-page { padding-bottom: 96px; }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--line); padding: 10px 16px; align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -6px 18px rgba(0,0,0,0.08); }
  .sticky-buy strong { color: var(--primary-text); font-size: 1.2rem; }
  .sticky-buy .btn { flex: 1; max-width: 220px; }
  .gal-nav { display: none; }
  .gal-thumb { width: 64px; height: 64px; }
  .gal-zoom-hint { display: none; }
  .viewer { padding: 56px 8px 16px; }
  .viewer-nav { top: auto; bottom: 16px; transform: none; }
  .cart-line { grid-template-columns: 72px minmax(0, 1fr); }
  .cart-line .media-ph.thumb { width: 72px; height: 72px; }
  .cart-thumb { width: 72px; height: 72px; }
  .cart-qty, .cart-total { grid-column: 2; align-items: flex-start; }
  .cart-total { flex-direction: row; justify-content: space-between; width: 100%; }
  .address-item { flex-direction: column; }
  .store-detail { grid-template-columns: 1fr; }
  .store-cover { margin: -22px -22px 12px; }
  .order-lines li { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; }
  .order-lines li > div { grid-column: 1 / -1; }
  .order-lines li.with-thumb { grid-template-columns: 64px minmax(0, 1fr) auto; }
  .order-lines li.with-thumb > .order-thumb { grid-row: span 2; width: 64px; height: 64px; align-self: start; }
  .order-lines li.with-thumb > div { grid-column: 2 / -1; }
  .order-line-total { min-width: 0; }
  .order-addresses { grid-template-columns: 1fr; }
  .order-card-head { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; padding-right: 88px; }
  .legal-links { flex-wrap: wrap; gap: 8px 16px; }
  .site-footer { position: relative; }
  .auth-card { padding: 20px; }
}

/* Delivery and payment choices at checkout */
.area-out, .area-note { color: var(--error); }
.terms-row { margin: 12px 0; align-items: flex-start; }
.bank-box .iban { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }
.store-announcement { background: var(--primary-note); border-left: 3px solid var(--red); padding: 8px 12px; border-radius: 4px; white-space: pre-line; }
.store-info p.store-announcement, .store-info p.store-text { display: block; white-space: pre-line; }
.senet-stores { display: grid; gap: 6px; margin: 0 0 16px; padding-left: 18px; list-style: disc; }
.blog-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.blog-card { display: grid; grid-template-rows: auto 1fr; padding: 0; overflow: hidden; }
.blog-cover img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.blog-card-body { display: grid; gap: 8px; padding: 16px; align-content: start; }
.blog-card-body h2 { font-size: 1.15rem; margin: 0; }
.blog-card-body h2 a { color: var(--ink); text-decoration: none; }
.blog-card-body p { margin: 0; color: var(--muted); }
.link-more { color: var(--primary-text); font-weight: 600; text-decoration: none; }
.blog-hero { margin: 16px 0; }
.blog-hero img { width: 100%; height: auto; border-radius: var(--radius); }
.account-delete { margin-top: 20px; max-width: 640px; }
.account-delete h2 { font-size: 1.15rem; margin: 0 0 8px; }
/* Panel colour preview bar (theme-preview.js): only in the tab opened from Site Ayarları › Renkler. */
.theme-preview-bar { position: fixed; left: 16px; bottom: 16px; z-index: 90; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; max-width: calc(100vw - 32px);
  background: var(--ink); color: #fff; padding: 10px 14px; border-radius: 8px; box-shadow: 0 6px 18px rgba(0,0,0,0.25); font-size: 0.88rem; }
.theme-preview-bar .link-btn { color: #fff; }

/* In-store senet shopping (stores + senet modules): product page section, store finder, cart section. */
.pd-senet { border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; margin: 4px 0 16px; background: var(--soft); display: grid; gap: 10px; justify-items: start; }
.pd-senet-title { display: flex; align-items: center; gap: 8px; font-size: 1.05rem; margin: 0; }
.pd-senet p { margin: 0; }
/* Senet terms (every plan entered, shortest first): side by side in four equal columns on desktop (a card keeps its
   size whatever the number of plans; five or six plans take a second row), two columns on phones. */
.senet-terms { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; width: 100%; }
.senet-term { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 10px 8px; text-align: center; display: grid; gap: 2px; align-content: start; font-variant-numeric: tabular-nums; }
.senet-term-months { color: var(--primary-text); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; }
.senet-term-monthly { color: var(--ink); font-weight: 600; font-size: 1rem; white-space: nowrap; }
.senet-term .nowrap { white-space: nowrap; }
.senet-term-last, .senet-term-total { color: var(--muted); font-size: 0.8125rem; }
.senet-finder-slot:empty { display: none; }
.senet-finder-slot, .senet-terms-slot { width: 100%; justify-self: stretch; }
.senet-finder { display: grid; gap: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.senet-finder p { margin: 0; }
.senet-place { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; }
.senet-place label { display: grid; gap: 4px; font-size: 0.875rem; font-weight: 500; min-width: 0; flex: 1 1 160px; }
.senet-saved { max-width: 100%; }
.senet-group { font-size: 1rem; margin: 6px 0 0; }
.senet-stores { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 10px; }
.senet-store { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; display: grid; gap: 6px; align-content: start; overflow-wrap: anywhere; }
.senet-store h3 { font-size: 1rem; margin: 0; }
.senet-store p { margin: 0; }
.senet-store-hours { margin: 0; display: grid; gap: 2px; font-size: 0.875rem; }
.senet-store-hours div { display: flex; justify-content: space-between; gap: 10px; }
.senet-store-hours dd { margin: 0; }
.senet-store-map { font-weight: 600; justify-self: start; }
.senet-none { font-weight: 500; }
.cart-senet { display: grid; gap: 10px; justify-items: start; }
@media (max-width: 640px) {
  .senet-terms { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* Homepage deals chosen in the panel while no campaign runs (home.js › dealsGrid): one row of four, two columns below
   992px. Footer additions shown only when the profile/panel provide them (layout.js › footerGroups, supportBlock,
   floatActions). Colours come from the footer tokens; the WhatsApp button keeps dark text for contrast. */
.product-grid.deals-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 992px) { .product-grid.deals-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.footer-brand p.footer-slogan { color: var(--footer-heading); font-size: 1.15rem; font-weight: 700; line-height: 1.3; margin-bottom: 10px; max-width: none; }
.footer-groups { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.footer-groups a { display: inline-block; padding: 6px 10px; border: 1px solid var(--footer-line); border-radius: 6px; color: var(--footer-text); text-decoration: none; font-size: 0.8rem; line-height: 1.3; }
.footer-groups a:hover, .footer-groups a:focus-visible { color: var(--footer-heading); border-color: currentColor; }
.footer-support { display: grid; gap: 12px; justify-items: start; }
.footer-support h3 { color: var(--footer-heading); font-size: 0.95rem; }
.footer-support p { line-height: 1.6; }
.footer-col a.footer-wa { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #052e16; padding: 10px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; max-width: 100%; }
.footer-col a.footer-wa:hover, .footer-col a.footer-wa:focus-visible { background: #1ebe5b; color: #052e16; text-decoration: none; }
.footer-wa span { display: grid; line-height: 1.25; }
.footer-wa small { font-weight: 600; font-size: 0.78rem; }
.footer-col a.footer-contact-link { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--footer-line); border-radius: 8px; padding: 9px 14px; color: var(--footer-heading); font-weight: 600; }
.footer-col a.footer-faq { font-size: 0.85rem; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 640px) { .footer-grid > .footer-col-support { grid-column: 1 / -1; } }

/* Contact page layout (info.js › contactLayout; profile texts.contactLayout = "cards"). Every rule is scoped to
   .contact-page, so the other information pages keep their look. */
.contact-page .contact-eyebrow { font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 2px; }
.contact-page h1 { margin-bottom: 6px; }
.contact-page .contact-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 26px; }
.contact-page .contact-lead { color: var(--muted); margin: 0; }
.contact-page .contact-tagline { margin: 0; border-left: 2px solid var(--line); padding-left: 16px; color: var(--accent); font-size: 0.9rem; }
.contact-page .contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.contact-page .contact-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.contact-page .contact-card p { margin: 0; color: var(--muted); font-size: 0.85rem; }
.contact-page .contact-card p.contact-card-kicker { font-size: 0.88rem; }
.contact-page .contact-card p.contact-card-value { color: var(--ink, var(--text)); font-size: 1.6rem; font-weight: 700; line-height: 1.2; overflow-wrap: anywhere; }
.contact-page .contact-card-action { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 8px; font-weight: 700; color: var(--accent); text-decoration: none; }
.contact-page .contact-card-action:hover { text-decoration: underline; }
.contact-page .contact-card.is-whatsapp { background: #f3f8f5; border-color: #cfe6d7; }
.contact-page .contact-card.is-whatsapp .contact-card-action { color: #146c37; }
.contact-page .contact-boxes { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 24px; margin-top: 28px; align-items: start; }
.contact-page .contact-box { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 28px; min-width: 0; }
.contact-page .contact-box.is-returns { background: #f6f8f9; }
.contact-page .contact-box h2 { font-size: 1.3rem; margin: 0; }
.contact-page .contact-box-sub { color: var(--muted); font-size: 0.85rem; margin: 6px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.contact-page .contact-company { font-size: 1.05rem; margin: 20px 0 6px; overflow-wrap: anywhere; }
.contact-page .contact-rows { margin: 0; }
.contact-page .contact-rows > div { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.contact-page .contact-rows > div:last-child { border-bottom: 0; }
.contact-page .contact-rows dt { color: var(--muted); }
.contact-page .contact-rows dd { margin: 0; overflow-wrap: anywhere; }
.contact-page .contact-rows a, .contact-page .contact-returns-text a { color: var(--accent); }
.contact-page .contact-return-address { padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-page .contact-return-address span { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact-page .contact-return-address p { margin: 0; overflow-wrap: anywhere; line-height: 1.6; }
.contact-page .contact-return-row { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-bottom: 1px solid var(--line); }
.contact-page .contact-return-row span { color: var(--muted); }
.contact-page .contact-returns-text { color: var(--muted); line-height: 1.7; margin: 16px 0; }
.contact-page .contact-return-btn { display: flex; justify-content: space-between; align-items: center; gap: 8px; border: 1px solid var(--accent); border-radius: 6px; padding: 12px 16px; background: #fff; color: var(--accent); font-weight: 700; text-decoration: none; }
.contact-page .contact-return-btn:hover { background: var(--accent); color: #fff; }
.contact-page .contact-faq { margin: 20px 0 0; color: var(--muted); font-size: 0.9rem; }
.contact-page .contact-faq a { color: var(--accent); font-weight: 700; }
@media (max-width: 992px) { .contact-page .contact-boxes { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 900px) { .contact-page .contact-cards { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 640px) {
  .contact-page .contact-tagline { display: none; }
  .contact-page .contact-box { padding: 20px; }
  .contact-page .contact-card p.contact-card-value { font-size: 1.4rem; }
  .contact-page .contact-rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}

/* Fixed corner actions of every shop (layout.js › floatActions): the shop's WhatsApp button at the bottom right, "back
   to top" above it. They keep clear of the bottom footer row (its right padding), toasts and the phones' buy bar. */
.float-actions { position: fixed; right: 24px; bottom: calc(24px + env(safe-area-inset-bottom, 0px)); z-index: 55; display: flex; flex-direction: column; align-items: center; gap: 12px; pointer-events: none; }
.float-actions > * { pointer-events: auto; }
.float-actions .to-top { width: 50px; height: 50px; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); }
.float-actions .to-top[hidden] { display: none; }
.float-wa { width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; border: 2px solid #fff; display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18); }
.float-wa svg { width: 32px; height: 32px; }
.float-wa:hover { background: #1ebe5b; }
.float-wa:focus-visible, .float-actions .to-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.toasts { bottom: calc(170px + env(safe-area-inset-bottom, 0px)); }
.footer-bottom { padding-right: max(24px, calc(100px - max(0px, (100vw - var(--wrap)) / 2))); }
.footer-bottom a.designer-credit { color: var(--footer-text); text-decoration: none; white-space: nowrap; }
.footer-bottom a.designer-credit:hover, .footer-bottom a.designer-credit:focus-visible { color: var(--footer-heading); text-decoration: underline; }
/* Below 992px the last footer column reaches the right edge: its last line stays above the corner buttons. */
@media (max-width: 992px) { .footer-grid { padding-bottom: 96px; } }
@media (max-width: 640px) {
  .float-actions { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); gap: 10px; }
  .float-actions .to-top { width: 46px; height: 46px; }
  .float-wa { width: 54px; height: 54px; }
  .float-wa svg { width: 30px; height: 30px; }
  .toasts { bottom: calc(150px + env(safe-area-inset-bottom, 0px)); }
  body:has(.sticky-buy) .float-actions { bottom: calc(90px + env(safe-area-inset-bottom, 0px)); }
}
