@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap");

:root {
  --bg: #f8fafc;
  --bg-2: #f1f5f9;
  --surface: #fff;
  --ink: #0f172a;
  --muted: #64748b;
  --faint: #94a3b8;
  --primary: #2563eb;
  --primary-hover: #1d4ed8;
  --primary-light: #eff6ff;
  --border: #e2e8f0;
  --danger: #ef4444;
  --success: #10b981;
  --warning: #eab308;
  --campaign: #7f1d1d;
  --radius: 8px;
  --shadow: 0 1px 2px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.06);
  --shadow-hover: 0 12px 28px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(37, 99, 235, 0.25);
  --wrap: 72rem;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
html, body { margin: 0; min-height: 100%; background: var(--bg); color: var(--ink); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
img { max-width: 100%; display: block; outline: 1px solid rgba(15, 23, 42, 0.06); outline-offset: -1px; }
a { color: inherit; text-decoration: none; }
button:not(:disabled), [role="button"]:not(:disabled) { cursor: pointer; }
h1, h2, h3 { letter-spacing: -0.03em; font-weight: 800; text-wrap: balance; margin: 0; }
p { text-wrap: pretty; }
::selection { background: var(--primary); color: #fff; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }

.wrap { width: min(var(--wrap), calc(100% - 2rem)); margin-inline: auto; }
.site { min-height: 100vh; display: flex; flex-direction: column; }
.site > main { flex: 1; }

.campaign {
  position: relative;
  z-index: 40;
  background: linear-gradient(90deg, #450a0a, #991b1b, #b91c1c);
  color: #fff;
}
.campaign-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
}
.campaign-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  background: var(--warning);
  color: var(--ink);
  padding: 0.25rem 0.65rem;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  animation: orvia-pulse 1.8s ease-out infinite;
}
@keyframes orvia-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.55); }
  50% { box-shadow: 0 0 0 6px rgba(251, 191, 36, 0); }
}
.campaign-copy { margin: 0; font-size: 0.9rem; font-weight: 600; }
.campaign-copy strong { color: #fbbf24; font-weight: 900; }
.campaign-right { display: flex; align-items: center; gap: 0.75rem; }
.campaign-timer { display: none; text-align: center; }
.campaign-timer p { margin: 0; font-size: 9px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; }
.campaign-cells { display: flex; gap: 4px; margin-top: 4px; }
.cell {
  width: 40px; height: 44px;
  background: var(--warning); color: var(--ink);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.cell b { font-size: 14px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.cell small { margin-top: 2px; font-size: 8px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }
.campaign-cta {
  display: inline-flex; align-items: center;
  background: #fff; color: var(--ink);
  padding: 0.5rem 1rem;
  font-size: 11px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase;
}
.campaign-cta:hover { background: var(--ink); color: #fff; }
@media (min-width: 640px) { .campaign-timer { display: block; } }

.topbar { background: var(--ink); color: #cbd5e1; font-size: 13px; font-weight: 600; }
.topbar .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem 1.25rem; padding: 0.5rem 1rem; }
.topbar a:hover { color: #fff; }
.topbar nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; }

.header { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgba(15,23,42,.04); }
.header .wrap { display: flex; align-items: center; gap: 1rem; height: 72px; }
.logo { display: flex; align-items: center; gap: 0.5rem; font-weight: 800; font-size: 1.25rem; }
.logo-mark { width: 2rem; height: 2rem; border-radius: 6px; background: var(--primary); color: #fff; display: grid; place-items: center; font-size: 0.875rem; font-weight: 900; }
.nav { display: none; gap: 1.25rem; font-size: 0.875rem; font-weight: 600; align-items: center; }
.nav a, .nav button { color: var(--muted); background: none; border: 0; font: inherit; padding: 0; }
.nav a:hover, .nav a.active, .nav button:hover { color: var(--ink); }
.search { margin-left: auto; flex: 1; max-width: 20rem; position: relative; display: none; }
.search input { width: 100%; height: 40px; border: 1px solid var(--border); border-radius: 6px; padding: 0 0.75rem 0 0.75rem; background: var(--bg); font: inherit; }
.icon-btn { width: 44px; height: 44px; border: 0; background: none; border-radius: 6px; display: grid; place-items: center; position: relative; color: var(--ink); font-size: 1.1rem; }
.icon-btn:hover { background: var(--bg-2); }
.badge-n { position: absolute; top: 6px; right: 6px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 99px; background: var(--primary); color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; }
.menu-btn { display: grid; }
.drop { position: relative; }
.drop-panel { display: none; position: absolute; top: 100%; left: 0; width: 16rem; padding-top: 0.5rem; z-index: 50; }
.drop:hover .drop-panel, .drop:focus-within .drop-panel { display: block; }
.drop-panel > div { background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-hover); padding: 6px; }
.drop-panel a { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; font-size: 0.875rem; }
.drop-panel a:hover { background: var(--primary-light); color: var(--primary); }

.account { position: relative; }
.account > summary {
  display: flex; align-items: center; gap: 0.4rem;
  background: var(--primary); color: #fff;
  border-radius: 6px; padding: 0.5rem 0.85rem;
  font-size: 13px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer;
}
.account > summary:hover { background: var(--primary-hover); }
.account-panel {
  position: absolute; right: 0; top: calc(100% + 4px); z-index: 50;
  width: 14rem; background: #fff; border: 1px solid var(--border);
  border-radius: 6px; box-shadow: var(--shadow-hover); padding: 0.25rem 0;
}
.account-panel a { display: block; padding: 0.65rem 0.85rem; font-size: 0.875rem; font-weight: 600; }
.account-panel a:hover { background: var(--bg-2); }

.mobile { display: none; position: absolute; right: 0; top: 100%; width: min(20rem, calc(100vw - 2rem)); background: #fff; border: 1px solid var(--border); box-shadow: var(--shadow-hover); z-index: 50; }
.mobile.open { display: block; }
.mobile a { display: block; padding: 0.7rem 1rem; font-size: 0.9rem; font-weight: 600; }
.mobile a:hover { background: var(--bg-2); }
.mobile-label { margin: 0.5rem 1rem 0; font-size: 11px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #0f172a, #0f172a 40%, #172554); color: #fff; text-align: center; padding: 4rem 1rem 0; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.75rem); line-height: 1.12; max-width: 48rem; margin: 1rem auto 0; font-weight: 900; }
.hero .lead { max-width: 36rem; margin: 1rem auto 0; color: #cbd5e1; }
.pill { display: inline-flex; align-items: center; border-radius: 99px; background: rgba(255,255,255,.1); color: #bfdbfe; padding: 0.25rem 0.75rem; font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; }
.hero-form { display: flex; gap: 0.5rem; max-width: 36rem; margin: 2rem auto 0; }
.hero-form input { flex: 1; height: 48px; border: 0; border-radius: 6px; padding: 0 0.9rem; font: inherit; color: var(--ink); }
.hero-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 1.5rem 0 2.5rem; }
.hero-chips a { border-radius: 99px; background: rgba(255,255,255,.1); color: #e2e8f0; padding: 0.4rem 0.75rem; font-size: 12px; font-weight: 600; }
.hero-chips a:hover { background: #fff; color: var(--ink); }
.marquee { overflow: hidden; border-top: 1px solid rgba(255,255,255,.1); }
.marquee-track { display: flex; gap: 2rem; padding: 0.75rem 1rem; font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: #94a3b8; width: max-content; animation: marquee 42s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track, .campaign-badge { animation: none; } }

.section { padding: 4rem 0; }
.section.white { background: #fff; border-block: 1px solid var(--border); }
.eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin: 0; }
.lead { color: var(--muted); line-height: 1.6; }
.split { display: flex; align-items: end; justify-content: space-between; gap: 1rem; }

.grid-cats { display: grid; gap: 0.75rem; margin-top: 2rem; grid-template-columns: repeat(2, 1fr); }
.cat-card { overflow: hidden; border-radius: 8px; background: #fff; box-shadow: var(--shadow); }
.cat-card:hover { box-shadow: var(--shadow-hover); }
.cat-card img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.cat-card div { padding: 0.75rem; }
.cat-card p { margin: 0; font-weight: 700; }
.cat-card small { color: var(--muted); font-size: 12px; }

.grid-prods { display: grid; gap: 1.25rem; margin-top: 2rem; grid-template-columns: 1fr; }
.prod { overflow: hidden; border-radius: 8px; background: #fff; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s; }
.prod:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.prod-media { position: relative; background: var(--bg-2); overflow: hidden; }
.prod-media img { aspect-ratio: 16/10; object-fit: cover; width: 100%; transition: transform .3s; }
.prod:hover .prod-media img { transform: scale(1.03); }
.prod-badges { position: absolute; left: 8px; top: 8px; display: flex; gap: 6px; }
.badge { display: inline-flex; align-items: center; border-radius: 99px; padding: 2px 10px; font-size: 11px; font-weight: 600; }
.badge-sale { background: var(--danger); color: #fff; }
.badge-ink { background: var(--ink); color: #fff; }
.fav-form { position: absolute; right: 8px; top: 8px; margin: 0; }
.fav-btn { width: 40px; height: 40px; border: 0; border-radius: 99px; background: rgba(255,255,255,.95); box-shadow: var(--shadow); font-size: 1rem; }
.fav-btn.on { color: var(--danger); }
.prod-body { padding: 0.85rem; display: flex; flex-direction: column; gap: 0.75rem; flex: 1; }
.prod-top { display: flex; justify-content: space-between; gap: 0.75rem; align-items: start; }
.prod-body h3 { font-size: 1.05rem; }
.prod-body h3 a:hover { color: var(--primary); }
.tagline { margin: 0.25rem 0 0; font-size: 0.875rem; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.stars { color: #f59e0b; font-size: 0.8rem; margin: 0; white-space: nowrap; }
.stars b { color: var(--ink); }
.prod-foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 0.5rem; }
.was { margin: 0; font-size: 12px; color: var(--faint); text-decoration: line-through; }
.now { margin: 0; font-size: 1.15rem; font-weight: 900; color: var(--primary); font-variant-numeric: tabular-nums; }
.prod-actions { display: flex; align-items: center; gap: 0.5rem; }
.linkish { background: none; border: 0; font: 600 0.875rem Inter, sans-serif; color: var(--muted); padding: 0; }
.linkish:hover { color: var(--ink); }

.btn, button.btn, a.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem; height: 44px; padding: 0 1.1rem; border: 0; border-radius: 6px; background: var(--primary); color: #fff; font: 700 0.9rem/1 Inter, sans-serif; }
.btn:hover { background: var(--primary-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #020617; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: var(--bg-2); }
.btn-white { background: #fff; color: var(--ink); }
.wide { width: 100%; }
.sm { height: 36px; padding: 0 0.75rem; font-size: 0.8rem; }

.steps { display: grid; gap: 1rem; margin-top: 2rem; }
.card { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 1.25rem; }
.cta { background: var(--ink); color: #fff; }
.cta .wrap { display: flex; flex-direction: column; gap: 1.5rem; padding: 3rem 1rem; }
.footer { background: var(--ink); color: #fff; margin-top: auto; }
.footer-grid { display: grid; gap: 2.5rem; padding: 3.5rem 1rem; }
.footer a { color: rgba(255,255,255,.8); font-size: 0.9rem; }
.footer a:hover { color: #fff; }
.footer h4 { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,.45); margin: 0 0 0.75rem; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.legal { border-top: 1px solid rgba(255,255,255,.1); padding: 1rem; font-size: 12px; color: rgba(255,255,255,.45); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.5rem; }

.page { padding: 3.5rem 0; }
.form-stack { display: grid; gap: 0.85rem; }
label { display: grid; gap: 0.35rem; font-size: 0.85rem; font-weight: 600; }
input, select, textarea { height: 44px; border: 1px solid var(--border); border-radius: 6px; padding: 0 0.75rem; font: inherit; background: #fff; color: var(--ink); width: 100%; }
textarea { height: auto; min-height: 8rem; padding: 0.75rem; }
.auth { max-width: 26rem; margin: 3rem auto; }
.auth h1 { font-size: 2.25rem; }
.auth-links { margin-top: 1.25rem; text-align: center; font-size: 0.9rem; }
.auth-links a { color: var(--primary); font-weight: 700; }
.auth-links p { margin: 0.4rem 0; }
.flash { border-radius: 8px; padding: 0.75rem 1rem; margin: 1rem 0; font-size: 0.9rem; }
.flash.ok { background: #ecfdf5; color: #065f46; }
.flash.err { background: #fef2f2; color: #991b1b; }
.flash-bar { width: min(var(--wrap), calc(100% - 2rem)); margin: 1rem auto 0; }

.prod-hero { display: grid; gap: 2rem; }
.prod-hero img { border-radius: 12px; width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.feat { display: grid; gap: 0.5rem; margin: 1rem 0; padding: 0; list-style: none; }
.feat li::before { content: "✓ "; color: var(--primary); font-weight: 800; }
.faq details { border-bottom: 1px solid var(--border); padding: 0.85rem 0; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { color: var(--muted); margin: 0.5rem 0 0; font-size: 0.95rem; }

.cart-layout { display: grid; gap: 1.5rem; }
.line { display: grid; grid-template-columns: 96px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--border); }
.line img { width: 96px; height: 64px; object-fit: cover; border-radius: 6px; }
.qty { display: flex; gap: 0.35rem; align-items: center; }
.qty button { width: 36px; height: 36px; border: 1px solid var(--border); background: #fff; border-radius: 6px; font-weight: 700; }
.pay-tabs { display: flex; gap: 0.5rem; margin: 0.75rem 0; }
.pay-tabs label { display: flex; align-items: center; gap: 0.4rem; font-weight: 600; padding: 0.5rem 0.75rem; border: 1px solid var(--border); border-radius: 6px; height: auto; }
.overlay { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: none; place-items: center; z-index: 80; padding: 1rem; }
.overlay.open { display: grid; }
.checks { list-style: none; padding: 0; display: grid; gap: 0.35rem; }
.checks .ok { color: #065f46; }
.checks .bad { color: #991b1b; }
.rule { border: 0; border-top: 1px solid var(--border); margin: 0.5rem 0; }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th, .table td { text-align: left; padding: 0.7rem 0.5rem; border-bottom: 1px solid var(--border); }
.admin-nav { display: flex; gap: 0.5rem; overflow-x: auto; margin: 1.5rem 0; }
.admin-nav a { flex: 0 0 auto; padding: 0.4rem 0.85rem; border-radius: 99px; background: #fff; box-shadow: var(--shadow); font-size: 0.875rem; font-weight: 600; }
.admin-nav a.on { background: var(--ink); color: #fff; box-shadow: none; }
.stats { display: grid; gap: 0.75rem; grid-template-columns: repeat(2, 1fr); }
.stat { background: #fff; border-radius: 12px; box-shadow: var(--shadow); padding: 1.1rem; }
.stat b { display: block; font-size: 1.6rem; margin-top: 0.25rem; }
.support { position: fixed; right: 1rem; bottom: 1rem; z-index: 60; }
.support-btn { width: 52px; height: 52px; border-radius: 999px; border: 0; background: var(--primary); color: #fff; font-weight: 800; box-shadow: var(--shadow-hover); }
.support-box { display: none; position: absolute; right: 0; bottom: 64px; width: min(20rem, calc(100vw - 2rem)); background: #fff; border-radius: 12px; box-shadow: var(--shadow-hover); padding: 1rem; }
.support.open .support-box { display: block; }
.iban { font-family: ui-monospace, Menlo, monospace; letter-spacing: 0.04em; }

@media (min-width: 640px) {
  .grid-prods { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1.2fr 1fr 1fr; }
  .cta .wrap { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 900px) {
  .nav, .search { display: flex; }
  .menu-btn { display: none; }
  .grid-cats { grid-template-columns: repeat(5, 1fr); }
  .grid-prods { grid-template-columns: repeat(4, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .prod-hero { grid-template-columns: 1.15fr 0.85fr; align-items: start; }
  .cart-layout { grid-template-columns: 1.4fr 0.8fr; }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1.2fr; }
}
