*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 var(--font-body); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: var(--display-weight); letter-spacing: var(--display-tracking); line-height: 1.08; margin: 0; }
.skip { position: absolute; left: -999px; } .skip:focus { left: 16px; top: 8px; z-index: 10; background: var(--surface); padding: 8px 12px; }

.announce { margin: 0; background: var(--deep); color: var(--on-deep); text-align: center; font-size: 13px; padding: 9px 16px; letter-spacing: .02em; }

.top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 24px; padding: 14px clamp(16px, 4vw, 48px); background: color-mix(in srgb, var(--bg) 92%, transparent); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.word { font-family: var(--font-display); letter-spacing: var(--wordmark-tracking); font-size: 20px; padding-left: .3em; }
.medal { display: inline-grid; place-items: center; width: 38px; aspect-ratio: 1; border-radius: 50%; font-family: var(--font-display); font-size: 15px; letter-spacing: -.04em; color: var(--deep); background: radial-gradient(circle at 35% 30%, #fff8ea, var(--gold-soft) 55%, var(--gold)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gold) 70%, #fff), inset 0 0 0 4px var(--gold-soft); }
.medal.big { width: clamp(120px, 22vw, 220px); font-size: clamp(44px, 8vw, 84px); }
.nav { display: none; gap: 28px; margin-left: auto; font-size: 15px; }
.nav a { text-decoration: none; } .nav a:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-color: var(--gold); }
.cart-btn { margin-left: auto; position: relative; background: none; border: 0; padding: 8px; cursor: pointer; }
.cart-count { position: absolute; top: 0; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--deep); color: var(--on-deep); font-size: 11px; display: grid; place-items: center; padding: 0 4px; }
@media (min-width: 768px) { .nav { display: flex; } .cart-btn { margin-left: 0; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border-radius: var(--radius); background: var(--deep); color: var(--on-deep); border: 1px solid var(--deep); text-decoration: none; font-weight: 600; font-size: 15px; cursor: pointer; }
.btn:hover { background: color-mix(in srgb, var(--deep) 85%, var(--gold)); }
.btn.ghost { background: transparent; color: var(--deep); }
.btn.ghost:hover { background: color-mix(in srgb, var(--deep) 8%, transparent); }
.btn.light { background: var(--on-deep); color: var(--deep); border-color: var(--on-deep); }
.btn.block { width: 100%; }
.hero .btn { background: var(--hero-ink, var(--deep)); color: var(--hero-bg, var(--on-deep)); border-color: var(--hero-ink, var(--deep)); }
.hero .btn.ghost { background: transparent; color: var(--hero-ink, var(--deep)); }
.btn[disabled] { opacity: .55; cursor: progress; }

.hero { background: var(--hero-bg, transparent); color: var(--hero-ink, inherit); display: grid; gap: 32px; padding: clamp(28px, 6vw, 72px) clamp(16px, 4vw, 48px); align-items: end; }
.hero h1 { font-size: clamp(40px, 9vw, 104px); max-width: 11ch; }
.hero-copy p { max-width: 42ch; color: var(--hero-muted, var(--muted)); font-size: 18px; margin: 20px 0 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { margin: 0; }
.ph { aspect-ratio: 4/5; background: repeating-linear-gradient(135deg, var(--surface) 0 14px, color-mix(in srgb, var(--gold-soft) 45%, var(--surface)) 14px 15px); display: grid; place-items: center; align-content: center; gap: 16px; border: 1px solid var(--line); }
.ph-note { font-size: 13px; color: var(--muted); background: var(--surface); padding: 4px 10px; }
@media (min-width: 900px) { .hero { grid-template-columns: 1.25fr 1fr; } .hero-media .ph { aspect-ratio: 4/5; max-height: 78vh; } }

.catalog { padding: 24px clamp(16px, 4vw, 48px) 72px; }
.catalog-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 16px 32px; border-top: 1px solid var(--line); padding-top: 28px; margin-bottom: 24px; }
.catalog-head h2 { font-size: clamp(32px, 5vw, 52px); }
.filters { display: flex; gap: 8px; overflow-x: auto; max-width: 100%; padding-bottom: 4px; }
.chip { flex: none; min-height: 40px; padding: 0 16px; border-radius: var(--radius); border: 1px solid var(--line); background: transparent; cursor: pointer; font-size: 14px; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 40px 24px; } }
@media (min-width: 1200px) { .grid { grid-template-columns: repeat(4, 1fr); } }
.card { display: flex; flex-direction: column; gap: 6px; }
.card-link { display: block; text-decoration: none; background: none; border: 0; padding: 0; text-align: left; cursor: pointer; }
.card .img, .pd .img { aspect-ratio: 4/5; background: var(--surface); border: 1px solid var(--line); overflow: hidden; display: grid; place-items: center; }
.card .img img, .pd .img img { width: 100%; height: 100%; object-fit: cover; }
.card .img .medal { opacity: .6; }
.card h3 { font-family: var(--font-body); font-weight: 600; font-size: 15px; line-height: 1.35; margin-top: 10px; letter-spacing: 0; }
.meta { color: var(--muted); font-size: 13px; margin: 0; }
.price { font-weight: 600; margin: 0; }
.sold { color: var(--muted); font-size: 13px; }
.add { margin-top: 4px; min-height: 42px; border: 1px solid var(--ink); background: transparent; border-radius: var(--radius); cursor: pointer; font-size: 14px; font-weight: 600; }
.add:hover { background: var(--ink); color: var(--bg); }
.add[disabled] { opacity: .4; cursor: not-allowed; background: transparent; color: inherit; }
.empty { color: var(--muted); }

.custom { background: var(--deep); color: var(--on-deep); display: grid; gap: 28px; padding: clamp(48px, 8vw, 104px) clamp(16px, 4vw, 48px); align-items: center; }
.custom h2 { font-size: clamp(32px, 5.5vw, 60px); max-width: 16ch; }
.custom p { max-width: 48ch; opacity: .85; margin: 18px 0 28px; }
@media (min-width: 900px) { .custom { grid-template-columns: auto 1fr; gap: 64px; } }

.foot { padding: 48px clamp(16px, 4vw, 48px); display: grid; gap: 20px; border-top: 1px solid var(--line); }
.foot nav { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 15px; }
.fine { color: var(--muted); font-size: 13px; margin: 0; }

.wa-float { position: fixed; right: 16px; bottom: 16px; width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--deep); color: var(--on-deep); box-shadow: 0 6px 20px rgba(0,0,0,.18); z-index: 4; }

dialog { border: 0; padding: 0; color: var(--ink); background: var(--bg); }
dialog::backdrop { background: rgba(10, 10, 10, .45); }
.drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); padding: 20px 20px 32px; overflow-y: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.drawer-head h2 { font-size: 28px; }
.x { background: none; border: 0; font-size: 30px; line-height: 1; width: 44px; height: 44px; cursor: pointer; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.line .img { width: 64px; aspect-ratio: 4/5; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
.line .img img { width: 100%; height: 100%; object-fit: cover; }
.line p { margin: 0; font-size: 14px; }
.qty { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; }
.qty button { width: 32px; height: 32px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; border-radius: var(--radius); }
.totals { margin: 16px 0; display: grid; gap: 4px; }
.totals div { display: flex; justify-content: space-between; }
.totals .grand { font-weight: 700; font-size: 18px; border-top: 1px solid var(--line); padding-top: 8px; margin-top: 4px; }
.checkout { display: grid; gap: 12px; margin-top: 8px; }
.checkout h3 { font-size: 22px; }
.checkout label { display: grid; gap: 4px; font-size: 14px; }
.checkout input, .checkout textarea { min-height: 46px; padding: 10px 12px; border: 1px solid var(--line); background: var(--surface); border-radius: 2px; }
.checkout .check { grid-template-columns: 22px 1fr; align-items: start; gap: 8px; }
.checkout .check input { min-height: 0; width: 18px; height: 18px; margin-top: 3px; }
.form-error { color: #9b1c1c; margin: 0; min-height: 1em; font-size: 14px; }

.product-dlg { width: min(960px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow-y: auto; padding: 16px; position: relative; }
.product-dlg > .x { position: absolute; right: 8px; top: 8px; z-index: 1; background: var(--bg); border-radius: 50%; }
.pd { display: grid; gap: 24px; }
.pd h2 { font-size: clamp(28px, 4vw, 40px); }
.pd .desc { white-space: pre-line; color: var(--muted); }
@media (min-width: 768px) { .pd { grid-template-columns: 1fr 1fr; padding: 16px; } }

.page { max-width: 760px; margin: 0 auto; padding: 48px 16px 80px; }
.page h1 { font-size: clamp(34px, 6vw, 56px); margin-bottom: 24px; }
.page h2 { font-size: 24px; margin: 32px 0 8px; }
.page p, .page li { line-height: 1.7; }
.mark { background: var(--gold-soft); padding: 0 4px; }

/* Lurea brand pieces */
.brand-logo { height: 56px; width: auto; }
.foot .brand-logo { height: 96px; }
.hero-media { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--surface); display: grid; place-items: center; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-mark { position: relative; width: min(56%, 260px); height: auto; }
.custom-mark { width: clamp(120px, 18vw, 200px); height: auto; }
.card .img .ph-mark, .line .img .ph-mark, .pd .img .ph-mark { width: 46%; height: auto; opacity: .7; }
.custom { background: var(--surface); color: var(--ink); }
.custom .btn.light { background: var(--gold); color: var(--on-deep); border-color: var(--gold); }
.announce { background: var(--surface); color: var(--muted); }
.form-error { color: #f0a7a0; }
.checkout input, .checkout textarea { color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .hero-video { display: none; } .hero-media { background: url(/hero-poster.jpg) center / cover; } }
