:root {
  --ink: #10120f;
  --paper: #f3f2ec;
  --white: #ffffff;
  --lime: #c7ff2f;
  --muted: #686b64;
  --line: #d8d9d2;
  --radius: 1.15rem;
  --shadow: 0 22px 60px rgba(16, 18, 15, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
button, .button { cursor: pointer; }
img { display: block; max-width: 100%; }
.shell { width: min(1180px, calc(100% - 2rem)); margin-inline: auto; }
.announcement {
  background: var(--lime);
  padding: .55rem 1rem;
  text-align: center;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(243, 242, 236, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; font-weight: 950; letter-spacing: -.04em; }
.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: .78rem;
  letter-spacing: -.08em;
}
.nav-links { display: flex; align-items: center; gap: 1.4rem; font-size: .92rem; font-weight: 700; }
.nav-links a:hover, .nav-links a[aria-current="page"] { text-decoration: underline; text-underline-offset: .35rem; }
.cart-link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .55rem .8rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
}
.cart-count {
  display: grid;
  min-width: 1.45rem;
  height: 1.45rem;
  padding: 0 .25rem;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-size: .75rem;
}
.hero {
  position: relative;
  min-height: 610px;
  overflow: hidden;
  background: #161816;
  color: var(--white);
}
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,8,7,.92) 0%, rgba(7,8,7,.62) 35%, rgba(7,8,7,.06) 74%); }
.hero-content { position: relative; z-index: 1; width: min(1180px, calc(100% - 2rem)); margin: auto; padding-top: 8.5rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1.25rem;
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 1.8rem; height: 3px; background: var(--lime); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 720px; margin-bottom: 1.2rem; font-size: clamp(3.2rem, 8vw, 7rem); line-height: .88; letter-spacing: -.075em; text-transform: uppercase; }
.hero-copy { max-width: 500px; margin-bottom: 2rem; color: #e5e6e1; font-size: 1.08rem; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .8rem 1.15rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}
.button:hover { transform: translateY(-1px); }
.button.accent { border-color: var(--lime); background: var(--lime); color: var(--ink); }
.button.ghost { background: transparent; color: var(--ink); }
.section { padding: 5rem 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 2rem; }
.section-head h2, .page-title { margin-bottom: 0; font-size: clamp(2.1rem, 5vw, 4.2rem); line-height: .95; letter-spacing: -.06em; text-transform: uppercase; }
.section-head p { max-width: 430px; margin-bottom: .25rem; color: var(--muted); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.product-card { border-radius: var(--radius); background: var(--white); overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-visual { position: relative; aspect-ratio: 1 / .86; overflow: hidden; background: #dcded6; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.0); filter: saturate(.75); }
.product-tag { position: absolute; top: .8rem; left: .8rem; padding: .35rem .55rem; border-radius: 999px; background: var(--lime); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.product-info { padding: 1rem; }
.product-meta { color: var(--muted); font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.product-row { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-top: .35rem; }
.product-row h3 { margin: 0; font-size: 1.05rem; }
.price { white-space: nowrap; font-weight: 850; }
.feature-band { background: var(--ink); color: var(--white); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: #3b3d38; }
.feature { min-height: 220px; padding: 2rem; background: var(--ink); }
.feature strong { display: block; margin-bottom: 2.4rem; color: var(--lime); font-size: 2.5rem; letter-spacing: -.05em; }
.feature h3 { margin-bottom: .55rem; }
.feature p { margin-bottom: 0; color: #b9bdb3; }
.page-hero { padding: 5rem 0 3rem; border-bottom: 1px solid var(--line); }
.page-hero p { max-width: 600px; margin: 1rem 0 0; color: var(--muted); }
.filters { display: flex; flex-wrap: wrap; gap: .55rem; margin-bottom: 1.5rem; }
.filter { padding: .6rem .85rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-weight: 750; }
.filter.active { border-color: var(--ink); background: var(--ink); color: var(--white); }
.product-detail { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; padding: 4rem 0; }
.detail-visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #1a1b19;
}

.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 0px;
  transform: scale(1.3);
}
.detail-panel { align-self: center; }
.detail-panel h1 { margin-bottom: 1rem; color: var(--ink); font-size: clamp(2.8rem, 6vw, 5.5rem); }
.detail-price { margin-bottom: 1.3rem; font-size: 1.45rem; font-weight: 850; }
.detail-copy { color: var(--muted); }
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; margin: 1.5rem 0; }
.size {
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: .7rem;
  background: var(--white);
  font-weight: 750;
}
.size.selected { border-color: var(--ink); background: var(--ink); color: var(--white); }
.full { width: 100%; }
.notice { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.cart-layout, .checkout-layout { display: grid; grid-template-columns: 1.4fr .6fr; gap: 2rem; padding: 3rem 0 5rem; }
.panel { padding: 1.5rem; border-radius: var(--radius); background: var(--white); }
.cart-item { display: grid; grid-template-columns: 100px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-thumb { aspect-ratio: 1; overflow: hidden; border-radius: .8rem; background: #222; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: 72%; }
.cart-item h3 { margin-bottom: .25rem; }
.cart-item p { margin-bottom: 0; color: var(--muted); }
.remove { border: 0; background: transparent; color: #8b241c; font-weight: 750; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: .8rem; }
.summary-row.total { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 1.15rem; font-weight: 850; }
.empty { padding: 4rem 1rem; text-align: center; color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field.full-span { grid-column: 1 / -1; }
.field label { font-weight: 750; }
.field input, .field select {
  width: 100%;
  min-height: 48px;
  padding: .75rem .85rem;
  border: 1px solid var(--line);
  border-radius: .75rem;
  background: var(--paper);
}
.confirmation { max-width: 720px; margin: 5rem auto; padding: 3rem; text-align: center; border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.confirmation .check { display: grid; width: 64px; height: 64px; margin: 0 auto 1.5rem; place-items: center; border-radius: 50%; background: var(--lime); font-size: 1.8rem; font-weight: 900; }
.confirmation h1 { color: var(--ink); font-size: clamp(2.7rem, 7vw, 5rem); }
.footer { padding: 3rem 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; justify-content: space-between; gap: 1rem; color: var(--muted); font-size: .9rem; }
.analytics-note { max-width: 720px; margin: 0 auto 4rem; padding: 1rem 1.2rem; border-left: 4px solid var(--lime); background: var(--white); color: var(--muted); }

@media (max-width: 820px) {
  .nav-links > a:not(.cart-link) { display: none; }
  .hero { min-height: 560px; }
  .hero-content { padding-top: 7rem; }
  .product-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid .feature:last-child { grid-column: 1 / -1; }
  .product-detail, .cart-layout, .checkout-layout { grid-template-columns: 1fr; }
  .detail-visual { min-height: 430px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 1.2rem, 1180px); }
  .announcement { font-size: .7rem; }
  .nav { min-height: 64px; }
  .hero { min-height: 610px; }
  .hero::after { background: linear-gradient(0deg, rgba(7,8,7,.9), rgba(7,8,7,.3)); }
  .hero-content { padding-top: 15rem; }
  .section { padding: 3.5rem 0; }
  .section-head { align-items: start; flex-direction: column; }
  .product-grid, .feature-grid { grid-template-columns: 1fr; }
  .feature-grid .feature:last-child { grid-column: auto; }
  .product-detail { gap: 1.5rem; padding-top: 1.5rem; }
  .detail-visual { min-height: 360px; }
  .form-grid { grid-template-columns: 1fr; }
  .field.full-span { grid-column: auto; }
  .cart-item { grid-template-columns: 72px 1fr; }
  .cart-item > :last-child { grid-column: 2; }
  .footer-row { flex-direction: column; }
}
.hero .button {
  position: relative;
  top: -12px;
}
.hero-slider {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 1.2s cubic-bezier(.76, 0, .24, 1);
}

.hero-slider img {
  position: static;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-slider img.shorter-slide {
  object-position: center 90%;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slider {
    transition: none;
  }
}
.cookie-banner {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  z-index: 1000;
  max-width: 900px;
  margin-inline: auto;
  padding: 1.25rem;
  border: 1px solid #383a35;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.35);
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cookie-content h2 {
  margin-bottom: 0.4rem;
  font-size: 1.15rem;
}

.cookie-content p {
  max-width: 600px;
  margin-bottom: 0;
  color: #c8cbc3;
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-shrink: 0;
  gap: 0.75rem;
}

.cookie-banner .button.ghost {
  border-color: #777b72;
  color: var(--white);
}

@media (max-width: 700px) {
  .cookie-content {
    align-items: stretch;
    flex-direction: column;
    gap: 1rem;
  }

  .cookie-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
.logo {
  height: 32px;
  width: auto;
}

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

.brand-name {
  font-weight: 900;
  letter-spacing: 2px;
}
.product-detail {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: start;
  padding: 4rem 0;
}

.detail-visual {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #1a1b19;
}

.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.back-button {
  position: fixed;
  top: 20px;
  left: 20px;
  z-index: 999;
  padding: 10px 14px;
  background: rgba(0,0,0,0.7);
  color: white;
  text-decoration: none;
  border-radius: 8px;
}
@media (max-width: 820px) {
  .detail-visual {
    aspect-ratio: 1 / 1;
  }

  .detail-visual img {
    transform: none;          /* stops zoom only on mobile */
    object-fit: contain;     /* keeps full product visible */
    width: 100%;
    height: 100%;
  }
}
@media (max-width: 820px) {

  .detail-visual {
    aspect-ratio: auto;   /* removes forced square on mobile */
    background: transparent;
  }

  .detail-visual img {
    width: 100%;
    height: auto;
    object-fit: cover;    /* fills space instead of shrinking */
    transform: none;
  }

}
@media (max-width: 820px) {

  .product-detail {
    grid-template-columns: 1fr; /* stack text + image */
    gap: 1.5rem;
  }

  .detail-visual {
    width: 100%;
    aspect-ratio: 1 / 1;   /* keep structure so image doesn't collapse */
    background: transparent;
  }

  .detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;     /* fills space = no tiny image */
    transform: none;
  }

  .detail-panel {
    padding: 0 0.2rem;
  }

}