:root {
  --bg: #ffffff;
  --tile: #f4f4f4;
  --ink: #111111;
  --mint: #00EDB9;
  --lime: #8DFF55;
  --sale: #E0143C;
  --muted: #767676;
  --soft: #f2f2f2;
  --line: #e5e5e5;
  --footer-dark: #1a1a1a;
  --header-h: 72px;
  --topbar-h: 34px;
  --font: "Poppins", system-ui, -apple-system, sans-serif;
  --serif: "Playfair Display", "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  font-size: 13px;
  line-height: 1.5;
  min-height: 100vh;
}
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: 0; background: none; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

.wrap {
  width: min(1440px, calc(100% - 48px));
  margin: 0 auto;
}

/* Top bar */
.topbar {
  background: #000;
  color: #fff;
  height: var(--topbar-h);
  font-size: 11px;
  letter-spacing: .02em;
}
.topbar-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.topbar-left { justify-self: start; display: flex; align-items: center; gap: 6px; }
.topbar-center { justify-self: center; min-height: 1em; }
.topbar-right { justify-self: end; }
.topbar a:hover { text-decoration: underline; }
.promo-msg { transition: opacity .35s ease; }
.promo-msg.is-out { opacity: 0; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-main {
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.nav-primary a { white-space: nowrap; }
.nav-primary a:hover { color: #444; }
.nav-primary a.is-hot { color: #000; }

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  padding: 0 8px;
}
.logo-word {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -.02em;
}
.logo-tag {
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-top: 4px;
  color: #222;
  font-weight: 500;
}

.header-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}
.search {
  display: flex;
  align-items: center;
  border-bottom: 1px solid #111;
  padding: 2px 0;
  width: 180px;
}
.search input {
  border: 0;
  outline: none;
  width: 100%;
  font-size: 12px;
  background: transparent;
}
.search input::placeholder { color: #999; }
.search button { display: flex; padding: 0 0 0 6px; }

.icon-btn {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.icon-btn svg { width: 20px; height: 20px; }
.badge {
  position: absolute;
  top: -4px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: #111;
  color: #fff;
  border-radius: 8px;
  font-size: 9px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
}
.menu-toggle { display: none; }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.62) 100%),
    url("https://images.unsplash.com/photo-1469334031218-e382a71b716b?auto=format&fit=crop&w=1800&q=80") center 30% / cover no-repeat;
  background-color: #111;
}
.hero-inner { padding: 64px 24px 48px; }
.hero h1 {
  font-size: clamp(48px, 9vw, 120px);
  font-weight: 700;
  letter-spacing: .12em;
  line-height: .9;
  text-transform: uppercase;
}
.hero-sub {
  margin-top: 18px;
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 500;
  letter-spacing: .04em;
}
.hero-cta {
  width: 56px;
  height: 56px;
  margin: 28px auto 0;
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s;
}
.hero-cta:hover { background: #fff; color: #111; }
.hero-note {
  margin-top: 28px;
  font-size: 11px;
  opacity: .8;
}

/* Categories */
.categories {
  padding: 28px 0 8px;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cat-card {
  position: relative;
  display: block;
  overflow: hidden;
  background: var(--tile);
  aspect-ratio: 3 / 4;
}
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.cat-card:hover img { transform: scale(1.04); }
.cat-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #111;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* Promo blocks */
.promo-row {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 12px;
  padding: 20px 0 8px;
}
.blackout-block {
  background: #111;
  color: #fff;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 36px 48px;
  gap: 24px;
  overflow: hidden;
}
.blackout-visual {
  display: flex;
  align-items: flex-start;
  line-height: .8;
  color: var(--lime);
}
.pct-num {
  font-size: clamp(110px, 16vw, 200px);
  font-weight: 700;
  letter-spacing: -.06em;
}
.pct-sign {
  font-size: 56px;
  font-weight: 700;
  margin-top: 12px;
}
.blackout-copy h2 {
  font-size: 28px;
  letter-spacing: .02em;
  margin: 6px 0 20px;
}
.blackout-copy .kicker {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--lime);
  font-weight: 600;
}
.btn-black {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111;
  min-width: 140px;
  height: 44px;
  padding: 0 22px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.btn-black:hover { background: var(--lime); }

.newsletter {
  background: var(--soft);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.newsletter h2 {
  font-size: 26px;
  line-height: 1.2;
  margin-bottom: 8px;
}
.newsletter p { color: #444; margin-bottom: 18px; font-size: 13px; }
.newsletter form, .checkout-form .row {
  display: flex;
  gap: 8px;
}
.newsletter input[type="email"] {
  flex: 1;
  height: 44px;
  border: 1px solid #111;
  padding: 0 12px;
  font-size: 13px;
  background: #fff;
  outline: none;
}
.btn-ink {
  background: #111;
  color: #fff;
  height: 44px;
  padding: 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.btn-ink:hover { background: #333; }
.form-note { margin-top: 10px; font-size: 12px; color: #333; min-height: 1em; }

/* Trust */
.trust {
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
}
.trust-brand { font-weight: 700; letter-spacing: .02em; }
.stars { color: #00b67a; letter-spacing: 1px; font-size: 16px; }
.trust-score { font-weight: 600; }

/* Products */
.products { padding: 48px 0 72px; }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.section-head h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: .01em;
}
.section-head p { color: var(--muted); font-size: 12px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px 12px;
}
.product-card { display: flex; flex-direction: column; }
.product-media {
  position: relative;
  background: var(--tile);
  aspect-ratio: 3 / 4;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.product-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  color: #888;
  font-size: 12px;
  background: var(--tile);
}
.badges {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}
.badge-disc {
  background: #111;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 6px;
  letter-spacing: .02em;
}
.badge-deal {
  background: var(--lime);
  color: #111;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 6px;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.wish-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wish-btn svg { width: 20px; height: 20px; }
.wish-btn.is-on svg { fill: #111; }

.product-info { padding: 10px 0 0; position: relative; }
.product-brand { font-size: 13px; font-weight: 500; }
.product-name { font-size: 12px; color: #6b6b6b; margin-top: 2px; min-height: 2.8em; }
.product-prices { margin-top: 6px; display: flex; align-items: baseline; gap: 8px; }
.price-sale { color: var(--sale); font-weight: 600; font-size: 14px; }
.price-was { color: #9a9a9a; text-decoration: line-through; font-size: 12px; }

.btn-mint {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 42px;
  margin-top: 12px;
  background: var(--mint);
  color: #111;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: filter .15s, transform .15s;
}
.btn-mint:hover { filter: brightness(.95); }
.btn-mint:active { transform: translateY(1px); }

/* Footer */
.site-footer { background: var(--soft); margin-top: auto; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 48px 0 32px;
}
.footer-links h3 {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 14px;
}
.footer-links a, .footer-links li {
  display: block;
  font-size: 13px;
  color: #333;
  margin-bottom: 8px;
}
.footer-links a:hover { text-decoration: underline; }
.socials { display: flex; gap: 12px; margin-top: 4px; }
.socials a {
  width: 36px; height: 36px;
  border: 1px solid #111;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0;
}
.socials svg { width: 16px; height: 16px; }

.pay-row {
  border-top: 1px solid #e0e0e0;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.pay-row h3 { font-size: 12px; font-weight: 600; margin-bottom: 12px; text-transform: uppercase; letter-spacing: .06em; }
.method-row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.footer-bottom {
  background: var(--footer-dark);
  color: #ddd;
  font-size: 11px;
}
.footer-bottom-inner {
  padding: 20px 0 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-bottom a { color: #ddd; }
.footer-bottom a:hover { text-decoration: underline; }
.secure { max-width: 360px; }
.secure strong { display: block; color: #fff; margin-bottom: 4px; font-size: 12px; }
.legal { display: flex; gap: 16px; flex-wrap: wrap; }
.disclaimer {
  width: 100%;
  padding: 0 0 18px;
  color: #9a9a9a;
  font-size: 10px;
}

/* Payment / delivery badges */
.pay-badge, .ship-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  padding: 0 8px;
  border-radius: 3px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #111;
  min-width: 52px;
  gap: 6px;
}
.pay-badge.visa { background: #1a1f71; color: #fff; border-color: #1a1f71; font-style: italic; font-family: "Times New Roman", serif; font-size: 13px; letter-spacing: .04em; }
.pay-badge.mastercard, .pay-badge.maestro { padding: 0 8px 0 6px; gap: 6px; }
.circles { display: flex; }
.circles i { width: 14px; height: 14px; border-radius: 50%; display: block; }
.circles i + i { margin-left: -6px; }
.mc-r { background: #eb001b; }
.mc-o { background: #f79e1b; }
.ma-b { background: #0099df; }
.ma-r { background: #e21c21; }
.pay-badge.electron { background: #003087; color: #fff; border-color: #003087; font-size: 9px; }
.pay-badge.paypal { background: #fff; color: #003087; font-weight: 800; }
.pay-badge.paypal span:last-child { color: #009cde; }
.pay-badge.booztpay { background: #16a34a; color: #fff; border-color: #16a34a; }
.ship-badge { font-weight: 700; min-width: 64px; }
.ship-badge.dhl { background: #ffcc00; border-color: #ffcc00; color: #d40511; letter-spacing: .08em; }
.ship-badge.omniva { background: #ff6600; border-color: #ff6600; color: #fff; }

/* Overlays & drawers */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 60;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s, visibility .25s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(420px, 100%);
  background: #fff;
  z-index: 70;
  transform: translateX(100%);
  transition: transform .3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -8px 0 30px rgba(0,0,0,.12);
}
.drawer.is-open { transform: translateX(0); }
.drawer-head {
  background: var(--mint);
  padding: 16px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
  font-size: 14px;
}
.drawer-head.dark { background: #111; color: #fff; }
.close-x { width: 32px; height: 32px; font-size: 22px; line-height: 1; }
.drawer-body { padding: 18px; overflow: auto; flex: 1; }
.mini-item { display: grid; grid-template-columns: 88px 1fr; gap: 12px; }
.mini-item img, .cart-item img, .mini-item .ph, .cart-item .ph {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: var(--tile);
}
.mini-brand { font-weight: 500; }
.mini-name { color: #666; font-size: 12px; margin: 2px 0 8px; }
.drawer-actions { padding: 16px 18px 20px; border-top: 1px solid var(--line); }

/* Cart page / checkout panel */
.panel {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: #fafafa;
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity .25s, visibility .25s, transform .25s;
}
.panel.is-open { opacity: 1; visibility: visible; transform: none; }
.panel-bar {
  position: sticky;
  top: 0;
  background: #fff;
  border-bottom: 1px solid var(--line);
  z-index: 2;
}
.panel-bar-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.panel-bar h1 { font-size: 20px; font-weight: 600; }
.panel-content {
  width: min(1100px, calc(100% - 40px));
  margin: 28px auto 64px;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: start;
}
.cart-list, .checkout-card, .summary-card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 20px;
}
.cart-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item:first-child { padding-top: 0; }
.cart-item:last-child { border-bottom: 0; padding-bottom: 0; }
.item-actions { display: flex; gap: 8px; margin-top: 10px; }
.item-actions button, .qty {
  border: 1px solid #ccc;
  height: 32px;
  min-width: 32px;
  padding: 0 8px;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.item-price { text-align: right; }
.empty-cart { padding: 32px 0; color: #555; }

.summary-card h2 { font-size: 16px; margin-bottom: 16px; }
.sum-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 13px;
}
.sum-row.discount { color: var(--sale); }
.sum-row.total {
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding-top: 12px;
  font-weight: 650;
  font-size: 15px;
}
.coupon, .gift {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}
.coupon input, .gift input, .field input, .field select, .field textarea {
  flex: 1;
  width: 100%;
  height: 42px;
  border: 1px solid #ccc;
  padding: 0 10px;
  font-size: 13px;
  outline: none;
  background: #fff;
}
.field input:focus, .coupon input:focus, .gift input:focus, .field select:focus {
  border-color: #111;
}
.coupon .btn-mint, .gift .btn-mint { width: auto; margin: 0; padding: 0 16px; height: 42px; }
.hint { font-size: 11px; color: #777; margin-top: 6px; }

.checkout-card h2 { font-size: 16px; margin: 0 0 16px; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #444; }

.methods {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 8px 0 16px;
}
.method-tile {
  border: 1px solid #d4d4d4;
  background: #fff;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 6px;
  cursor: pointer;
  position: relative;
}
.method-tile input { position: absolute; opacity: 0; pointer-events: none; }
.method-tile.is-on { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.deliveries { display: flex; flex-direction: column; gap: 8px; margin-bottom: 8px; }
.del-opt {
  border: 1px solid #d4d4d4;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
}
.del-opt.is-on { border-color: #111; box-shadow: inset 0 0 0 1px #111; }
.del-opt input { accent-color: #111; margin-right: 8px; }

.card-fields { display: none; margin-top: 4px; }
.card-fields.is-on { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }
.card-fields .full { grid-column: 1 / -1; }

.success {
  text-align: center;
  padding: 48px 24px 32px;
  background: #fff;
  border: 1px solid var(--line);
}
.success h2 { font-size: 28px; margin: 12px 0 8px; }
.success p { color: #444; max-width: 420px; margin: 0 auto 24px; }
.success-mark {
  width: 64px; height: 64px; margin: 0 auto;
  border-radius: 50%; background: var(--mint);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px;
}

/* Cookie */
.cookie {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 90;
  background: #fff;
  border: 1px solid #111;
  padding: 16px 18px;
  display: none;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 30px rgba(0,0,0,.12);
  max-width: 720px;
  margin: 0 auto;
}
.cookie.is-on { display: flex; }
.cookie p { font-size: 12px; color: #333; max-width: 420px; }
.cookie-actions { display: flex; gap: 8px; flex-shrink: 0; }
.btn-ghost {
  height: 40px;
  padding: 0 14px;
  border: 1px solid #111;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  border-top: 1px solid var(--line);
  background: #fff;
  padding: 12px 0 16px;
}
.mobile-nav a {
  display: block;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--soft);
}

@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .promo-row { grid-template-columns: 1fr; }
  .nav-primary { gap: 12px; font-size: 10px; }
  .search { width: 140px; }
}

@media (max-width: 820px) {
  .wrap { width: min(1440px, calc(100% - 28px)); }
  .topbar-inner { grid-template-columns: 1fr auto; }
  .topbar-right { display: none; }
  .menu-toggle { display: inline-flex; }
  .nav-primary { display: none; }
  .header-main { grid-template-columns: auto 1fr auto; }
  .search { display: none; }
  .search.mobile {
    display: flex;
    width: 100%;
    margin: 0 0 12px;
  }
  .mobile-nav.is-open { display: block; }
  .cat-grid, .product-grid, .footer-links, .pay-row, .panel-content, .fields, .methods, .card-fields.is-on {
    grid-template-columns: 1fr 1fr;
  }
  .footer-links { gap: 24px; }
  .hero { min-height: 380px; }
  .blackout-block { padding: 28px 22px; flex-direction: column; align-items: flex-start; }
  .pct-num { font-size: 120px; }
  .cookie { flex-direction: column; align-items: stretch; }
  .cart-item { grid-template-columns: 88px 1fr; }
  .item-price { grid-column: 2; text-align: left; }
}

@media (max-width: 520px) {
  .cat-grid { gap: 8px; }
  .logo-word { font-size: 26px; }
  .panel-content { width: calc(100% - 24px); grid-template-columns: 1fr; }
  .methods { grid-template-columns: 1fr 1fr; }
  .topbar-left { display: none; }
  .topbar-inner { grid-template-columns: 1fr; justify-items: center; }
}
