/* =========================================================
   PhoneAccessories.us — storefront stylesheet
   Sections: tokens / base / header / hero / trust / sections
             products / promo / reviews / newsletter / footer
             drawer / toasts / shop / product / cart / responsive
   ========================================================= */

/* ---------- tokens ---------- */
:root {
  --ink: #12141a;
  --ink-2: #1e212b;
  --muted: #6b7280;
  --muted-2: #8b919c;
  --line: #e6e6ea;
  --line-2: #f0f0f3;
  --paper: #ffffff;
  --bg: #f7f7f9;
  --accent: #ff4d2d;
  --accent-dark: #e23a1c;
  --accent-soft: #fff1ee;
  --violet: #5b3df5;
  --sun: #ffc94d;
  --leaf: #15a37a;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18, 20, 26, .06), 0 2px 8px rgba(18, 20, 26, .04);
  --shadow-md: 0 6px 24px rgba(18, 20, 26, .10);
  --shadow-lg: 0 18px 60px rgba(18, 20, 26, .16);
  --header-h: 76px;
  --maxw: 1240px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 760;
  letter-spacing: -.022em;
  line-height: 1.15;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h2 { font-size: clamp(1.35rem, 2.3vw, 1.85rem); }
h3 { font-size: 1.05rem; letter-spacing: -.012em; }
p { margin: 0; }

button { font: inherit; color: inherit; }
button, [role="button"] { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(255, 77, 45, .45);
  outline-offset: 2px;
  border-radius: 6px;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 46px 0; }

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

.skip-link {
  position: absolute;
  left: 12px; top: -60px;
  z-index: 999;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  transition: top .15s;
}
.skip-link:focus { top: 12px; color: #fff; }

.sprite { display: none; }

.icon {
  width: 20px; height: 20px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  vertical-align: middle;
}

.icon--star { fill: currentColor; stroke: none; width: 15px; height: 15px; }
.icon--star.is-empty { fill: #d9dbe1; }
.icon--product {
  width: 104px; height: 104px;
  stroke-width: 1.05;
  color: rgba(18, 20, 26, .82);
}

.muted { color: var(--muted); }
.small { font-size: .85rem; }
.row-between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.eyebrow {
  margin: 0 0 8px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow--light { color: rgba(255, 255, 255, .78); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: -.005em;
  text-align: center;
  transition: transform .16s var(--ease), background .16s, box-shadow .16s, color .16s;
}
.btn:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 77, 45, .28);
}
.btn:active { transform: translateY(0); }
.btn .icon { width: 17px; height: 17px; }
.btn--block { display: flex; width: 100%; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: #fff; color: var(--ink); box-shadow: 0 8px 18px rgba(0, 0, 0, .18); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; color: #fff; box-shadow: 0 8px 18px rgba(0, 0, 0, .25); }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover {
  background: var(--bg);
  color: var(--ink);
  border-color: #d5d6dc;
  box-shadow: none;
}
.btn[disabled] { opacity: .55; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .9rem;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.link-arrow .icon { width: 16px; height: 16px; transition: transform .18s var(--ease); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* ---------- topbar ---------- */
.topbar {
  background: var(--ink);
  color: rgba(255, 255, 255, .82);
  font-size: .78rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 38px;
}
.topbar__msg { display: flex; align-items: center; gap: 8px; }
.topbar__msg .icon { width: 16px; height: 16px; color: var(--sun); }
.topbar__links { display: flex; align-items: center; gap: 20px; }
.topbar__links a { color: rgba(255, 255, 255, .72); }
.topbar__links a:hover { color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: var(--header-h);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: none;
  color: var(--ink);
}
.logo:hover { color: var(--ink); }
.logo__mark {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(255, 77, 45, .3);
}
.logo__mark .icon { width: 21px; height: 21px; stroke-width: 1.9; }
.logo__text {
  font-size: 1.16rem;
  font-weight: 500;
  letter-spacing: -.03em;
  white-space: nowrap;
}
.logo__text b { font-weight: 800; }
.logo__tld { color: var(--muted-2); font-weight: 500; }

.search {
  display: flex;
  align-items: stretch;
  flex: 1 1 auto;
  max-width: 660px;
  height: 46px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  transition: box-shadow .16s, border-color .16s;
}
.search:focus-within { box-shadow: 0 0 0 4px rgba(18, 20, 26, .08); }
.search__cat {
  flex: none;
  max-width: 152px;
  padding: 0 10px 0 16px;
  border: 0;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
  background-position: calc(100% - 15px) 20px, calc(100% - 10px) 20px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.search__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 0 6px 0 16px;
  border: 0;
  background: transparent;
  font-size: .94rem;
  color: var(--ink);
  outline: none;
}
.search__input::placeholder { color: var(--muted-2); }
.search__btn {
  flex: none;
  width: 52px;
  border: 0;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
  transition: background .16s;
}
.search__btn:hover { background: var(--accent); }
.search__btn .icon { width: 19px; height: 19px; stroke-width: 2; }

.header-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: none;
  margin-left: auto;
}
.action-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  transition: background .15s, color .15s;
}
.action-btn:hover { background: var(--bg); color: var(--accent); }
.action-btn .icon { width: 22px; height: 22px; stroke-width: 1.6; }
.menu-toggle { display: none; }

.badge-count {
  position: absolute;
  top: 2px; right: 1px;
  min-width: 18px; height: 18px;
  padding: 0 5px;
  border-radius: 99px;
  background: var(--accent);
  color: #fff;
  font-size: .68rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
  box-shadow: 0 0 0 2px #fff;
}
.badge-count[hidden] { display: none; }

/* ---------- category nav ---------- */
.catnav { border-top: 1px solid var(--line-2); background: #fff; }
.catnav__inner {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.catnav__inner::-webkit-scrollbar { display: none; }
.catnav__link {
  position: relative;
  flex: none;
  padding: 13px 12px;
  font-size: .86rem;
  font-weight: 600;
  color: #3d414c;
  white-space: nowrap;
  transition: color .15s;
}
.catnav__link::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform .18s var(--ease);
}
.catnav__link:hover { color: var(--ink); }
.catnav__link:hover::after,
.catnav__link.is-active::after { transform: scaleX(1); }
.catnav__link.is-active { color: var(--ink); font-weight: 700; }
.catnav__link--sale { color: var(--accent); font-weight: 700; }

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 6px 0 14px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu .container { display: grid; gap: 2px; }
.mobile-menu a {
  padding: 11px 2px;
  font-size: .95rem;
  border-bottom: 1px solid var(--line-2);
}
.mobile-menu__sale { color: var(--accent); font-weight: 700; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 316px;
  gap: 18px;
  padding-top: 26px;
  padding-bottom: 8px;
}

.hero-main {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
}

.slide {
  display: none;
  grid-template-columns: minmax(0, 1fr) 190px;
  align-items: center;
  gap: 10px;
  min-height: 372px;
  padding: 44px 20px 58px 42px;
  color: #fff;
  background: var(--ink);
  animation: fade .38s var(--ease);
}
.slide.is-active { display: grid; }
@keyframes fade { from { opacity: .25; } to { opacity: 1; } }

.slide[data-theme="ink"] {
  background:
    radial-gradient(760px 380px at 88% 16%, rgba(255, 77, 45, .5), transparent 62%),
    linear-gradient(120deg, #15171f 0%, #23262f 100%);
}
.slide[data-theme="violet"] {
  background:
    radial-gradient(700px 360px at 86% 20%, rgba(255, 201, 77, .38), transparent 60%),
    linear-gradient(120deg, #3a24c9 0%, #6a4bff 100%);
}
.slide[data-theme="sun"] {
  background:
    radial-gradient(700px 360px at 88% 22%, rgba(255, 255, 255, .5), transparent 58%),
    linear-gradient(120deg, #f0771a 0%, #ffb43d 100%);
  color: #2a1703;
}
.slide[data-theme="sun"] .eyebrow--light { color: rgba(42, 23, 3, .7); }
.slide[data-theme="sun"] .slide__sub { color: rgba(42, 23, 3, .82); }

.slide__copy { max-width: 520px; position: relative; z-index: 2; }
.slide__copy h1,
.slide__copy h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.85rem);
  line-height: 1.06;
  letter-spacing: -.035em;
}
.slide__sub {
  margin: 14px 0 26px;
  max-width: 40ch;
  color: rgba(255, 255, 255, .8);
  font-size: 1rem;
}
.slide[data-theme="sun"] .btn { background: #2a1703; }
.slide[data-theme="sun"] .btn:hover { background: #000; }

.slide__art {
  position: relative;
  display: grid;
  place-items: center;
  height: 100%;
}
.slide__art .icon {
  width: 165px; height: 165px;
  stroke-width: .85;
  color: rgba(255, 255, 255, .5);
  transform: rotate(-8deg);
}
.slide[data-theme="sun"] .slide__art .icon { color: rgba(42, 23, 3, .35); }

.hero-controls {
  position: absolute;
  left: 42px; bottom: 22px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
}
.hero-arrow {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background .15s, border-color .15s;
}
.hero-arrow:hover { background: rgba(255, 255, 255, .22); border-color: rgba(255, 255, 255, .5); }
.hero-arrow .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.hero-main[data-active="sun"] .hero-arrow { color: #2a1703; border-color: rgba(42, 23, 3, .3); }

.dots { display: flex; align-items: center; gap: 7px; }
.dot {
  width: 7px; height: 7px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .42);
  transition: width .2s var(--ease), background .2s;
}
.dot.is-active { width: 22px; background: #fff; }
.hero-main[data-active="sun"] .dot { background: rgba(42, 23, 3, .35); }
.hero-main[data-active="sun"] .dot.is-active { background: #2a1703; }

.hero-side { display: grid; grid-template-rows: 1fr 1fr; gap: 18px; }
.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 8px;
  min-height: 0;
  padding: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.promo-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; }
.promo-card h2 { font-size: 1.22rem; line-height: 1.15; max-width: 15ch; }
.promo-card--a { background: #eef1ff; color: #1d1f2b; }
.promo-card--a .eyebrow { color: var(--violet); }
.promo-card--b { background: var(--accent-soft); color: #2a1510; }
.promo-card--b .eyebrow { color: var(--accent-dark); }
.promo-card__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--ink);
}
.promo-card__link .icon { width: 15px; height: 15px; }
.promo-card__art {
  position: absolute;
  right: -14px; top: -10px;
  width: 118px; height: 118px;
  stroke-width: .9;
  opacity: .22;
  transform: rotate(-10deg);
}

/* ---------- trust ---------- */
.trust {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.trust li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-right: 1px solid var(--line-2);
}
.trust li:last-child { border-right: 0; }
.trust__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: 10px;
  background: var(--bg);
  color: var(--ink);
}
.trust__icon .icon { width: 19px; height: 19px; }
.trust strong { display: block; font-size: .88rem; }
.trust span { font-size: .78rem; color: var(--muted); }

/* ---------- section headers ---------- */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}
.section-head h2 { letter-spacing: -.03em; }

.countdown {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
}
.countdown__time {
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.countdown__label { opacity: .72; font-weight: 600; }

/* ---------- category tiles ---------- */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}
.cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 18px 8px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: .78rem;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  transition: border-color .16s, transform .16s var(--ease), box-shadow .16s;
}
.cat-card:hover {
  color: var(--ink);
  border-color: #cfd1d9;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.cat-card__icon {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  transition: background .16s, color .16s;
}
.cat-card:hover .cat-card__icon { background: var(--accent-soft); color: var(--accent); }
.cat-card__icon .icon { width: 23px; height: 23px; }

/* ---------- product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s var(--ease);
}
.card:hover {
  border-color: #d8dae1;
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.card__media {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
}
.card__media .icon--product { transition: transform .3s var(--ease); }
.card:hover .card__media .icon--product { transform: scale(1.07) rotate(-3deg); }

.media--cases     { background: linear-gradient(145deg, #eef1ff, #dfe4ff); }
.media--screen    { background: linear-gradient(145deg, #e9f7f4, #d3efe8); }
.media--charging  { background: linear-gradient(145deg, #fff3e0, #ffe2b8); }
.media--cables    { background: linear-gradient(145deg, #f2edff, #e4d9ff); }
.media--power     { background: linear-gradient(145deg, #eaf4e4, #d7ebcd); }
.media--audio     { background: linear-gradient(145deg, #ffeceb, #ffd8d4); }
.media--mounts    { background: linear-gradient(145deg, #e8f1fb, #d2e3f5); }
.media--wear      { background: linear-gradient(145deg, #fdeef6, #f7d9e9); }

.tag {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.tag--sale { background: var(--accent); color: #fff; }
.tag--new { background: var(--ink); color: #fff; }
.tag--out { background: #6b7280; color: #fff; }

.wish {
  position: absolute;
  top: 10px; right: 10px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 50%;
  background: rgba(255, 255, 255, .82);
  color: #4a4e59;
  backdrop-filter: blur(4px);
  transition: background .15s, color .15s, transform .15s;
}
.wish:hover { background: #fff; color: var(--accent); transform: scale(1.06); }
.wish .icon { width: 16px; height: 16px; }
.wish[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.wish[aria-pressed="true"] .icon { fill: currentColor; stroke: currentColor; }

.card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 6px;
  padding: 14px 15px 16px;
}
.card__cat {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.card__title {
  font-size: .93rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.005em;
}
.card__title a:hover { color: var(--accent); }

.rating {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .78rem;
  font-weight: 600;
  color: #3d414c;
}
.rating__count { color: var(--muted-2); font-weight: 500; margin-left: 2px; }

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 2px;
}
.price { font-size: 1.08rem; font-weight: 800; letter-spacing: -.02em; }
.price--was { font-size: .84rem; color: var(--muted-2); font-weight: 500; }
.price--off { font-size: .74rem; font-weight: 800; color: var(--leaf); }

.card .btn { margin-top: auto; padding: 10px 14px; font-size: .84rem; }
.card__body .btn { margin-top: 10px; }

/* ---------- promo split ---------- */
.promo-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.promo-banner {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 250px;
  padding: 34px 38px;
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s var(--ease), box-shadow .2s;
}
.promo-banner:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.promo-banner h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); max-width: 18ch; }
.promo-banner p { max-width: 38ch; font-size: .92rem; }
.promo-banner .btn { align-self: flex-start; margin-top: 8px; }
.promo-banner--dark {
  background:
    radial-gradient(500px 260px at 92% 12%, rgba(255, 77, 45, .38), transparent 62%),
    #14161d;
  color: #fff;
}
.promo-banner--dark p { color: rgba(255, 255, 255, .72); }
.promo-banner--sun { background: linear-gradient(140deg, #ffe3a3, #ffcb5c); color: #2b1c00; }
.promo-banner--sun p { color: rgba(43, 28, 0, .78); }

/* ---------- fit strip ---------- */
.fit {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 18px 24px;
  border: 1px dashed #d5d7de;
  border-radius: var(--radius);
  background: var(--bg);
}
.fit__label {
  flex: none;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}
.fit__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.fit__list li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .76rem;
  font-weight: 600;
  color: #3d414c;
}

/* ---------- reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.review {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.stars { display: flex; gap: 2px; color: var(--sun); }
.stars .icon--star { width: 16px; height: 16px; }
.review blockquote {
  margin: 0;
  font-size: .94rem;
  line-height: 1.6;
  color: #2c303a;
}
.review figcaption {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  font-size: .82rem;
  font-weight: 700;
}
.verified {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 600;
  color: var(--leaf);
}
.verified .icon { width: 13px; height: 13px; stroke-width: 2.4; }

/* ---------- newsletter ---------- */
.newsletter {
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 36px;
  padding: 42px 46px;
  border-radius: var(--radius);
  background:
    radial-gradient(600px 300px at 88% 0%, rgba(255, 77, 45, .34), transparent 62%),
    #14161d;
  color: #fff;
}
.newsletter h2 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.newsletter__copy { min-width: 0; }
.newsletter p { color: rgba(255, 255, 255, .72); font-size: .92rem; margin-top: 8px; max-width: 44ch; }
.newsletter__form { display: flex; flex-wrap: wrap; gap: 10px; }
.newsletter__form input {
  flex: 1 1 200px;
  min-width: 0;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: .92rem;
  outline: none;
  transition: border-color .15s, background .15s;
}
.newsletter__form input::placeholder { color: rgba(255, 255, 255, .5); }
.newsletter__form input:focus { border-color: rgba(255, 255, 255, .55); background: rgba(255, 255, 255, .12); }
.newsletter__form .btn { height: 48px; }
.form-msg {
  flex: 1 1 100%;
  min-height: 1.2em;
  font-size: .8rem;
  color: #ffb3a3;
}
.form-msg.is-ok { color: #8fe3c6; }

/* ---------- footer ---------- */
.site-footer {
  margin-top: 56px;
  border-top: 1px solid var(--line);
  background: #fbfbfc;
  font-size: .88rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-top: 46px;
  padding-bottom: 38px;
}
.footer-brand p { margin: 14px 0 18px; max-width: 32ch; color: var(--muted); font-size: .86rem; }
.footer-brand .logo { margin-bottom: 2px; }
.pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay span {
  padding: 4px 9px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: #fff;
  font-size: .68rem;
  font-weight: 700;
  color: #5b606c;
  letter-spacing: .01em;
}
.footer-col { display: flex; flex-direction: column; gap: 9px; }
.footer-col h3 {
  margin-bottom: 4px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.footer-col a { color: #3d414c; font-size: .87rem; width: fit-content; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-top: 20px;
  padding-bottom: 26px;
  border-top: 1px solid var(--line);
  font-size: .78rem;
  color: var(--muted);
}
.footer-bottom__note { color: var(--muted-2); }

/* ---------- overlay / drawer ---------- */
.overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 12, 16, .5);
  opacity: 0;
  visibility: hidden;
  transition: opacity .24s, visibility .24s;
  backdrop-filter: blur(2px);
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 100;
  display: flex;
  flex-direction: column;
  width: min(420px, 100vw);
  background: #fff;
  box-shadow: var(--shadow-lg);
  transform: translateX(102%);
  transition: transform .3s var(--ease);
  visibility: hidden;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.drawer__head h2 { font-size: 1.1rem; }
.icon-btn {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: var(--ink);
  transition: background .15s;
}
.icon-btn:hover { background: #ececf1; }
.icon-btn .icon { width: 17px; height: 17px; stroke-width: 2; }

.ship-meter { padding: 14px 20px; background: var(--bg); border-bottom: 1px solid var(--line-2); }
.ship-meter__text { font-size: .78rem; font-weight: 600; color: #3d414c; margin-bottom: 8px; }
.ship-meter__text strong { color: var(--accent-dark); }
.ship-meter__track { height: 5px; border-radius: 99px; background: #e3e4ea; overflow: hidden; }
.ship-meter__bar {
  display: block;
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--accent), #ff8a5c);
  transition: width .35s var(--ease);
}
.ship-meter.is-met .ship-meter__bar { background: linear-gradient(90deg, #15a37a, #4ed0a6); }

.drawer__body { flex: 1; overflow-y: auto; padding: 6px 20px; }
.drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--line); background: #fff; }
.drawer__foot .row-between { font-size: .92rem; margin-bottom: 4px; }
.drawer__foot .row-between strong { font-size: 1.15rem; }
.drawer__foot .btn { margin-top: 12px; }
.drawer__foot .small { margin-bottom: 2px; }

.cart-line {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-2);
}
.cart-line:last-child { border-bottom: 0; }
.cart-line__media {
  display: grid;
  place-items: center;
  width: 62px; height: 62px;
  border-radius: 10px;
  background: var(--bg);
}
.cart-line__media .icon { width: 27px; height: 27px; stroke-width: 1.4; }
.cart-line__info { min-width: 0; }
.cart-line__title { font-size: .85rem; font-weight: 650; line-height: 1.3; color: var(--ink); }
.cart-line__title:hover { color: var(--accent); }
.cart-line__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; }
.cart-line__price { font-size: .86rem; font-weight: 700; }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.qty-stepper button {
  width: 26px; height: 26px;
  border: 0;
  background: transparent;
  color: #4a4e59;
  font-size: 1rem;
  line-height: 1;
  display: grid;
  place-items: center;
  transition: background .12s;
}
.qty-stepper button:hover { background: var(--bg); color: var(--ink); }
.qty-stepper span {
  min-width: 22px;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.cart-line__remove {
  margin-left: 2px;
  border: 0;
  background: none;
  padding: 2px 0;
  font-size: .72rem;
  color: var(--muted-2);
  text-decoration: underline;
}
.cart-line__remove:hover { color: var(--accent); }

.cart-empty {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 56px 10px;
  text-align: center;
  color: var(--muted);
}
.cart-empty .icon { width: 34px; height: 34px; color: #c2c5cd; }
.cart-empty strong { color: var(--ink); font-size: .98rem; }
.cart-empty p { font-size: .84rem; max-width: 26ch; }

/* ---------- toasts ---------- */
.toasts {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 120;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  pointer-events: none;
  width: min(420px, calc(100vw - 32px));
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-md);
  animation: toast-in .22s var(--ease);
  max-width: 100%;
}
.toast .icon { width: 16px; height: 16px; color: #6ee7b7; stroke-width: 2.4; }
.toast.is-out { animation: toast-out .22s var(--ease) forwards; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toast-out { to { opacity: 0; transform: translateY(6px) scale(.98); } }

/* ---------- page head / crumbs ---------- */
.page-head {
  padding: 26px 0 20px;
  border-bottom: 1px solid var(--line-2);
  background: #fcfcfd;
}
.page-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
.page-head p { margin-top: 6px; color: var(--muted); font-size: .92rem; }

.crumbs {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 16px 0 0;
  font-size: .78rem;
  color: var(--muted);
  flex-wrap: wrap;
}
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--accent); }
.crumbs span[aria-current] { color: var(--ink); font-weight: 600; }

/* ---------- shop ---------- */
.shop-layout {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
  padding: 26px 0 10px;
}

.filters {
  position: sticky;
  top: calc(var(--header-h) + 16px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding-bottom: 20px;
}
.filter-group h2 {
  margin-bottom: 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.filter-list { display: flex; flex-direction: column; gap: 2px; margin: 0; padding: 0; list-style: none; }
.filter-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  font-size: .87rem;
  color: #3d414c;
}
.filter-list a:hover { background: var(--bg); color: var(--ink); }
.filter-list a.is-active { background: var(--ink); color: #fff; font-weight: 600; }
.filter-list .count { font-size: .74rem; color: var(--muted-2); }
.filter-list a.is-active .count { color: rgba(255, 255, 255, .65); }

.price-filter { display: flex; flex-direction: column; gap: 8px; font-size: .85rem; }
.price-filter label { display: flex; align-items: center; gap: 9px; cursor: pointer; }

.filter-note {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg);
  font-size: .78rem;
  color: var(--muted);
  line-height: 1.5;
}

.shop-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.result-count { font-size: .86rem; color: var(--muted); }
.result-count strong { color: var(--ink); }
.active-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 8px 5px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .76rem;
  font-weight: 600;
}
.chip button {
  display: grid;
  place-items: center;
  width: 18px; height: 18px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  color: #555;
  font-size: .9rem;
  line-height: 1;
}
.chip button:hover { background: var(--accent); color: #fff; }

.select-wrap { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--muted); }
.select-wrap select {
  height: 38px;
  padding: 0 34px 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 10px center / 16px;
  color: var(--ink);
  font-size: .82rem;
  font-weight: 600;
  appearance: none;
  cursor: pointer;
}

.empty-state {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 70px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  text-align: center;
}
.empty-state strong { font-size: 1.05rem; }
.empty-state p { color: var(--muted); font-size: .88rem; max-width: 38ch; }

.shop-note {
  margin-top: 26px;
  padding: 16px 20px;
  border-radius: 10px;
  background: var(--bg);
  font-size: .8rem;
  color: var(--muted);
}

/* ---------- product detail ---------- */
.pd-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 46px;
  padding: 28px 0 10px;
  align-items: start;
}

.pd-media { position: sticky; top: calc(var(--header-h) + 18px); }
.pd-stage {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 1 / .88;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pd-stage .icon { width: 190px; height: 190px; stroke-width: .85; }
.pd-stage .tag { top: 16px; left: 16px; }
.pd-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pd-thumb {
  display: grid;
  place-items: center;
  width: 68px; height: 68px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.pd-thumb .icon { width: 28px; height: 28px; stroke-width: 1.4; }
.pd-thumb.is-active { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.pd-thumb:hover { border-color: #b9bcc6; }

.pd-info { padding-top: 4px; }
.pd-info .card__cat { margin-bottom: 8px; }
.pd-title { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -.03em; }
.pd-rating { display: flex; align-items: center; gap: 8px; margin: 12px 0 16px; font-size: .84rem; }
.pd-rating .stars .icon--star { width: 15px; height: 15px; }
.pd-rating a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }

.pd-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line-2);
}
.pd-price .price { font-size: 1.85rem; }
.pd-price .price--was { font-size: 1rem; }
.pd-price .save {
  padding: 3px 8px;
  border-radius: 5px;
  background: #e7f7f1;
  color: #0f8160;
  font-size: .74rem;
  font-weight: 800;
}
.pd-desc { margin: 18px 0; color: #4a4e59; font-size: .94rem; line-height: 1.65; }
.pd-bullets { margin: 0 0 22px; padding: 0; list-style: none; display: grid; gap: 7px; }
.pd-bullets li { position: relative; padding-left: 22px; font-size: .88rem; color: #3d414c; }
.pd-bullets li::before {
  content: "";
  position: absolute;
  left: 2px; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.option-group { margin-bottom: 16px; }
.option-group h3 {
  margin-bottom: 8px;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.swatch {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .8rem;
  font-weight: 600;
  transition: border-color .15s, background .15s, color .15s;
}
.swatch:hover { border-color: #b9bcc6; }
.swatch.is-active { border-color: var(--ink); background: var(--ink); color: #fff; }

.pd-actions { display: flex; gap: 10px; align-items: stretch; margin: 20px 0 14px; }
.pd-actions .qty-stepper { border-radius: 999px; height: 48px; padding: 0 4px; }
.pd-actions .qty-stepper button { width: 34px; height: 40px; font-size: 1.1rem; }
.pd-actions .qty-stepper span { min-width: 28px; font-size: .9rem; }
.pd-actions .btn { flex: 1; height: 48px; }
.pd-actions .btn--wish {
  flex: none;
  width: 48px;
  padding: 0;
  border: 1px solid var(--line);
  background: #fff;
  color: #4a4e59;
  border-radius: 999px;
}
.pd-actions .btn--wish:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); box-shadow: none; }
.pd-actions .btn--wish[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.pd-actions .btn--wish[aria-pressed="true"] .icon { fill: currentColor; }

.pd-ship {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fcfcfd;
  font-size: .82rem;
  color: #3d414c;
}
.pd-ship div { display: flex; align-items: center; gap: 9px; }
.pd-ship .icon { width: 17px; height: 17px; color: var(--muted); }

.pd-meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 14px; font-size: .76rem; color: var(--muted-2); }
.pd-meta strong { color: #3d414c; font-weight: 600; }

.pd-section { padding: 40px 0 0; }
.pd-section h2 { font-size: 1.25rem; margin-bottom: 16px; }

.specs {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  font-size: .87rem;
}
.specs caption { text-align: left; font-weight: 700; padding-bottom: 10px; }
.specs th, .specs td { padding: 12px 16px; border-bottom: 1px solid var(--line-2); text-align: left; vertical-align: top; }
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { width: 32%; background: #fbfbfc; font-weight: 600; color: #3d414c; }
.specs td { color: var(--muted); }

/* ---------- cart page ---------- */
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 356px;
  gap: 40px;
  align-items: start;
  padding: 28px 0 10px;
}

.cart-panel { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.cart-panel__head {
  display: none;
  grid-template-columns: minmax(0, 1fr) 120px 110px;
  gap: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfbfc;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.cart-panel__head span:nth-child(2),
.cart-panel__head span:nth-child(3) { text-align: right; }

.cart-row {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr) auto;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line-2);
  align-items: center;
}
.cart-row:last-child { border-bottom: 0; }
.cart-row__media {
  display: grid;
  place-items: center;
  width: 96px; height: 96px;
  border-radius: 12px;
}
.cart-row__media .icon { width: 40px; height: 40px; stroke-width: 1.2; }
.cart-row__main { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.cart-row__cat { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted-2); font-weight: 700; }
.cart-row__title { font-size: .97rem; font-weight: 650; }
.cart-row__title a:hover { color: var(--accent); }
.cart-row__opts { font-size: .78rem; color: var(--muted); }
.cart-row__unit { font-size: .82rem; color: var(--muted); }
.cart-row__end { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-row__total { font-size: 1rem; font-weight: 800; letter-spacing: -.02em; }
.cart-row__tools { display: flex; align-items: center; gap: 10px; }

.cart-extra {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  border-top: 1px solid var(--line);
  background: #fcfcfd;
}

.summary {
  position: sticky;
  top: calc(var(--header-h) + 18px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.summary h2 { font-size: 1.1rem; margin-bottom: 4px; }
.summary-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: .88rem; color: #3d414c; }
.summary-row strong { color: var(--ink); }
.summary-row--total {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
}
.summary-row--total strong { font-size: 1.4rem; letter-spacing: -.025em; }
.summary-note { font-size: .76rem; color: var(--muted); line-height: 1.5; }

.promo { display: flex; gap: 8px; }
.promo input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .84rem;
  outline: none;
}
.promo input:focus { border-color: var(--ink); }
.promo button {
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--ink);
  border-radius: 8px;
  background: #fff;
  font-size: .8rem;
  font-weight: 700;
  transition: background .15s, color .15s;
}
.promo button:hover { background: var(--ink); color: #fff; }
.promo-msg { font-size: .76rem; min-height: 1.1em; color: var(--accent-dark); }
.promo-msg.is-ok { color: #0f8160; }

.pay-row { display: flex; gap: 5px; flex-wrap: wrap; }
.pay-row span {
  padding: 3px 7px;
  border: 1px solid var(--line);
  border-radius: 4px;
  font-size: .64rem;
  font-weight: 700;
  color: #5b606c;
}

/* ---------- checkout ---------- */
.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 40px;
  align-items: start;
  padding: 28px 0 10px;
}
.checkout-block { border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.checkout-block h2 { font-size: 1.1rem; margin-bottom: 16px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 700; color: #3d414c; }
.field input, .field select {
  height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: .9rem;
  color: var(--ink);
  outline: none;
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(18, 20, 26, .07); }
.field .hint { font-size: .72rem; color: var(--muted-2); }
.field.is-invalid input, .field.is-invalid select { border-color: var(--accent); }
.field .error { font-size: .74rem; color: var(--accent-dark); display: none; }
.field.is-invalid .error { display: block; }

.pay-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: .87rem;
  cursor: pointer;
  transition: border-color .15s, background .15s;
}
.pay-option + .pay-option { margin-top: 8px; }
.pay-option:hover { background: var(--bg); }
.pay-option input { accent-color: var(--accent); }
.pay-option small { margin-left: auto; color: var(--muted-2); font-size: .74rem; }

.mini-line { display: grid; grid-template-columns: 46px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: .84rem; }
.mini-line:last-of-type { border-bottom: 0; }
.mini-line__media { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 8px; background: var(--bg); }
.mini-line__media .icon { width: 22px; height: 22px; stroke-width: 1.4; }
.mini-line strong { font-weight: 700; }
.confirm-note { display: flex; gap: 8px; align-items: flex-start; font-size: .76rem; color: var(--muted); line-height: 1.5; }
.confirm-note .icon { width: 15px; height: 15px; margin-top: 2px; flex: none; }

.order-ok {
  max-width: 620px;
  margin: 60px auto;
  padding: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.order-ok__mark {
  display: grid;
  place-items: center;
  width: 60px; height: 60px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #e7f7f1;
  color: #0f8160;
}
.order-ok__mark .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.order-ok h1 { font-size: 1.9rem; }
.order-ok p { margin: 10px auto 0; color: var(--muted); font-size: .92rem; max-width: 44ch; }
.order-ok .order-id {
  display: inline-block;
  margin: 18px 0 6px;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--bg);
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.order-ok .btn { margin-top: 20px; }

/* ---------- responsive ---------- */
@media (max-width: 1120px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .hero { grid-template-columns: minmax(0, 1fr) 270px; }
  .slide { padding-left: 32px; min-height: 340px; }
  .hero-controls { left: 32px; }
  .search__cat { max-width: 132px; }
}

@media (max-width: 1000px) {
  .shop-layout, .cart-layout, .checkout-layout { grid-template-columns: minmax(0, 1fr); }
  .filters {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 22px;
    padding-bottom: 8px;
  }
  .filter-group { flex: 1 1 200px; }
  .summary { position: static; }
  .newsletter { grid-template-columns: 1fr; gap: 22px; }
  .pd-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pd-media { position: static; }
  .pd-stage { max-width: 520px; }
}

@media (max-width: 900px) {
  :root { --header-h: 66px; }
  .header-inner { gap: 12px; min-height: var(--header-h); }
  .search { order: 3; flex-basis: 100%; max-width: none; height: 44px; margin-bottom: 12px; }
  .header-inner { flex-wrap: wrap; padding-top: 12px; }
  .header-actions { margin-left: auto; }
  .menu-toggle { display: grid; }
  .action-btn--hide-sm { display: none; }
  .mobile-menu.is-open { display: block; }
  .catnav { display: none; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .promo-card { min-height: 150px; }
  .trust { grid-template-columns: 1fr 1fr; }
  .trust li:nth-child(2) { border-right: 0; }
  .trust li:nth-child(1), .trust li:nth-child(2) { border-bottom: 1px solid var(--line-2); }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .reviews { grid-template-columns: 1fr; }
  .newsletter { padding: 30px 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 26px; }
  .promo-split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 34px 0; }
  .section-head { align-items: flex-start; flex-direction: column; gap: 10px; }
  .slide { grid-template-columns: minmax(0, 1fr); padding: 32px 24px 62px; min-height: 0; }
  .slide__art { display: none; }
  .slide__sub { margin-bottom: 20px; font-size: .94rem; }
  .hero-controls { left: 24px; bottom: 18px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .card__body { padding: 12px 12px 14px; }
  .card__title { font-size: .86rem; }
  .price { font-size: 1rem; }
  .cat-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .cat-card { padding: 14px 6px 12px; font-size: .72rem; }
  .fit { flex-direction: column; align-items: flex-start; gap: 12px; }
  .newsletter__form { flex-direction: column; }
  .newsletter__form .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .cart-row { grid-template-columns: 70px minmax(0, 1fr); }
  .cart-row__media { width: 70px; height: 70px; }
  .cart-row__end { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .form-grid { grid-template-columns: 1fr; }
  .pd-actions .btn { font-size: .88rem; }
  .specs th { width: 40%; }
}

@media (max-width: 560px) {
  .container { padding: 0 16px; }
  .topbar__inner { justify-content: center; }
  .topbar__msg .icon { display: none; }
  .topbar__links { display: none; }
  .logo__text { font-size: 1rem; }
  .logo__tld { display: none; }
  .action-btn { width: 38px; height: 38px; }
  .logo__mark { width: 34px; height: 34px; }
  .search { margin-top: 10px; }
  .search__cat { display: none; }
  .hero { padding-top: 18px; }
  .hero-side { grid-template-columns: 1fr; }
  .promo-card { min-height: 132px; }
  .trust { grid-template-columns: 1fr; }
  .trust li { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .trust li:last-child { border-bottom: 0; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .card__media { aspect-ratio: 1 / 1; }
  .icon--product { width: 74px; height: 74px; }
  .wish { width: 29px; height: 29px; }
  .tag { font-size: .62rem; padding: 3px 7px; }
  .countdown { padding: 6px 10px; font-size: .72rem; }
  .cat-grid { grid-template-columns: repeat(2, 1fr); }
  .cat-card { flex-direction: row; justify-content: flex-start; gap: 12px; padding: 12px; text-align: left; font-size: .8rem; }
  .cat-card__icon { width: 38px; height: 38px; }
  .promo-banner { padding: 26px 24px; min-height: 0; }
  .newsletter { padding: 26px 22px; }
  .drawer { width: 100vw; }
  .toasts { bottom: 14px; }
  .cart-row { grid-template-columns: 58px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .cart-row__media { width: 58px; height: 58px; }
  .cart-row__media .icon { width: 26px; height: 26px; }
  .cart-panel__head { display: none; }
  .cart-extra { flex-direction: column; align-items: flex-start; }
  .pd-actions { flex-wrap: wrap; }
  .pd-actions .btn--wish { width: 100%; }
  .order-ok { margin: 30px auto; padding: 28px 20px; }
}

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

@media print {
  .site-header, .topbar, .drawer, .overlay, .toasts, .newsletter, .site-footer { display: none !important; }
  body { font-size: 12pt; }
}
/* =========================================================
   WordPress + WooCommerce integration
   Loaded after the storefront base styles.
   ========================================================= */

/* ---------- WordPress basics ---------- */
.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

.site-header.is-scrolled { box-shadow: 0 6px 22px rgba(18, 20, 26, .08); }

.custom-logo-link { display: inline-flex; align-items: center; flex: none; }
.custom-logo { width: auto; max-height: 46px; }

.alignleft { float: left; margin: 6px 24px 16px 0; }
.alignright { float: right; margin: 6px 0 16px 24px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { max-width: 100%; }
.wp-caption-text { margin-top: 6px; font-size: .8rem; color: var(--muted); text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 24px; }
.gallery-item { margin: 0; }
.gallery img { border-radius: var(--radius-sm); }
.sticky .card__cat::after { content: " · Featured"; }

.topbar__menu {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.topbar__currency { color: rgba(255, 255, 255, .72); }

.footer-menu {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.mobile-menu__list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.mobile-menu__list li { border-bottom: 1px solid var(--line-2); }
.mobile-menu__list li a { display: block; border-bottom: 0; }
.mobile-menu__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  padding-top: 14px;
  font-size: .84rem;
  color: var(--muted);
}
.mobile-menu__meta a { border-bottom: 0; padding: 2px 0; }

/* ---------- product cards with real images ---------- */
.card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  padding: 14px;
}
.card__img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .3s var(--ease);
}
.card:hover .card__img { transform: scale(1.04); }
.card .tag { z-index: 3; }

/* ---------- WooCommerce shared ---------- */
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
  transition: background .16s, transform .16s var(--ease), box-shadow .16s;
}
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background: var(--accent-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 77, 45, .24);
}
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
  background: var(--ink);
  color: #fff;
}
.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: #000;
  box-shadow: 0 8px 18px rgba(18, 20, 26, .24);
}
.woocommerce .button:disabled,
.woocommerce button.button:disabled {
  opacity: .55;
  pointer-events: none;
}
.woocommerce .button.loading::after {
  content: "";
  width: 12px; height: 12px;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: pa-spin .7s linear infinite;
}
@keyframes pa-spin { to { transform: rotate(360deg); } }

.woocommerce .price del {
  color: var(--muted-2);
  font-size: .78em;
  font-weight: 500;
  opacity: 1;
  margin-right: 6px;
}
.woocommerce .price ins {
  text-decoration: none;
  font-weight: 800;
}
.card .price-row .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0;
}
.card .price-row .price .woocommerce-Price-amount {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.card .price-row .price del .woocommerce-Price-amount {
  font-size: .84rem;
  font-weight: 500;
  color: var(--muted-2);
}

.woocommerce .star-rating {
  color: var(--sun);
  font-size: .9em;
}
.woocommerce .star-rating::before { color: #d9dbe1; }
.woocommerce p.stars a { color: var(--sun); }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 0 0 22px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background: #fff;
  color: var(--ink);
  font-size: .88rem;
  list-style: none;
}
.woocommerce-message { border-top-color: var(--leaf); }
.woocommerce-info { border-top-color: var(--violet); }
.woocommerce-error { border-top-color: var(--accent); }
.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before { color: currentColor; top: 14px; left: 16px; }
.woocommerce-message a.button { float: right; margin: -4px 0 0 14px; }

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .cart .quantity input.qty,
.woocommerce-page form .form-row input.input-text {
  width: 100%;
  min-height: 44px;
  padding: 10px 13px;
  border: 1px solid #d9dbe2;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font-size: .92rem;
  line-height: 1.4;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus,
.woocommerce .cart .quantity input.qty:focus {
  border-color: var(--ink);
  outline: 3px solid rgba(18, 20, 26, .08);
}
.woocommerce form .form-row label { font-size: .82rem; font-weight: 700; color: #3d414c; }
.woocommerce form .form-row .required { color: var(--accent); text-decoration: none; }
.woocommerce .select2-container--default .select2-selection--single {
  height: 44px;
  padding: 6px 10px;
  border: 1px solid #d9dbe2;
  border-radius: 10px;
}
.woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow { height: 42px; }
.woocommerce .select2-dropdown {
  border-color: #d9dbe2;
  border-radius: 10px;
  overflow: hidden;
}

/* ---------- shop archive ---------- */
.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after { content: none; display: none; }
.woocommerce ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0;
  clear: none !important;
}
.woocommerce ul.products li.product .button { width: 100%; }

.woocommerce .woocommerce-result-count {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: .85rem;
}
.woocommerce .woocommerce-ordering { margin: 0 0 18px; }
.woocommerce .woocommerce-ordering select {
  min-height: 40px;
  padding: 8px 34px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: .83rem;
  font-weight: 600;
  color: var(--ink);
}

.woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  padding: 12px 0 0;
  margin: 0;
  color: var(--muted);
  font-size: .78rem;
}
.woocommerce-breadcrumb a { color: var(--muted); }
.woocommerce-breadcrumb a:hover { color: var(--accent); }
.page-head__desc { margin-top: 10px; max-width: 70ch; color: var(--muted); font-size: .92rem; }
.page-head__desc p:last-child { margin-bottom: 0; }

.woocommerce nav.woocommerce-pagination { margin: 10px 0 0; }
.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 6px;
  border: 0;
  margin: 0;
}
.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
  margin: 0;
  overflow: visible;
}
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-size: .84rem;
  font-weight: 700;
}
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

/* ---------- single product ---------- */
.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 46px;
  align-items: start;
}
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}
.woocommerce-product-gallery {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fbfbfc;
}
.woocommerce-product-gallery__wrapper { margin: 0; }
.woocommerce-product-gallery__image img { display: block; width: 100%; height: auto; }
.woocommerce-product-gallery__trigger {
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 10px !important;
  padding: 0;
  list-style: none;
}
.flex-control-thumbs li { width: auto !important; float: none !important; margin: 0 !important; }
.flex-control-thumbs img { border: 1px solid var(--line); border-radius: 8px; }
.flex-control-thumbs img.flex-active { border-color: var(--ink); }

.single-product .summary .product_title {
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  letter-spacing: -.03em;
  line-height: 1.12;
}
.single-product .summary .price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 6px;
  color: var(--ink);
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -.02em;
}
.single-product .summary .price del {
  font-size: .8rem;
  font-weight: 500;
  color: var(--muted-2);
}
.single-product .summary .price ins { text-decoration: none; }
.single-product .summary .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.single-product .summary .woocommerce-review-link { font-size: .8rem; color: var(--muted); }
.single-product .woocommerce-product-details__short-description {
  margin-top: 14px;
  color: #3d414c;
  font-size: .95rem;
}
.single-product .woocommerce-product-details__short-description p { margin-bottom: 10px; }
.single-product .summary .cart {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 16px;
}
.single-product .summary .cart .quantity { display: inline-flex; }
.single-product .summary .cart .quantity .qty {
  width: 76px;
  height: 44px;
  padding: 0 8px 0 14px;
  border: 1px solid #d9dbe2;
  border-radius: 999px;
  font-weight: 700;
}
.single-product .single_add_to_cart_button { padding: 12px 26px; }
.single-product .product_meta {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line-2);
  font-size: .78rem;
  color: var(--muted);
}
.single-product .product_meta > span { display: block; margin-bottom: 4px; }
.single-product .product_meta a { color: #3d414c; font-weight: 600; }

.single-trust { margin-top: 20px; }
.trust--compact { grid-template-columns: 1fr 1fr; margin-top: 0; }
.trust--compact li { padding: 12px 12px; gap: 9px; }
.trust--compact li:nth-child(2) { border-right: 0; }
.trust--compact li:nth-child(3),
.trust--compact li:nth-child(4) { border-top: 1px solid var(--line-2); }
.trust--compact .trust__icon { width: 30px; height: 30px; border-radius: 8px; }
.trust--compact .trust__icon .icon { width: 15px; height: 15px; }
.trust--compact strong { font-size: .76rem; }
.trust--compact span { font-size: .68rem; }

.woocommerce div.product .woocommerce-tabs {
  grid-column: 1 / -1;
  margin-top: 44px;
}
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 0 0 22px;
  padding: 0;
  border-bottom: 1px solid var(--line);
}
.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::after { display: none; content: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after { display: none; content: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block;
  padding: 11px 16px;
  border-bottom: 2px solid transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: .88rem;
}
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.woocommerce div.product .woocommerce-tabs .panel {
  margin: 0;
  padding: 0;
  color: #3d414c;
}
.woocommerce div.product .woocommerce-tabs .panel > h2:first-child {
  font-size: 1.15rem;
  margin-bottom: 12px;
}
.woocommerce div.product .woocommerce-tabs .panel p { margin-bottom: 12px; }

.woocommerce #reviews #comments ol.commentlist { padding: 0; }
.woocommerce #reviews #comments ol.commentlist li { margin-bottom: 22px; }
.woocommerce #reviews #comments ol.commentlist li img.avatar {
  position: static;
  float: left;
  width: 44px;
  padding: 0;
  margin-right: 14px;
  border: 0;
  border-radius: 50%;
}
.woocommerce #reviews #comments ol.commentlist li .comment-text {
  margin: 0 0 0 58px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.woocommerce #reviews #comments ol.commentlist li .comment-text p.meta { font-size: .78rem; color: var(--muted); }
.woocommerce #review_form #respond p { margin-bottom: 12px; }
.woocommerce #review_form #respond textarea { min-height: 130px; }
.woocommerce p.stars a { font-size: 1.05rem; }

.related.products,
.upsells.products {
  margin-top: 46px;
  padding-top: 34px;
  border-top: 1px solid var(--line);
}
.related.products > h2,
.upsells.products > h2 { margin-bottom: 20px; font-size: 1.45rem; }

/* ---------- cart ---------- */
.woocommerce-cart .woocommerce:has(.woocommerce-cart-form) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 370px;
  gap: 30px;
  align-items: start;
}
.woocommerce-cart .woocommerce-cart-form { grid-column: 1; min-width: 0; }
.woocommerce-cart .cart-collaterals { grid-column: 2; width: auto !important; float: none !important; }
.woocommerce-cart .cart-collaterals .cart_totals { width: 100% !important; float: none !important; }

.woocommerce table.shop_table {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
  background: #fff;
}
.woocommerce table.shop_table th {
  padding: 12px 14px;
  background: #fbfbfc;
  color: var(--muted-2);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.woocommerce table.shop_table td {
  padding: 14px;
  border-top: 1px solid var(--line-2);
  vertical-align: middle;
  font-size: .88rem;
}
.woocommerce table.cart img { width: 68px; border-radius: 10px; }
.woocommerce table.cart .product-name a { font-weight: 650; }
.woocommerce table.cart .product-name a:hover { color: var(--accent); }
.woocommerce table.cart td.actions { padding: 14px; }
.woocommerce table.cart td.actions .coupon { display: flex; flex-wrap: wrap; gap: 8px; float: none; }
.woocommerce table.cart td.actions .coupon .input-text {
  width: 160px;
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid #d9dbe2;
  border-radius: 999px;
  font-size: .86rem;
}
.woocommerce table.cart td.actions .button { min-height: 42px; }
.woocommerce a.remove {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted) !important;
  font-size: 1.15rem;
  line-height: 1;
}
.woocommerce a.remove:hover { background: var(--accent-soft); color: var(--accent) !important; }

.woocommerce .cart_totals {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbfc;
}
.woocommerce .cart_totals h2 { margin-bottom: 10px; font-size: 1.1rem; }
.woocommerce .cart_totals table { border: 0; background: transparent; }
.woocommerce .cart_totals table th { background: transparent; text-transform: none; letter-spacing: 0; font-size: .82rem; color: var(--muted); }
.woocommerce .cart_totals table td { border-top: 1px solid var(--line-2); font-size: .9rem; }
.woocommerce .cart_totals .order-total td,
.woocommerce .cart_totals .order-total th { font-size: 1rem; font-weight: 800; }
.woocommerce .wc-proceed-to-checkout { padding: 14px 0 0; }
.woocommerce .wc-proceed-to-checkout a.checkout-button { width: 100%; padding: 14px 20px; }
.woocommerce .cart-collaterals .cross-sells { width: 100% !important; float: none !important; }

.woocommerce-cart .cart-empty.woocommerce-info { margin-bottom: 16px; }
.woocommerce-cart .return-to-shop { margin-top: 10px; }

/* block cart */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { color: var(--ink); }
.wc-block-cart-items { border-color: var(--line); }
.wc-block-cart-item__image img { border-radius: 10px; }
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button {
  border-radius: 999px !important;
  background: var(--ink) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover { background: #000 !important; }

/* ---------- checkout ---------- */
.woocommerce-checkout form.checkout { margin-top: 6px; }
.woocommerce-checkout .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 0 26px; }
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 { width: auto; float: none; }
.woocommerce-checkout h3 {
  margin: 24px 0 14px;
  font-size: 1.1rem;
}
.woocommerce-checkout #order_review_heading { margin-top: 24px; }
.woocommerce-checkout #order_review {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbfc;
}
.woocommerce-checkout #order_review table { border: 0; background: transparent; }
.woocommerce-checkout #order_review table th { background: transparent; text-transform: none; letter-spacing: 0; font-size: .8rem; color: var(--muted); }
.woocommerce-checkout #order_review table td { font-size: .88rem; }
.woocommerce-checkout #payment {
  margin-top: 16px;
  border-radius: var(--radius-sm);
  background: #fff;
  border: 1px solid var(--line);
}
.woocommerce-checkout #payment ul.payment_methods { border-bottom: 1px solid var(--line-2); }
.woocommerce-checkout #payment div.place-order { padding: 16px; }
.woocommerce-checkout #payment div.place-order .button { width: 100%; padding: 14px 20px; }
.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper { margin-bottom: 12px; font-size: .82rem; }
.woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 8px; }

/* ---------- account ---------- */
.woocommerce-account .woocommerce { margin-top: 4px; }
.logged-in.woocommerce-account .woocommerce {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: auto !important;
  float: none !important;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fbfbfc;
}
.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; list-style: none; }
.woocommerce-account .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--line-2); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .87rem;
  font-weight: 600;
}
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: #fff; color: var(--accent); box-shadow: var(--shadow-sm); }
.woocommerce-account .woocommerce-MyAccount-content { width: auto !important; float: none !important; }
.woocommerce-account .woocommerce-MyAccount-content p { margin-bottom: 14px; }
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  max-width: 520px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.woocommerce-account h2 { margin-bottom: 16px; font-size: 1.3rem; }

/* ---------- mini cart in the drawer ---------- */
.drawer__body { padding: 0; }
.drawer .widget_shopping_cart_content { display: flex; flex-direction: column; min-height: 100%; }
.drawer .woocommerce-mini-cart {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  list-style: none;
}
.drawer .woocommerce-mini-cart-item {
  position: relative;
  padding: 15px 42px 15px 84px;
  border-bottom: 1px solid var(--line-2);
  font-size: .85rem;
}
.drawer .woocommerce-mini-cart-item img {
  position: absolute;
  left: 20px;
  top: 15px;
  width: 52px;
  height: 52px;
  border-radius: 9px;
  object-fit: cover;
  background: var(--bg);
}
.drawer .woocommerce-mini-cart-item a {
  font-weight: 650;
  line-height: 1.3;
  color: var(--ink);
}
.drawer .woocommerce-mini-cart-item a:hover { color: var(--accent); }
.drawer .woocommerce-mini-cart-item .quantity {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: .78rem;
}
.drawer .woocommerce-mini-cart-item a.remove {
  position: absolute;
  top: 12px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--bg);
  color: var(--muted) !important;
  font-size: 1rem;
  line-height: 1;
}
.drawer .woocommerce-mini-cart-item a.remove:hover { background: var(--accent-soft); color: var(--accent) !important; }
.drawer .woocommerce-mini-cart__total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: auto 0 0;
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  background: #fff;
  font-size: .9rem;
}
.drawer .woocommerce-mini-cart__total strong { font-size: 1.15rem; }
.drawer .woocommerce-mini-cart__buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0 20px 20px;
  background: #fff;
}
.drawer .woocommerce-mini-cart__buttons a {
  width: 100%;
  margin: 0;
  text-align: center;
}
.drawer .woocommerce-mini-cart__buttons a.button:not(.checkout) {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: none;
}
.drawer .woocommerce-mini-cart__buttons a.button:not(.checkout):hover {
  background: var(--bg);
  color: var(--ink);
}
.drawer .woocommerce-mini-cart__empty-message {
  display: grid;
  place-items: center;
  gap: 10px;
  padding: 60px 24px;
  margin: 0;
  color: var(--muted);
  text-align: center;
  font-size: .9rem;
}
.drawer .woocommerce-mini-cart__empty-message::before {
  content: "";
  display: block;
  width: 34px;
  height: 34px;
  border: 2px solid #c2c5cd;
  border-radius: 50%;
}
.drawer .ship-meter { margin: 0; }
.drawer .ship-meter__bar { transition: width .35s var(--ease); }

/* ---------- block checkout ---------- */
.wc-block-components-text-input input,
.wc-block-components-select select,
.wc-block-components-textarea,
.wc-block-components-address-form input {
  border-radius: 10px !important;
  border-color: #d9dbe2 !important;
}
.wc-block-components-button:not(.is-link) {
  border-radius: 999px !important;
  background: var(--accent) !important;
  color: #fff !important;
  font-weight: 700 !important;
}
.wc-block-components-button:not(.is-link):hover { background: var(--accent-dark) !important; }

/* ---------- entry content, posts, pages ---------- */
.entry { max-width: 900px; }
.entry-content { max-width: 780px; }
.entry-content.prose--wide { max-width: none; }
.entry-thumb { margin: 0 0 26px; }
.entry-thumb img { width: 100%; border-radius: var(--radius); }
.prose { color: #2b2f39; font-size: .98rem; line-height: 1.7; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3, .prose h4 { margin-top: 1.5em; margin-bottom: .4em; }
.prose h2 { font-size: 1.5rem; }
.prose h3 { font-size: 1.2rem; }
.prose a { color: var(--accent-dark); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose blockquote {
  margin: 1.4em 0;
  padding: 4px 0 4px 18px;
  border-left: 3px solid var(--accent);
  color: #3d414c;
  font-style: italic;
}
.prose img { border-radius: var(--radius-sm); }
.prose table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.prose th, .prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; }
.prose th { background: #fbfbfc; }
.prose code { padding: 2px 5px; border-radius: 5px; background: var(--bg); font-size: .88em; }
.prose pre { padding: 16px; border-radius: var(--radius-sm); background: var(--ink); color: #f4f4f6; overflow: auto; }
.prose pre code { background: transparent; padding: 0; color: inherit; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.page-links { margin-top: 22px; font-size: .85rem; font-weight: 700; }
.entry-footer { margin-top: 26px; }
.entry-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.entry-tags a {
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .74rem;
  color: var(--muted);
}
.post-meta { margin-top: 8px; font-size: .82rem; color: var(--muted); }

.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: .86rem;
  font-weight: 700;
}
.post-nav div:last-child { text-align: right; margin-left: auto; }
.post-nav a:hover { color: var(--accent); }

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.post-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  transition: border-color .18s, box-shadow .18s, transform .18s var(--ease);
}
.post-card:hover { border-color: #d8dae1; box-shadow: var(--shadow-md); transform: translateY(-3px); }
.post-card__media {
  display: grid;
  place-items: center;
  aspect-ratio: 16 / 10;
  background: linear-gradient(145deg, #f2f3f8, #e6e8f1);
  overflow: hidden;
}
.post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.post-card__placeholder { color: #a9aebc; }
.post-card__placeholder .icon { width: 52px; height: 52px; stroke-width: 1; }
.post-card__body { display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px; }
.post-card__excerpt { font-size: .86rem; color: var(--muted); }
.post-card__body .link-arrow { margin-top: auto; padding-top: 6px; }

.empty-state {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 56px 24px;
  border: 1px dashed #d9dbe2;
  border-radius: var(--radius);
  text-align: center;
  color: var(--muted);
}
.empty-state > .icon { width: 34px; height: 34px; color: #b9bdc8; }
.empty-state h2 { font-size: 1.2rem; color: var(--ink); }
.empty-state p { max-width: 42ch; font-size: .9rem; }
.empty-state .btn { margin-top: 6px; }

.not-found { max-width: 620px; margin: 0 auto; padding-top: 60px; padding-bottom: 70px; text-align: center; }
.not-found h1 { margin-bottom: 12px; }
.not-found > p:not(.eyebrow) { color: var(--muted); margin-bottom: 22px; }
.not-found__search { display: flex; gap: 8px; margin: 0 auto 14px; max-width: 440px; }
.not-found__search input {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 16px;
  border: 1px solid #d9dbe2;
  border-radius: 999px;
  font-size: .92rem;
}

.pa-setup-note {
  padding: 26px 28px;
  border: 1px solid #f0d9a8;
  border-radius: var(--radius);
  background: #fffaf0;
}
.pa-setup-note h2 { margin-bottom: 8px; font-size: 1.2rem; }
.pa-setup-note p { color: #6b5a35; font-size: .9rem; }
.pa-setup-note a { color: var(--accent-dark); text-decoration: underline; }

/* ---------- comments ---------- */
.comments-area { margin-top: 46px; padding-top: 30px; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { font-size: 1.25rem; margin-bottom: 18px; }
.comment-list { margin: 0 0 24px; padding: 0; list-style: none; }
.comment-list .comment-body {
  margin-bottom: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
}
.comment-list .children { margin: 14px 0 0 28px; padding: 0; list-style: none; }
.comment-author { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 700; }
.comment-author .avatar { border-radius: 50%; }
.comment-metadata { margin: 4px 0 10px; font-size: .74rem; color: var(--muted); }
.comment-content { font-size: .9rem; }
.reply a { font-size: .78rem; font-weight: 700; }
.comment-form { display: grid; gap: 12px; }
.comment-form p { margin: 0; }
.comment-form label { display: block; margin-bottom: 4px; font-size: .8rem; font-weight: 700; }
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1px solid #d9dbe2;
  border-radius: 10px;
  font-size: .9rem;
}
.comment-form .form-submit { margin-top: 4px; }
.comment-form .submit { border: 0; }
.comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; }
.comment-form-cookies-consent label { font-weight: 500; margin: 0; }

/* ---------- newsletter widget ---------- */
.newsletter__widget { min-width: 0; color: #fff; }
.newsletter__widget .widget-title { margin-bottom: 10px; font-size: 1.1rem; }
.newsletter__widget input:not([type="submit"]):not([type="checkbox"]) {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}
.newsletter__widget input::placeholder { color: rgba(255, 255, 255, .55); }
.newsletter__widget .button,
.newsletter__widget button[type="submit"] {
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  padding: 12px 20px;
}

.review__product {
  display: block;
  width: fit-content;
  margin-top: 6px;
  font-size: .75rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.review__product:hover { color: var(--accent); }

/* ---------- responsive integration ---------- */
@media (max-width: 1000px) {
  .single-product div.product { gap: 30px; }
  .woocommerce-cart .woocommerce:has(.woocommerce-cart-form) { grid-template-columns: minmax(0, 1fr); }
  .woocommerce-cart .cart-collaterals { grid-column: 1; }
  .logged-in.woocommerce-account .woocommerce { grid-template-columns: 210px minmax(0, 1fr); gap: 24px; }
  .post-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .woocommerce ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .topbar__menu { gap: 14px; }
}

@media (max-width: 780px) {
  .single-product div.product { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .single-product div.product .woocommerce-tabs { margin-top: 30px; }
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .woocommerce ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .entry { max-width: none; }
  .post-grid { grid-template-columns: 1fr; }
  .trust--compact { grid-template-columns: 1fr; }
  .trust--compact li { border-right: 0; border-top: 1px solid var(--line-2); }
  .trust--compact li:first-child { border-top: 0; }
  .logged-in.woocommerce-account .woocommerce { grid-template-columns: 1fr; }
  .woocommerce table.shop_table_responsive tr td::before { font-weight: 700; color: var(--muted-2); }
}

@media (max-width: 560px) {
  .woocommerce ul.products { gap: 10px; }
  .card .price-row .price .woocommerce-Price-amount { font-size: 1rem; }
  .woocommerce table.cart td.actions .coupon { width: 100%; }
  .woocommerce table.cart td.actions .coupon .input-text { flex: 1; min-width: 0; }
  .not-found__search { flex-direction: column; }
  .not-found__search .btn { width: 100%; }
  .comment-list .children { margin-left: 12px; }
}
