/* ============================================================
   SOLEVA — Sneaker Store
   style.css · Design system & giao diện toàn site
   ------------------------------------------------------------
   1.  Tokens & reset
   2.  Typography & helpers
   3.  Buttons / badges / form controls
   4.  Header, nav, search, mobile menu
   5.  Hero slider
   6.  Trust strip & section headings
   7.  Categories & brand row
   8.  Shop: toolbar, filters, product grid
   9.  Product card
   10. Product detail page
   11. Promo banner
   12. Footer & newsletter
   13. Cart drawer
   14. Modals (quick add / checkout / success)
   15. Toast
   16. Responsive
   ============================================================ */

/* ------------------------------------------------------------
   1. Tokens & reset
   ------------------------------------------------------------ */
:root {
  /* Màu sắc */
  --ink: #0b0b0e;
  --ink-soft: #1c1c21;
  --muted: #6d6d77;
  --muted-light: #9a9aa3;
  --line: #e7e6e0;
  --line-dark: #2a2a30;
  --paper: #ffffff;
  --bone: #f6f5f0;
  --bone-deep: #eeede7;
  --accent: #ff4a1c;
  --accent-dark: #e13a0e;
  --accent-soft: #ffe9e2;
  --lime: #d8ff3e;
  --lime-dark: #bde629;
  --green: #1f8a55;

  /* Typography */
  --font-display: "Archivo", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Be Vietnam Pro", "Segoe UI", "Helvetica Neue", Arial, sans-serif;

  /* Layout */
  --container: 1300px;
  --gutter: 24px;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Hiệu ứng */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-sm: 0 1px 2px rgba(11, 11, 14, 0.06);
  --shadow: 0 12px 30px -12px rgba(11, 11, 14, 0.18);
  --shadow-lg: 0 28px 60px -24px rgba(11, 11, 14, 0.3);

  /* Kích thước cố định */
  --header-h: 74px;
  --topbar-h: 38px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
}

[hidden] {
  display: none !important;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--accent);
}

button {
  font: inherit;
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.02em;
}

p {
  margin: 0;
}

input,
select,
textarea {
  font: inherit;
  color: inherit;
}

::selection {
  background: var(--ink);
  color: var(--lime);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ------------------------------------------------------------
   2. Typography & helpers
   ------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow {
  max-width: 920px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--accent);
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.68);
}

.display-1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.display-2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: -0.035em;
}

.text-muted {
  color: var(--muted) !important;
}

.text-accent {
  color: var(--accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.section {
  padding-block: clamp(48px, 7vw, 90px);
}

.section--tight {
  padding-block: clamp(32px, 4vw, 54px);
}

.section--bone {
  background: var(--bone);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.section-head h2 {
  margin-top: 10px;
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
}

.section-head p {
  max-width: 52ch;
  margin-top: 12px;
  color: var(--muted);
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  border-bottom: 1px solid currentColor;
  padding-bottom: 4px;
}

.link-arrow svg {
  width: 15px;
  height: 15px;
  transition: transform 0.25s var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(4px);
}

/* ------------------------------------------------------------
   3. Buttons / badges / form controls
   ------------------------------------------------------------ */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  --btn-border: var(--ink);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 26px;
  border: 1.5px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s, color 0.2s,
    border-color 0.2s, box-shadow 0.2s;
}

.btn svg {
  width: 17px;
  height: 17px;
}

/* Ghi đè các biến/hover mặc định của Bootstrap cho class .btn */
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -12px rgba(11, 11, 14, 0.5);
  color: var(--btn-fg);
  background-color: var(--btn-bg);
  border-color: var(--btn-border);
}

.btn:active {
  transform: translateY(0);
  background-color: var(--btn-bg);
  border-color: var(--btn-border);
  color: var(--btn-fg);
}

.btn--accent {
  --btn-bg: var(--accent);
  --btn-border: var(--accent);
}

.btn--accent:hover {
  --btn-bg: var(--accent-dark);
  --btn-border: var(--accent-dark);
}

.btn--lime {
  --btn-bg: var(--lime);
  --btn-fg: var(--ink);
  --btn-border: var(--lime);
}

.btn--lime:hover {
  --btn-bg: var(--lime-dark);
  --btn-border: var(--lime-dark);
  color: var(--ink);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: rgba(11, 11, 14, 0.18);
}

.btn--ghost:hover {
  --btn-bg: var(--ink);
  --btn-border: var(--ink);
  --btn-fg: #fff;
}

.btn--light {
  --btn-bg: rgba(255, 255, 255, 0.1);
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
}

.btn--light:hover {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-border: #fff;
}

.btn--block {
  width: 100%;
}

.btn--sm {
  min-height: 42px;
  padding: 0 18px;
  font-size: 12px;
}

.btn[disabled] {
  opacity: 0.45;
  pointer-events: none;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 26px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
}

.badge--sale {
  background: var(--accent);
  color: #fff;
}

.badge--new {
  background: var(--ink);
  color: #fff;
}

.badge--hot {
  background: var(--lime);
  color: var(--ink);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.chip:hover {
  border-color: var(--ink);
}

.chip.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.chip__x {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
  font-size: 11px;
  line-height: 1;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field > span {
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.textarea {
  padding-block: 12px;
  min-height: 120px;
  resize: vertical;
}

.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(11, 11, 14, 0.07);
}

.input.is-invalid,
.select.is-invalid,
.textarea.is-invalid {
  border-color: #d92d20;
  background: #fff8f7;
}

.input.is-invalid:focus,
.select.is-invalid:focus,
.textarea.is-invalid:focus {
  border-color: #d92d20;
  box-shadow: 0 0 0 3px rgba(217, 45, 32, 0.12);
}

.field__error {
  margin-top: 1px;
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.4;
  color: #d92d20;
}

.select {
  appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230b0b0e' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

/* ------------------------------------------------------------
   4. Header, nav, search, mobile menu
   ------------------------------------------------------------ */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: var(--topbar-h);
}

.topbar__msg {
  display: flex;
  align-items: center;
  gap: 10px;
}

.topbar__msg strong {
  color: var(--lime);
  font-weight: 700;
}

.topbar__links {
  display: none;
  align-items: center;
  gap: 22px;
}

.topbar__links a {
  color: rgba(255, 255, 255, 0.72);
}

.topbar__links a:hover {
  color: #fff;
}

.topbar__admin {
  display: inline-flex;
  align-items: center;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink) !important;
  font-weight: 700;
}

.topbar__admin:hover {
  background: #fff;
  color: var(--ink) !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.25s var(--ease), background 0.25s;
}

.site-header.is-stuck {
  box-shadow: 0 8px 28px -18px rgba(11, 11, 14, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 25px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  flex-shrink: 0;
}

.brand:hover {
  color: var(--ink);
}

.brand__mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--lime);
  font-size: 18px;
  font-weight: 900;
  transform: rotate(-6deg);
  transition: transform 0.3s var(--ease), background 0.3s;
}

.brand:hover .brand__mark {
  transform: rotate(6deg);
  background: var(--accent);
  color: #fff;
}

.brand__dot {
  color: var(--accent);
}

.main-nav {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
}

.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 10px 13px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--ink);
  white-space: nowrap;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 13px;
  right: 13px;
  bottom: 5px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease);
}

.nav-link:hover::after,
.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link:hover {
  color: var(--accent);
}

.nav-link.is-active {
  color: var(--accent);
}

.nav-link svg {
  width: 11px;
  height: 11px;
  transition: transform 0.25s;
}

.nav-item {
  position: relative;
}

.nav-item:hover > .nav-link svg {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 224px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease),
    visibility 0.2s;
}

.nav-item:hover .nav-dropdown,
.nav-item:focus-within .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 500;
}

.nav-dropdown a span {
  font-size: 11px;
  color: var(--muted-light);
}

.nav-dropdown a:hover {
  background: var(--bone);
  color: var(--ink);
}

.nav-dropdown__sep {
  height: 1px;
  margin: 6px 8px;
  background: var(--line);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: var(--ink);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

.icon-btn:hover {
  background: var(--bone);
  color: var(--ink);
}

.icon-btn__badge {
  position: absolute;
  top: 2px;
  right: 1px;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 9px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 18px;
  text-align: center;
  transform: scale(0);
  transition: transform 0.25s var(--ease);
}

.icon-btn__badge.is-visible {
  transform: scale(1);
}

.icon-btn--menu {
  display: grid;
}

.header__account {
  display: none;
  align-items: center;
  height: 42px;
  padding: 0 18px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all 0.2s;
}

.header__account:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

#accountLabel {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Search panel */
.search-panel {
  position: absolute;
  inset: 100% 0 auto;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 24px 40px -30px rgba(11, 11, 14, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.25s var(--ease);
}

.search-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.search-panel__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-block: 20px;
}

.search-panel__inner > svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--muted);
}

.search-input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: none;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.search-input:focus {
  outline: none;
}

.search-input::placeholder {
  color: #c3c3c8;
}

.search-close {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.search-close:hover {
  color: var(--ink);
}

.search-results {
  padding-bottom: 8px;
  max-height: 60vh;
  overflow-y: auto;
}

.search-results:not(:empty) {
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.search-result {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 6px;
  border-radius: 10px;
}

.search-result:hover {
  background: var(--bone);
  color: var(--ink);
}

.search-result img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
  background: var(--bone);
}

.search-result__name {
  font-size: 14px;
  font-weight: 600;
}

.search-result__meta {
  font-size: 12px;
  color: var(--muted);
}

.search-result__price {
  margin-left: auto;
  font-size: 13px;
  font-weight: 700;
}

.search-empty {
  padding: 20px 4px;
  color: var(--muted);
  font-size: 14px;
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 120;
  width: min(360px, 88vw);
  display: flex;
  flex-direction: column;
  background: var(--paper);
  transform: translateX(-102%);
  transition: transform 0.4s var(--ease-out);
  overflow-y: auto;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.mobile-menu__body {
  padding: 14px 22px 28px;
}

.mobile-menu__body a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mobile-menu__body a span {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.mobile-menu__label {
  padding: 22px 0 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.mobile-menu__foot {
  margin-top: 26px;
  display: grid;
  gap: 12px;
}

/* ------------------------------------------------------------
   5. Hero slider
   ------------------------------------------------------------ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero__slides {
  position: relative;
  min-height: clamp(520px, 74vh, 740px);
}

.hero__slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease), visibility 0.9s;
}

.hero__slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero__media {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--hero-pos, center);
  transform: scale(1.06);
  transition: transform 8s linear;
}

.hero__slide.is-active .hero__media img {
  transform: scale(1);
}

.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      rgba(8, 8, 10, 0.9) 0%,
      rgba(8, 8, 10, 0.62) 42%,
      rgba(8, 8, 10, 0.18) 72%,
      rgba(8, 8, 10, 0.45) 100%
    ),
    linear-gradient(0deg, rgba(8, 8, 10, 0.55), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: 60px;
}

.hero__content-inner {
  max-width: 640px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 14px 7px 7px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(8px);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__badge b {
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 9px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.hero h1,
.hero__heading {
  font-size: clamp(2.7rem, 6.6vw, 5.4rem);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 0.94;
}

.hero h1 em,
.hero__heading em {
  font-style: normal;
  color: var(--lime);
}

.hero__text {
  max-width: 44ch;
  margin-top: 22px;
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.76);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

/* Nút phụ trên nền tối của hero cần chữ sáng để đủ tương phản */
.hero .btn--ghost {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: #fff;
  --btn-border: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(8px);
}

.hero .btn--ghost:hover {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
  --btn-border: #fff;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.hero__stat b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.hero__stat span {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hero__controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 26px;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  pointer-events: none;
}

.hero__dots {
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
}

.hero__dot {
  width: 34px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.28);
  transition: background 0.3s, width 0.3s var(--ease);
}

.hero__dot.is-active {
  width: 56px;
  background: var(--lime);
}

.hero__arrows {
  display: flex;
  gap: 8px;
  pointer-events: auto;
}

.hero__arrow {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #fff;
  transition: all 0.25s;
}

.hero__arrow svg {
  width: 18px;
  height: 18px;
}

.hero__arrow:hover {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}

.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 96px;
  z-index: 3;
  display: none;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
  writing-mode: vertical-rl;
}

.hero__scroll::after {
  content: "";
  width: 1px;
  height: 54px;
  background: linear-gradient(rgba(255, 255, 255, 0.6), transparent);
}

/* ------------------------------------------------------------
   6. Trust strip & section headings
   ------------------------------------------------------------ */
.trust {
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.trust__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.trust__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 20px;
  background: #fff;
}

.trust__item svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--accent);
}

.trust__item b {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.3;
}

.trust__item span {
  font-size: 12px;
  color: var(--muted);
}

/* ------------------------------------------------------------
   7. Categories & brand row
   ------------------------------------------------------------ */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.cat-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 220px;
  padding: 22px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--ink-soft);
  color: #fff;
  isolation: isolate;
}

.cat-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.cat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    rgba(8, 8, 10, 0.05) 20%,
    rgba(8, 8, 10, 0.72) 100%
  );
  transition: background 0.4s;
}

.cat-card:hover {
  color: #fff;
}

.cat-card:hover img {
  transform: scale(1.07);
}

.cat-card:hover::after {
  background: linear-gradient(
    180deg,
    rgba(8, 8, 10, 0.1) 0%,
    rgba(8, 8, 10, 0.82) 100%
  );
}

.cat-card__label {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.cat-card__count {
  display: block;
  margin-top: 6px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.66);
}

.cat-card__arrow {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(6px);
  transition: all 0.3s;
}

.cat-card__arrow svg {
  width: 15px;
  height: 15px;
}

.cat-card:hover .cat-card__arrow {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  transform: rotate(45deg);
}

.brand-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 148px;
  height: 66px;
  padding: 0 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: all 0.25s var(--ease);
}

.brand-pill:hover,
.brand-pill.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  transform: translateY(-2px);
}

.brand-pill small {
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--muted-light);
}

/* ------------------------------------------------------------
   8. Shop: toolbar, filters, product grid
   ------------------------------------------------------------ */
.shop {
  scroll-margin-top: calc(var(--header-h) + 16px);
}

.shop-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.shop-toolbar__count {
  font-size: 13px;
  color: var(--muted);
}

.shop-toolbar__count b {
  color: var(--ink);
  font-weight: 700;
}

.shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.filter-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
}

.filter-toggle svg {
  width: 15px;
  height: 15px;
}

.sort-select {
  min-height: 40px;
  padding: 0 36px 0 16px;
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  background-position: right 14px center;
}

.shop-filters {
  display: none;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bone);
}

.shop-filters.is-open {
  display: block;
}

.filters__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.filters__head h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filters__reset {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.filter-group {
  padding-block: 18px;
  border-top: 1px solid var(--line);
}

.filter-group:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.filter-group__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.filter-group__title svg {
  width: 12px;
  height: 12px;
  color: var(--muted);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-size: 13.5px;
  cursor: pointer;
  color: var(--ink);
}

.check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.check__box {
  position: relative;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid #c9c9c4;
  border-radius: 5px;
  background: #fff;
  transition: all 0.18s;
}

.check__box::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1.5px;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.18s var(--ease);
}

.check input:checked + .check__box {
  background: var(--ink);
  border-color: var(--ink);
}

.check input:checked + .check__box::after {
  transform: rotate(45deg) scale(1);
}

.check input:focus-visible + .check__box {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.check:hover .check__box {
  border-color: var(--ink);
}

.check__count {
  margin-left: auto;
  font-size: 11.5px;
  color: var(--muted-light);
}

.size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.size-check {
  position: relative;
}

.size-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.size-check span {
  display: grid;
  place-items: center;
  min-width: 42px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid #d9d8d2;
  border-radius: 8px;
  background: #fff;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s;
}

.size-check input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.size-check span:hover {
  border-color: var(--ink);
}

.active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.active-filters:empty {
  display: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}

.grid-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 60px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  color: var(--muted);
}

.grid-empty svg {
  width: 40px;
  height: 40px;
  color: var(--muted-light);
}

.grid-empty b {
  font-family: var(--font-display);
  font-size: 20px;
  color: var(--ink);
}

.load-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* ------------------------------------------------------------
   9. Product card
   ------------------------------------------------------------ */
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  border-radius: var(--radius);
  background: #fff;
  transition: transform 0.3s var(--ease);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bone);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), opacity 0.4s;
}

.product-card__media img.product-card__img--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-4px);
  }

  .product-card:hover .product-card__media img {
    transform: scale(1.05);
  }

  .product-card:hover .product-card__img--alt {
    opacity: 1;
  }
}

.product-card__badges {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.product-card__wish {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  color: var(--ink);
  opacity: 0;
  transform: translateY(-4px);
  transition: all 0.25s var(--ease);
}

.product-card__wish svg {
  width: 16px;
  height: 16px;
}

.product-card__wish.is-active {
  color: var(--accent);
  opacity: 1;
  transform: none;
}

.product-card__wish.is-active svg {
  fill: currentColor;
}

.product-card:hover .product-card__wish {
  opacity: 1;
  transform: none;
}

.product-card__quick {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  border-radius: var(--radius-pill);
  background: rgba(11, 11, 14, 0.92);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}

.product-card__quick svg {
  width: 14px;
  height: 14px;
}

.product-card:hover .product-card__quick,
.product-card__quick:focus-visible {
  opacity: 1;
  transform: none;
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 2px 0;
}

.product-card__brand {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-card__name {
  display: block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
}

.product-card__name:hover {
  color: var(--accent);
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  color: var(--muted);
}

.product-card__rating svg {
  width: 12px;
  height: 12px;
  color: #f5a623;
  fill: #f5a623;
}

.product-card__prices {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.product-card__price {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.product-card__old {
  font-size: 12px;
  color: var(--muted-light);
  text-decoration: line-through;
}

.product-card__off {
  font-size: 10.5px;
  font-weight: 700;
  color: var(--accent);
}

.product-card__actions {
  display: flex;
  gap: 6px;
  margin-top: 8px;
}

.product-card__actions .btn {
  flex: 1;
  min-height: 38px;
  padding: 0 10px;
  font-size: 10.5px;
  letter-spacing: 0.04em;
}

.product-card__actions .btn--ghost {
  border-width: 1px;
}

.product-card__actions .btn svg {
  width: 14px;
  height: 14px;
}

.product-card__swatches {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
}

.swatch {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid rgba(11, 11, 14, 0.14);
}

/* ------------------------------------------------------------
   10. Product detail page
   ------------------------------------------------------------ */
.page-head {
  padding-block: 26px 0;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 0;
  font-size: 12px;
  color: var(--muted);
}

.breadcrumb a:hover {
  color: var(--ink);
}

.breadcrumb svg {
  width: 10px;
  height: 10px;
  color: var(--muted-light);
}

.breadcrumb span {
  color: var(--ink);
  font-weight: 500;
}

.product-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-block: 26px 60px;
}

.product-gallery {
  display: flex;
  flex-direction: column-reverse;
  gap: 12px;
}

.product-gallery__thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.product-gallery__thumb {
  flex: 0 0 78px;
  width: 78px;
  height: 78px;
  border: 1.5px solid transparent;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bone);
  opacity: 0.72;
  transition: all 0.2s;
}

.product-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-gallery__thumb:hover {
  opacity: 1;
}

.product-gallery__thumb.is-active {
  border-color: var(--ink);
  opacity: 1;
}

.product-gallery__main {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--bone);
}

.product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

@media (hover: hover) {
  .product-gallery__main:hover img {
    transform: scale(1.35);
  }
}

.product-gallery__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
}

.product-info {
  display: flex;
  flex-direction: column;
}

.product-info__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-info__brand a {
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.product-info h1 {
  margin-top: 10px;
  font-size: clamp(1.9rem, 3.6vw, 2.8rem);
  letter-spacing: -0.035em;
}

.product-info__rating {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 12.5px;
  color: var(--muted);
}

.stars {
  display: inline-flex;
  gap: 2px;
}

.stars svg {
  width: 14px;
  height: 14px;
  color: #deddd7;
  fill: #deddd7;
}

.stars svg.is-on {
  color: #f5a623;
  fill: #f5a623;
}

.product-info__price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.product-info__price strong {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--accent);
}

.product-info__price del {
  font-size: 15px;
  color: var(--muted-light);
}

.product-info__price .badge {
  height: 24px;
}

.product-info__desc {
  margin-top: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 14px;
  line-height: 1.75;
  color: var(--muted);
}

.option-block {
  margin-top: 22px;
}

.option-block__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.option-block__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.option-block__label b {
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
}

.option-block__link {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.option-block__link:hover {
  color: var(--accent);
}

.option-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.size-btn {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 54px;
  height: 46px;
  padding: 0 12px;
  border: 1px solid #dcdbd5;
  border-radius: 9px;
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.18s;
}

.size-btn:hover {
  border-color: var(--ink);
}

.size-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.size-btn.is-disabled {
  color: #c6c6c1;
  background: #faf9f5;
  border-style: dashed;
  cursor: not-allowed;
  text-decoration: line-through;
}

.option-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.color-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px 0 10px;
  border: 1px solid #dcdbd5;
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 12px;
  font-weight: 600;
  transition: all 0.18s;
}

.color-btn i {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(11, 11, 14, 0.14);
}

.color-btn.is-active {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.product-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 26px;
}

.qty {
  display: inline-flex;
  align-items: center;
  height: 50px;
  border: 1px solid #dcdbd5;
  border-radius: var(--radius-pill);
  overflow: hidden;
  flex-shrink: 0;
}

.qty button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 100%;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.qty button:hover {
  background: var(--bone);
  color: var(--ink);
}

.qty button svg {
  width: 13px;
  height: 13px;
}

.qty input {
  width: 34px;
  height: 100%;
  border: 0;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  -moz-appearance: textfield;
  background: transparent;
}

.qty input::-webkit-outer-spin-button,
.qty input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.product-buy .btn {
  flex: 1;
  min-width: 150px;
}

.product-buy .btn--icon {
  flex: 0 0 50px;
  min-width: 50px;
  padding: 0;
  border-radius: 50%;
}

.product-buy .btn--icon svg {
  width: 18px;
  height: 18px;
}

.product-perks {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bone);
}

.product-perks li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  line-height: 1.5;
}

.product-perks svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--green);
  margin-top: 2px;
}

.product-perks b {
  font-weight: 700;
}

.accordion {
  margin-top: 26px;
  border-top: 1px solid var(--line);
}

.accordion__item {
  border-bottom: 1px solid var(--line);
}

.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 18px 0;
  font-size: 13.5px;
  font-weight: 700;
  text-align: left;
}

.accordion__trigger svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.accordion__item.is-open .accordion__trigger svg {
  transform: rotate(45deg);
}

.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.accordion__item.is-open .accordion__panel {
  grid-template-rows: 1fr;
}

.accordion__panel > div {
  overflow: hidden;
}

.accordion__panel p,
.accordion__panel ul {
  padding-bottom: 20px;
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--muted);
}

.accordion__panel li {
  display: flex;
  gap: 10px;
  padding: 3px 0;
}

.accordion__panel li::before {
  content: "";
  width: 5px;
  height: 5px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.related {
  padding-block: 20px 80px;
}

.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  padding: 100px 20px;
  text-align: center;
}

.not-found b {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.not-found p {
  max-width: 44ch;
  color: var(--muted);
}

/* ------------------------------------------------------------
   11. Promo banner
   ------------------------------------------------------------ */
.promo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--lime);
  color: var(--ink);
  isolation: isolate;
}

.promo__grid {
  display: grid;
  grid-template-columns: 1fr;
}

.promo__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
  padding: clamp(30px, 5vw, 64px);
}

.promo__body h2 {
  max-width: 12ch;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: 900;
  letter-spacing: -0.045em;
  text-transform: uppercase;
  line-height: 0.96;
}

.promo__body p {
  max-width: 42ch;
  font-size: 14px;
  line-height: 1.7;
  color: rgba(11, 11, 14, 0.68);
}

.promo__media {
  position: relative;
  min-height: 280px;
}

.promo__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.promo__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--lime);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.promo__count {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.promo__count div {
  min-width: 62px;
  padding: 10px 8px;
  border-radius: 10px;
  background: rgba(11, 11, 14, 0.08);
  text-align: center;
}

.promo__count b {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.1;
}

.promo__count span {
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(11, 11, 14, 0.55);
}

/* ------------------------------------------------------------
   12. Footer & newsletter
   ------------------------------------------------------------ */
.newsletter {
  border-top: 1px solid var(--line);
  background: var(--bone);
}

.newsletter__inner {
  display: grid;
  gap: 24px;
  padding-block: clamp(34px, 5vw, 54px);
}

.newsletter h3 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  letter-spacing: -0.03em;
}

.newsletter p {
  margin-top: 8px;
  max-width: 46ch;
  color: var(--muted);
  font-size: 13.5px;
}

.newsletter__form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter__input-wrap {
  position: relative;
  flex: 1;
}

.newsletter__input-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 17px;
  height: 17px;
  color: var(--muted-light);
  pointer-events: none;
}

.newsletter .input {
  height: 52px;
  padding-left: 44px;
  border-radius: var(--radius-pill);
}

.newsletter__note {
  font-size: 11.5px;
  color: var(--muted-light);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.64);
  font-size: 13.5px;
}

.footer__top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-block: clamp(44px, 6vw, 70px);
}

.footer__brand .brand {
  color: #fff;
}

.footer__brand .brand__mark {
  background: var(--lime);
  color: var(--ink);
}

.footer__brand p {
  max-width: 34ch;
  margin-top: 16px;
  line-height: 1.75;
}

.footer__socials {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer__socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.8);
  transition: all 0.25s;
}

.footer__socials svg {
  width: 16px;
  height: 16px;
}

.footer__socials a:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  transform: translateY(-2px);
}

.footer__col h4 {
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer__col ul {
  display: grid;
  gap: 10px;
}

.footer__col a {
  color: rgba(255, 255, 255, 0.62);
}

.footer__col a:hover {
  color: #fff;
}

.footer__contact {
  display: grid;
  gap: 14px;
}

.footer__contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.6;
}

.footer__contact svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--lime);
}

.footer__contact b {
  display: block;
  color: #fff;
  font-weight: 600;
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-block: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__pay {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.footer__pay span {
  padding: 4px 9px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 4px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------------------------------------
   13. Cart drawer
   ------------------------------------------------------------ */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
}

.scrim.is-active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 110;
  display: flex;
  flex-direction: column;
  width: min(460px, 100vw);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(102%);
  transition: transform 0.45s var(--ease-out);
}

.cart-drawer.is-open {
  transform: translateX(0);
}

.cart-drawer__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-drawer__head h2 {
  font-size: 20px;
  letter-spacing: -0.02em;
}

.cart-drawer__count {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--bone);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 700;
  color: var(--muted);
}

.cart-drawer__close {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--bone);
  transition: all 0.2s;
}

.cart-drawer__close svg {
  width: 16px;
  height: 16px;
}

.cart-drawer__close:hover {
  background: var(--ink);
  color: #fff;
}

.cart-shipping {
  padding: 14px 22px;
  border-bottom: 1px solid var(--line);
  background: var(--bone);
}

.cart-shipping p {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: var(--ink);
}

.cart-shipping p svg {
  width: 15px;
  height: 15px;
  color: var(--green);
  flex-shrink: 0;
}

.cart-shipping__bar {
  height: 5px;
  margin-top: 10px;
  border-radius: 3px;
  background: #e2e1da;
  overflow: hidden;
}

.cart-shipping__bar i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 3px;
  background: var(--green);
  transition: width 0.5s var(--ease);
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 8px 22px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 100%;
  min-height: 280px;
  text-align: center;
}

.cart-empty__icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--bone);
  color: var(--muted);
}

.cart-empty__icon svg {
  width: 30px;
  height: 30px;
}

.cart-empty b {
  font-family: var(--font-display);
  font-size: 19px;
}

.cart-empty p {
  max-width: 30ch;
  font-size: 13px;
  color: var(--muted);
}

.cart-empty .btn {
  margin-top: 14px;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item__img {
  flex: 0 0 88px;
  width: 88px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bone);
}

.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
  flex: 1;
}

.cart-item__brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.cart-item__name {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.cart-item__meta {
  font-size: 11.5px;
  color: var(--muted);
}

.cart-item__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.cart-item__price {
  font-size: 13.5px;
  font-weight: 700;
}

.cart-item__price del {
  margin-left: 6px;
  font-size: 11px;
  font-weight: 400;
  color: var(--muted-light);
}

.cart-item__remove {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  color: var(--muted);
  transition: all 0.2s;
}

.cart-item__remove svg {
  width: 15px;
  height: 15px;
}

.cart-item__remove:hover {
  background: var(--accent-soft);
  color: var(--accent);
}

.qty--sm {
  height: 30px;
  border-radius: 6px;
}

.qty--sm button {
  width: 26px;
}

.qty--sm button svg {
  width: 10px;
  height: 10px;
}

.qty--sm input {
  width: 26px;
  font-size: 12px;
}

.cart-drawer__foot {
  padding: 18px 22px 22px;
  border-top: 1px solid var(--line);
  background: #fff;
}

.cart-total {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.cart-total__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--muted);
}

.cart-total__row b {
  color: var(--ink);
  font-weight: 600;
}

.cart-total__row--grand {
  padding-top: 10px;
  border-top: 1px dashed var(--line);
  font-size: 14px;
  color: var(--ink);
}

.cart-total__row--grand b {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.cart-drawer__foot .btn {
  min-height: 52px;
}

.cart-drawer__note {
  margin-top: 10px;
  font-size: 11px;
  text-align: center;
  color: var(--muted-light);
}

/* ------------------------------------------------------------
   14. Modals
   ------------------------------------------------------------ */
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 130;
  display: grid;
  place-items: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
  overflow-y: auto;
}

.modal-layer.is-open {
  opacity: 1;
  visibility: visible;
}

.modal {
  position: relative;
  display: block;
  width: min(940px, 100%);
  height: auto;
  max-height: calc(100vh - 36px);
  overflow-y: auto;
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateY(18px) scale(0.98);
  transition: transform 0.35s var(--ease-out);
}

.modal-layer.is-open .modal {
  transform: none;
}

.modal--sm {
  width: min(560px, 100%);
}

.modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  transition: all 0.2s;
}

.modal__close svg {
  width: 16px;
  height: 16px;
}

.modal__close:hover {
  background: var(--ink);
  color: #fff;
}

.quick-view {
  display: grid;
  grid-template-columns: 1fr;
}

.quick-view__media {
  position: relative;
  aspect-ratio: 1;
  background: var(--bone);
  overflow: hidden;
}

.quick-view__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.quick-view__body {
  padding: 26px 24px;
}

.quick-view__body h3 {
  margin-top: 6px;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  letter-spacing: -0.03em;
}

.quick-view__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.quick-view__price strong {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--accent);
}

.quick-view__price del {
  font-size: 13px;
  color: var(--muted-light);
}

.quick-view__desc {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--muted);
}

.quick-view__actions {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.quick-view__actions .btn {
  flex: 1;
}

.modal__head {
  padding: 24px 24px 0;
}

.modal__head h2 {
  font-size: 24px;
  letter-spacing: -0.03em;
}

.modal__head p {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 22px 24px 26px;
}

.checkout-form {
  display: grid;
  gap: 12px;
}

.checkout-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Tài khoản: tab Đăng nhập / Đăng ký */
.account-tabs {
  display: flex;
  gap: 5px;
  margin: 18px 24px 0;
  padding: 5px;
  border-radius: 12px;
  background: var(--bone);
}

.account-tab {
  flex: 1;
  min-height: 40px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.account-tab:hover {
  color: var(--ink);
}

.account-tab.is-active {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 3px 12px rgba(11, 11, 14, 0.08);
}

.account-tab:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.account-panel[hidden] {
  display: none;
}

.account-form {
  padding: 18px 24px 26px;
}

.account-form .field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.auth-terms {
  align-items: flex-start;
  margin-top: 2px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--muted);
}

.auth-terms .check__box {
  margin-top: 1px;
}

.auth-terms.is-invalid .check__box {
  border-color: #d92d20;
  background: #fff8f7;
}

.auth-fineprint {
  font-size: 11.5px;
  line-height: 1.55;
  color: var(--muted-light);
}

.auth-fineprint a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.auth-hint {
  padding: 10px 12px;
  border-radius: 8px;
  background: var(--bone);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--muted);
}

.auth-hint b {
  color: var(--ink);
}

.auth-switch {
  font-size: 12.5px;
  text-align: center;
  color: var(--muted);
}

.auth-link {
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  font-weight: 700;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.auth-link:hover {
  color: var(--ink);
}

/* Lịch sử đơn hàng trong modal tài khoản */
.account-orders {
  display: grid;
  gap: 10px;
  padding: 18px 24px 26px;
}

.account-order {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.account-order__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.account-order__head b {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.01em;
}

.account-order__meta {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11.5px;
}

.account-order__items {
  display: grid;
  gap: 3px;
  margin: 9px 0;
  padding: 9px 10px;
  border-radius: 9px;
  background: var(--bone);
}

.account-order__items span {
  font-size: 12px;
  font-weight: 600;
}

.account-order__items small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 10.5px;
  font-weight: 500;
}

.account-order__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px dashed var(--line);
  font-size: 12px;
  color: var(--muted);
}

.account-order__total b {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--ink);
}

.order-status {
  display: inline-flex;
  padding: 2px 9px;
  border-radius: 999px;
  font-size: 10.5px;
  font-weight: 700;
  white-space: nowrap;
}

.order-status--warning {
  background: #fef3c7;
  color: #926200;
}

.order-status--info {
  background: #dbeafe;
  color: #1d4ed8;
}

.order-status--success {
  background: #dcfce7;
  color: #15803d;
}

.order-status--danger {
  background: #fee2e2;
  color: #b91c1c;
}

.account-empty {
  padding: 24px 16px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  text-align: center;
}

.account-empty b {
  display: block;
  font-family: var(--font-display);
  font-size: 16px;
}

.account-empty p {
  margin: 5px 0 14px;
  color: var(--muted);
  font-size: 12.5px;
}

.account-empty .btn {
  display: inline-flex;
}

@media (max-width: 560px) {
  .account-form .field-row {
    grid-template-columns: 1fr;
  }
}

.checkout-summary {
  padding: 18px;
  border-radius: var(--radius);
  background: var(--bone);
  align-self: start;
}

.checkout-summary h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.checkout-summary__items {
  display: grid;
  gap: 10px;
  max-height: 210px;
  margin-top: 14px;
  overflow-y: auto;
}

.checkout-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}

.checkout-line img {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  object-fit: cover;
  background: #fff;
}

.checkout-line__name {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.checkout-line__name small {
  display: block;
  color: var(--muted);
  font-size: 10.5px;
}

.checkout-line b {
  font-size: 12px;
  white-space: nowrap;
}

.checkout-summary__totals {
  display: grid;
  gap: 6px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed #d7d6cf;
  font-size: 12px;
}

.checkout-summary__totals div {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
}

.checkout-summary__totals div:last-child {
  padding-top: 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}

.pay-methods {
  display: grid;
  gap: 8px;
}

.pay-method {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 12.5px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}

.pay-method input {
  accent-color: var(--ink);
}

.pay-method:has(input:checked) {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
}

.pay-method small {
  margin-left: auto;
  color: var(--muted);
  font-size: 11px;
}

.checkout-success {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 44px 28px 40px;
  text-align: center;
}

.checkout-success.is-visible {
  display: flex;
}

.checkout-success__icon {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin-bottom: 6px;
  border-radius: 50%;
  background: #e7f7ee;
  color: var(--green);
  animation: pop 0.5s var(--ease-out);
}

.checkout-success__icon svg {
  width: 32px;
  height: 32px;
}

.checkout-success h2 {
  font-size: 26px;
  letter-spacing: -0.03em;
}

.checkout-success p {
  max-width: 40ch;
  color: var(--muted);
  font-size: 13.5px;
}

.checkout-success__code {
  margin-top: 6px;
  padding: 10px 18px;
  border: 1px dashed var(--line);
  border-radius: 10px;
  background: var(--bone);
  font-size: 12px;
  letter-spacing: 0.06em;
}

.checkout-success__code b {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.02em;
}

.checkout-success .btn {
  margin-top: 14px;
}

@keyframes pop {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* ------------------------------------------------------------
   15. Toast
   ------------------------------------------------------------ */
.notice-stack {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 200;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(360px, calc(100vw - 36px));
  pointer-events: none;
}

.notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 15px;
  border-radius: 12px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  line-height: 1.45;
  pointer-events: auto;
  animation: notice-in 0.4s var(--ease-out);
}

.notice.is-leaving {
  animation: notice-out 0.3s var(--ease) forwards;
}

.notice img {
  width: 40px;
  height: 40px;
  border-radius: 7px;
  object-fit: cover;
}

.notice__icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--lime);
  color: var(--ink);
}

.notice__icon svg {
  width: 15px;
  height: 15px;
}

.notice__body {
  flex: 1;
  min-width: 0;
}

.notice__body b {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
}

.notice__body span {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.62);
}

@keyframes notice-in {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes notice-out {
  to {
    opacity: 0;
    transform: translateY(8px) scale(0.97);
  }
}

/* ------------------------------------------------------------
   16. Static pages (contact / policy)
   ------------------------------------------------------------ */
.page-hero {
  padding-block: clamp(32px, 5vw, 56px);
  border-bottom: 1px solid var(--line);
  background: var(--bone);
}

.page-hero h1 {
  margin-top: 10px;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  letter-spacing: -0.04em;
}

.page-hero p {
  max-width: 56ch;
  margin-top: 12px;
  color: var(--muted);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  padding-block: clamp(36px, 5vw, 64px);
}

.contact-card {
  display: flex;
  gap: 14px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.contact-card__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: var(--bone);
  color: var(--ink);
}

.contact-card__icon svg {
  width: 19px;
  height: 19px;
}

.contact-card b {
  display: block;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.contact-card p,
.contact-card a {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-form {
  display: grid;
  gap: 14px;
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
}

.contact-form h2 {
  font-size: 21px;
  letter-spacing: -0.02em;
}

.contact-form .field-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.map-frame {
  position: relative;
  min-height: 320px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bone) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 0h40v40H0z' fill='%23f6f5f0'/%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23e7e6e0' stroke-width='1'/%3E%3C/svg%3E");
  display: grid;
  place-items: center;
  text-align: center;
  padding: 24px;
  border: 1px solid var(--line);
}

.map-frame__pin {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-inline: auto;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
}

.map-frame__pin svg {
  width: 24px;
  height: 24px;
}

.map-frame b {
  display: block;
  font-family: var(--font-display);
  font-size: 17px;
}

.map-frame p {
  margin-top: 4px;
  font-size: 13px;
  color: var(--muted);
}

.policy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
  padding-block: clamp(34px, 5vw, 60px);
}

.policy-nav {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.policy-nav a {
  flex: 0 0 auto;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}

.policy-nav a.is-active,
.policy-nav a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}

.policy-body h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  letter-spacing: -0.035em;
}

.policy-body h2 {
  margin-top: 34px;
  font-size: 19px;
  letter-spacing: -0.02em;
}

.policy-body h3 {
  margin-top: 22px;
  font-size: 15px;
}

.policy-body p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.8;
  color: var(--muted);
}

.policy-body ul,
.policy-body ol {
  display: grid;
  gap: 8px;
  margin-top: 12px;
  padding-left: 0;
  list-style: none;
  counter-reset: item;
}

.policy-body ul li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.policy-body ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.policy-body ol li {
  position: relative;
  padding-left: 34px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
  counter-increment: item;
}

.policy-body ol li::before {
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  color: var(--ink);
}

.policy-note {
  margin-top: 22px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 0 10px 10px 0;
  background: var(--bone);
  font-size: 13.5px;
  line-height: 1.7;
  color: var(--muted);
}

.policy-body table {
  width: 100%;
  margin-top: 16px;
  border-collapse: collapse;
  font-size: 13px;
}

.policy-body th,
.policy-body td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  color: var(--muted);
}

.policy-body th {
  background: var(--bone);
  color: var(--ink);
  font-weight: 600;
}

/* ------------------------------------------------------------
   17. Responsive
   ------------------------------------------------------------ */
@media (min-width: 576px) {
  .trust__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .newsletter__form {
    flex-direction: row;
  }

  .newsletter__form .btn {
    flex-shrink: 0;
  }

  .product-gallery__thumb {
    flex-basis: 88px;
    width: 88px;
    height: 88px;
  }

  .footer__bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
    --header-h: 80px;
  }

  .cat-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .cat-card {
    min-height: 300px;
  }

  .product-grid {
    gap: 26px 20px;
  }

  .product-card__body {
    padding-top: 16px;
  }

  .product-card__name {
    font-size: 16px;
  }

  .product-card__price {
    font-size: 17px;
  }

  .product-card__actions .btn {
    min-height: 40px;
    font-size: 11px;
  }

  .promo__grid {
    grid-template-columns: 1.05fr 1fr;
  }

  .promo__media {
    min-height: 420px;
  }

  .quick-view {
    grid-template-columns: 0.95fr 1fr;
  }

  .quick-view__media {
    aspect-ratio: auto;
    min-height: 100%;
  }

  .checkout-grid {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
    gap: 48px;
  }

  .contact-form .field-row {
    grid-template-columns: 1fr 1fr;
  }

  .policy-layout {
    grid-template-columns: 220px 1fr;
    gap: 48px;
  }

  .policy-nav {
    flex-direction: column;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
    overflow: visible;
  }

  .footer__top {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer__top .footer__col--contact {
    grid-column: 1 / -1;
  }

  .topbar__links {
    display: flex;
  }

  .product-detail {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    padding-block: 32px 72px;
  }

  .product-gallery {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    align-self: start;
    flex-direction: row-reverse;
  }

  .product-gallery__main {
    flex: 1;
  }

  .product-gallery__thumbs {
    flex-direction: column;
    overflow: visible;
  }

  .product-gallery__thumb {
    flex: 0 0 80px;
  }

  .product-info {
    padding-top: 8px;
  }

  .product-gallery__thumb {
    flex-basis: 80px;
    width: 80px;
    height: 80px;
  }

  .hero__scroll {
    display: flex;
  }

  .newsletter__inner {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 40px;
  }
}

@media (min-width: 992px) {
  .main-nav {
    display: flex;
  }

  .icon-btn--menu {
    display: none;
  }

  .header__account {
    display: inline-flex;
  }

  .shop-layout {
    grid-template-columns: 264px minmax(0, 1fr);
    gap: 40px;
  }

  .shop-filters {
    display: block;
    position: sticky;
    top: calc(var(--header-h) + 20px);
    align-self: start;
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow-y: auto;
  }

  .filter-toggle {
    display: none;
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .footer__top {
    grid-template-columns: 1.5fr 0.8fr 0.8fr 1.2fr;
  }

  .footer__top .footer__col--contact {
    grid-column: auto;
  }
}

@media (min-width: 1200px) {
  .product-grid {
    gap: 32px 22px;
  }

  .hero__content-inner {
    max-width: 700px;
  }
}

@media (max-width: 991.98px) {
  .nav-dropdown {
    display: none;
  }
}

@media (max-width: 767.98px) {
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
  }

  .topbar__msg span {
    display: none;
  }

  .hero__controls {
    bottom: 18px;
  }

  .hero__arrows {
    display: none;
  }

  .hero__meta {
    gap: 20px;
  }

  .hero__stat b {
    font-size: 18px;
  }

  .hero__scroll {
    display: none;
  }

  .product-card__wish {
    opacity: 1;
    transform: none;
    width: 30px;
    height: 30px;
  }

  .product-card__quick {
    display: none;
  }

  .product-card__actions .btn {
    font-size: 10px;
    padding: 0 8px;
  }

  .trust__item {
    padding: 16px 14px;
    gap: 10px;
  }

  .trust__item svg {
    width: 20px;
    height: 20px;
  }

  .trust__item b {
    font-size: 12px;
  }

  .trust__item span {
    font-size: 10.5px;
  }

  .newsletter__form {
    width: 100%;
  }

  .checkout-form .field-row {
    grid-template-columns: 1fr;
  }

  .modal {
    max-height: calc(100vh - 24px);
  }

  .quick-view__body {
    padding: 20px 18px 24px;
  }
}

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

  .hero__media img {
    transform: none !important;
  }
}
