@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2-variations");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-i.woff2") format("woff2");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #070708;
  --bg-2: #111114;
  --bg-3: #1a1a1f;
  --ink: #f4f1ea;
  --muted: #a8a39a;
  --line: rgba(244, 241, 234, 0.12);
  --teal: #2bb5a8;
  --teal-dark: #1e8f85;
  --white: #fff;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}

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

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

button,
input,
select {
  font-family: inherit;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: var(--teal);
  color: #062422;
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(7, 7, 8, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo img {
  width: auto;
  height: 30px;
}

.nav {
  display: flex;
  gap: 26px;
  font-weight: 600;
  font-size: 14px;
}

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

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

.cart-link {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  margin-left: 6px;
  border-radius: 999px;
  background: var(--teal);
  color: #062422;
  font-size: 11px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 10px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 14px 26px;
  font-weight: 800;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary {
  background: var(--teal);
  color: #062422;
}

.btn-primary:hover {
  background: #48cfc2;
}

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

.btn-lg {
  padding: 16px 30px;
  font-size: 16px;
}

.btn-block {
  width: 100%;
}

h1,
h2,
h3 {
  font-family: "Fraunces", Georgia, serif;
  letter-spacing: -0.04em;
  margin: 0 0 14px;
  font-weight: 500;
}

h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.02;
}

h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.1;
}

h3 {
  font-size: 24px;
}

em {
  font-style: italic;
  color: var(--teal);
}

.hero {
  padding: 48px 0 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
}

.kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
}

.lede {
  color: var(--muted);
  font-size: 18px;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.hero-meta {
  color: var(--muted);
  font-size: 14px;
}

.hero-photo {
  position: relative;
}

.hero-photo img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 8px;
}

section {
  padding: 88px 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-head.center {
  text-align: center;
  margin-inline: auto;
}

.section-head p,
.muted {
  color: var(--muted);
}

.panel {
  background: var(--bg-2);
}

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

.effect {
  background: var(--bg-2);
  border-radius: 16px;
  padding: 24px;
  min-height: 220px;
}

.effect span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.feature {
  background: var(--bg-2);
  border-radius: 16px;
  overflow: hidden;
}

.feature img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.feature div {
  padding: 22px;
}

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

.product-card {
  background: var(--bg-2);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.product-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  background: #000;
}

.product-card .body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.price {
  font-size: 22px;
  font-weight: 800;
}

.pdp {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: start;
}

.gallery-main img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 12px;
}

.thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 10px;
}

.thumbs button {
  border: 1px solid var(--line);
  background: transparent;
  padding: 0;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
}

.thumbs img {
  width: 100%;
  height: 80px;
  object-fit: cover;
}

.buy-box {
  position: sticky;
  top: 92px;
  background: var(--bg-2);
  border-radius: 16px;
  padding: 28px;
}

.includes {
  padding: 0;
  list-style: none;
  color: var(--muted);
}

.includes li {
  margin: 8px 0;
}

.qty-row {
  display: flex;
  gap: 10px;
  margin: 18px 0;
}

.qty-row input {
  width: 72px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.qty-row .btn {
  flex: 1;
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
}

.faq p {
  color: var(--muted);
}

.cart-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
}

.cart-item {
  display: grid;
  grid-template-columns: 96px 1fr auto;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
}

.cart-item h3 {
  font-family: "Manrope", sans-serif;
  font-size: 16px;
}

.cart-item input {
  width: 64px;
  margin-left: 8px;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 8px;
  padding: 8px;
}

.summary {
  background: var(--bg-2);
  border-radius: 16px;
  padding: 22px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.checkout-form {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.checkout-form input,
.checkout-form select {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 12px;
}

.legal {
  max-width: 820px;
}

.legal h2 {
  margin-top: 36px;
  font-size: 28px;
}

.legal h3 {
  margin-top: 22px;
  font-family: "Manrope", sans-serif;
  font-size: 17px;
  letter-spacing: 0;
}

.legal p,
.legal li {
  color: var(--muted);
}

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 15px;
}

.legal th,
.legal td {
  border-bottom: 1px solid var(--line);
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.legal th {
  color: var(--ink);
  font-weight: 700;
  width: 36%;
}

.legal .box {
  background: var(--bg-2);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 20px;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 24px;
}

.footer h3 {
  font-family: "Manrope", sans-serif;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.footer a {
  display: block;
  margin: 8px 0;
}

.footer-bottom {
  margin-top: 28px;
  font-size: 13px;
}

.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  display: none;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  z-index: 50;
}

.cookie.show {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
}

.toast {
  position: fixed;
  top: 92px;
  right: 16px;
  background: var(--teal);
  color: #062422;
  padding: 12px 16px;
  border-radius: 10px;
  display: none;
  z-index: 60;
  font-weight: 800;
}

.toast.show {
  display: block;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 12px;
}

.center {
  text-align: center;
}

.sale-tag {
  display: inline-block;
  background: var(--teal);
  color: #062422;
  font-size: 12px;
  font-weight: 800;
  border-radius: 999px;
  padding: 4px 10px;
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: #0d0d10;
    flex-direction: column;
    padding: 16px 20px 22px;
    gap: 14px;
    border-bottom: 1px solid var(--line);
  }

  .nav.open {
    display: flex;
  }

  .hero-grid,
  .features,
  .products,
  .effects,
  .pdp,
  .cart-layout,
  .footer-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-photo img,
  .gallery-main img {
    height: 320px;
  }

  .buy-box {
    position: static;
  }

  .cookie.show {
    flex-direction: column;
    align-items: stretch;
  }
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  font-size: 13px;
  color: var(--muted);
  margin: 4px 0 2px;
}

.consent a {
  color: var(--teal);
  text-decoration: underline;
}

.consent input {
  margin-top: 3px;
  accent-color: var(--teal);
}

.field {
  display: grid;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.form-error {
  display: none;
  background: #3a1620;
  border: 1px solid #7a2c3f;
  color: var(--ink);
  border-radius: 10px;
  padding: 12px;
  font-size: 14px;
}

.form-error.show {
  display: block;
}

.legal-note {
  background: var(--bg-2);
  border-left: 3px solid var(--teal);
  border-radius: 12px;
  padding: 22px 24px;
  color: var(--muted);
  font-size: 14px;
  max-width: 860px;
}

.legal-note h2 {
  font-family: "Manrope", sans-serif;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 10px;
}

.legal-note p {
  margin: 0 0 10px;
}

.legal-note p:last-child {
  margin-bottom: 0;
}

.entity {
  font-size: 13px;
  line-height: 1.7;
}

.cookie p {
  margin: 0;
  font-size: 14px;
}

.cookie a {
  color: var(--teal);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.cookie-actions .btn {
  padding: 11px 20px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .cookie-actions .btn {
    flex: 1;
  }
}
