:root {
  --ink: #10100f;
  --paper: #fafaf7;
  --cream: #f3f0e9;
  --muted: #6d6b66;
  --line: #e8e6df;
  --accent: #d9ff42
}

* {
  box-sizing: border-box
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, Arial, sans-serif
}

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

h1,
h2,
h3 {
  font-family: "Space Grotesk", sans-serif;
  letter-spacing: -.05em;
  color: var(--ink)
}

p {
  color: var(--muted)
}

.announcement-bar {
  padding: 9px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em
}

.announcement-bar span {
  color: var(--accent)
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 250, 247, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px)
}

.header-inner {
  height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between
}

.brand {
  font: 700 20px "Space Grotesk";
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.1em
}

.brand span {
  color: #888
}

.site-nav {
  display: flex;
  gap: 30px
}

.site-nav a,
.header-actions a {
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none
}

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

.cart-link {
  display: flex;
  align-items: center;
  gap: 7px
}

.cart-icon {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid;
  border-radius: 50%;
  font-size: 8px
}

.menu-toggle {
  display: none
}

.hero-hero {
  position: relative;
  min-height: calc(100svh - 108px);
  display: flex;
  align-items: end;
  overflow: hidden
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0
}

.hero-bg {
  background-size: cover;
  background-position: center
}

.hero-overlay {
  background: linear-gradient(90deg, rgba(0, 0, 0, .58), rgba(0, 0, 0, .05))
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(1280px, 100%);
  margin: auto;
  padding: 100px 32px;
  color: #fff
}

.hero-kicker,
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase
}

.hero-title {
  max-width: 700px;
  color: #fff;
  font-size: clamp(3.1rem, 7vw, 6.3rem);
  line-height: .9
}

.hero-sub {
  max-width: 470px;
  color: #fff;
  font-size: 18px
}

.btn-primary {
  display: inline-flex;
  gap: 22px;
  padding: 14px 19px;
  background: var(--accent);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none
}

.text-link {
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 28px
}

.product-card {
  border: 0 !important;
  background: transparent !important;
  overflow: hidden
}

.product-card>a {
  display: block;
  overflow: hidden;
  background: var(--cream)
}

.product-card img {
  display: block;
  width: 100%;
  height: 390px;
  object-fit: cover;
  transition: transform .5s
}

.product-card:hover img {
  transform: scale(1.045)
}

.product-card-body {
  padding: 14px 2px
}

.product-title {
  font-size: 13px;
  font-weight: 700
}

.product-price {
  margin-top: 4px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800
}

.swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 10px 4px 0 0;
  border: 1px solid #ccc;
  border-radius: 50%;
  background: #aaa
}

.band-black {
  margin-top: 55px;
  padding: 24px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em
}

.baseline {
  padding: 80px 10%;
  background: var(--cream);
  font: 700 clamp(1.8rem, 4vw, 3.6rem)/1.05 "Space Grotesk";
  letter-spacing: -.06em;
  text-align: center
}

.btn-ghost {
  border: 1px solid var(--ink);
  border-radius: 0;
  background: transparent;
  color: var(--ink)
}

footer {
  background: var(--ink) !important;
  color: #bbb
}

footer p,
footer a {
  color: #bbb !important
}

/* Product page */
.product-page {
  padding: 28px 0 92px
}

.breadcrumb {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden
}

.breadcrumb a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: none
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr);
  gap: clamp(32px, 6vw, 92px);
  align-items: start
}

.product-main-image {
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 4/5
}

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

.product-thumbnails {
  display: flex;
  gap: 9px;
  margin-top: 10px;
  overflow: auto
}

.thumbnail-btn {
  width: 70px;
  height: 88px;
  padding: 0;
  border: 1px solid transparent;
  background: var(--cream);
  opacity: .55;
  cursor: pointer
}

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

.thumbnail-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.product-info {
  position: sticky;
  top: 106px
}

.product-info h1 {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: clamp(2.3rem, 4vw, 4.3rem);
  line-height: 1.2
}

.product-price-row {
  display: flex;
  gap: 14px;
  align-items: baseline
}

.product-price-row strong {
  font-size: 18px
}

.product-price-row del {
  color: #999;
  font-size: 14px
}

.stock-status {
  font-size: 12px;
  font-weight: 700
}

.in-stock {
  color: #4c6c00
}

.out-of-stock {
  color: #b42318
}

.product-description {
  font-size: 14px
}

.purchase-form {
  margin-top: 28px;
  padding-top: 25px;
  border-top: 1px solid var(--line)
}

.purchase-form fieldset {
  margin: 0 0 24px;
  padding: 0;
  border: 0
}

.purchase-form legend {
  margin-bottom: 11px;
  font-size: 12px;
  font-weight: 800
}

.purchase-form legend span {
  color: var(--muted);
  font-weight: 500
}

.size-heading {
  display: flex;
  justify-content: space-between
}

.size-heading a {
  color: var(--ink);
  font-size: 11px
}

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

.option-grid button {
  min-width: 66px;
  padding: 11px 13px;
  border: 1px solid var(--line);
  background: transparent;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer
}

.option-grid button.is-selected {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff
}

.purchase-actions {
  display: flex;
  gap: 10px
}

.quantity-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--line)
}

.quantity-control button {
  width: 36px;
  height: 48px;
  border: 0;
  background: transparent;
  font-size: 18px
}

.quantity-control input {
  width: 32px !important;
  padding: 0 !important;
  border: 0 !important;
  text-align: center
}

.add-to-cart {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 19px;
  border: 0;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 800
}

.add-to-cart:disabled {
  background: #aaa
}

.product-reassurance {
  display: grid;
  gap: 14px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line)
}

.product-reassurance b,
.product-reassurance span {
  display: block;
  font-size: 12px
}

.product-reassurance span {
  color: var(--muted)
}

.related-products {
  margin-top: 100px
}

@media(max-width:800px) {
  .container {
    padding-inline: 28px
  }

  .header-inner {
    height: 32px
  }

  .site-nav {
    display: none
  }

  .menu-toggle {
    display: block
  }

  .admin-link {
    display: none
  }

  .hero-content {
    padding: 70px 20px
  }

  .hero-hero {
    min-height: 650px
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px
  }

  .product-card img {
    height: 260px
  }

  .product-layout {
    grid-template-columns: 1fr;
    gap: 30px
  }

  .product-info {
    position: static
  }

  .product-main-image {
    aspect-ratio: 1/1.18
  }

  .purchase-actions {
    position: sticky;
    bottom: 10px;
    z-index: 3
  }

  .add-to-cart {
    min-height: 52px
  }

  .related-products {
    margin-top: 64px
  }
}

/* Change 2: Product card hover overlay */
.product-card a {
  position: relative;
}

.product-card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 15, 0.42);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-card-overlay {
  opacity: 1;
}

.product-card-overlay span {
  display: inline-block;
  padding: 10px 22px;
  background: var(--accent);
  color: var(--ink);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* Change 3: Swatches without hardcoded bg */
.swatch {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 10px 4px 0 0;
  border: 1px solid #ccc;
  border-radius: 50%
}

/* Change 4: Variant hint */
.variant-hint {
  margin-top: 10px;
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  transition: opacity 0.3s
}

.variant-hint.is-hidden {
  opacity: 0
}

/* Change 5: Color buttons with dot */
.color-btn {
  display: flex;
  align-items: center;
  gap: 7px
}

.color-dot {
  display: inline-block;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
  flex-shrink: 0
}

/* Change 6: Cart & Checkout light theme */
.cart-section,
.checkout-section {
  padding: 64px 32px;
  max-width: 1280px;
  margin: 0 auto
}

.cart-item-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px;
  transition: border-color 0.2s
}

.cart-item-card:hover {
  border-color: var(--muted)
}

.cart-summary-card,
.checkout-card {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px
}

.empty-cart-state {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 16px
}

.checkout-input {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 14px;
  outline: none;
  width: 100%;
  transition: border-color 0.2s
}

.checkout-input:focus {
  border-color: var(--ink)
}

.checkout-input::placeholder {
  color: var(--muted)
}

.delivery-option-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  transition: border-color 0.2s
}

.delivery-option-card:has(input:checked) {
  border-color: var(--ink);
  background: var(--cream)
}

@media(max-width:800px) {

  .cart-section,
  .checkout-section {
    padding: 32px 20px
  }
}

@media (max-width: 480px) {
  .checkout-progress {
    overflow-x: auto;
    padding-bottom: 8px;
    margin-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .checkout-progress>* {
    flex-shrink: 0;
  }

  .step-label {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

  .progress-line {
    margin: 0 4px;
    margin-bottom: 18px;
  }
}

/* Change 7: Checkout progress */
.checkout-progress {
  display: flex;
  align-items: center;
  margin: 28px 0;
  gap: 0
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex-shrink: 0
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
  color: var(--muted);
  background: var(--paper)
}

.step-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted)
}

.progress-line {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 8px;
  margin-bottom: 22px
}

.progress-step.is-done .step-num {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--accent)
}

.progress-step.is-done .step-label {
  color: var(--ink)
}

.progress-step.is-active .step-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink)
}

.progress-step.is-active .step-label {
  color: var(--ink);
  font-weight: 800
}

.progress-line.is-done {
  background: var(--ink)
}

/* Change 11: Marquee */
.band-black {
  margin-top: 55px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .15em;
  white-space: nowrap
}

.marquee-track {
  overflow: hidden;
  padding: 22px 0
}

.marquee-content {
  display: inline-block;
  animation: marquee 22s linear infinite
}

@keyframes marquee {
  from {
    transform: translateX(0)
  }

  to {
    transform: translateX(-50%)
  }
}

.marquee-track:hover .marquee-content {
  animation-play-state: paused
}

/* Change 12: Footer */
.site-footer {
  background: var(--ink);
  color: #bbb
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 32px 40px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px
}

.footer-brand p {
  color: #999
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px
}

.footer-heading {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px
}

.footer-links a {
  color: #999;
  font-size: 13px;
  text-decoration: none;
  transition: color .2s
}

.footer-links a:hover {
  color: #fff
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 32px;
  border-top: 1px solid #d9ff42;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: #666
}

@media(max-width:800px) {
  .footer-inner {
    grid-template-columns: 1fr;
    padding: 40px 20px 32px;
    gap: 32px
  }

  .footer-bottom {
    padding: 16px 20px;
    flex-direction: column;
    gap: 8px;
    text-align: center
  }
}