@font-face { font-family: 'Heartbit'; src: url('/fonts/Heartbit-Bold.woff2') format('woff2'); font-display: swap; }
@font-face { font-family: 'Saira'; src: url('/fonts/saira-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Saira'; src: url('/fonts/saira-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }

:root {
  --bg: #000; --fg: #fff; --muted: #9a9aa6; --line: rgba(255,255,255,.18);
  --panel: rgba(10,10,16,.72); --accent: #fff;
  --pixel: 'Heartbit', 'Saira', system-ui, sans-serif;
  --body: 'Saira', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; color: var(--fg); font-family: var(--body); font-weight: 600; min-height: 100vh; display: flex; flex-direction: column; }
a { color: inherit; }
img { max-width: 100%; display: block; }
main { flex: 1; width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px 60px; }
h1, h2 { font-family: var(--pixel); font-weight: normal; letter-spacing: .04em; text-transform: uppercase; }
h1 { font-size: clamp(28px, 5vw, 44px); margin: 30px 0 24px; }
h2 { font-size: 26px; margin: 0 0 18px; }
.muted { color: var(--muted); }
.ok { color: #c8ffd4; }

/* starfield video, like the old site */
#bg-video { position: fixed; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; background: #000; }

/* header */
.site-header { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; position: sticky; top: 0; z-index: 10;
  background: linear-gradient(#000c, #0000); }
.logo-sm { height: 42px; width: auto; }
.nav { display: flex; gap: 22px; align-items: center; font-family: var(--pixel); text-transform: uppercase; font-size: 15px; }
.nav a { text-decoration: none; }
.nav a:hover { text-shadow: 0 0 10px #fff; }
#cart-count:not(:empty) { display: inline-block; min-width: 20px; padding: 0 6px; border-radius: 10px; background: #fff; color: #000; font-size: 12px; text-align: center; }
.lang-btn { background: none; border: 1px solid var(--line); color: var(--fg); font: inherit; padding: 4px 8px; cursor: pointer; border-radius: 4px; }

/* home */
.hero { min-height: 78vh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 34px; }
.logo-hero { width: min(520px, 86vw); filter: drop-shadow(0 0 24px rgba(255,255,255,.25)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-10px); } }
.hero-nav { display: flex; flex-direction: column; gap: 22px; align-items: center; font-family: var(--pixel); font-size: 24px; text-transform: uppercase; }
.hero-nav a { text-decoration: none; }
.hero-nav a:hover { text-shadow: 0 0 14px #fff; }

.drop { text-align: center; margin: 0 auto 70px; max-width: 560px; padding: 28px 22px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); backdrop-filter: blur(6px); }
.drop-label { font-family: var(--pixel); text-transform: uppercase; margin: 0 0 12px; font-size: 18px; }
.countdown { display: flex; justify-content: center; gap: 14px; margin-bottom: 18px; }
.countdown span { display: flex; align-items: baseline; gap: 2px; color: var(--muted); }
.countdown b { font-family: var(--pixel); font-weight: normal; font-size: 38px; color: var(--fg); }
.signup label { display: block; margin-bottom: 10px; }
.signup .row { display: flex; gap: 8px; }
input { flex: 1; min-width: 0; background: #000; border: 1px solid var(--line); color: var(--fg); padding: 12px 14px; border-radius: 8px; font: inherit; }
input:focus { outline: 2px solid #fff; }

/* buttons */
.btn, .signup button, .lang-choices button { background: #fff; color: #000; border: 0; padding: 13px 22px; border-radius: 8px; font-family: var(--pixel); text-transform: uppercase; font-size: 15px; cursor: pointer; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn:not(:disabled):hover, .signup button:hover { box-shadow: 0 0 18px rgba(255,255,255,.6); }
.btn-outline { display: inline-block; margin-top: 24px; padding: 11px 20px; border: 1px solid #fff; border-radius: 8px; text-decoration: none; font-family: var(--pixel); text-transform: uppercase; }

/* product grid */
.featured, .reviews { text-align: center; margin-bottom: 70px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; text-align: left; }
.card { text-decoration: none; }
/* products float on the starfield with a white aura that follows the garment's outline */
:root {
  --glow: drop-shadow(0 0 2px rgba(255,255,255,.9)) drop-shadow(0 0 10px rgba(255,255,255,.45)) drop-shadow(0 0 26px rgba(255,255,255,.22));
  --glow-strong: drop-shadow(0 0 3px rgba(255,255,255,1)) drop-shadow(0 0 14px rgba(255,255,255,.6)) drop-shadow(0 0 36px rgba(255,255,255,.32));
}
.glow { filter: var(--glow); }
.card-img { position: relative; aspect-ratio: 1; }
.card-img img { position: absolute; inset: 8%; width: 84%; height: 84%; object-fit: contain; filter: var(--glow); transition: opacity .35s, transform .35s, filter .35s; }
.card-img .hover { opacity: 0; }
.card:hover .card-img .hover { opacity: 1; }
.card:hover .card-img .main:has(+ .hover) { opacity: 0; }
.card:hover .card-img img { transform: scale(1.04); filter: var(--glow-strong); }
.badge { position: absolute; top: 10px; left: 10px; background: #fff; color: #000; font-size: 12px; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; }
.card h3 { font-size: 16px; margin: 12px 0 4px; }
.price { margin: 0; }
.price s { color: var(--muted); margin-right: 4px; }
.price.big { font-size: 22px; margin: 4px 0 16px; }

/* product page */
.product { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; margin-top: 20px; }
.gallery { display: grid; gap: 14px; }
.gallery img { padding: 6%; filter: var(--glow); }
.info { position: sticky; top: 90px; align-self: start; background: var(--panel); padding: 24px; border-radius: 14px; border: 1px solid var(--line); }
.info h1 { margin-top: 0; }
.label { margin: 20px 0 8px; text-transform: uppercase; font-size: 13px; color: var(--muted); }
.sizes { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.size { min-width: 52px; padding: 10px; background: #000; color: #fff; border: 1px solid var(--line); border-radius: 8px; font: inherit; cursor: pointer; }
.size.on { background: #fff; color: #000; }
.size:disabled { opacity: .3; text-decoration: line-through; cursor: not-allowed; }
.stock-note { min-height: 1.4em; color: #ffcf7a; margin: 6px 0 14px; }
.info .btn { width: 100%; }

/* cart */
.cart { max-width: 760px; margin: 0 auto; }
.line { display: flex; align-items: center; gap: 16px; padding: 14px; border-bottom: 1px solid var(--line); background: var(--panel); }
.line img { width: 74px; height: 74px; object-fit: contain; filter: drop-shadow(0 0 2px rgba(255,255,255,.8)) drop-shadow(0 0 8px rgba(255,255,255,.35)); }
.grow { flex: 1; }
.qty { display: flex; align-items: center; gap: 10px; }
.qty button { width: 30px; height: 30px; border-radius: 6px; border: 1px solid var(--line); background: #000; color: #fff; cursor: pointer; }
.summary { text-align: right; margin-top: 20px; }

/* reviews / UGC */
.ugc { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.ugc img { aspect-ratio: 1; object-fit: cover; border-radius: 10px; }

/* contact + policies */
.contact, .policies { max-width: 720px; margin: 0 auto; background: var(--panel); padding: 10px 28px 28px; border-radius: 14px; border: 1px solid var(--line); line-height: 1.6; font-weight: 400; }
.policies h2 { margin-top: 32px; font-size: 20px; }

/* language modal */
.lang-modal { position: fixed; inset: 0; background: rgba(0,0,0,.85); display: grid; place-items: center; z-index: 100; backdrop-filter: blur(4px); }
.lang-box { text-align: center; padding: 34px; border: 1px solid var(--line); border-radius: 16px; background: #05050a; }
.logo-modal { width: 220px; margin: 0 auto 12px; }
.lang-choices { display: flex; gap: 12px; justify-content: center; margin-top: 16px; }

/* footer */
.site-footer { text-align: center; padding: 30px 20px; border-top: 1px solid var(--line); background: #000a; font-size: 14px; }
.site-footer .socials, .site-footer .legal { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }
.site-footer .socials { font-family: var(--pixel); text-transform: uppercase; }
.site-footer .legal a { color: var(--muted); }
.copy { color: var(--muted); }

@media (max-width: 760px) {
  .nav { gap: 14px; font-size: 13px; }
  .nav a[href="/contact.html"] { display: none; }
  .logo-sm { height: 34px; }
  .product { grid-template-columns: 1fr; gap: 20px; }
  .info { position: static; }
  .grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .countdown b { font-size: 30px; }
}
@media (prefers-reduced-motion: reduce) { .logo-hero { animation: none; } }

/* checkout */
.checkout { max-width: 1050px; margin: 0 auto; }
.co-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
fieldset { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); padding: 18px; margin: 0 0 18px; display: grid; gap: 10px; }
legend { font-family: var(--pixel); text-transform: uppercase; padding: 0 8px; }
.row { display: flex; gap: 8px; }
.opt { display: flex; gap: 10px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; cursor: pointer; font-weight: 400; }
.opt:has(input:checked) { border-color: #fff; box-shadow: 0 0 12px rgba(255,255,255,.25); }
.opt input { accent-color: #fff; flex: 0 0 auto; }
.opt span:nth-child(2) { flex: 1; }
.opt-price { white-space: nowrap; }
.co-summary { position: sticky; top: 90px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: grid; gap: 10px; }
.co-line { display: flex; align-items: center; gap: 10px; font-weight: 400; }
.co-line img { width: 52px; height: 52px; object-fit: contain; filter: drop-shadow(0 0 2px rgba(255,255,255,.8)) drop-shadow(0 0 6px rgba(255,255,255,.3)); }
.tot { display: flex; justify-content: space-between; padding: 4px 0; }
.tot.big { font-size: 20px; border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; }
.btn.wide { width: 100%; }
a.btn { display: inline-block; text-decoration: none; }
.small { font-size: 13px; }
.warn { color: #ffb4a8; }
.btn-outline.small { margin: 0; padding: 8px 14px; font-size: 13px; background: none; color: #fff; cursor: pointer; }
.btn.small { padding: 8px 14px; font-size: 13px; }

/* order page */
.order .iris { background: var(--panel); border: 1px solid #fff; border-radius: 14px; padding: 18px 22px; margin: 20px 0; box-shadow: 0 0 18px rgba(255,255,255,.2); }
.order .iris h2 { font-size: 20px; }
.order dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; }
.order dt { color: var(--muted); }
.order dd { margin: 0; user-select: all; }
.summary .big { font-size: 20px; }

/* reviews wall */
.ugc figure { margin: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; text-align: left; }
.ugc figcaption { padding: 10px 12px; font-weight: 400; font-size: 14px; }

/* cookie banner */
.consent { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin: 0 auto; z-index: 90; background: #05050a; border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; font-weight: 400; font-size: 14px; }
.consent p { margin: 0; flex: 1; }
.consent div { display: flex; gap: 8px; }

@media (max-width: 760px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-summary { position: static; }
  .consent { flex-direction: column; align-items: stretch; }
}
fieldset input:not([type=radio]) { width: 100%; }
fieldset #ship-boxnow, fieldset #ship-asap { display: grid; gap: 10px; }
fieldset [hidden] { display: none !important; }
