:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --card: #151518;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --red: #e5383b;
  --red-2: #ff5a5f;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --display: "Outfit", system-ui, sans-serif;
  --sans: "Inter", system-ui, sans-serif;
  --radius: 16px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font: 400 15.5px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
body.lock { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; }
.eyebrow { color: var(--red-2); font-size: .78rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 14px; display: block; }
.section { padding: 100px 0; }
.head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.head h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
.head p { color: var(--muted); max-width: 440px; }
.link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 500; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; transition: border-color .2s, color .2s; }
.link:hover { color: var(--red-2); border-color: var(--red-2); }
.link svg { width: 16px; height: 16px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .93rem; cursor: pointer; border: 1px solid transparent; transition: all .25s; }
.btn svg { width: 18px; height: 18px; }
.btn-red { background: var(--red); color: #fff; box-shadow: 0 10px 30px rgba(229,56,59,.28); }
.btn-red:hover { background: var(--red-2); transform: translateY(-2px); }
.btn-ghost { border-color: var(--line-2); background: rgba(255,255,255,.03); }
.btn-ghost:hover { border-color: var(--text); }
.btn-block { width: 100%; }

/* Announcement + header */
.announce { background: var(--red); color: #fff; text-align: center; font-size: .82rem; padding: 8px 16px; font-weight: 500; }
/* Blur lives on a pseudo-element: backdrop-filter on .header itself would
   make it the containing block for the fixed mobile nav. */
.header { position: sticky; top: 0; z-index: 60; border-bottom: 1px solid var(--line); }
.header::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10,10,11,.82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.35rem; font-weight: 600; letter-spacing: .02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--text); display: grid; place-items: center; }
.logo-mark svg { width: 16px; height: 16px; }
.nav { display: flex; gap: 34px; font-size: .92rem; }
.nav a { color: var(--muted); transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--text); }
.icons { display: flex; align-items: center; gap: 6px; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: none; border: 0; cursor: pointer; position: relative; transition: background .2s; }
.icon-btn:hover { background: rgba(255,255,255,.06); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; border-radius: 999px; background: var(--red); color: #fff; font-size: .68rem; font-weight: 700; display: grid; place-items: center; padding: 0 5px; transform: scale(0); transition: transform .25s; }
.cart-count.show { transform: scale(1); }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }
.menu-btn { display: none; }

/* Hero */
.hero { position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px; min-height: calc(100vh - 110px); padding-top: 40px; padding-bottom: 40px; }
.hero::before { content: ""; position: absolute; width: 720px; height: 720px; right: -160px; top: 50%; transform: translateY(-50%); background: radial-gradient(circle, rgba(229,56,59,.35) 0%, transparent 65%); filter: blur(20px); }
.hero h1 { font-size: clamp(2.7rem, 6vw, 4.8rem); margin-bottom: 22px; }
.hero h1 span { color: var(--red-2); }
.hero p { color: var(--muted); font-size: 1.1rem; max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-trust { display: flex; gap: 28px; margin-top: 44px; color: var(--muted); font-size: .85rem; flex-wrap: wrap; }
.hero-trust div { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 18px; height: 18px; color: var(--red-2); }
.hero-media { position: relative; z-index: 1; }
.hero-media img { border-radius: 28px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 40px 80px rgba(0,0,0,.6); }
.hero-float { position: absolute; left: -30px; bottom: 40px; background: rgba(21,21,24,.92); border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 18px; display: flex; gap: 12px; align-items: center; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.hero-float img { width: 52px; height: 52px; border-radius: 10px; aspect-ratio: 1; box-shadow: none; }
.hero-float b { display: block; font-size: .92rem; }
.hero-float span { color: var(--muted); font-size: .82rem; }

/* Marquee */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 22px 0; background: var(--bg-2); }
.marquee-track { display: flex; gap: 60px; width: max-content; animation: scroll 30s linear infinite; }
.marquee span { font-family: var(--display); font-size: 1.1rem; color: var(--muted); display: flex; align-items: center; gap: 60px; white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--red); font-size: .8rem; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* Collections */
.collections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.collection { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; padding: 26px; }
.collection img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; }
.collection::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 55%); }
.collection:hover img { transform: scale(1.07); }
.collection div { position: relative; z-index: 1; }
.collection h3 { font-size: 1.5rem; margin-bottom: 4px; }
.collection span { color: var(--muted); font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.collection span svg { width: 15px; height: 15px; }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color .3s, transform .3s; }
.card:hover { border-color: var(--line-2); transform: translateY(-4px); }
.card-img { position: relative; aspect-ratio: 1; overflow: hidden; background: #1b1b1f; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.card:hover .card-img img { transform: scale(1.06); }
.pill { position: absolute; top: 14px; left: 14px; background: var(--red); color: #fff; font-size: .7rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; text-transform: uppercase; }
.pill.alt { background: #fff; color: #111; }
.quick { position: absolute; left: 14px; right: 14px; bottom: 14px; opacity: 0; transform: translateY(10px); transition: all .3s; }
.card:hover .quick { opacity: 1; transform: none; }
.card-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-cat { color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .12em; }
.card h3 { font-size: 1.2rem; }
.stars { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .8rem; }
.stars b { color: #fbbf24; letter-spacing: 1px; font-weight: 400; }
.price-row { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 10px; }
.price { font-family: var(--display); font-size: 1.3rem; font-weight: 600; }
.price s { color: var(--muted); font-size: .9rem; font-weight: 400; margin-left: 8px; }
.add-btn { width: 42px; height: 42px; border-radius: 50%; background: var(--text); color: #111; border: 0; display: grid; place-items: center; cursor: pointer; transition: all .2s; }
.add-btn:hover { background: var(--red); color: #fff; }
.add-btn svg { width: 18px; height: 18px; }

/* Story */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.story img { border-radius: 24px; aspect-ratio: 1; object-fit: cover; width: 100%; }
.story h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 18px; }
.story p { color: var(--muted); margin-bottom: 16px; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; }
.feature { display: flex; gap: 14px; }
.feature .ic { width: 44px; height: 44px; border-radius: 12px; background: rgba(229,56,59,.12); color: var(--red-2); display: grid; place-items: center; flex-shrink: 0; }
.feature .ic svg { width: 20px; height: 20px; }
.feature b { display: block; font-size: .95rem; margin-bottom: 2px; }
.feature span { color: var(--muted); font-size: .85rem; }

/* Newsletter */
.newsletter { background: linear-gradient(135deg, #1a0d0e, #0f0f11 60%); border: 1px solid var(--line); border-radius: 28px; padding: 64px 48px; text-align: center; position: relative; overflow: hidden; }
.newsletter h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); margin-bottom: 12px; }
.newsletter p { color: var(--muted); margin-bottom: 28px; }
.news-form { display: flex; gap: 10px; max-width: 460px; margin: 0 auto; }
.news-form input { flex: 1; min-width: 0; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); border-radius: 999px; padding: 14px 20px; color: var(--text); font: inherit; outline: none; }
.news-form input:focus { border-color: var(--red-2); }
.news-msg { margin-top: 14px; font-size: .88rem; color: #86efac; min-height: 1.2em; }

/* Shop page */
.page-head { padding: 70px 0 40px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); margin-bottom: 10px; }
.page-head p { color: var(--muted); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 34px 0 30px; flex-wrap: wrap; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { background: transparent; border: 1px solid var(--line-2); color: var(--muted); padding: 9px 18px; border-radius: 999px; cursor: pointer; font-size: .88rem; transition: all .2s; }
.chip:hover { color: var(--text); }
.chip.active { background: var(--text); color: #111; border-color: var(--text); }
.select { background: var(--card); border: 1px solid var(--line-2); color: var(--text); border-radius: 999px; padding: 10px 16px; font: inherit; font-size: .88rem; outline: none; }
.count { color: var(--muted); font-size: .88rem; }

/* Product page */
.crumbs { display: flex; gap: 8px; color: var(--muted); font-size: .85rem; padding: 28px 0; flex-wrap: wrap; }
.crumbs a:hover { color: var(--text); }
.pdp { display: grid; grid-template-columns: 1.1fr 1fr; gap: 60px; padding-bottom: 90px; }
.pdp-main { border-radius: 24px; overflow: hidden; background: var(--card); aspect-ratio: 1; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; cursor: zoom-in; }
.pdp-main:hover img { transform: scale(1.15); }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 12px; }
.thumbs button { border-radius: 12px; overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; background: none; aspect-ratio: 1; opacity: .65; transition: all .2s; }
.thumbs button.active, .thumbs button:hover { border-color: var(--red-2); opacity: 1; }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 6px 0 12px; }
.pdp .price { font-size: 1.9rem; margin: 18px 0; display: block; }
.pdp-desc { color: var(--muted); margin-bottom: 26px; }
.opt-label { font-size: .82rem; color: var(--muted); margin-bottom: 10px; display: block; }
.swatches { display: flex; gap: 10px; margin-bottom: 24px; }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 2px solid var(--line-2); cursor: pointer; outline: 2px solid transparent; outline-offset: 3px; }
.swatch.active { outline-color: var(--text); }
.buy-row { display: flex; gap: 12px; margin-bottom: 26px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-2); border-radius: 999px; }
.qty button { width: 42px; height: 48px; background: none; border: 0; cursor: pointer; font-size: 1.1rem; }
.qty span { min-width: 26px; text-align: center; font-weight: 600; }
.buy-row .btn { flex: 1; }
.perks { display: grid; gap: 12px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 24px; }
.perks div { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: .9rem; }
.perks svg { width: 18px; height: 18px; color: var(--red-2); }
.specs { width: 100%; border-collapse: collapse; font-size: .9rem; }
.specs th, .specs td { text-align: left; padding: 11px 0; border-bottom: 1px solid var(--line); }
.specs th { color: var(--muted); font-weight: 500; width: 40%; }

/* Cart drawer */
.overlay { position: fixed; inset: 0; background: rgba(0,0,0,.6); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 90; }
.overlay.open { opacity: 1; pointer-events: auto; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(420px, 100%); background: var(--bg-2); border-left: 1px solid var(--line); z-index: 100; transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), visibility .35s; display: flex; flex-direction: column; }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer-head h3 { font-size: 1.25rem; }
.drawer-items { flex: 1; overflow-y: auto; padding: 8px 24px; }
.line { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.line img { width: 76px; height: 76px; border-radius: 12px; object-fit: cover; }
.line-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.line-info b { font-size: .95rem; }
.line-info span { color: var(--muted); font-size: .85rem; }
.line-ctrl { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.line .qty button { width: 30px; height: 30px; }
.remove { background: none; border: 0; color: var(--muted); font-size: .8rem; cursor: pointer; text-decoration: underline; }
.empty { text-align: center; color: var(--muted); padding: 60px 10px; }
.empty svg { width: 44px; height: 44px; margin: 0 auto 14px; opacity: .6; }
.drawer-foot { padding: 22px 24px; border-top: 1px solid var(--line); }
.ship-bar { font-size: .82rem; color: var(--muted); margin-bottom: 8px; }
.ship-track { height: 5px; background: var(--line-2); border-radius: 99px; overflow: hidden; margin-bottom: 18px; }
.ship-track i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--red-2)); width: 0; transition: width .4s; }
.subtotal { display: flex; justify-content: space-between; font-family: var(--display); font-size: 1.2rem; margin-bottom: 16px; }

/* Modal + toast */
.modal { position: fixed; inset: 0; display: grid; place-items: center; z-index: 120; padding: 20px; background: rgba(0,0,0,.7); opacity: 0; pointer-events: none; transition: opacity .25s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { background: var(--bg-2); border: 1px solid var(--line-2); border-radius: 22px; padding: 38px 32px; max-width: 420px; text-align: center; }
.modal-box svg { width: 50px; height: 50px; color: var(--red-2); margin: 0 auto 16px; }
.modal-box h3 { font-size: 1.5rem; margin-bottom: 10px; }
.modal-box p { color: var(--muted); margin-bottom: 24px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: var(--text); color: #111; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: .9rem; opacity: 0; transition: all .3s; z-index: 130; display: flex; align-items: center; gap: 8px; box-shadow: 0 10px 30px rgba(0,0,0,.4); white-space: nowrap; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: #16a34a; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 70px 0 110px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer p, .footer li { color: var(--muted); font-size: .9rem; }
.footer h4 { font-size: .8rem; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--sans); }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer li a:hover { color: var(--text); }
.footer .logo { margin-bottom: 14px; }
.footer-bottom { margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: .82rem; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.footer-bottom a { color: var(--red-2); }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s, transform .8s; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .grid, .collections { grid-template-columns: 1fr 1fr; }
  .story, .pdp { grid-template-columns: 1fr; gap: 44px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav { position: fixed; top: 72px; left: 0; right: 0; bottom: 0; background: rgba(10,10,11,.98); flex-direction: column; padding: 36px 24px; gap: 24px; font-size: 1.15rem; transform: translateX(100%); visibility: hidden; transition: transform .3s, visibility .3s; z-index: 55; }
  .nav.open { transform: none; visibility: visible; }
  .menu-btn { display: grid; }
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; padding-top: 40px; padding-bottom: 70px; }
  .hero-media { max-width: 460px; }
  .hero-float { left: 12px; }
  .quick { opacity: 1; transform: none; }
}
@media (max-width: 600px) {
  .wrap { padding: 0 20px; }
  .section { padding: 72px 0; }
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card-body { padding: 14px 14px 16px; }
  .card h3 { font-size: 1rem; }
  .price { font-size: 1.1rem; }
  .price s { display: none; }
  .add-btn { width: 36px; height: 36px; }
  .quick { display: none; }
  .collections { grid-template-columns: 1fr; }
  .collection { aspect-ratio: 16 / 10; }
  .features { grid-template-columns: 1fr; }
  .newsletter { padding: 44px 22px; }
  .news-form { flex-direction: column; }
  .hero-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .icons .hide-sm { display: none; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee-track { animation: none; }
}
