/* ==========================================================================
   VELLURE — storefront styles
   1. Fonts & tokens   2. Base   3. Layout   4. Components   5. Header/footer
   6. Home   7. Catalog   8. Product   9. Cart & checkout   10. Pages   11. Utilities
   ========================================================================== */

/* 1. Fonts & tokens ------------------------------------------------------- */
/* Galio (display). Self-hosted in static/fonts (no external request); it covers all Georgian letters (Mkhedruli +
   Mtavruli), Latin, digits and ₾. It's a bold all-caps display face, so it is used only for
   large headings; everything else uses Noto Sans Georgian for readability. */
@font-face {
  font-family: "VellureGalio";
  src: url("../fonts/123Galio-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --bg-2: #f7f7f7;
  --bg-3: #efefef;
  --text: #111111;
  --text-2: #777777;
  --accent: #a020f0;
  --accent-soft: #f5e9fe;
  --border: #eaeaea;
  --danger: #c62828;
  --danger-soft: #fdecec;
  --success: #1e7d46;
  --success-soft: #e8f6ee;
  --warn: #a15c00;
  --warn-soft: #fff4e0;

  --font-display: "VellureGalio", "Noto Sans Georgian", "Sylfaen", system-ui, sans-serif;
  --font-body: "Noto Sans Georgian", "Sylfaen", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 16px;
  --container: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --shadow: 0 10px 30px rgba(17, 17, 17, .08);
  --shadow-sm: 0 2px 10px rgba(17, 17, 17, .06);
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--text); }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.005em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }
[hidden] { display: none !important; }
code { font-size: .9em; background: var(--bg-2); padding: .1em .35em; border-radius: 4px; }
hr { border: 0; border-top: 1px solid var(--border); margin: 24px 0; }

.skip-link { position: absolute; left: -999px; top: 8px; background: var(--text); color: #fff; padding: 8px 14px; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { left: 8px; }

/* 3. Layout ---------------------------------------------------------------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }
.section { padding: clamp(48px, 7vw, 96px) 0; }
.section--tight { padding-top: 0; }
.section--flush { padding-top: 8px; }
.section--alt { background: var(--bg-2); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: clamp(20px, 3vw, 32px); }
.section__title { font-size: clamp(22px, 2.6vw, 32px); margin: 0; }

.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 2vw, 28px) clamp(12px, 1.6vw, 24px); }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.form-grid__full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

/* 4. Components ------------------------------------------------------------ */
.icon { flex-shrink: 0; }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  border: 0; background: transparent; color: var(--text); transition: background .2s var(--ease), color .2s;
  position: relative;
}
.icon-btn:hover { background: var(--bg-2); }
.icon-btn--float { background: rgba(255, 255, 255, .92); width: 38px; height: 38px; box-shadow: var(--shadow-sm); }
.icon-btn--float:hover { background: #fff; }
.icon-btn.is-active, .icon-btn[aria-pressed="true"] { color: var(--accent); }
.icon-btn.is-active svg, .icon-btn[aria-pressed="true"] svg { fill: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 22px; border-radius: var(--radius-sm); border: 1px solid transparent;
  font-family: var(--font-display); font-weight: 700; font-size: 14.5px; letter-spacing: .01em;
  transition: background .2s var(--ease), color .2s, border-color .2s, transform .15s, opacity .2s;
  white-space: nowrap; text-align: center; line-height: 1.2;
}
.btn:active { transform: translateY(1px); }
.btn[disabled], .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn--primary { background: var(--text); color: #fff; }
.btn--primary:hover:not([disabled]) { background: #2b2b2b; color: #fff; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--text); }
.btn--ghost.is-active { color: var(--accent); border-color: var(--accent); }
.btn--ghost.is-active svg { fill: currentColor; }
.btn--outline { background: #fff; color: var(--text); border-color: var(--text); }
.btn--outline:hover { background: var(--text); color: #fff; }
.btn--danger { background: var(--danger); color: #fff; }
.btn--danger:hover { background: #a51f1f; color: #fff; }
.btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.btn--lg { min-height: 54px; padding: 0 30px; font-size: 15.5px; }
.btn--block { width: 100%; }
.link-btn { background: none; border: 0; padding: 4px 0; color: var(--text-2); display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; }
.link-btn:hover { color: var(--text); }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; border-bottom: 1px solid transparent; padding-bottom: 2px; transition: gap .2s var(--ease), border-color .2s; }
.link-arrow:hover { gap: 12px; border-color: var(--text); }

.input, .select {
  width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm);
  background: #fff; font-size: 15px; transition: border-color .2s, box-shadow .2s; appearance: none;
}
textarea.input { min-height: 96px; resize: vertical; line-height: 1.5; }
.input:hover, .select:hover { border-color: #cfcfcf; }
.input:focus, .select:focus { outline: none; border-color: var(--text); box-shadow: 0 0 0 3px rgba(17, 17, 17, .06); }
.input--sm, .select--sm { min-height: 36px; padding: 6px 10px; font-size: 14px; }
.select {
  padding-right: 38px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field { margin-bottom: 16px; }
.field__label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; }
.field__error { color: var(--danger); font-size: 13px; margin: 6px 0 0; }
.field__help { color: var(--text-2); font-size: 12.5px; margin: 6px 0 0; line-height: 1.5; }
.has-error .input, .has-error .select { border-color: var(--danger); }

.check { display: inline-flex; align-items: flex-start; gap: 10px; cursor: pointer; font-size: 14px; line-height: 1.45; margin: 4px 0 12px; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--text); flex-shrink: 0; }
.check--danger { color: var(--danger); }
.switch { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 8px 0; font-size: 14px; }
.switch input { appearance: none; width: 40px; height: 22px; border-radius: 22px; background: var(--bg-3); position: relative; transition: background .2s; flex-shrink: 0; margin: 0; cursor: pointer; }
.switch input::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s var(--ease); }
.switch input:checked { background: var(--text); }
.switch input:checked::after { transform: translateX(18px); }

.chip {
  display: inline-flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--border); background: #fff; font-size: 14px; white-space: nowrap;
  transition: border-color .2s, background .2s, color .2s;
}
.chip:hover { border-color: var(--text); }
.chip.is-active { background: var(--text); color: #fff; border-color: var(--text); }
.chip--sm { min-height: 32px; padding: 0 12px; font-size: 13px; border-radius: var(--radius-sm); }
.chip[disabled] { opacity: .35; text-decoration: line-through; cursor: not-allowed; }
.chips-row { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 2px; scrollbar-width: none; margin-top: 20px; }
.chips-row::-webkit-scrollbar { display: none; }

.badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 4px; background: #fff; color: var(--text); font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.badge--accent { background: var(--accent); color: #fff; }
.badge--muted { background: var(--text); color: #fff; }

.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; font-variant-numeric: tabular-nums; }
.price__now { font-weight: 700; font-size: 15px; }
.price__now--sale { color: var(--accent); }
.price__old { color: var(--text-2); font-size: 13.5px; }
.price--lg .price__now { font-size: 26px; }
.price--lg .price__old { font-size: 17px; }

.notice { padding: 14px 16px; border-radius: var(--radius-sm); background: var(--bg-2); font-size: 14px; margin-bottom: 16px; border: 1px solid var(--border); }
.notice h3 { font-size: 16px; margin-bottom: 8px; }
.notice ul { margin: 0; padding-left: 18px; }
.notice p:last-child { margin-bottom: 0; }
.notice--error { background: var(--danger-soft); border-color: #f5c6c6; color: #8a1c1c; }
.notice--info { background: var(--accent-soft); border-color: #e7cffc; color: #3d0a63; }

.status { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--bg-2); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status--new { background: var(--accent-soft); color: var(--accent); }
.status--pending_confirmation { background: var(--warn-soft); color: var(--warn); }
.status--processing { background: #e8f0fe; color: #1a56c4; }
.status--shipped { background: #e6f4f6; color: #0f6b78; }
.status--delivered { background: var(--success-soft); color: var(--success); }
.status--cancelled { background: var(--bg-2); color: var(--text-2); }
.status--lg { height: 32px; font-size: 14px; padding: 0 14px; }

.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font-weight: 600; font-size: 12.5px; color: var(--text-2); padding: 12px 14px; border-bottom: 1px solid var(--border); white-space: nowrap; }
.table td { padding: 14px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table a { text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 3px; }
.table a:hover { text-decoration-color: var(--text); }

.card-box { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); height: 54px; background: #fff; }
.qty__btn { width: 44px; height: 100%; border: 0; background: transparent; display: grid; place-items: center; }
.qty__btn:hover:not([disabled]) { background: var(--bg-2); }
.qty__btn[disabled] { opacity: .3; cursor: not-allowed; }
.qty__input { width: 44px; height: 100%; border: 0; text-align: center; font-weight: 600; -moz-appearance: textfield; background: transparent; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.qty--sm { height: 38px; }
.qty--sm .qty__btn { width: 34px; }
.qty--sm .qty__input { width: 36px; font-size: 14px; }

.stars { display: inline-flex; gap: 1px; color: #d4d4d4; vertical-align: middle; }
.stars__s.is-on { color: var(--text); }
.stars__s.is-on svg { fill: currentColor; }

.empty-state { text-align: center; padding: clamp(40px, 8vw, 80px) 20px; color: var(--text-2); display: flex; flex-direction: column; align-items: center; }
.empty-state h2 { color: var(--text); font-size: 22px; margin-top: 12px; }
.empty-state .btn { margin-top: 8px; }

.toasts { position: fixed; z-index: 90; right: 20px; top: calc(var(--header-h) + 14px); display: flex; flex-direction: column; gap: 10px; max-width: min(380px, calc(100vw - 40px)); pointer-events: none; }
.toast { pointer-events: auto; background: var(--text); color: #fff; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; box-shadow: var(--shadow); animation: toast-in .35s var(--ease); line-height: 1.45; }
.toast--error { background: var(--danger); }
.toast--success { border-left: 3px solid var(--accent); }
.toast.is-leaving { opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s; }
@keyframes toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@media (max-width: 640px) { .toasts { left: 12px; right: 12px; max-width: none; top: calc(var(--header-h) + 8px); } }

.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.pagination__item { min-width: 42px; height: 42px; display: grid; place-items: center; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 14px; font-weight: 600; padding: 0 10px; }
.pagination__item:hover { border-color: var(--text); }
.pagination__item.is-current { background: var(--text); color: #fff; border-color: var(--text); }
.pagination__gap { align-self: center; color: var(--text-2); }

/* Product card */
.card { position: relative; display: flex; flex-direction: column; min-width: 0; }
.card__media { position: relative; aspect-ratio: 4 / 5; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; }
.card__link { position: absolute; inset: 0; display: block; }
.card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .5s var(--ease), transform .8s var(--ease); }
.card__img.is-placeholder { object-fit: contain; padding: 20%; }
.card__img--hover { opacity: 0; }
@media (hover: hover) {
  .card:hover .card__img { transform: scale(1.03); }
  .card:hover .card__img--hover { opacity: 1; }
}
.card--soldout .card__img { opacity: .55; }
.card__badges { position: absolute; top: 10px; left: 10px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; pointer-events: none; }
.card__fav { position: absolute; top: 8px; right: 8px; }
.card__body { padding: 12px 2px 0; display: flex; flex-direction: column; gap: 4px; }
.card__cat { font-size: 12px; color: var(--text-2); margin: 0; }
.card__title { font-family: var(--font-body); font-weight: 500; font-size: 14.5px; line-height: 1.4; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__title a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card__sizes { list-style: none; display: flex; flex-wrap: wrap; gap: 2px 8px; padding: 0; margin: 4px 0 0; font-size: 11.5px; color: var(--text-2); letter-spacing: .02em; }
.card__sizes .is-out { text-decoration: line-through; opacity: .45; }

.quick { position: absolute; left: 10px; right: 10px; bottom: 10px; }
.quick__toggle {
  width: 100%; min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: 0; border-radius: var(--radius-sm); background: rgba(255,255,255,.94); font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow-sm); transition: opacity .25s var(--ease), transform .25s var(--ease), background .2s;
}
.quick__toggle:hover { background: #fff; }
.quick__panel { background: #fff; border-radius: var(--radius-sm); padding: 12px; box-shadow: var(--shadow); margin-bottom: 6px; }
.quick__label { font-size: 12px; color: var(--text-2); margin: 0 0 8px; }
.quick__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.quick__sizes form { margin: 0; }
@media (hover: hover) and (min-width: 761px) {
  .quick__toggle { opacity: 0; transform: translateY(6px); }
  .card:hover .quick__toggle, .quick.is-open .quick__toggle, .quick__toggle:focus-visible { opacity: 1; transform: none; }
}
@media (max-width: 760px) {
  .quick { left: auto; right: 8px; bottom: 8px; }
  .quick__toggle { width: 36px; min-height: 36px; padding: 0; border-radius: 50%; }
  .quick__toggle span { display: none; }
  .quick.is-open { left: 8px; }
  .quick.is-open .quick__toggle { width: 100%; border-radius: var(--radius-sm); }
}

/* 5. Header / drawer / search / footer ------------------------------------ */
.announcement { background: var(--text); color: #fff; text-align: center; font-size: 13px; padding: 9px var(--gutter); }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.header.is-scrolled { border-bottom-color: var(--border); }
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 24px; }
.header__burger { display: none; margin-left: -10px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.logo__img { max-height: 34px; width: auto; }
.logo__word { font-family: var(--font-body); font-weight: 700; font-size: 21px; letter-spacing: .3em; margin-right: -.3em; }
.logo__word--lg { font-size: 26px; display: inline-block; margin-bottom: 12px; }
.nav { display: flex; gap: 4px; margin: 0 auto; }
.nav__link { position: relative; padding: 8px 14px; font-size: 14.5px; font-weight: 500; color: var(--text-2); transition: color .2s; }
.nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 1.5px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__link:hover, .nav__link.is-active { color: var(--text); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); }
.header__actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.cart-btn__count {
  position: absolute; top: 3px; right: 1px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; display: grid; place-items: center; line-height: 1;
  transition: transform .25s var(--ease);
}
.cart-btn__count.is-empty { transform: scale(0); }
.cart-btn__count.is-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

@media (max-width: 1000px) {
  .nav { display: none; }
  .header__burger { display: inline-grid; }
  .header__inner { gap: 8px; }
  .logo { position: absolute; left: 50%; transform: translateX(-50%); }
}
@media (max-width: 640px) {
  :root { --header-h: 60px; }
  .logo__word { font-size: 18px; letter-spacing: .26em; }
  .hide-sm { display: none !important; }
  .icon-btn { width: 40px; height: 40px; }
}

.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer__backdrop, .search__backdrop, .filters-backdrop { position: absolute; inset: 0; background: rgba(17,17,17,.4); animation: fade .25s; }
.drawer__panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(360px, 86vw); background: #fff; display: flex; flex-direction: column; animation: slide-in .3s var(--ease); overflow-y: auto; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 14px 20px; border-bottom: 1px solid var(--border); }
.drawer__nav { display: flex; flex-direction: column; padding: 12px 0; }
.drawer__nav a { padding: 14px 20px; font-family: var(--font-display); font-size: 17px; }
.drawer__nav a:hover { background: var(--bg-2); }
.drawer__nav .drawer__sub { font-family: var(--font-body); font-size: 15px; padding: 10px 20px 10px 34px; color: var(--text-2); }
.drawer__foot { margin-top: auto; border-top: 1px solid var(--border); padding: 12px 0 calc(12px + env(safe-area-inset-bottom)); }
.drawer__foot a { display: flex; align-items: center; gap: 12px; padding: 12px 20px; font-size: 15px; }
@keyframes slide-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

.search { position: fixed; inset: 0; z-index: 85; }
.search__panel { position: relative; background: #fff; padding: 18px 0 24px; animation: drop .3s var(--ease); box-shadow: var(--shadow); max-height: 85vh; overflow-y: auto; }
.search__form { display: flex; align-items: center; gap: 12px; border-bottom: 1.5px solid var(--text); padding-bottom: 10px; }
.search__input { flex: 1; border: 0; font-size: clamp(18px, 2.4vw, 24px); padding: 8px 0; background: transparent; min-width: 0; }
.search__input:focus { outline: none; }
.search__results { list-style: none; margin: 8px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 16px; }
.search__results a { display: flex; gap: 12px; align-items: center; padding: 10px 0; }
.search__results img { width: 52px; height: 64px; object-fit: cover; border-radius: var(--radius-sm); background: var(--bg-2); }
.search__results strong { display: block; font-weight: 500; font-size: 14.5px; }
.search__results span { font-size: 13.5px; color: var(--text-2); }
.search__results .search__all { grid-column: 1 / -1; padding-top: 8px; font-weight: 600; font-size: 14px; }
@keyframes drop { from { transform: translateY(-20px); opacity: 0; } to { transform: none; opacity: 1; } }

.footer { background: var(--bg-2); margin-top: clamp(40px, 6vw, 80px); padding-top: clamp(48px, 6vw, 72px); font-size: 14px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { color: var(--text-2); max-width: 300px; }
.footer__title { font-size: 15px; margin-bottom: 16px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; color: var(--text-2); }
.footer__links a:hover { color: var(--text); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .icon { margin-top: 3px; }
.socials { display: flex; gap: 6px; margin-top: 8px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border); background: #fff; transition: border-color .2s; }
.socials a:hover { border-color: var(--text); }
.footer__bottom { border-top: 1px solid var(--border); padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; gap: 16px; font-size: 12.5px; color: var(--text-2); flex-wrap: wrap; }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; gap: 28px; } }

/* 6. Home ------------------------------------------------------------------ */
.eyebrow { font-size: 13px; letter-spacing: .04em; color: var(--text-2); margin-bottom: 14px; font-weight: 600; }
.hero { position: relative; background: var(--bg-2); overflow: hidden; min-height: clamp(460px, 72vh, 760px); display: flex; align-items: center; }
.hero:not(.hero--image)::before {
  content: attr(data-mark); position: absolute; right: -2vw; bottom: -3vw; font-family: var(--font-body); font-weight: 700;
  font-size: clamp(120px, 22vw, 360px); letter-spacing: -.02em; line-height: 1; color: transparent;
  -webkit-text-stroke: 1px #dedede; pointer-events: none; user-select: none;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero--image::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,.15) 60%, rgba(0,0,0,0) 100%); z-index: 1; }
.hero__inner { position: relative; z-index: 2; padding-top: 64px; padding-bottom: 64px; }
.hero__content { max-width: 620px; }
.hero__title { font-size: clamp(38px, 6.2vw, 76px); line-height: 1.08; margin-bottom: 20px; }
.hero__subtitle { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-2); max-width: 480px; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero--image { color: #fff; }
.hero--image .eyebrow, .hero--image .hero__subtitle { color: rgba(255,255,255,.85); }
.hero--image .btn--primary { background: #fff; color: var(--text); }
.hero--image .btn--primary:hover { background: #f0f0f0; color: var(--text); }
.hero--image .btn--ghost { color: #fff; border-color: rgba(255,255,255,.6); }
.hero--image .btn--ghost:hover { border-color: #fff; color: #fff; }
@media (max-width: 640px) {
  .hero { min-height: 520px; align-items: flex-end; }
  .hero--image::before { background: linear-gradient(0deg, rgba(0,0,0,.6) 0%, rgba(0,0,0,.1) 70%); }
  .hero__actions .btn { flex: 1; padding: 0 14px; }
}

.usp { border-bottom: 1px solid var(--border); }
.usp__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.usp__item { display: flex; gap: 14px; align-items: center; padding: 22px 20px; border-right: 1px solid var(--border); font-size: 13.5px; }
.usp__item:first-child { padding-left: 0; }
.usp__item:last-child { border-right: 0; }
.usp__item strong { display: block; font-weight: 600; font-size: 14px; }
.usp__item span { color: var(--text-2); }
.usp__item a { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 900px) {
  .usp__grid { grid-template-columns: repeat(2, 1fr); }
  .usp__item { padding: 16px 12px; border-right: 0; border-bottom: 1px solid var(--border); }
  .usp__item:first-child { padding-left: 12px; }
  .usp__item:nth-last-child(-n+2) { border-bottom: 0; }
}
@media (max-width: 480px) { .usp__item { flex-direction: column; align-items: flex-start; gap: 8px; } }

.cats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.cat { position: relative; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; background: var(--bg-2); display: block; }
.cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.cat__img--empty { background: linear-gradient(160deg, #f4f4f4, #e8e8e8); }
.cat:hover .cat__img { transform: scale(1.04); }
.cat::after { content: ""; position: absolute; inset: 40% 0 0; background: linear-gradient(0deg, rgba(0,0,0,.5), transparent); }
.cat__label { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; color: #fff; display: flex; flex-direction: column; }
.cat__label span { font-family: var(--font-display); font-size: clamp(16px, 1.8vw, 21px); }
.cat__label small { opacity: .8; font-size: 12.5px; }
@media (max-width: 760px) { .cats { grid-template-columns: repeat(2, 1fr); } }

.brand { background: var(--bg-2); overflow: hidden; }
.brand__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.brand__mark { font-family: var(--font-body); font-weight: 700; font-size: clamp(56px, 10vw, 150px); letter-spacing: .04em; line-height: .9; color: transparent; -webkit-text-stroke: 1.5px var(--text); word-break: break-all; }
.brand__title { font-size: clamp(26px, 3.4vw, 42px); }
.brand__text p { color: var(--text-2); font-size: 16px; max-width: 520px; }
@media (max-width: 760px) { .brand__inner { grid-template-columns: 1fr; } .brand__mark { font-size: 18vw; } }

.insta { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.insta__item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius-sm); background: var(--bg-2); }
.insta__img { width: 100%; height: 100%; object-fit: cover; }
.insta__overlay { position: absolute; inset: 0; display: grid; place-items: center; color: #fff; background: rgba(17,17,17,.35); opacity: 0; transition: opacity .3s; }
.insta__item:hover .insta__overlay { opacity: 1; }
@media (max-width: 760px) { .insta { grid-template-columns: repeat(3, 1fr); } }

.newsletter__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: clamp(28px, 5vw, 56px); }
.newsletter__inner .section__title { margin-bottom: 8px; }
.newsletter__form { display: flex; gap: 10px; }
.newsletter__form .input { min-height: 52px; }
.newsletter__form .btn { min-height: 52px; }
@media (max-width: 760px) { .newsletter__inner { grid-template-columns: 1fr; } .newsletter__form { flex-direction: column; } }

/* 7. Catalog --------------------------------------------------------------- */
.page-head { padding: clamp(28px, 4vw, 48px) 0 clamp(16px, 2vw, 24px); }
.page-head--compact { padding-bottom: 8px; }
.page-head--about { background: var(--bg-2); padding-bottom: 48px; margin-bottom: 40px; }
.page-title { font-size: clamp(28px, 4vw, 44px); margin: 0 0 8px; }
.page-lead { color: var(--text-2); max-width: 640px; font-size: 16px; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--text-2); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--text); }
.breadcrumbs--product { padding-top: 20px; margin-bottom: 20px; }

.section--catalog { padding-top: 12px; }
.catalog { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); }
.filters__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.filters__head h2 { font-size: 18px; margin: 0; }
.filters__close, .filters-backdrop, .toolbar__filter { display: none; }
.filter { border: 0; border-top: 1px solid var(--border); padding: 18px 0; margin: 0; }
.filter legend { font-weight: 600; font-size: 14px; padding: 0; margin-bottom: 12px; float: left; width: 100%; }
.filter legend + * { clear: both; }
.filter__price { display: flex; align-items: center; gap: 8px; }
.filter__price .input { min-height: 40px; padding: 8px 10px; }
.filter__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size-check { position: relative; cursor: pointer; }
.size-check input { position: absolute; opacity: 0; pointer-events: none; }
.size-check span { min-width: 46px; height: 38px; padding: 0 10px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; transition: all .2s; }
.size-check:hover span { border-color: var(--text); }
.size-check input:checked + span { background: var(--text); color: #fff; border-color: var(--text); }
.size-check input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.filters__actions { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; }

.toolbar { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.toolbar__count { margin: 0 auto 0 0; color: var(--text-2); font-size: 14px; white-space: nowrap; }
.catalog__main { min-width: 0; }
.toolbar__sort { display: flex; gap: 8px; }
.toolbar__sort .select { min-height: 40px; width: auto; font-size: 14px; }

@media (max-width: 480px) { .toolbar__count { display: none; } .toolbar__sort { margin-left: auto; } }
@media (max-width: 960px) {
  .catalog { grid-template-columns: minmax(0, 1fr); }
  .toolbar { gap: 10px; }
  .toolbar__filter { display: inline-flex; }
  .toolbar__sort .select { max-width: 170px; }
  .filters {
    position: fixed; top: 0; bottom: 0; right: 0; width: min(380px, 92vw); z-index: 82; background: #fff;
    padding: 18px 20px calc(18px + env(safe-area-inset-bottom)); overflow-y: auto; transform: translateX(100%);
    transition: transform .3s var(--ease); visibility: hidden;
  }
  .filters.is-open { transform: none; visibility: visible; }
  .filters__close { display: inline-grid; }
  .filters.is-open + .filters-backdrop { display: block; position: fixed; z-index: 81; }
}

/* 8. Product page ---------------------------------------------------------- */
.notice + .pdp { margin-top: 0; }
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.gallery { position: relative; min-width: 0; }
.gallery__main { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gallery__slide { margin: 0; aspect-ratio: 4 / 5; background: var(--bg-2); border-radius: var(--radius); overflow: hidden; }
.gallery__slide:first-child:nth-last-child(odd), .gallery__slide:only-child { grid-column: 1 / -1; }
.gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__slide img.is-placeholder { object-fit: contain; padding: 20%; }
.gallery__thumbs, .gallery__dots { display: none; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 24px); }
.pdp__title { font-size: clamp(24px, 2.8vw, 34px); margin-bottom: 6px; }
.pdp__subtitle { color: var(--text-2); margin-bottom: 10px; }
.pdp__rating { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text-2); margin-bottom: 12px; }
.pdp__info .price { margin: 14px 0 24px; }
.opt { border: 0; padding: 0; margin: 0 0 22px; }
.opt__label { font-size: 14px; margin-bottom: 10px; padding: 0; color: var(--text-2); }
.opt__label strong { color: var(--text); font-weight: 600; }
.opt__hint { font-size: 13px; color: var(--text-2); margin: 10px 0 0; min-height: 1.4em; }
.opt__hint.is-low { color: var(--warn); }
.opt__hint.is-out { color: var(--danger); }
.swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.swatch { position: relative; cursor: pointer; }
.swatch input { position: absolute; opacity: 0; }
.swatch__dot { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--swatch); border: 1px solid rgba(0,0,0,.12); box-shadow: inset 0 0 0 3px #fff; transition: box-shadow .2s; }
.swatch input:checked + .swatch__dot { box-shadow: inset 0 0 0 3px #fff, 0 0 0 1.5px var(--text); }
.swatch input:focus-visible + .swatch__dot { outline: 2px solid var(--accent); outline-offset: 3px; }
.sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(60px, 1fr)); gap: 8px; }
.size { position: relative; cursor: pointer; }
.size input { position: absolute; opacity: 0; pointer-events: none; }
.size span { height: 48px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: var(--radius-sm); font-weight: 600; font-size: 14px; transition: all .2s; }
.size:hover span { border-color: var(--text); }
.size input:checked + span { background: var(--text); color: #fff; border-color: var(--text); }
.size input:disabled + span { color: #bdbdbd; cursor: not-allowed; background: linear-gradient(to top left, transparent calc(50% - .5px), #e3e3e3 50%, transparent calc(50% + .5px)); border-color: var(--border); }
.size input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.buy__row { display: flex; gap: 10px; }
.buy__submit { flex: 1; }
.pdp__fav { margin-top: 10px; }
.pdp__perks { list-style: none; padding: 20px 0; margin: 24px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--text-2); }
.pdp__perks li { display: flex; align-items: center; gap: 10px; }
.pdp__perks a { text-decoration: underline; text-underline-offset: 3px; }

.accordion { border-top: 1px solid var(--border); }
.accordion details { border-bottom: 1px solid var(--border); }
.accordion summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 0; cursor: pointer; font-family: var(--font-display); font-size: 15.5px; }
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary .icon { transition: transform .25s var(--ease); }
.accordion details[open] summary .icon { transform: rotate(180deg); }
.accordion__body { padding: 0 0 18px; color: #3a3a3a; font-size: 14.5px; }
.accordion--faq summary { font-size: 16.5px; padding: 22px 0; }

.sticky-buy { display: none; }
@media (max-width: 900px) {
  .pdp { grid-template-columns: minmax(0, 1fr); }
  .pdp__info { position: static; }
  .gallery { margin: 0 calc(var(--gutter) * -1); }
  .gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0; scrollbar-width: none; }
  .gallery__main::-webkit-scrollbar { display: none; }
  .gallery__slide { flex: 0 0 100%; scroll-snap-align: start; border-radius: 0; }
  .gallery__dots { display: flex; justify-content: center; gap: 6px; padding: 12px 0 0; }
  .gallery__dots span { width: 6px; height: 6px; border-radius: 50%; background: #d0d0d0; transition: background .2s, width .2s; }
  .gallery__dots span.is-active { background: var(--text); width: 18px; border-radius: 3px; }
  .sticky-buy {
    display: flex; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; align-items: center; gap: 12px;
    padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97);
    border-top: 1px solid var(--border); transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .sticky-buy.is-visible { transform: none; }
  .sticky-buy__price { display: flex; flex-direction: column; line-height: 1.3; min-width: 0; flex: 1; }
  .sticky-buy__price span { font-size: 12.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .sticky-buy .btn { flex-shrink: 0; }
  .page-product .footer { padding-bottom: 72px; }
}
@media (min-width: 901px) and (max-width: 1100px) { .gallery__main { grid-template-columns: 1fr; } }

.reviews { list-style: none; padding: 0; margin: 0 0 24px; }
.review { padding: 18px 0; border-bottom: 1px solid var(--border); }
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; font-size: 14px; flex-wrap: wrap; }
.review p { margin: 0; color: #3a3a3a; }
.review-form { max-width: 520px; margin-top: 24px; }
.review-form .select { width: 140px; }

/* 9. Cart & checkout ------------------------------------------------------ */
.cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.lines { list-style: none; padding: 0; margin: 0 0 24px; border-top: 1px solid var(--border); }
.line { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.line--problem { background: var(--danger-soft); padding-left: 12px; padding-right: 12px; border-radius: var(--radius-sm); }
.line__img { aspect-ratio: 4 / 5; border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-2); }
.line__img img { width: 100%; height: 100%; object-fit: cover; }
.line__name { font-weight: 600; display: block; line-height: 1.35; }
.line__meta { color: var(--text-2); font-size: 13.5px; margin: 4px 0 12px; }
.line__problem { color: var(--danger); font-size: 13px; margin: -6px 0 10px; font-weight: 600; }
.line__controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.line__controls form { margin: 0; }
.line__size .select { width: auto; min-width: 86px; }
.line__total { font-weight: 700; white-space: nowrap; }
@media (max-width: 560px) {
  .line { grid-template-columns: 84px 1fr; gap: 14px; }
  .line__total { grid-column: 2; grid-row: 1; justify-self: end; align-self: start; font-size: 14px; }
  .line__info { grid-column: 2; grid-row: 1; padding-right: 72px; }
  .line__img { grid-row: 1; }
}

.summary { background: var(--bg-2); border-radius: var(--radius); padding: clamp(20px, 3vw, 28px); }
.summary--sticky { position: sticky; top: calc(var(--header-h) + 20px); }
.summary__title { font-size: 19px; }
.summary__rows { margin: 16px 0; }
.summary__rows > div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; font-size: 14.5px; }
.summary__rows dt { color: var(--text-2); }
.summary__rows dd { margin: 0; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.summary__rows .is-discount dd { color: var(--accent); }
.summary__total { border-top: 1px solid #dcdcdc; margin-top: 8px; padding-top: 14px !important; font-size: 17px !important; }
.summary__total dt { color: var(--text) !important; font-weight: 700; }
.summary .btn--block { margin-top: 12px; }
.summary__secure { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 12.5px; color: var(--text-2); margin: 14px 0 0; text-align: center; }
.freebar { background: #fff; border-radius: var(--radius-sm); padding: 12px 14px; font-size: 13.5px; margin: 12px 0; }
.freebar p { margin: 0 0 8px; }
.freebar__track { height: 4px; border-radius: 2px; background: var(--bg-3); overflow: hidden; }
.freebar__track span { display: block; height: 100%; background: var(--accent); border-radius: 2px; transition: width .4s var(--ease); }
.freebar.is-done p { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--success); font-weight: 600; }
.coupon { display: flex; gap: 8px; margin: 12px 0; }
.coupon .input { min-height: 44px; background: #fff; }
.coupon .btn { min-height: 44px; }
.coupon--applied { justify-content: space-between; align-items: center; background: #fff; padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14px; }
@media (max-width: 960px) { .cart { grid-template-columns: minmax(0, 1fr); } }

.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: clamp(24px, 4vw, 56px); align-items: start; }
.checkout__login { background: var(--bg-2); padding: 12px 16px; border-radius: var(--radius-sm); font-size: 14px; }
.checkout__login a { text-decoration: underline; font-weight: 600; }
.step { border: 0; padding: 0; margin: 0 0 32px; }
.step__title { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-size: 19px; margin-bottom: 18px; padding: 0; }
.step__title span { width: 28px; height: 28px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; font-size: 13px; font-family: var(--font-body); }
.options { display: grid; gap: 10px; margin-bottom: 16px; }
.option { position: relative; cursor: pointer; }
.option input { position: absolute; left: 18px; top: 50%; transform: translateY(-50%); accent-color: var(--text); width: 18px; height: 18px; margin: 0; }
.option__body { display: flex; flex-direction: column; padding: 14px 16px 14px 50px; border: 1px solid var(--border); border-radius: var(--radius-sm); transition: border-color .2s, background .2s; }
.option__body strong { font-weight: 600; font-size: 15px; }
.option__body small { color: var(--text-2); font-size: 13px; }
.option:hover .option__body { border-color: #c9c9c9; }
.option input:checked + .option__body { border-color: var(--text); background: var(--bg-2); }
.mini-lines { list-style: none; padding: 0; margin: 0 0 8px; }
.mini-lines li { display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 14px; }
.mini-lines__img { position: relative; width: 56px; aspect-ratio: 4/5; border-radius: var(--radius-sm); background: #fff; flex-shrink: 0; }
.mini-lines__img img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-sm); }
.mini-lines__qty { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; border-radius: 10px; background: var(--text); color: #fff; font-size: 11px; display: grid; place-items: center; font-weight: 700; padding: 0 5px; }
.mini-lines__info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mini-lines__info strong { font-weight: 500; line-height: 1.35; }
.mini-lines__info small { color: var(--text-2); }
@media (max-width: 960px) {
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .summary--sticky { position: static; order: -1; }
}

.confirm { text-align: left; }
.confirm__icon { width: 72px; height: 72px; border-radius: 50%; background: var(--text); color: #fff; display: grid; place-items: center; margin: 0 auto 24px; }
.confirm .lead { font-size: 17px; color: var(--text-2); }
.confirm__number { text-align: center; border: 1px dashed #cfcfcf; border-radius: var(--radius); padding: 18px; margin: 24px auto 12px; max-width: 360px; }
.confirm__number span { display: block; font-size: 13px; color: var(--text-2); }
.confirm__number strong { font-size: 24px; letter-spacing: .06em; font-family: var(--font-body); }
.confirm__card { background: var(--bg-2); border-radius: var(--radius); padding: clamp(18px, 3vw, 28px); margin-top: 28px; }
.confirm__meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; border-top: 1px solid #dcdcdc; padding-top: 16px; font-size: 14px; }
.confirm__meta p { margin: 4px 0 0; }
.confirm__actions { display: flex; gap: 12px; justify-content: center; margin-top: 32px; flex-wrap: wrap; }
.pre { white-space: pre-line; }

/* 10. Pages ---------------------------------------------------------------- */
.prose { font-size: 16px; color: #2a2a2a; }
.prose h2 { font-size: 22px; margin: 36px 0 12px; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose p { line-height: 1.75; }
.faq-cta { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg-2); padding: 20px 24px; border-radius: var(--radius); flex-wrap: wrap; }
.faq-cta p { margin: 0; font-family: var(--font-display); font-size: 17px; }

.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.contact__info { display: grid; gap: 10px; }
.contact__item { display: flex; gap: 16px; align-items: center; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); transition: border-color .2s; }
a.contact__item:hover { border-color: var(--text); }
.contact__item small { display: block; color: var(--text-2); font-size: 12.5px; }
.contact__item span { font-weight: 500; }
.h3 { font-size: 20px; margin-bottom: 18px; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

.auth { display: flex; justify-content: center; padding-left: var(--gutter); padding-right: var(--gutter); }
.auth__box { width: 100%; max-width: 440px; }
.auth__box--wide { max-width: 620px; }
.auth__box .btn--lg { margin: 8px 0 16px; }

.account-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; }
.account-head__actions { display: flex; gap: 8px; align-items: center; }
.account-head__actions form { margin: 0; }
.account { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: start; }
.account__nav { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 2px; }
.account__nav a { padding: 10px 14px; border-radius: var(--radius-sm); font-size: 14.5px; }
.account__nav a:hover { background: var(--bg-2); }
.account__main { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.addresses { list-style: none; padding: 0; margin: 0; }
.addresses li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap; font-size: 14.5px; }
.addresses__actions { display: flex; gap: 14px; }
.addresses form { margin: 0; }
@media (max-width: 860px) {
  .account { grid-template-columns: 1fr; gap: 16px; }
  .account__nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .account__nav a { white-space: nowrap; border: 1px solid var(--border); border-radius: 999px; }
}

.error-page { padding: clamp(60px, 12vw, 140px) 0; }
.error-page__code { font-family: var(--font-body); font-weight: 700; font-size: clamp(80px, 14vw, 160px); line-height: 1; margin-bottom: 8px; color: transparent; -webkit-text-stroke: 1.5px var(--text); }
.error-page__search { display: flex; gap: 8px; max-width: 420px; margin: 28px auto 20px; }

/* 11. Utilities ------------------------------------------------------------ */
.muted { color: var(--text-2); }
.small { font-size: 13px; }
.center { text-align: center; }
.right { text-align: right !important; }
.mt { margin-top: 24px; }
.mt-sm { margin-top: 10px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-danger { color: var(--danger); font-weight: 600; }
.text-warn { color: var(--warn); font-weight: 600; }
body.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   v2 — design refresh
   ========================================================================== */
:root { --radius: 12px; }
body { font-size: 15.5px; }
.section__title { font-size: clamp(24px, 2.8vw, 36px); letter-spacing: -.01em; }
.page-title { letter-spacing: -.01em; }

/* Announcement */
.announcement { font-size: 12.5px; letter-spacing: .02em; padding: 8px var(--gutter); }

/* Hero */
.hero { min-height: clamp(520px, 78vh, 820px); }
.hero__title { font-size: clamp(42px, 6.6vw, 88px); line-height: 1.04; letter-spacing: -.015em; }
.hero__subtitle { font-size: clamp(16px, 1.5vw, 19px); }
.hero--collage .hero__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero--collage::before { opacity: .55; }
.hero__collage { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.hero__tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; background: #e9e9e9; box-shadow: 0 30px 60px -30px rgba(17,17,17,.35); transition: transform .6s var(--ease); }
.hero__tile img { width: 100%; height: 100%; object-fit: cover; }
.hero__tile--2 { margin-top: 64px; }
.hero__tile:hover { transform: translateY(-6px); }
.hero__tag { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.9); backdrop-filter: blur(8px); font-size: 12.5px; font-weight: 600; }
.hero__tag strong { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 900px) {
  .hero--collage { align-items: stretch; }
  .hero--collage .hero__inner { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 40px; }
  .hero__collage { order: -1; gap: 10px; }
  .hero__tile--2 { margin-top: 32px; }
  .hero__tag { font-size: 11.5px; padding: 8px 10px; }
}

/* Ticker band */
.ticker { background: var(--text); color: #fff; overflow: hidden; white-space: nowrap; border-top: 1px solid #222; }
.ticker__track { display: inline-flex; animation: ticker 38s linear infinite; padding: 14px 0; }
.ticker span { font-family: var(--font-display); font-size: 15px; padding: 0 28px; position: relative; }
.ticker span::after { content: ""; position: absolute; right: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transform: translateY(-50%); }
@keyframes ticker { to { transform: translateX(-50%); } }
.usp { background: #fff; }

/* Cards */
.card__media { border-radius: var(--radius); }
.card__body { padding-top: 14px; }
.card__title { font-size: 15px; }
.price__now { font-size: 15.5px; }
@media (hover: hover) { .card:hover .card__media { box-shadow: 0 18px 40px -24px rgba(17,17,17,.35); } }
.card__media { transition: box-shadow .4s var(--ease); }

/* Categories */
.cat { border-radius: var(--radius-lg); }
.cat__arrow { position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; background: #fff; display: grid; place-items: center; transform: rotate(-45deg); transition: transform .35s var(--ease); }
.cat:hover .cat__arrow { transform: rotate(0); }

/* Brand block */
.brand { background: #fff; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.brand__mark { -webkit-text-stroke: 1.5px var(--accent); opacity: .9; }

/* Newsletter */
.newsletter__inner { background: var(--text); color: #fff; border: 0; }
.newsletter__inner .muted { color: rgba(255,255,255,.65); }
.newsletter__form .input { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); color: #fff; }
.newsletter__form .input::placeholder { color: rgba(255,255,255,.5); }
.newsletter__form .input:focus { border-color: #fff; box-shadow: none; }
.newsletter__form .btn--primary { background: #fff; color: var(--text); }
.newsletter__form .btn--primary:hover { background: var(--accent); color: #fff; }

/* Dark footer */
.footer--dark { background: #0e0e0e; color: #d9d9d9; margin-top: clamp(56px, 7vw, 96px); }
.footer--dark .footer__title { color: #fff; }
.footer--dark .footer__brand p, .footer--dark .footer__links { color: #9a9a9a; }
.footer--dark .footer__links a:hover { color: #fff; }
.footer--dark .socials a { background: transparent; border-color: #2c2c2c; color: #fff; }
.footer--dark .socials a:hover { border-color: var(--accent); color: var(--accent); }
.footer--dark .logo__word { color: #fff; }
.footer__mark { font-family: var(--font-body); font-weight: 700; font-size: clamp(64px, 17vw, 260px); line-height: .8; letter-spacing: -.02em; color: transparent; -webkit-text-stroke: 1px #2a2a2a; padding-top: 12px; overflow: hidden; white-space: nowrap; user-select: none; }
.footer--dark .footer__bottom { border-top-color: #222; color: #777; }

/* Buttons */
.btn--primary .icon { transition: transform .25s var(--ease); }
.btn--primary:hover .icon { transform: translateX(3px); }
.btn--insta { background: linear-gradient(90deg, #6d2c9c, var(--accent)); }
.btn--insta:hover { background: linear-gradient(90deg, #5b2283, #8c17d6); }

/* Checkout: payment steps + policy */
.pay-steps { list-style: none; counter-reset: ps; margin: 14px 0 0; padding: 16px 18px; background: var(--bg-2); border-radius: var(--radius-sm); display: grid; gap: 12px; }
.pay-steps li { counter-increment: ps; display: grid; grid-template-columns: 26px 1fr; gap: 2px 12px; font-size: 14px; }
.pay-steps li::before { content: counter(ps); grid-row: span 2; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 1px solid var(--border); display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.pay-steps strong { font-weight: 600; }
.pay-steps span { color: var(--text-2); font-size: 13px; }
.policy-box { border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px 2px; margin-bottom: 14px; }
.policy-box.has-error { border-color: var(--danger); background: var(--danger-soft); }
.policy-box a { text-decoration: underline; }

/* Confirmation */
.confirm-section { padding-top: clamp(32px, 5vw, 64px); }
.confirm-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.confirm__icon { margin: 0 0 20px; width: 60px; height: 60px; background: var(--accent); }
.confirm__summary { position: sticky; top: calc(var(--header-h) + 20px); }
.confirm__summary .confirm__actions { flex-direction: column; margin-top: 16px; }
.confirm__summary .mini-lines__img { background: #fff; }
.paybox { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; margin-top: 24px; background: #fff; }
.paybox__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; background: var(--text); color: #fff; flex-wrap: wrap; }
.paybox__head .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.4); }
.paybox__head .btn--outline:hover { background: #fff; color: var(--text); }
.paybox__label { display: block; font-size: 12.5px; color: rgba(255,255,255,.65); }
.paybox__id { font-family: var(--font-body); font-size: clamp(22px, 3vw, 28px); letter-spacing: .06em; }
.paysteps { list-style: none; margin: 0; padding: 8px 22px; }
.paysteps > li { display: grid; grid-template-columns: 36px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.paysteps > li:last-child { border-bottom: 0; }
.paysteps__n { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-weight: 700; }
.paysteps__body h3 { font-size: 17px; margin-bottom: 6px; }
.paysteps__body p { color: #444; font-size: 14.5px; margin-bottom: 12px; }
.paysteps__amount { color: var(--accent); }
.banks { list-style: none; padding: 0; margin: 0 0 4px; display: grid; gap: 8px; }
.bank { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--bg-2); flex-wrap: wrap; }
.bank__info { display: flex; flex-direction: column; min-width: 0; }
.bank__name { font-size: 13px; color: var(--text-2); }
.bank__iban { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 15px; font-weight: 600; letter-spacing: .03em; word-break: break-all; }
.paybox__more { padding: 0 22px 18px; font-size: 14px; color: var(--text-2); }
.paybox__more summary { cursor: pointer; font-weight: 600; color: var(--text); }
.mb { margin-bottom: 20px; }
.mb-sm { margin-bottom: 10px; }
@media (max-width: 900px) {
  .confirm-grid { grid-template-columns: 1fr; }
  .confirm__summary { position: static; }
  .paysteps { padding: 4px 16px; }
  .paysteps > li { grid-template-columns: 30px 1fr; gap: 12px; }
  .paysteps__n { width: 30px; height: 30px; }
  .paybox__head { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* Typography roles: Galio only for big display headings */
h1, h2, h3, h4, .btn, .ticker span, .drawer__nav a, .accordion summary, .step__title, .cat__label span, .faq-cta p, .summary__title, .footer__title { font-family: var(--font-body); }
.hero__title, .section__title, .page-title, .brand__title, .newsletter .section__title, .error-page h1 { font-family: var(--font-display); font-weight: 700; }
.pdp__title { font-family: var(--font-body); font-weight: 700; }
.btn { font-weight: 600; letter-spacing: 0; }
.ticker span { font-weight: 600; font-size: 14px; }
.page-title { line-height: 1.1; }
.section__title { line-height: 1.1; }
.newsletter { padding-bottom: 0; }
.footer--dark { margin-top: clamp(48px, 6vw, 88px); }
.hero--collage::before { opacity: .35; }
.hp { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.eta { display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--accent-soft); color: #3d0a63; margin: 18px 0 0; }
.eta strong { display: block; font-size: 14.5px; }
.eta span { font-size: 13px; opacity: .8; }
.line__eta, .card__eta { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text-2); margin: -6px 0 10px; }
.card__eta { margin: 2px 0 0; font-size: 12px; }
