:root {
  --accent: #111111;
  --accent-dark: #000000;
  --dark: #0a0a0a;
  --text: #222222;
  --muted: #6b7280;
  --border: #ececec;
  --bg-page: #f5f5f5;
  --bg: #ffffff;
  --bg-soft: #f5f5f5;
  --sale: #15803d;
  --sale-bg: #16a34a;
  --radius: 8px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.1);
  --container: 1280px;
  --font-heading: system-ui, -apple-system, sans-serif;
  --font-body: system-ui, -apple-system, sans-serif;
  --font-button: system-ui, -apple-system, sans-serif;
  --font-weight-heading: 600;
  --font-weight-body: 400;
  --font-weight-button: 600;
  --font: var(--font-body);
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --site-header-offset: 112px;
  --card-border: #d1d5db;
  --card-border-hover: #9ca3af;
  --card-radius: 12px;
  --card-bg: #ffffff;
  --card-media-bg: #f5f3f0;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--site-header-offset);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--font-weight-body);
  color: var(--text);
  background: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.veluna {
  background: var(--bg-page);
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: var(--font-weight-heading);
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}

.eyebrow--editorial {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: none;
  color: var(--muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: var(--radius);
  padding: 12px 24px;
  font-family: var(--font-button);
  font-weight: var(--font-weight-button);
  cursor: pointer;
  transition: 0.2s ease;
}

.btn--light {
  background: #fff;
  color: var(--dark);
}

.btn--light:hover {
  background: var(--accent);
  color: #fff;
}

.btn--dark {
  background: var(--dark);
  color: #fff;
}

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

.btn--ghost {
  background: #fff;
  color: var(--dark);
  border: 1px solid var(--border);
}

.btn--outline {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
}

.btn--outline:hover {
  background: var(--dark);
  color: #fff;
}

.btn--premium {
  background: transparent;
  color: inherit;
  border: 1px solid currentColor;
  border-radius: 0;
  padding: 13px 30px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn--premium:hover {
  background: var(--dark);
  color: #fff;
  border-color: var(--dark);
}

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

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

.btn--sm {
  padding: 10px 14px;
  font-size: 13px;
}

.btn--purchase {
  background: var(--dark);
  color: #fff;
  border: 1px solid var(--dark);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.btn--purchase:hover {
  background: color-mix(in srgb, var(--dark) 72%, white);
  border-color: color-mix(in srgb, var(--dark) 72%, white);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.btn--purchase:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn--purchase.btn--sm {
  padding: 11px 16px;
}

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

.link-more {
  font-weight: 600;
  color: var(--dark);
}

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

.topbar {
  background: var(--dark);
  color: #fff;
  font-size: 13px;
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 40px;
}

.topbar__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.site-header-lock {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--bg);
}

.veluna > main {
  padding-top: var(--site-header-offset);
}

.theme-editor--active .theme-editor__preview .site-header-lock {
  position: static;
  top: auto;
  left: auto;
  right: auto;
  z-index: auto;
}

.theme-editor--active .theme-editor__preview .veluna > main {
  padding-top: 0;
}

.header {
  position: relative;
  top: auto;
  z-index: 1;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header--flagship .header__inner {
  grid-template-columns: auto 1fr auto;
  gap: 32px;
  min-height: 72px;
  padding-block: 4px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 24px;
  color: var(--dark);
}

.logo--flagship {
  font-size: 26px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.logo--flagship .logo__mark {
  width: 34px;
  height: 34px;
  font-size: 16px;
  background: var(--dark);
}

.logo__mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 18px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  font-size: 14px;
  font-weight: 500;
}

.nav--flagship {
  gap: 28px;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--text);
}

.nav--flagship a:hover {
  color: var(--dark);
}

.header__inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

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

.header__actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header--flagship .icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
}

.header--flagship .icon-btn:hover {
  background: var(--bg-soft);
  color: var(--dark);
}

.search {
  position: relative;
}

.search--desktop {
  display: none;
}

.search input {
  width: 220px;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 40px 10px 16px;
  outline: none;
}

.search input:focus {
  border-color: var(--accent);
}

.search svg {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  cursor: pointer;
}

.icon-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.badge {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.badge--pulse {
  animation: badge-pop 0.35s var(--ease);
}

@keyframes badge-pop {
  0% { transform: scale(0.6); }
  70% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

.header__menu-btn {
  display: none;
}

.header__search-btn {
  display: grid;
}

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

.hero-deals {
  padding: 28px 0 12px;
}

.hero-deals__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.hero-deals__grid--1 {
  grid-template-columns: 1fr;
  max-width: 520px;
}

.hero-deals__grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.hero-deal {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 320px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.hero-deal--dark {
  background: linear-gradient(135deg, #1a1a1a, #333);
  color: #fff;
}

.hero-deal--light {
  background: linear-gradient(135deg, #f3f3f3, #fff);
  color: var(--dark);
}

.hero-deal--accent {
  background: linear-gradient(135deg, var(--section-accent, var(--accent)), var(--accent-dark));
  color: #fff;
}

.hero-deals-row-wrap {
  padding: 28px 0 12px;
}

.hero-deals-row {
  display: grid;
  grid-template-columns: repeat(var(--row-cols, 3), minmax(0, 1fr));
  gap: 18px;
}

.hero-deals-row__col {
  min-width: 0;
}

.hero-deals-row__col .hero-deal {
  min-height: 320px;
  height: 100%;
}

.section-root {
  background: var(--section-bg, transparent);
  color: var(--section-text, inherit);
}

.inline-editable-wrap {
  position: relative;
  display: inline;
}

body.veluna-editor-active .inline-editable-wrap {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  max-width: 100%;
}

.inline-editable {
  outline: none;
  border-radius: 3px;
  transition: box-shadow 0.15s ease;
}

body.veluna-editor-active .inline-editable:hover,
body.veluna-editor-active .inline-editable:focus {
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.2);
}

.inline-editable__pen {
  display: none;
  flex-shrink: 0;
  color: var(--accent);
  opacity: 0.85;
}

body.veluna-editor-active .inline-editable-wrap:hover .inline-editable__pen,
body.veluna-editor-active .inline-editable:focus + .inline-editable__pen {
  display: inline-flex;
}

.hero-deal__content {
  padding: 28px 24px 16px;
}

.hero-deal__eyebrow {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.75;
}

.hero-deal h2 {
  margin: 8px 0 6px;
  font-size: 28px;
  line-height: 1.1;
}

.hero-deal p {
  margin: 0 0 18px;
  opacity: 0.85;
}

.hero-deal__products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 16px 16px;
  align-self: end;
}

.hero-deal__model {
  overflow: hidden;
  align-self: end;
  max-height: 300px;
}

.hero-deal__model img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.4s ease;
}

.hero-deal__model:hover img {
  transform: scale(1.04);
}

.hero-deal__thumb {
  position: relative;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.12);
}

.hero-deal__thumb img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.hero-deal__thumb:hover img {
  transform: scale(1.05);
}

.hero-deal__thumb span {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

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

.section-head--center {
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 500;
  letter-spacing: -0.025em;
  color: var(--dark);
}

.section-head--editorial {
  margin-bottom: 40px;
}

.section-head--editorial h2 {
  font-weight: 500;
}

.section-head--center h2 {
  font-weight: 500;
}

.categories {
  padding: 88px 0 96px;
}

.categories--editorial .categories__grid {
  grid-template-columns: repeat(5, 1fr);
  gap: 20px 14px;
}

.categories--editorial .category-card--editorial {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  background: var(--card-bg);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  text-decoration: none;
  color: inherit;
  transition:
    box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.categories--editorial .category-card--editorial:hover {
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
}

.categories--editorial .category-card__media {
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--card-media-bg);
  border-radius: calc(var(--card-radius) - 2px) calc(var(--card-radius) - 2px) 0 0;
}

.categories--editorial .category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: calc(var(--card-radius) - 2px) calc(var(--card-radius) - 2px) 0 0;
  transition: transform 0.5s var(--ease);
}

.categories--editorial .category-card--editorial:hover .category-card__media img {
  transform: scale(1.03);
}

.categories--editorial .category-card__label {
  margin: 0;
  padding: 12px 12px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  text-align: center;
  color: var(--dark);
  transition: color 0.2s ease;
}

.categories--editorial .category-card--editorial:hover .category-card__label {
  color: var(--accent);
}

.categories--editorial .section-head--editorial h2 {
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
}

.categories--editorial .link-more {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--muted);
}

.categories--editorial .category-card--editorial {
  min-height: 0;
}

.categories--editorial .category-card__overlay h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.categories--editorial .category-card__overlay {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 60%);
  padding: 24px;
}

.categories__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.category-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  min-height: 280px;
  text-decoration: none;
  color: inherit;
}

.category-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.06);
}

.category-card__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), transparent 55%);
  color: #fff;
}

.category-card__overlay h3 {
  margin: 0;
  font-size: 22px;
}

.category-card__overlay span {
  font-size: 13px;
  opacity: 0.85;
}

.products-section {
  padding: 88px 0 104px;
  background: var(--section-bg, var(--bg-soft));
}

.products-section--curated {
  background: var(--bg-page);
}

.products-section--curated .products-grid {
  gap: 32px 18px;
}

.products-section--curated .product-card,
.product-card--curated {
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  background: var(--card-bg);
  overflow: hidden;
  box-sizing: border-box;
}

.products-section--curated .product-card:hover,
.product-card--curated:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  border-color: var(--card-border-hover);
}

.products-section--curated .product-card__wish,
.product-card--curated .product-card__wish {
  display: none;
}

.products-section--curated .product-card__actions,
.product-card--curated .product-card__actions {
  display: none;
}

.product-card__quick-add {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 34px;
  height: 34px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(10px) saturate(1.25);
  backdrop-filter: blur(10px) saturate(1.25);
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--dark);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  overflow: hidden;
  transition:
    opacity 0.2s ease,
    width 0.26s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.2s ease;
}

.product-card__quick-add-icon {
  position: absolute;
  right: 9px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  line-height: 0;
}

.product-card__quick-add-label {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  pointer-events: none;
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  transition:
    opacity 0.18s ease;
}

.product-card--curated:hover .product-card__quick-add {
  opacity: 1;
  pointer-events: auto;
}

.product-card__quick-add:hover,
.product-card__quick-add:focus-visible {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14);
  width: 96px;
}

.product-card__quick-add:hover .product-card__quick-add-label,
.product-card__quick-add:focus-visible .product-card__quick-add-label {
  opacity: 1;
}

.product-card__quick-add:hover {
  background: rgba(255, 255, 255, 0.78);
  -webkit-backdrop-filter: blur(12px) saturate(1.3);
  backdrop-filter: blur(12px) saturate(1.3);
  border-color: rgba(255, 255, 255, 0.8);
}

.products-section--curated .product-card__actions .btn--purchase,
.product-card--curated .product-card__actions .btn--purchase {
  backdrop-filter: blur(4px);
}

.products-section--curated .product-card__media img,
.product-card--curated .product-card__media img {
  aspect-ratio: 3/4;
  transition: opacity 0.45s ease, transform 0.6s ease;
}

.products-section--curated .product-card:hover .product-card__media img,
.product-card--curated:hover .product-card__media img {
  transform: scale(1.02);
}

.products-section--curated .product-card__media,
.product-card--curated .product-card__media {
  background: var(--card-media-bg);
  border-radius: 0;
  overflow: hidden;
}

.products-section--curated .product-card__body,
.product-card--curated .product-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  padding: 14px 14px 16px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.products-section--curated .product-card__title,
.product-card--curated .product-card__title {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--dark);
  margin: 0;
  -webkit-line-clamp: 1;
}

.products-section--curated .product-card__meta,
.product-card--curated .product-card__meta {
  display: none;
}

.products-section--curated .product-card__price,
.product-card--curated .product-card__price {
  margin: 0;
}

.product-card__sale-tag,
.product-card__badge--curated {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.product-card__sale-tag {
  background: #9f1239;
  color: #fff;
}

.product-card__badge--curated {
  background: #111;
  color: #fff;
}

.section-cta .btn--outline {
  border-radius: 0;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.03em;
  padding: 12px 32px;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 32px;
}

.tab {
  border: 1px solid transparent;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  transition: 0.2s ease;
}

.tab.active,
.tab:hover {
  background: #fff;
  color: var(--dark);
  border-color: var(--border);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 900px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition:
    box-shadow 0.28s var(--ease),
    transform 0.28s var(--ease),
    border-color 0.28s var(--ease);
}

.product-card:hover {
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
  border-color: var(--card-border-hover);
}

.product-card__image-btn,
.product-card__title-btn {
  border: none;
  background: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  color: inherit;
  font: inherit;
}

.product-card__image-btn {
  display: block;
}

.product-card__media {
  position: relative;
  overflow: hidden;
  background: var(--card-media-bg);
  flex-shrink: 0;
}

.product-card__badge--sale {
  left: auto;
  right: 12px;
  background: #9f1239;
  color: #fff;
}

.product-card__media.is-loading::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #eee 25%, #f5f5f5 50%, #eee 75%);
  background-size: 200% 100%;
  animation: shimmer 1.2s infinite;
  z-index: 1;
}

.product-card__media.is-loaded::before {
  display: none;
}

.product-card__media img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.product-card__media.is-loaded img {
  opacity: 1;
}

@keyframes shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

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

.product-card__divider {
  width: 100%;
  height: 1px;
  background: rgba(17, 17, 17, 0.08);
  transform: scaleY(0.5);
  transform-origin: top;
}

.product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}

.product-card__wish {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  display: grid;
  place-items: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-6px);
  transition: 0.25s ease;
}

.product-card:hover .product-card__wish {
  opacity: 1;
  transform: translateY(0);
}

.product-card__actions {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateY(12px);
  transition: 0.25s ease;
}

.product-card:hover .product-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.product-card__body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  padding: 12px 14px 12px;
  background: rgba(255, 255, 255, 0.62);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  border-top: 1px solid rgba(255, 255, 255, 0.7);
}

.product-card__title {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

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

.product-card__meta {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

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

.star {
  color: #ddd;
  font-size: 12px;
}

.star.filled {
  color: #f5a623;
}

.product-card__rating {
  font-size: 12px;
  color: var(--muted);
}

.product-card__price {
  margin: 0;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

.promo-banner {
  padding: 56px 0;
}

.promo-banner__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #111, #2a2a2a);
  color: #fff;
}

.promo-banner__copy h2 {
  margin: 0 0 12px;
  font-size: 38px;
  line-height: 1.15;
}

.promo-banner__copy p {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 420px;
}

.promo-banner__media {
  position: relative;
}

.promo-banner__media > img:first-child {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.promo-banner__float {
  position: absolute;
  right: -16px;
  bottom: -16px;
  width: 42%;
  border-radius: 8px;
  border: 4px solid #fff;
  box-shadow: var(--shadow);
  aspect-ratio: 3/4;
  object-fit: cover;
}

.promo-banner__float--transparent {
  width: 52%;
  right: -8px;
  bottom: -28px;
  border: none;
  border-radius: 0;
  aspect-ratio: auto;
  object-fit: contain;
  background: transparent;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.28));
}

.features {
  padding: 64px 0 72px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.features--quiet {
  padding: 56px 0 64px;
  border-top: none;
  background: var(--bg-soft);
}

.features--quiet .features__grid {
  gap: 40px;
  max-width: 880px;
}

.features--quiet .feature {
  padding: 0;
  text-align: center;
}

.features--quiet .feature__icon {
  width: auto;
  height: auto;
  margin-bottom: 10px;
  border: none;
  background: transparent;
  color: var(--muted);
}

.features--quiet .feature strong {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
  color: var(--dark);
}

.features--quiet .feature span {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 960px;
  margin-inline: auto;
}

.feature {
  text-align: center;
  padding: 20px 16px;
}

.feature__icon {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--dark);
  border: 1px solid var(--border);
}

.feature strong {
  display: block;
  font-size: 16px;
  margin-bottom: 4px;
  color: var(--dark);
}

.feature span {
  font-size: 14px;
  color: var(--muted);
}

.blog {
  padding: 56px 0;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.04);
}

.blog-card__media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.blog-card__body {
  padding: 20px;
}

.blog-card__meta {
  font-size: 12px;
  color: var(--muted);
}

.blog-card h3 {
  margin: 8px 0 12px;
  font-size: 20px;
  line-height: 1.3;
}

.footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.72);
}

.footer--flagship .footer__grid {
  gap: 48px;
  padding: 80px 0 56px;
}

.footer--flagship h4 {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
}

.footer--flagship .footer__brand p {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.55);
  max-width: 260px;
}

.footer--flagship .footer__social {
  font-weight: 500;
  font-size: 13px;
  gap: 20px;
}

.footer--flagship .footer__social a {
  color: rgba(255, 255, 255, 0.72);
}

.footer--flagship ul a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.72);
}

.footer--flagship .newsletter {
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.footer--flagship .newsletter input {
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  padding: 12px 0;
}

.footer--flagship .newsletter .btn--accent {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0;
  padding: 12px 28px;
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.footer--flagship .newsletter .btn--accent:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

.newsletter__success {
  color: #fff;
  opacity: 0.85;
  font-size: 0.9rem;
  margin: 0;
  padding: 10px 0;
}

.footer--flagship .footer__bottom-inner {
  padding: 28px 0 36px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.footer--flagship .footer__trust {
  font-size: 11px;
  letter-spacing: 0.02em;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 56px 0 40px;
}

.footer h4 {
  margin: 0 0 16px;
  color: #fff;
  font-size: 16px;
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li + li {
  margin-top: 10px;
}

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

.footer__brand p {
  margin: 16px 0;
  max-width: 280px;
  font-size: 14px;
}

.footer__social {
  display: flex;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.newsletter input {
  flex: 1;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-radius: var(--radius);
  padding: 12px 14px;
  outline: none;
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.footer__trust {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
}

.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 0 24px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 1100px) {
  .search--desktop {
    display: block;
  }
}

@media (max-width: 1100px) {
  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 12px;
  }

  .header__menu-btn,
  .header__search-btn {
    display: grid;
  }

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

  .nav,
  .nav--flagship {
    display: none;
  }

  .hero-deals__grid,
  .categories__grid,
  .products-grid,
  .features__grid,
  .blog__grid,
  .footer__grid,
  .promo-banner__inner {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 768px) {
  .topbar__inner {
    flex-direction: column;
    padding: 8px 0;
    text-align: center;
  }

  .hero-deals__grid,
  .categories__grid,
  .features__grid,
  .blog__grid,
  .footer__grid,
  .promo-banner__inner {
    grid-template-columns: 1fr;
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 10px;
  }

  .product-card__title {
    font-size: 13px;
  }

  .product-card__body {
    padding: 12px;
  }

  .products-section--curated .product-card__body,
  .product-card--curated .product-card__body {
    padding: 12px 12px 14px;
  }

  .hero-deal {
    min-height: auto;
  }

  .section-head h2,
  .promo-banner__copy h2 {
    font-size: 28px;
  }

  .promo-banner__inner {
    padding: 28px;
  }

  .promo-banner__float {
    position: static;
    width: 60%;
    margin-top: 16px;
  }

  .promo-banner__float--transparent {
    width: 72%;
    margin: 8px auto 0;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.22));
  }

  .product-card:not(.product-card--curated) .product-card__actions,
  .product-card:not(.product-card--curated) .product-card__wish {
    opacity: 1;
    transform: none;
  }

  .qv__grid {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .product-card:not(.product-card--curated) .product-card__actions,
  .product-card:not(.product-card--curated) .product-card__wish {
    opacity: 1;
    transform: none;
  }

  .product-card--curated .product-card__quick-add {
    width: 96px;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .product-card--curated .product-card__quick-add-label {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    opacity: 1;
    pointer-events: none;
  }
}

/* ── Product Quick View ── */
.qv {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
}

.qv__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  cursor: pointer;
}

.qv__panel {
  position: relative;
  width: min(960px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  background: var(--bg);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.18);
  animation: qv-in 0.25s ease;
}

@keyframes qv-in {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.qv__close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--dark);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.qv__close:hover {
  border-color: var(--dark);
}

.qv__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.qv__media {
  position: relative;
  background: var(--bg-soft);
}

.qv__media img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
}

.qv__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 5px 10px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.qv__body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.qv__eyebrow {
  margin: 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.qv__title {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.qv__rating {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
}

.qv__price {
  margin: 0;
}

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

.qv__save {
  padding: 4px 8px;
  border-radius: var(--radius);
  background: var(--sale-bg);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.qv__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.qv__sizes {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.qv__label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.qv__size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.qv__size {
  min-width: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--dark);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.qv__size:hover:not(.active) {
  border-color: var(--dark);
  background: var(--bg-soft);
  color: var(--dark);
}

.qv__size.active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
}

.qv__size.active:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.qv__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 8px;
}

.qv__cart,
.qv__details {
  width: 100%;
}

/* ── Product Page ── */
.product-page {
  padding: 24px 0 calc(88px + env(safe-area-inset-bottom));
  background: var(--bg);
}

.product-page__purchase-zone {
  scroll-margin-bottom: 120px;
}

.product-page--missing {
  padding: 80px 0;
  text-align: center;
}

.product-page--missing h1 {
  margin: 0 0 12px;
}

.product-page--missing p {
  color: var(--muted);
  margin: 0 0 24px;
}

.product-page__crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-size: 13px;
  color: var(--muted);
}

.product-page__crumb button {
  border: none;
  background: none;
  padding: 0;
  color: var(--muted);
  cursor: pointer;
}

.product-page__crumb button:hover {
  color: var(--dark);
}

.product-page__hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
  margin-bottom: 56px;
}

.product-page__gallery {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: start;
}

.product-page__sale-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  left: auto;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 4px;
  background: #9f1239;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.product-page__gallery--multi {
  grid-template-columns: 84px 1fr;
}

.product-page__badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  padding: 5px 10px;
  border-radius: var(--radius);
  background: var(--accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.product-page__main-image {
  position: relative;
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}

.product-page__main-image img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.product-page__thumbs {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-page__thumb {
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color 0.2s ease, opacity 0.2s ease;
}

.product-page__thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}

.product-page__thumb:hover {
  border-color: var(--border);
}

.product-page__thumb.active {
  border-color: var(--dark);
}

.product-page__image-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.product-page__category {
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.product-page__title {
  margin: 0 0 10px;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.product-page__sku {
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.product-page__rating {
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-page__price {
  margin-bottom: 10px;
}

.product-page__price-panel {
  width: 100%;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-sizing: border-box;
}

.product-page__price-panel .sale-price {
  display: block;
  width: 100%;
}

.product-page__price-panel .sale-price__amounts {
  margin-bottom: 0;
}

.product-page__price-panel .sale-price__footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.sale-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 16px;
}

.sale-price__amounts {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.sale-price__current {
  font-weight: 700;
  color: var(--dark);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}

.sale-price__current--sale,
.sale-price.is-on-sale .sale-price__current {
  color: #e11d48;
}

.sale-price__compare {
  color: #9ca3af;
  font-size: 0.72em;
  font-weight: 400;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.sale-price__divider {
  width: 1px;
  height: 28px;
  background: #e5e7eb;
  flex-shrink: 0;
}

.sale-price__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sale-price--page.is-on-sale {
  display: block;
  width: 100%;
}

.sale-price--page .sale-price__footer {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #e5e7eb;
}

.sale-price__footer {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.sale-price__footer--card {
  margin-top: 6px;
  padding-top: 0;
  border-top: none;
}

.sale-price__save {
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  white-space: nowrap;
}

.sale-price__pipe {
  color: #d1d5db;
  font-weight: 300;
}

.sale-price__badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: #6d28d9;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.sale-price--page .sale-price__current {
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.sale-price--page .sale-price__compare {
  font-size: 18px;
}

.sale-price--quick .sale-price__current {
  font-size: 22px;
}

.sale-price--quick .sale-price__compare {
  font-size: 16px;
}

.sale-price--card {
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.sale-price--card .sale-price__amounts {
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
}

.sale-price--card .sale-price__current {
  font-size: 16px;
  font-weight: 600;
}

.sale-price--card .sale-price__compare {
  font-size: 13px;
}

.sale-price--card.is-on-sale .sale-price__current {
  font-weight: 700;
}

.sale-price--card .sale-price__compare {
  font-weight: 300;
}

.sale-price--card .sale-price__footer--card {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  margin-left: 2px;
}

.sale-price--card .sale-price__save {
  font-size: 12px;
}

.sale-price--card .sale-price__badge {
  font-size: 10px;
  padding: 3px 8px;
}

.product-card--curated .sale-price--card {
  gap: 4px;
  width: 100%;
}

.product-card--curated .sale-price--card .sale-price__current {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

.product-card--curated .sale-price--card.is-on-sale .sale-price__current {
  color: #e11d48;
}

.product-card--curated .sale-price--card .sale-price__compare {
  font-size: 12px;
  color: #9ca3af;
}

.product-card--curated .sale-price--card .sale-price__footer--card {
  margin-top: 0;
  gap: 6px;
}

.product-card--curated .sale-price--card .sale-price__save {
  font-size: 11px;
  font-weight: 600;
}

.product-card--curated .sale-price--card .sale-price__badge {
  font-size: 9px;
  padding: 2px 7px;
}

.product-page__stock {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: #16a34a;
}

.product-page__desc {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
}

.product-page__highlights {
  margin: 0 0 24px;
  padding-left: 18px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.product-page__option {
  margin-bottom: 18px;
}

.product-page__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.product-page__size-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-page__size {
  min-width: 48px;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--dark);
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease);
}

.product-page__size:hover:not(.active) {
  border-color: var(--dark);
  background: var(--bg-soft);
  color: var(--dark);
}

.product-page__size.active {
  border-color: var(--dark);
  background: var(--dark);
  color: #fff;
  font-weight: 600;
}

.product-page__size.active:hover {
  background: #1a1a1a;
  border-color: #1a1a1a;
  color: #fff;
}

.product-page__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-page__qty button {
  width: 40px;
  height: 40px;
  border: none;
  background: #fff;
  color: var(--dark);
  font-size: 18px;
  cursor: pointer;
}

.product-page__qty button:hover {
  background: var(--bg-soft);
}

.product-page__qty span {
  min-width: 44px;
  text-align: center;
  font-weight: 600;
}

.product-page__actions .btn {
  min-width: 160px;
}

.product-purchase {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0;
}

.product-purchase--compact {
  flex-direction: column;
  margin: 0;
}

.product-purchase__cart,
.product-purchase__buy {
  flex: 1 1 160px;
  min-width: 140px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 10px 16px;
}

.product-purchase__cart:not(.is-in-cart) {
  background: rgba(255, 255, 255, 0.92);
  color: var(--dark);
  border: 1px solid rgba(17, 17, 17, 0.22);
  box-shadow: none;
  transform: none;
}

.product-purchase__cart:not(.is-in-cart):hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
}

.product-purchase__buy {
  background: transparent;
  color: var(--dark);
  border: 1px solid var(--dark);
  box-shadow: none;
  transform: none;
}

.product-purchase__buy:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.product-purchase__buy:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.product-purchase__cart.is-in-cart,
.product-page__sticky-cta.is-in-cart {
  background: #111;
  border-color: #111;
}

.product-purchase__cart.is-in-cart:hover,
.product-page__sticky-cta.is-in-cart:hover {
  background: color-mix(in srgb, #111 72%, white);
  border-color: color-mix(in srgb, #111 72%, white);
}

.product-purchase__status {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 10px 0 0;
  font-size: 13px;
  color: #166534;
  font-weight: 500;
}

.product-page__sticky-in-cart {
  font-style: normal;
  color: #166534;
  font-weight: 600;
}

.product-purchase--compact .product-purchase__cart,
.product-purchase--compact .product-purchase__buy {
  width: 100%;
}

.product-purchase--compact .product-purchase__cart {
  min-height: 38px;
  padding: 8px 14px;
}

.qv__option {
  margin-bottom: 4px;
}

.qv__option .product-page__qty {
  margin-top: 8px;
}

.qv .product-purchase--compact .product-purchase__cart:not(.is-in-cart) {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

.qv .product-purchase--compact .product-purchase__cart:not(.is-in-cart):hover {
  background: #6d28d9; /* purple hover */
  border-color: #6d28d9;
  color: #fff;
}

.qv__continue,
.qv__details-link {
  width: 100%;
}

.qv__details-link {
  border: none;
  background: transparent;
  color: var(--muted);
  font-weight: 600;
  padding: 8px;
  cursor: pointer;
}

.qv__details-link:hover {
  color: var(--dark);
}

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

.product-page__meta p {
  margin: 0 0 10px;
}

.product-page__tabs {
  margin-bottom: 56px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: #fff;
}

.product-page__tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 16px 0;
  border-bottom: 1px solid var(--border);
  background: var(--bg-soft);
}

.product-page__tab {
  border: none;
  background: transparent;
  padding: 12px 20px;
  border-radius: var(--radius) var(--radius) 0 0;
  font-weight: 600;
  font-size: 14px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1.4;
}

.product-page__tab.active {
  background: #fff;
  color: var(--dark);
  box-shadow: 0 -1px 0 #fff;
}

.product-page__tab-panel {
  padding: 28px 32px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--text);
}

.product-page__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 24px;
  margin: 0;
}

.product-page__specs div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.product-page__specs dt {
  margin: 0;
  font-weight: 600;
  color: var(--dark);
}

.product-page__specs dd {
  margin: 0;
  color: var(--muted);
}

.product-page__table {
  width: 100%;
  border-collapse: collapse;
}

.product-page__table th,
.product-page__table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.product-page__table th {
  font-size: 13px;
  color: var(--dark);
  background: var(--bg-soft);
}

.product-page__related h2 {
  margin: 0 0 28px;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.product-page__related .products-grid {
  gap: 36px 20px;
}

@media (max-width: 640px) {
  .product-page__sticky-inner {
    padding: 10px 12px;
    gap: 10px;
    border-radius: 12px;
  }

  .product-page__sticky-product {
    gap: 10px;
  }

  .product-page__sticky-thumb {
    width: 40px;
    height: 50px;
  }

  .product-page__sticky-name {
    font-size: 12px;
  }

  .product-page__sticky-actions {
    gap: 10px;
  }

  .product-page__sticky-price strong {
    font-size: 14px;
  }

  .product-page__sticky-cta {
    padding: 10px 14px;
    font-size: 12px;
  }

  .product-page__sticky-cta svg {
    display: none;
  }
}

@media (max-width: 900px) {
  .product-page__hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .product-page__gallery--multi {
    grid-template-columns: 1fr;
  }

  .product-page__thumbs {
    flex-direction: row;
    order: 2;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .product-page__thumb {
    flex: 0 0 72px;
  }

  .product-page__main-image {
    order: 1;
  }

  .product-page__title {
    font-size: 28px;
  }

  .product-page__specs {
    grid-template-columns: 1fr;
  }

  .product-page__sku {
    margin-left: 0;
    width: 100%;
  }

  .product-page__desc--desktop,
  .product-page__highlights--desktop {
    display: none;
  }

  .product-purchase {
    margin-top: 16px;
  }
}

/* ── Checkout ── */
.checkout-page {
  padding: 24px 0 72px;
  background: #f5f5f5;
  min-height: calc(100vh - 72px);
}

.checkout-page--empty,
.checkout-page--success {
  background: #f5f5f5;
}

.checkout-page__inner {
  max-width: 520px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 0;
}

.checkout-page__inner h1 {
  margin: 0 0 12px;
}

.checkout-page__inner p {
  color: var(--muted);
  margin: 0 0 24px;
}

.checkout-page__layout {
  max-width: 860px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 400px) minmax(320px, 400px);
  column-gap: 28px;
  row-gap: 20px;
  justify-content: center;
  align-items: start;
}

.checkout-page__header {
  grid-column: 1;
  grid-row: 1;
  margin-bottom: 0;
}

.checkout-page__header .product-page__crumb {
  margin-bottom: 10px;
}

.checkout-page__title {
  margin: 0;
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.checkout-page__grid {
  display: contents;
}

.checkout-page__main {
  grid-column: 1;
  grid-row: 2;
}

.checkout-page__summary {
  grid-column: 2;
  grid-row: 2;
}

.checkout-page__items h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}

.checkout-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  overflow: hidden;
  background: #fff;
}

.checkout-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border-bottom: 1px solid var(--border);
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-item__thumb {
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft);
}

.checkout-item__thumb img {
  width: 80px;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.checkout-item__body {
  text-align: left;
}

.checkout-item__name {
  border: none;
  background: none;
  padding: 0;
  margin: 0 0 4px;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--dark);
}

.checkout-item__name:hover {
  color: var(--accent);
}

.checkout-item__meta {
  margin: 0 0 6px;
  font-size: 13px;
  color: var(--muted);
}

.checkout-item__remove {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.checkout-item__remove:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.checkout-page__summary {
  position: sticky;
  top: calc(var(--site-header-offset) + 16px);
}

.checkout-page__summary h2 {
  margin-bottom: 14px;
  font-size: 16px;
}

.checkout-summary__row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
  font-size: 14px;
}

.checkout-summary__note {
  margin: 0 0 12px;
  font-size: 12px;
  color: var(--muted);
}

.checkout-summary__total {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 16px;
}

.checkout-summary__buy {
  width: 100%;
  margin-top: 16px;
}

.checkout-summary__cod {
  margin: 12px 0 0;
  font-size: 12px;
  text-align: center;
  color: var(--muted);
}

.cart-toast {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: min(360px, calc(100vw - 40px));
  padding: 14px 16px;
  border-radius: calc(var(--radius) + 2px);
  background: var(--dark);
  color: #fff;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18);
  animation: cart-toast-in 0.25s ease;
}

@keyframes cart-toast-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.cart-toast__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.cart-toast__body strong {
  font-size: 14px;
}

.cart-toast__body span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.cart-toast__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-toast__link {
  border: none;
  background: #fff;
  color: var(--dark);
  border-radius: var(--radius);
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.cart-toast__close {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: transparent;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

/* ── Mobile navigation ── */
.mobile-nav,
.search-overlay,
.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 500;
}

.mobile-nav__backdrop,
.search-overlay__backdrop,
.cart-drawer__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  cursor: pointer;
  animation: fade-in 0.2s var(--ease);
}

.mobile-nav__panel,
.cart-drawer__panel {
  position: absolute;
  top: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  animation: slide-in-left 0.28s var(--ease);
}

.mobile-nav__panel {
  left: 0;
}

.cart-drawer__panel {
  right: 0;
  animation-name: slide-in-right;
}

.mobile-nav__head,
.cart-drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__head h2,
.cart-drawer__head h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.mobile-nav__links {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  flex: 1;
  overflow: auto;
}

.mobile-nav__links a {
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 500;
  border-bottom: 1px solid var(--border);
}

.mobile-nav__links a:hover {
  background: var(--bg-soft);
  color: var(--accent);
}

.mobile-nav__foot {
  padding: 20px 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--muted);
}

.mobile-nav__foot p {
  margin: 0 0 6px;
}

.search-overlay__panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 720px;
  margin: 80px auto 0;
  padding: 0 20px;
  animation: fade-in 0.2s var(--ease);
}

.search--overlay {
  flex: 1;
  display: block;
}

.search--overlay input {
  width: 100%;
  border: none;
  border-radius: calc(var(--radius) + 4px);
  padding: 18px 52px 18px 20px;
  font-size: 18px;
  box-shadow: var(--shadow-lg);
}

.search-overlay__close {
  flex-shrink: 0;
}

/* ── Cart drawer ── */
.cart-drawer__shipping {
  padding: 12px 20px;
  font-size: 13px;
  color: var(--muted);
  border-bottom: 1px solid var(--border);
}

.cart-drawer__shipping--free {
  color: var(--dark);
  font-weight: 600;
}

.cart-drawer__shipping-bar {
  height: 4px;
  border-radius: 999px;
  background: var(--border);
  margin-bottom: 8px;
  overflow: hidden;
}

.cart-drawer__shipping-bar span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: inherit;
  transition: width 0.3s var(--ease);
}

.cart-drawer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
  overflow: auto;
}

.cart-drawer__item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer__thumb {
  border: none;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-soft);
}

.cart-drawer__thumb img {
  width: 72px;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.cart-drawer__name {
  border: none;
  background: none;
  padding: 0;
  margin: 0 0 4px;
  font: inherit;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cart-drawer__meta {
  margin: 0 0 8px;
  font-size: 12px;
  color: var(--muted);
}

.cart-drawer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.cart-drawer__qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.cart-drawer__qty button {
  width: 28px;
  height: 28px;
  border: none;
  background: var(--bg-soft);
  cursor: pointer;
  font-size: 16px;
}

.cart-drawer__qty span {
  min-width: 28px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
}

.cart-drawer__remove {
  border: none;
  background: none;
  font-size: 22px;
  color: var(--muted);
  cursor: pointer;
  align-self: start;
}

.cart-drawer__foot {
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}

.cart-drawer__totals {
  margin-bottom: 12px;
}

.cart-drawer__total-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  padding: 4px 0;
}

.cart-drawer__total-row--grand {
  margin-top: 8px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  font-size: 16px;
}

.cart-drawer__checkout {
  width: 100%;
}

.cart-drawer__trust {
  margin: 10px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}

.cart-drawer__empty {
  flex: 1;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 32px 24px;
}

.cart-drawer__empty-icon {
  display: flex;
  justify-content: center;
  margin: 0 0 12px;
  color: var(--muted);
}

.cart-drawer__shipping--free {
  display: flex;
  align-items: center;
  gap: 6px;
}

.cart-drawer__empty h3 {
  margin: 0 0 8px;
}

.cart-drawer__empty p {
  color: var(--muted);
  margin: 0 0 20px;
}

/* ── Checkout form (flagship) ── */
.checkout-page__main {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.checkout-form-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  background: #fff;
}

.checkout-form-card--compact {
  padding: 18px 20px;
}

.checkout-form-card--compact h2 {
  margin-bottom: 14px;
  font-size: 16px;
  font-weight: 600;
}

.checkout-form-card__section {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.checkout-form-card__section h3 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 600;
}

.checkout-form-card h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}

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

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

@media (min-width: 480px) {
  .checkout-form-grid--simple {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-form-grid--simple .checkout-field:nth-child(1),
  .checkout-form-grid--simple .checkout-field:nth-child(4),
  .checkout-form-grid--simple .checkout-field:nth-child(7) {
    grid-column: 1 / -1;
  }
}

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

.checkout-field--full {
  grid-column: 1 / -1;
}

.checkout-field__label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
}

.checkout-field__star {
  margin-left: 3px;
  color: #dc2626;
  font-weight: 600;
}

.checkout-field span {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
}

.checkout-field input,
.checkout-field select,
.checkout-field textarea {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s var(--ease);
}

.checkout-form-card--compact .checkout-field input,
.checkout-form-card--compact .checkout-field textarea {
  padding: 9px 12px;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-field textarea:focus {
  border-color: var(--accent);
}

.checkout-field em {
  font-style: normal;
  font-size: 12px;
  color: #c0392b;
}

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

.checkout-payments--cards {
  gap: 12px;
}

.checkout-payment-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.checkout-payment-card:hover {
  border-color: rgba(0, 0, 0, 0.18);
}

.checkout-payment-card.is-selected {
  border-color: var(--dark);
  background: var(--bg-soft);
}

.checkout-payment-card input {
  margin-top: 4px;
  flex-shrink: 0;
}

.checkout-payment-card__body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.checkout-payment-card__head {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-payment-card__head strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}

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

.checkout-payment-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.checkout-payment-logos--single {
  gap: 0;
}

.checkout-payment-logos__item {
  height: 28px;
  width: auto;
  max-width: 72px;
  object-fit: contain;
  border-radius: 4px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 4px 6px;
}

.checkout-payment-logos__item--cod {
  max-width: 88px;
  height: 32px;
  border: none;
  background: transparent;
  padding: 0;
}

.checkout-payment-empty,
.checkout-payment-error {
  font-style: normal;
  font-size: 13px;
  color: var(--muted);
}

.checkout-payment-error {
  color: #c0392b;
}

.checkout-payment {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s var(--ease), background 0.2s var(--ease);
}

.checkout-payment:has(input:checked) {
  border-color: var(--accent);
  background: var(--bg-soft);
}

.checkout-payment input {
  margin-top: 4px;
}

.checkout-payment__body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.checkout-payment__body span {
  font-size: 13px;
  color: var(--muted);
}

.checkout-page__items--mobile {
  display: none;
}

.checkout-summary-list {
  list-style: none;
  margin: 0 0 16px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-summary-item {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 12px 0;
}

.checkout-summary-item + .checkout-summary-item {
  border-top: 1px solid var(--border);
}

.checkout-summary-item__thumb {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-soft);
}

.checkout-summary-item__thumb img {
  width: 56px;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
}

.checkout-summary-item__main {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkout-summary-item__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.checkout-summary-item__name {
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.checkout-summary-item__price {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.checkout-summary-item__controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.checkout-summary-item__size select {
  height: 32px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 8px center;
  font: inherit;
  font-size: 12px;
  font-weight: 500;
  color: var(--dark);
  cursor: pointer;
  appearance: none;
}

.checkout-summary-item__size select:focus {
  outline: none;
  border-color: var(--dark);
}

.checkout-summary-item__remove {
  width: 32px;
  height: 32px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.checkout-summary-item__remove:hover {
  border-color: var(--dark);
  color: var(--dark);
}

.cart-drawer__qty--inline {
  height: 32px;
}

.cart-drawer__qty--inline button {
  width: 32px;
  height: 32px;
}

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

.checkout-coupon {
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.checkout-coupon__form {
  display: flex;
  gap: 8px;
}

.checkout-coupon__form input {
  flex: 1;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font: inherit;
  font-size: 13px;
}

.checkout-coupon__form input:focus {
  outline: none;
  border-color: var(--dark);
}

.checkout-coupon__apply {
  flex-shrink: 0;
  height: 40px;
  padding-inline: 16px;
  font-size: 13px;
}

.checkout-coupon__applied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius);
  background: #f0fdf4;
}

.checkout-coupon__applied-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.checkout-coupon__applied-copy strong {
  font-size: 13px;
  letter-spacing: 0.04em;
}

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

.checkout-coupon__remove {
  border: none;
  background: none;
  padding: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  white-space: nowrap;
}

.checkout-coupon__remove:hover {
  color: var(--dark);
}

.checkout-coupon__error {
  margin: 8px 0 0;
  font-size: 12px;
  color: #dc2626;
  font-style: normal;
}

.checkout-summary__row--discount span:last-child {
  color: var(--sale);
  font-weight: 600;
}

.checkout-trust {
  list-style: none;
  margin: 16px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--muted);
}

.checkout-trust li + li {
  margin-top: 6px;
}

.checkout-item__qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}

.checkout-success__meta {
  font-weight: 600;
  color: var(--dark);
}

.state-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--bg-soft);
  font-size: 28px;
}

.state-icon--success {
  background: var(--dark);
  color: #fff;
  font-size: 32px;
}

.products-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: calc(var(--radius) + 4px);
}

/* ── Product page flagship polish ── */
.product-page__trust {
  list-style: none;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

.product-page__trust li {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-page__trust li svg {
  flex-shrink: 0;
  color: var(--dark);
}

.btn-label-with-icon,
.link-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-page__qty button,
.cart-drawer__qty button,
.checkout-item__qty-row button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.cart-drawer__remove,
.checkout-item__remove,
.cart-toast__close,
.qv__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-page__sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 180;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-page__sticky-bar.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.product-page__sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 960px);
  margin-inline: auto;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.product-page__sticky-product {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.product-page__sticky-thumb {
  width: 48px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #f4f2ef;
}

.product-page__sticky-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.product-page__sticky-name {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-page__sticky-variant {
  font-size: 12px;
  color: var(--muted);
}

.product-page__sticky-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.product-page__sticky-price {
  display: flex;
  flex-direction: column;
  gap: 0;
  text-align: right;
}

.product-page__sticky-price strong {
  font-size: 16px;
  font-weight: 500;
  color: var(--dark);
}

.product-page__sticky-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.product-page__sticky-cta svg {
  flex-shrink: 0;
}

.product-purchase--compact {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.product-purchase--compact .btn {
  padding: 10px 14px;
  font-size: 13px;
  white-space: nowrap;
  min-height: 40px;
}

.qv .product-purchase--compact .product-purchase__cart {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 12px;
  font-size: 12px;
}

.qv .product-purchase--compact .product-purchase__cart svg {
  width: 14px;
  height: 14px;
}

.product-purchase--compact .product-purchase__buy {
  display: none;
}

.hero-deals,
.categories,
.products-section,
.promo-banner {
  animation: section-in 0.45s var(--ease) both;
}

/* ── Editorial hero (flagship) ── */
.hero-editorial {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--dark);
}

.hero-editorial__media {
  position: absolute;
  inset: 0;
}

.hero-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}

.hero-editorial__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.12) 50%,
    rgba(0, 0, 0, 0.02) 100%
  );
}

.hero-editorial__inner {
  position: relative;
  z-index: 1;
  padding: 56px 0 72px;
}

.hero-editorial__copy {
  max-width: 480px;
  color: #fff;
}

.hero-editorial__copy .eyebrow {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 16px;
}

.hero-editorial__copy h1 {
  margin: 0 0 14px;
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.035em;
}

.hero-editorial__copy p {
  margin: 0 0 32px;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.78);
  max-width: 400px;
}

.hero-editorial__cta {
  color: #fff;
}

.hero-editorial__cta:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

/* ── Editorial campaign ── */
.campaign-editorial {
  position: relative;
  min-height: min(75vh, 680px);
  display: grid;
  align-items: end;
  overflow: hidden;
  margin: 0;
}

.campaign-editorial__media {
  position: absolute;
  inset: 0;
}

.campaign-editorial__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
}

.campaign-editorial__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.52) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    transparent 100%
  );
}

.campaign-editorial__inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 88px;
}

.campaign-editorial__copy {
  max-width: 520px;
  color: #fff;
}

.campaign-editorial__copy h2 {
  margin: 0 0 14px;
  font-size: clamp(32px, 4.2vw, 52px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.campaign-editorial__copy p {
  margin: 0 0 32px;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.82);
  max-width: 420px;
}

.campaign-editorial__cta {
  color: #fff;
}

.campaign-editorial__cta:hover {
  background: #fff;
  color: var(--dark);
  border-color: #fff;
}

/* ── Brand story (legacy variant) ── */
.brand-story {
  padding: 96px 0;
  background: var(--bg-soft);
}

.brand-story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.brand-story__copy h2 {
  margin: 0 0 16px;
  font-size: clamp(28px, 3.5vw, 40px);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--dark);
}

.brand-story__copy p {
  margin: 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
  max-width: 440px;
}

.brand-story__media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: calc(var(--radius) + 2px);
}

@media (max-width: 900px) {
  .hero-editorial {
    min-height: 75vh;
  }

  .hero-editorial__inner {
    padding-bottom: 56px;
  }

  .campaign-editorial {
    min-height: 60vh;
  }

  .campaign-editorial__inner {
    padding-bottom: 56px;
  }

  .brand-story__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .brand-story__media img {
    aspect-ratio: 16/10;
  }

  .categories--editorial .categories__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header--flagship .nav--flagship {
    display: none;
  }

  .features__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer--flagship .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .categories--editorial .categories__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 8px;
  }

  .categories--editorial .category-card--editorial {
    min-height: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    overflow: visible;
    gap: 8px;
  }

  .categories--editorial .category-card--editorial:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
  }

  .categories--editorial .category-card__media {
    width: 82%;
    max-width: 108px;
    margin: 0 auto;
    aspect-ratio: 1;
    border-radius: var(--card-radius);
    border: 1px solid var(--card-border);
    background: var(--card-media-bg);
    overflow: hidden;
  }

  .categories--editorial .category-card__media img {
    border-radius: var(--card-radius);
    object-position: center center;
  }

  .categories--editorial .category-card--editorial:hover .category-card__media img {
    transform: scale(1.04);
  }

  .categories--editorial .category-card__label {
    padding: 0 2px 2px;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
    color: var(--text);
  }

  .categories--editorial .category-card--editorial:hover .category-card__label {
    color: var(--dark);
  }

  .categories--editorial .section-head--editorial h2 {
    font-size: 22px;
  }

  .categories {
    padding: 56px 0 64px;
  }

  .products-section {
    padding: 64px 0 80px;
  }
}

@keyframes section-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slide-in-left {
  from { transform: translateX(-100%); }
  to { transform: none; }
}

@keyframes slide-in-right {
  from { transform: translateX(100%); }
  to { transform: none; }
}

@media (max-width: 900px) {
  .checkout-page__layout {
    max-width: 480px;
    grid-template-columns: 1fr;
  }

  .checkout-page__header {
    grid-column: 1;
    grid-row: 1;
  }

  .checkout-page__main {
    grid-column: 1;
    grid-row: 2;
  }

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

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

  .checkout-form-grid--simple .checkout-field:nth-child(1),
  .checkout-form-grid--simple .checkout-field:nth-child(4),
  .checkout-form-grid--simple .checkout-field:nth-child(7) {
    grid-column: auto;
  }

  .checkout-page__summary {
    grid-column: 1;
    grid-row: 3;
    position: static;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
