:root {
  --bg: #0a0a0b;
  --bg-elevated: #121214;
  --bg-card: #18181b;
  --bg-soft: #1f1f23;
  --border: #2a2a2e;
  --border-strong: #3a3a40;
  --text: #f4f4f5;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #e8e8ea;
  --accent-soft: rgba(255, 255, 255, 0.08);
  --danger: #f87171;
  --success: #4ade80;
  --warn: #fbbf24;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  --header-h: 72px;
  --font: 'Outfit', sans-serif;
  --display: 'Syne', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  background:
    radial-gradient(1200px 600px at 10% -10%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(900px 500px at 100% 0%, rgba(120, 120, 140, 0.12), transparent 50%),
    var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.5;
  max-width: 100%;
  overflow-x: clip;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 2rem));
  max-width: 100%;
  margin-inline: auto;
  box-sizing: border-box;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(10, 10, 11, 0.94);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.75rem;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.header-right {
  justify-content: flex-end;
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo {
  width: 85px;
  height: auto;
  object-fit: contain;
}

.footer-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.brand-name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
}

.icon-btn {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 10px;
  position: relative;
  transition: background 0.15s ease, color 0.15s ease;
}

.icon-btn:hover,
.icon-btn.active {
  background: var(--accent-soft);
  color: #fff;
}

.burger {
  width: 18px;
  height: 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.burger i {
  display: block;
  height: 1.5px;
  width: 100%;
  background: currentColor;
  border-radius: 2px;
}

.cart-bag .cart-badge {
  position: absolute;
  top: 4px;
  right: 2px;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.68rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-search {
  border-top: 1px solid var(--border);
  background: #0e0e10;
  padding: 0.75rem 0;
}

.header-search[hidden] {
  display: none !important;
}

.header-search-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.6rem;
}

.header-search input {
  width: 100%;
  padding: 0.8rem 0.95rem;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  background: #121214;
  outline: none;
}

.header-search input:focus {
  border-color: #8b8b95;
}

.header-search .btn {
  padding: 0.8rem 1.1rem;
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 60;
}

.nav-backdrop[hidden] {
  display: none !important;
}

.site-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 86vw);
  height: 100vh;
  background: #101012;
  border-right: 1px solid var(--border);
  z-index: 70;
  transform: translateX(-105%);
  transition: transform 0.25s ease, visibility 0.25s ease;
  padding: 1rem;
  visibility: hidden;
  pointer-events: none;
}

.site-drawer.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-weight: 600;
  color: var(--text-muted);
}

.drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-nav a {
  display: block;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
}

.drawer-nav a:hover,
.drawer-nav a.active {
  background: var(--accent-soft);
}

body.menu-open {
  overflow: hidden;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav a:hover,
.nav a.active {
  color: var(--text);
}

.cart-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cart-badge {
  min-width: 1.35rem;
  height: 1.35rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--text);
  color: var(--bg);
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-toggle span:not(.burger) {
  width: 18px;
  height: 2px;
  background: var(--text);
}

.main {
  min-height: calc(100vh - var(--header-h) - 180px);
  padding-top: var(--header-h);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--text);
  color: #0a0a0b;
}

.btn-primary:hover {
  background: #fff;
}

.btn-ghost {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--accent-soft);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Home poster */
.home-poster {
  width: 100%;
  line-height: 0;
  background: #000;
  overflow: hidden;
}

.home-poster img {
  width: 100%;
  height: auto;
  max-height: 72vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

@media (max-width: 720px) {
  .home-poster img {
    max-height: none;
    height: auto;
    object-fit: contain;
    width: 100%;
  }
}

/* Offer marquee */
.offer-marquee {
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: #101012;
  padding: 0.75rem 0;
  white-space: nowrap;
}

.offer-marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}

.offer-item {
  display: inline-block;
  padding: 0 1.25rem;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
}

.offer-dot {
  color: var(--text-dim);
  font-size: 0.85rem;
}

@keyframes marquee-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer-marquee-track {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    white-space: normal;
    row-gap: 0.35rem;
  }
}

/* Sale timer */
.sale-timer {
  border-bottom: 1px solid var(--border);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.03), transparent 40%, rgba(255, 255, 255, 0.03)),
    #0e0e10;
  padding: 1.15rem 0;
}

.sale-timer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  text-align: center;
}

.sale-timer-label {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.sale-timer-digits {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.timer-block {
  min-width: 64px;
  padding: 0.55rem 0.7rem;
  border-radius: 12px;
  background: #18181b;
  border: 1px solid var(--border-strong);
}

.timer-block span {
  display: block;
  font-family: var(--display);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
}

.timer-block small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.timer-sep {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-muted);
  padding-bottom: 0.85rem;
}

.sale-timer-note {
  margin: 0;
  color: #f87171;
  font-size: 0.9rem;
  font-weight: 500;
}

.sale-timer.ended .sale-timer-note {
  color: var(--text-muted);
}

.sale-timer.ended .timer-block {
  opacity: 0.55;
}

@media (max-width: 720px) {
  .sale-timer-inner {
    gap: 0.65rem;
  }

  .timer-block {
    min-width: 56px;
  }
}

/* Hero */
.hero {
  padding: 2.5rem 0 1rem;
}

.hero-panel {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  min-height: min(72vh, 640px);
  display: grid;
  align-items: end;
}

.hero-panel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.hero-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.15) 0%, rgba(10, 10, 11, 0.35) 45%, rgba(10, 10, 11, 0.92) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 560px;
}

.hero-brand {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 0.95;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.hero-text {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Sections */
.section {
  padding: 3rem 0;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0;
  letter-spacing: -0.02em;
}

.section-head p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

/* Product grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem 1.1rem;
}

.product-card {
  background: transparent;
  border: 0;
  border-radius: 0;
  overflow: visible;
  transition: transform 0.2s ease;
  text-align: center;
}

.product-card:hover {
  transform: translateY(-3px);
}

.product-card .thumb {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--bg-soft);
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--border);
}

.product-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .thumb img {
  transform: scale(1.04);
}

.sale-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.product-card .body {
  padding: 0.85rem 0.35rem 0;
}

.badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.product-card h3 {
  margin: 0 0 0.4rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.price-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.product-card .compare {
  display: block;
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .price {
  display: block;
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.price {
  font-weight: 700;
}

.compare {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 0.9rem;
}

/* Product detail */
.product-detail {
  padding: 2rem 0 3rem;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: start;
}

.gallery-wrap {
  display: grid;
  gap: 0.75rem;
}

.gallery {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.gallery-thumbs {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 2px 0;
  scrollbar-width: thin;
}

.thumb-btn {
  flex: 0 0 72px;
  width: 72px;
  height: 96px;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-soft);
  cursor: pointer;
  scroll-snap-align: start;
}

.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--text);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-html {
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
  font-size: 0.98rem;
}

.product-html p {
  margin: 0 0 0.85rem;
}

.product-html ul {
  margin: 0 0 0.85rem;
  padding-left: 1.15rem;
}

.product-html li {
  margin-bottom: 0.35rem;
}

.product-html b {
  color: var(--text);
  font-weight: 600;
}

.product-info h1 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  margin: 0.55rem 0 0.85rem;
  letter-spacing: -0.02em;
}

.product-info .desc {
  color: var(--text-muted);
  margin: 1rem 0 1.5rem;
}

.rating-line,
.reviews-summary,
.reviews-score {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  flex-wrap: wrap;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.stars {
  color: #c4d4ff;
  letter-spacing: 0.08em;
  font-size: 0.95rem;
}

.pd-price-block {
  margin-bottom: 1rem;
}

.pd-compare {
  color: var(--text-dim);
  text-decoration: line-through;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.pd-price-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.pd-price {
  font-size: 1.55rem;
  font-weight: 700;
  color: #4ade80;
}

.sale-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: #111;
  border: 1px solid var(--border-strong);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

.tax-note {
  margin: 0.35rem 0 0;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.looking-now {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 0;
  margin-bottom: 1rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.looking-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #60a5fa;
  box-shadow: 0 0 0 4px rgba(96, 165, 250, 0.18);
  flex-shrink: 0;
}

.option-group {
  margin-bottom: 1.15rem;
}

.option-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
  font-weight: 500;
}

.option-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.option-pills input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.option-pills span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  padding: 0.55rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg-soft);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.option-pills input:checked + span {
  border-color: var(--text);
  background: var(--text);
  color: var(--bg);
}

.qty-box-wrap {
  margin: 0.25rem 0 1.15rem;
}

.qty-box-wrap > label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.45rem;
}

.qty-box {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  overflow: hidden;
  background: #0f0f11;
}

.qty-box input {
  width: 54px;
  text-align: center;
  border: 0;
  background: transparent;
  padding: 0.7rem 0.2rem;
  -moz-appearance: textfield;
}

.qty-box input::-webkit-outer-spin-button,
.qty-box input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-btn {
  width: 42px;
  height: 44px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.15rem;
}

.qty-btn:hover {
  background: var(--accent-soft);
}

.delivery-box {
  margin-bottom: 1.25rem;
}

.delivery-main {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  color: #4ade80;
  font-size: 0.95rem;
  line-height: 1.45;
}

.order-before {
  margin: 0.4rem 0 0 1.7rem;
  color: #f87171;
  font-size: 0.9rem;
}

.pd-actions {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
}

.pd-actions-row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: center;
}

.qty-box-inline {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  height: 48px;
}

.qty-box-inline .qty-btn {
  width: 40px;
  height: 48px;
  border: 0;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-size: 1.1rem;
}

.qty-box-inline .qty-display {
  min-width: 28px;
  text-align: center;
  font-weight: 600;
}

.btn-cart {
  width: 100%;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.85rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 48px;
}

.btn-cart:hover {
  background: var(--accent-soft);
}

.btn-buy {
  width: 100%;
  border-radius: 999px;
  background: var(--text);
  color: #0a0a0b;
  border: 1px solid var(--text);
  padding: 0.95rem 1.2rem;
  height: 52px;
}

.btn-buy:hover {
  background: #fff;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  text-align: center;
}

.custom-icons-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 100%;
  padding: 5px 0 1.15rem;
  flex-wrap: nowrap;
  background: transparent;
}

.custom-icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 1 22%;
  margin: 0;
  padding: 0 5px;
  text-align: center;
  min-width: 0;
}

.custom-icon-item img {
  width: 90px;
  height: 45px;
  object-fit: contain;
  margin-bottom: 6px;
  filter: brightness(0) invert(1);
}

.custom-icon-text {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #e8e8ea;
  letter-spacing: 0.8px;
  line-height: 1.2;
  margin: 0;
  white-space: normal;
  word-break: break-word;
}

.trust-item {
  display: grid;
  gap: 0.4rem;
  justify-items: center;
}

.trust-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  background: var(--bg-soft);
}

.trust-item span {
  font-size: 0.62rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  line-height: 1.25;
}

.pay-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 52px;
  height: 30px;
  padding: 0 0.55rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: #fff;
  color: #111;
  font-size: 0.68rem;
  font-weight: 700;
}

.pay-chip.amex {
  background: #2e77bb;
  color: #fff;
  border-color: #2e77bb;
}

.pay-chip.mc {
  background: #1a1a1a;
  color: #fff;
}

.pd-accordion {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--bg-card);
  margin-bottom: 0.65rem;
  overflow: hidden;
}

.pd-accordion summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  font-weight: 600;
}

.pd-accordion summary::-webkit-details-marker {
  display: none;
}

.acc-chevron::before {
  content: '▾';
  color: var(--text-muted);
}

.pd-accordion[open] .acc-chevron::before {
  content: '▴';
}

.acc-body {
  padding: 0 1rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid var(--border);
  padding-top: 0.85rem;
  margin: 0 0.15rem;
}

.size-chart-note {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
}

.size-chart-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.size-chart {
  width: 100%;
  border-collapse: collapse;
  min-width: 320px;
  font-size: 0.88rem;
}

.size-chart th,
.size-chart td {
  padding: 0.55rem 0.65rem;
  border: 1px solid var(--border);
  text-align: center;
}

.size-chart th {
  background: #161618;
  color: var(--text);
  font-weight: 600;
}

.size-chart td:first-child,
.size-chart th:first-child {
  font-weight: 600;
  color: var(--text);
}

.size-chart tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, 0.02);
}

.reviews-section {
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
}

.reviews-inner {
  text-align: center;
}

.reviews-inner h2 {
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.5vw, 2.2rem);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.reviews-summary,
.reviews-score {
  justify-content: center;
  margin-bottom: 0.65rem;
}

.reviews-sub {
  margin: 0.35rem 0 0.75rem;
  color: var(--text-muted);
}

.review-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
  text-align: left;
}

.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
}

.review-card .stars {
  margin-bottom: 0.55rem;
  color: #fbbf24;
}

.review-card p {
  margin: 0 0 0.85rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.review-card strong {
  font-size: 0.88rem;
}

.review-card.is-hidden {
  display: none;
}

.see-more-reviews {
  margin-top: 1.35rem;
  border-radius: 999px;
}

.related-section {
  padding: 2.5rem 0 3.5rem;
  border-top: 1px solid var(--border);
}

.related-head {
  margin-bottom: 1.35rem;
}

.related-head h2 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
}

.related-head p {
  margin: 0;
  color: var(--text-muted);
}

.related-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .trust-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .review-cards {
    grid-template-columns: 1fr;
  }

  .rating-line {
    font-size: 0.85rem;
  }
}

/* Cart */
.page-title {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 1.5rem;
  letter-spacing: -0.02em;
}

.cart-layout,
.checkout-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 1.25rem;
  align-items: start;
  padding-bottom: 3rem;
}

.panel {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}

.cart-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.cart-item:first-child {
  padding-top: 0;
}

.cart-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-soft);
}

.cart-item h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.meta {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin-bottom: 0.65rem;
}

.cart-item form {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-item input[type="number"] {
  width: 70px;
  padding: 0.45rem 0.55rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.link-danger {
  color: var(--danger);
  font-size: 0.88rem;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.summary-row.discount-row-sum {
  color: var(--success);
}

.offer-banner {
  margin-bottom: 1rem;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(74, 222, 128, 0.25);
  background: rgba(74, 222, 128, 0.08);
  color: var(--text);
  font-size: 0.95rem;
}

.offer-banner strong {
  color: var(--success);
}

.offer-banner-hint {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}


.empty-state {
  text-align: center;
  padding: 3.5rem 1rem;
}

.empty-state h2 {
  font-family: var(--display);
  margin: 0 0 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  margin: 0 0 1.25rem;
}

/* Shopify-style address / checkout */
.checkout-page {
  background: #0c0c0d;
}

.checkout-wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - var(--header-h) - 180px);
}

.checkout-main {
  padding: 2rem 2.5rem 3rem;
  border-right: 1px solid var(--border);
}

.checkout-side {
  padding: 2rem 2rem 3rem;
  background: #111113;
}

.checkout-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.checkout-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.75rem;
}

.checkout-steps a {
  color: var(--text-muted);
}

.checkout-steps .current {
  color: var(--text);
  font-weight: 600;
}

.checkout-steps .sep {
  opacity: 0.5;
}

.checkout-section {
  margin-bottom: 1.75rem;
}

.checkout-section h2 {
  font-size: 1.15rem;
  margin: 0 0 1rem;
  font-weight: 600;
}

.field {
  margin-bottom: 0.75rem;
}

.field label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #0f0f11;
  outline: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: #8b8b95;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.06);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.field-row-3 {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr;
  gap: 0.75rem;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0.85rem 0 1.25rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
}

.checkout-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
}

.back-link {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.back-link:hover {
  color: var(--text);
}

.order-line {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  margin-bottom: 1rem;
}

.order-thumb {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-soft);
}

.order-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-qty {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #6b6b73;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
}

.order-line h4 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 500;
}

.order-line .meta {
  margin: 0.15rem 0 0;
}

.discount-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
  margin: 1.25rem 0;
}

.discount-row input {
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #0f0f11;
}

.discount-row button {
  padding: 0.8rem 1rem;
  border-radius: 10px;
  border: 1px solid var(--border-strong);
  background: #1a1a1e;
  cursor: pointer;
  font-weight: 600;
}

/* Payment */
.pay-methods {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.pay-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: #0f0f11;
  cursor: pointer;
}

.pay-option:has(input:checked) {
  border-color: var(--text);
  background: rgba(255, 255, 255, 0.04);
}

.pay-option input {
  accent-color: #fff;
}

.card-fields {
  display: none;
  margin-top: 0.25rem;
}

.card-fields.show {
  display: block;
}

.secure-note {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-top: 1rem;
}

.success-box {
  text-align: center;
  max-width: 520px;
  margin: 3rem auto;
  padding: 2.5rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.success-box .icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(74, 222, 128, 0.12);
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
}

.success-box h1 {
  font-family: var(--display);
  margin: 0 0 0.5rem;
}

.success-box p {
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
  margin-top: 2rem;
  background: rgba(0, 0, 0, 0.25);
}

.footer-inner {
  display: grid;
  gap: 1rem;
}

.footer-brand p {
  color: var(--text-muted);
  margin: 0.75rem 0 0;
  max-width: 360px;
}

.footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--text);
}

.footer-copy {
  color: var(--text-dim);
  font-size: 0.88rem;
  margin: 0.5rem 0 0;
}

/* Animations */
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-content,
.product-card,
.panel,
.product-info {
  animation: rise 0.55s ease both;
}

.product-card:nth-child(2) { animation-delay: 0.05s; }
.product-card:nth-child(3) { animation-delay: 0.1s; }
.product-card:nth-child(4) { animation-delay: 0.15s; }

/* Responsive */
@media (max-width: 980px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail,
  .cart-layout,
  .checkout-layout,
  .checkout-wrap {
    grid-template-columns: 1fr;
  }

  .checkout-main {
    border-right: 0;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 1rem 2rem;
  }

  .checkout-side {
    padding: 1.5rem 1rem 2.5rem;
  }

  .field-row-3 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --header-h: 64px;
  }

  .brand-logo {
    width: 72px;
  }

  .home-poster {
    width: 100%;
  }

  .home-poster img {
    max-height: none;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center top;
  }

  .sale-timer {
    padding: 0.9rem 0;
  }

  .sale-timer-inner {
    gap: 0.55rem 0.75rem;
    flex-direction: column;
  }

  .timer-block {
    min-width: 56px;
    padding: 0.45rem 0.6rem;
  }

  .timer-block span {
    font-size: 1.3rem;
  }

  .product-card .body {
    padding: 0.7rem 0.15rem 0;
  }

  .product-card h3 {
    font-size: 0.84rem;
  }

  .product-card .compare {
    font-size: 0.72rem;
  }

  .product-card .price {
    font-size: 0.84rem;
  }

  .section {
    padding: 2rem 0;
  }

  .cart-item {
    grid-template-columns: 72px 1fr;
  }

  .cart-item .line-total {
    grid-column: 2;
  }

  .field-row {
    grid-template-columns: 1fr;
  }

  .checkout-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }
}

/* Launch offer popup */
.offer-popup[hidden] {
  display: none !important;
}

.offer-popup {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.offer-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.offer-popup-card {
  position: relative;
  width: min(420px, 100%);
  background:
    radial-gradient(600px 220px at 50% -20%, rgba(255, 255, 255, 0.1), transparent 60%),
    #121214;
  border: 1px solid var(--border-strong);
  border-radius: 18px;
  padding: 1.6rem 1.35rem 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
  animation: popup-in 0.35s ease;
}

@keyframes popup-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.offer-popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
}

.offer-popup-close:hover {
  color: var(--text);
  background: var(--accent-soft);
}

.offer-popup-eyebrow {
  margin: 0 0 0.45rem;
  color: #4ade80;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.offer-popup-card h2 {
  margin: 0 0 0.45rem;
  font-family: var(--display);
  font-size: clamp(1.5rem, 4vw, 1.9rem);
  letter-spacing: -0.02em;
}

.offer-popup-sub {
  margin: 0 0 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.offer-popup-deals {
  display: grid;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.offer-deal {
  display: grid;
  gap: 0.2rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0e0e10;
}

.offer-deal-tag {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-weight: 600;
}

.offer-deal strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.offer-deal span {
  color: var(--text-muted);
  font-size: 0.88rem;
}

.offer-popup-note {
  margin: 0 0 1.1rem;
  color: var(--text-dim);
  font-size: 0.82rem;
}

.offer-popup-cta {
  width: 100%;
  border-radius: 999px;
  text-align: center;
}

body.popup-open {
  overflow: hidden;
}
