/* Door Locks Germany — site styles. Light theme, Inter + system fallback. */
@import url('../fonts/inter.css');

:root {
  --ink: #0F172A;
  --ink-soft: #1E293B;
  --teal: #2DD4BF;
  --teal-hover: #14B8A6;
  --teal-soft: #CCFBF1;
  --teal-ink: #0F766E;
  --sand: #F5F1EA;
  --sand-deep: #EBE5DA;
  --white: #FFFFFF;
  --grey: #475569;
  --grey-light: #94A3B8;
  --line: #E7E1D6;
  --danger: #B91C1C;
  --danger-soft: #FEE2E2;
  --success: #047857;
  --success-soft: #D1FAE5;
  --warn-soft: #FEF3C7;
  --warn: #92400E;
  --radius: 1rem;
  --radius-sm: .625rem;
  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px -12px rgba(15, 23, 42, .12);
  --shadow-lg: 0 20px 50px -20px rgba(15, 23, 42, .25);
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.55; color: var(--grey);
  background: var(--sand); min-height: 100vh; display: flex; flex-direction: column;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 700; letter-spacing: -.015em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.125rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -4rem; background: var(--ink); color: #fff; padding: .5rem 1rem; border-radius: var(--radius-sm); z-index: 100; }
.skip-link:focus { top: 1rem; }
[hidden] { display: none !important; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding-inline: var(--gutter); }
main { flex: 1; }
.section { padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.75rem; }
.section-head p { margin: 0; max-width: 48ch; }
.eyebrow { display: inline-block; font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-ink); margin-bottom: .5rem; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .8rem 1.4rem; border-radius: 999px; border: 2px solid transparent; font-weight: 600; text-decoration: none; transition: background .15s, color .15s, border-color .15s, transform .1s; white-space: nowrap; line-height: 1.2; }
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--teal); color: var(--ink); }
.btn-primary:hover { background: var(--teal-hover); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--ink-soft); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); padding-inline: .9rem; }
.btn-ghost:hover { background: var(--sand-deep); }
.btn-sm { padding: .5rem 1rem; font-size: .9rem; }
.btn-block { width: 100%; }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .55; cursor: not-allowed; transform: none; }
.btn .spinner { width: 1em; height: 1em; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 241, 234, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1rem; min-height: 4.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); font-weight: 700; font-size: 1.35rem; letter-spacing: -.02em; text-decoration: none; }
.logo:hover { text-decoration: none; }
.logo-mark { width: 2.1rem; height: 2.1rem; flex: none; }
.main-nav { display: flex; gap: .25rem; margin-inline: auto; }
.main-nav a { color: var(--ink); font-weight: 600; padding: .5rem .85rem; border-radius: 999px; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--sand-deep); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: .5rem; margin-left: auto; }
.lang-switch { position: relative; }
.lang-switch select { appearance: none; -webkit-appearance: none; background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 2rem .45rem .9rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.lang-switch::after { content: ''; position: absolute; right: .8rem; top: 50%; width: .5rem; height: .5rem; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.cart-link { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; color: var(--ink); background: var(--white); border: 1px solid var(--line); }
.cart-link:hover { background: var(--sand-deep); text-decoration: none; }
.cart-link svg { width: 1.35rem; height: 1.35rem; }
.cart-badge { position: absolute; top: -.25rem; right: -.25rem; min-width: 1.35rem; height: 1.35rem; padding-inline: .3rem; border-radius: 999px; background: var(--teal); color: var(--ink); font-size: .75rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.cart-badge:empty, .cart-badge[data-count="0"] { display: none; }
.menu-toggle { display: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; border: 1px solid var(--line); background: var(--white); color: var(--ink); align-items: center; justify-content: center; }
.menu-toggle svg { width: 1.35rem; height: 1.35rem; }
@media (max-width: 860px) {
  .main-nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; background: var(--sand); border-bottom: 1px solid var(--line); padding: .75rem var(--gutter) 1.25rem; box-shadow: var(--shadow-lg); }
  .main-nav.open { display: flex; }
  .main-nav a { padding: .8rem 1rem; font-size: 1.05rem; }
  .menu-toggle { display: inline-flex; }
  .lang-switch select { padding: .45rem 1.8rem .45rem .7rem; }
}

/* Footer */
.site-footer { background: var(--ink); color: #CBD5E1; margin-top: 3rem; }
.site-footer a { color: #E2E8F0; }
.site-footer a:hover { color: var(--teal); }
.footer-top { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 2rem; padding-block: 3.5rem 2.5rem; }
.footer-brand .logo { color: #fff; }
.footer-brand p { margin-top: 1rem; max-width: 36ch; }
.footer-col h4 { color: #fff; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.newsletter-form { display: flex; gap: .5rem; margin-top: 1rem; max-width: 26rem; }
.newsletter-form input { flex: 1; min-width: 0; padding: .7rem 1rem; border-radius: 999px; border: 1px solid #334155; background: #1E293B; color: #fff; }
.newsletter-form input::placeholder { color: #94A3B8; }
.form-msg { font-size: .9rem; margin-top: .5rem; }
.form-msg.ok { color: #6EE7B7; }
.form-msg.err { color: #FCA5A5; }
.footer-bottom { border-top: 1px solid #1E293B; padding-block: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; font-size: .875rem; }
.payment-badges { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.payment-badges span { display: inline-flex; align-items: center; height: 1.75rem; padding-inline: .6rem; border-radius: .4rem; background: #fff; color: var(--ink); font-size: .7rem; font-weight: 700; letter-spacing: .02em; }
.payment-badges .pb-visa { color: #1A1F71; font-style: italic; }
.payment-badges .pb-mc { background: #fff; gap: 2px; }
.payment-badges .pb-mc i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.payment-badges .pb-amex { background: #2E77BC; color: #fff; }
.payment-badges .pb-sepa { color: #10298E; }
.payment-badges .pb-paypal { color: #003087; }
.payment-badges .pb-ideal { color: #CC0066; }
.footer-legal { font-size: .8rem; color: #94A3B8; }
.checkout-footer { padding-block: 1rem; margin-top: 2rem; text-align: center; }
.checkout-footer .footer-legal { display: flex; justify-content: center; gap: .75rem; flex-wrap: wrap; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

/* Hero */
.hero { padding-block: clamp(2rem, 6vw, 5rem) clamp(2rem, 5vw, 4rem); }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: center; }
.hero h1 { max-width: 14ch; }
.hero p.lead { font-size: 1.15rem; max-width: 46ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-visual { position: relative; background: var(--white); border-radius: calc(var(--radius) * 1.5); padding: 2rem; box-shadow: var(--shadow); aspect-ratio: 1 / 1; display: grid; place-items: center; overflow: hidden; }
.hero-visual::before { content: ''; position: absolute; inset: auto -20% -30% auto; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, var(--teal-soft), transparent 70%); }
.hero-visual img { position: relative; max-height: 100%; object-fit: contain; width: 80%; }
.hero-badge { position: absolute; left: 1.25rem; top: 1.25rem; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; padding: .4rem .8rem; border-radius: 999px; }
@media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } .hero-visual { max-width: 28rem; margin-inline: auto; aspect-ratio: 4 / 3; } }

/* Trust strip */
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.trust-item { display: flex; gap: .85rem; align-items: flex-start; background: var(--white); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: var(--shadow); }
.trust-item svg { width: 1.75rem; height: 1.75rem; flex: none; color: var(--teal-ink); }
.trust-item strong { color: var(--ink); display: block; }
.trust-item span { font-size: .875rem; }
@media (max-width: 960px) { .trust { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* Category tiles */
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.tile { position: relative; display: block; background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); color: var(--ink); overflow: hidden; min-height: 11rem; transition: transform .15s, box-shadow .15s; }
.tile:hover { text-decoration: none; transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.tile h3 { margin-bottom: .35rem; }
.tile p { margin: 0; color: var(--grey); font-size: .95rem; max-width: 30ch; }
.tile img { position: absolute; right: -.5rem; bottom: -.5rem; width: 45%; max-height: 70%; object-fit: contain; opacity: .95; }
.tile .tile-count { display: inline-block; margin-top: 1rem; font-weight: 600; color: var(--teal-ink); font-size: .9rem; }
@media (max-width: 860px) { .tiles { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

/* Product cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1100px) { .grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 780px) { .grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; } }
@media (max-width: 400px) { .grid { grid-template-columns: 1fr; } }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.card-media { aspect-ratio: 1 / 1; background: linear-gradient(180deg, #FBFAF7, #F1ECE3); display: grid; place-items: center; padding: 1.25rem; }
.card-media img { width: 100%; height: 100%; object-fit: contain; }
.card-media .placeholder { width: 45%; color: var(--grey-light); }
.card-body { padding: 1rem 1.15rem 1.15rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.card-title { font-size: 1.05rem; margin: 0; }
.card-title a { color: var(--ink); }
.card-title a::after { content: ''; position: absolute; inset: 0; }
.card-excerpt { font-size: .9rem; margin: 0; color: var(--grey); flex: 1; }
.card-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: .5rem; margin-top: .5rem; }
.price { font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.price-old { text-decoration: line-through; color: var(--grey-light); font-size: .95rem; }
.price-from { font-size: .85rem; color: var(--grey); }
.badge { display: inline-flex; align-items: center; font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: var(--teal-soft); color: var(--teal-ink); }
.badge-save { background: var(--ink); color: #fff; }
.card .badge-corner { position: absolute; left: .85rem; top: .85rem; z-index: 1; }
.card-actions { margin-top: .75rem; position: relative; z-index: 1; }
.card-actions .btn { width: 100%; }
.vat-note { font-size: .78rem; color: var(--grey-light); }

/* Filters */
.filters { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 1.5rem; }
.pills { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { border: 1px solid var(--line); background: var(--white); color: var(--ink); padding: .45rem 1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; }
.pill:hover { border-color: var(--ink); }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.search { position: relative; flex: 1; min-width: 14rem; max-width: 22rem; }
.search input { width: 100%; padding: .65rem 1rem .65rem 2.6rem; border-radius: 999px; border: 1px solid var(--line); background: var(--white); }
.search svg { position: absolute; left: .95rem; top: 50%; transform: translateY(-50%); width: 1.1rem; height: 1.1rem; color: var(--grey-light); }
.results-meta { margin-bottom: 1rem; font-size: .9rem; }
.empty-state { text-align: center; padding: 3rem 1rem; background: var(--white); border-radius: var(--radius); }

/* Breadcrumb */
.breadcrumb { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 1.25rem 0 1rem; font-size: .875rem; }
.breadcrumb li + li::before { content: '/'; margin-right: .4rem; color: var(--grey-light); }
.breadcrumb a { color: var(--grey); }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 600; }

/* Product page */
.pdp { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 4vw, 4rem); align-items: start; padding-bottom: 3rem; }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } }
.gallery { position: sticky; top: 5.5rem; }
@media (max-width: 900px) { .gallery { position: static; } }
.gallery-main { background: var(--white); border-radius: var(--radius); padding: 2rem; aspect-ratio: 1 / 1; display: grid; place-items: center; box-shadow: var(--shadow); }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-main .placeholder { width: 40%; color: var(--grey-light); }
.thumbs { display: flex; gap: .6rem; margin-top: .75rem; flex-wrap: wrap; }
.thumbs button { width: 4.5rem; height: 4.5rem; border-radius: var(--radius-sm); border: 2px solid transparent; background: var(--white); padding: .35rem; }
.thumbs button[aria-pressed="true"] { border-color: var(--teal); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.pdp-title { margin-bottom: .35rem; }
.pdp-tagline { font-size: 1.1rem; margin-bottom: 1.25rem; }
.pdp-price { display: flex; align-items: baseline; gap: .75rem; flex-wrap: wrap; margin-bottom: .25rem; }
.pdp-price .price { font-size: 1.85rem; }
.pdp-price .price-old { font-size: 1.1rem; }
.stock { display: inline-flex; align-items: center; gap: .4rem; font-size: .875rem; font-weight: 600; margin-block: .5rem 1.25rem; }
.stock::before { content: ''; width: .55rem; height: .55rem; border-radius: 50%; background: var(--success); }
.stock.out::before { background: var(--danger); }
.stock.low::before { background: #D97706; }
.option-group { margin-bottom: 1.25rem; }
.option-group > .label { display: block; font-weight: 600; color: var(--ink); margin-bottom: .5rem; }
.option-group .help { font-size: .875rem; margin: -.25rem 0 .6rem; }
.options { display: flex; flex-wrap: wrap; gap: .6rem; }
.option { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem .9rem; border-radius: var(--radius-sm); border: 2px solid var(--line); background: var(--white); color: var(--ink); font-weight: 600; font-size: .95rem; }
.option:hover { border-color: var(--grey-light); }
.option[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.option[disabled] { opacity: .5; cursor: not-allowed; text-decoration: line-through; }
.option img { width: 2rem; height: 2rem; object-fit: contain; }
.swatch { width: 1.1rem; height: 1.1rem; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.qty { display: inline-flex; align-items: center; border: 2px solid var(--line); border-radius: 999px; background: var(--white); }
.qty button { width: 2.6rem; height: 2.6rem; border: 0; background: transparent; color: var(--ink); font-size: 1.2rem; border-radius: 50%; }
.qty button:hover { background: var(--sand-deep); }
.qty input { width: 3rem; text-align: center; border: 0; background: transparent; font-weight: 700; color: var(--ink); -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.buy-row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; margin-block: 1.25rem; }
.buy-row .btn { flex: 1; min-width: 12rem; padding-block: .95rem; font-size: 1.05rem; }
.pdp-meta { font-size: .85rem; color: var(--grey-light); }
.noscript-note { background: var(--warn-soft); color: var(--warn); padding: .75rem 1rem; border-radius: var(--radius-sm); font-size: .9rem; margin-bottom: 1rem; }
.highlights { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem .75rem; }
.highlights li { display: flex; gap: .5rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.highlights li::before { content: ''; flex: none; width: 1.1rem; height: 1.1rem; margin-top: .15rem; border-radius: 50%; background: var(--teal-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230F766E' stroke-width='2.5'%3E%3Cpath d='M5 10.5l3 3 7-7'/%3E%3C/svg%3E") center / 70% no-repeat; }
@media (max-width: 520px) { .highlights { grid-template-columns: 1fr; } }
.offers { display: grid; gap: .75rem; margin-bottom: 1.5rem; }
.offer { display: flex; gap: 1rem; align-items: center; background: var(--white); border: 2px solid var(--line); border-radius: var(--radius); padding: .9rem 1rem; color: var(--ink); transition: border-color .15s; }
.offer:hover { border-color: var(--teal); text-decoration: none; }
.offer img { width: 4rem; height: 4rem; object-fit: contain; flex: none; }
.offer-body { flex: 1; min-width: 0; }
.offer-body strong { display: block; }
.offer-body span { font-size: .875rem; color: var(--grey); }
.offer-price { text-align: right; flex: none; }
.offer-price .price { display: block; }
.offer-price .price-old { display: block; }
.box-list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.box-item { display: grid; grid-template-columns: 4rem 1fr auto; gap: 1rem; align-items: center; background: var(--white); border-radius: var(--radius); padding: .9rem 1rem; box-shadow: var(--shadow); }
.box-item img { width: 4rem; height: 4rem; object-fit: contain; }
.box-item .box-name { font-weight: 600; color: var(--ink); }
.box-item .box-choice { grid-column: 1 / -1; }
.box-item .box-choice .options { margin-top: .4rem; }
.box-item .box-qty { color: var(--grey); font-size: .9rem; }
.sections { display: grid; gap: 1.5rem; margin-top: 2rem; }
.sections article { background: var(--white); border-radius: var(--radius); padding: 1.5rem 1.75rem; box-shadow: var(--shadow); }
.sections article h3 { margin-bottom: .5rem; }
.sections article p:last-child { margin-bottom: 0; }
.specs { display: grid; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); gap: .75rem; margin-block: 1.5rem; }
.spec { background: var(--white); border-radius: var(--radius-sm); padding: .8rem 1rem; }
.spec dt { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--grey-light); }
.spec dd { margin: .15rem 0 0; font-weight: 600; color: var(--ink); }

/* Cart */
.cart-layout { display: grid; grid-template-columns: 1.4fr .8fr; gap: 2rem; align-items: start; padding-bottom: 3rem; }
@media (max-width: 900px) { .cart-layout { grid-template-columns: 1fr; } }
.cart-lines { display: grid; gap: 1rem; }
.line { display: grid; grid-template-columns: 6rem 1fr auto; gap: 1rem; background: var(--white); border-radius: var(--radius); padding: 1rem; box-shadow: var(--shadow); align-items: center; }
.line img, .line .placeholder { width: 6rem; height: 6rem; object-fit: contain; background: var(--sand); border-radius: var(--radius-sm); padding: .5rem; }
.line .placeholder { color: var(--grey-light); }
.line-title { font-weight: 700; color: var(--ink); }
.line-sub { font-size: .875rem; color: var(--grey); }
.line-total { text-align: right; display: grid; gap: .5rem; justify-items: end; }
.line-total .price { font-size: 1.1rem; }
.line-remove { background: transparent; border: 0; color: var(--grey); font-size: .85rem; text-decoration: underline; padding: .2rem; }
.line-remove:hover { color: var(--danger); }
.line-controls { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; margin-top: .5rem; }
@media (max-width: 560px) { .line { grid-template-columns: 4.5rem 1fr; } .line img, .line .placeholder { width: 4.5rem; height: 4.5rem; } .line-total { grid-column: 1 / -1; justify-items: start; text-align: left; grid-auto-flow: column; justify-content: space-between; width: 100%; } }
.summary { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); position: sticky; top: 5.5rem; }
.summary h2 { font-size: 1.25rem; }
.summary-rows { display: grid; gap: .6rem; margin-block: 1rem; }
.summary-row { display: flex; justify-content: space-between; gap: 1rem; }
.summary-row.total { border-top: 1px solid var(--line); padding-top: .8rem; font-weight: 700; color: var(--ink); font-size: 1.15rem; }
.summary-row .muted { color: var(--grey-light); font-size: .85rem; }
.voucher-form { display: flex; gap: .5rem; margin-top: 1rem; }
.voucher-form input { flex: 1; min-width: 0; padding: .65rem .9rem; border-radius: var(--radius-sm); border: 1px solid var(--line); text-transform: uppercase; }
.progress { height: .5rem; background: var(--sand); border-radius: 999px; overflow: hidden; margin-top: .5rem; }
.progress span { display: block; height: 100%; background: var(--teal); border-radius: 999px; transition: width .3s; }
.hint { font-size: .875rem; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field label, .field .label { display: block; font-weight: 600; color: var(--ink); font-size: .9rem; margin-bottom: .35rem; }
.field input, .field select, .field textarea { width: 100%; padding: .75rem .95rem; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--white); color: var(--ink); }
.field textarea { min-height: 8rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); outline: 3px solid var(--teal-soft); outline-offset: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--danger); }
.field .error { color: var(--danger); font-size: .82rem; margin-top: .3rem; display: none; }
.field.invalid .error { display: block; }
.check { display: flex; gap: .65rem; align-items: flex-start; font-size: .95rem; }
.check input { width: 1.15rem; height: 1.15rem; margin-top: .2rem; accent-color: var(--teal-ink); flex: none; }
.panel { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.panel + .panel { margin-top: 1.25rem; }
.panel h2 { font-size: 1.2rem; display: flex; align-items: center; gap: .6rem; }
.panel h2 .step { display: inline-grid; place-items: center; width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--ink); color: #fff; font-size: .85rem; }
.radio-list { display: grid; gap: .6rem; }
.radio-card { display: flex; gap: .8rem; align-items: center; border: 2px solid var(--line); border-radius: var(--radius-sm); padding: .8rem 1rem; cursor: pointer; }
.radio-card:has(input:checked) { border-color: var(--teal); background: var(--teal-soft); }
.radio-card input { accent-color: var(--teal-ink); }
.radio-card .rc-body { flex: 1; }
.radio-card .rc-body strong { color: var(--ink); display: block; }
.radio-card .rc-body span { font-size: .85rem; color: var(--grey); }
.radio-card .rc-price { font-weight: 700; color: var(--ink); }

/* Alerts */
.alert { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .95rem; margin-block: 1rem; }
.alert svg { width: 1.25rem; height: 1.25rem; flex: none; margin-top: .1rem; }
.alert-error { background: var(--danger-soft); color: var(--danger); }
.alert-warn { background: var(--warn-soft); color: var(--warn); }
.alert-ok { background: var(--success-soft); color: var(--success); }
.alert-info { background: var(--teal-soft); color: var(--teal-ink); }

/* Checkout */
.checkout-layout { display: grid; grid-template-columns: 1.3fr .9fr; gap: 2rem; align-items: start; padding-bottom: 3rem; }
@media (max-width: 900px) { .checkout-layout { grid-template-columns: 1fr; } .summary { position: static; } }
.mini-lines { display: grid; gap: .75rem; margin-bottom: 1rem; }
.mini-line { display: grid; grid-template-columns: 3.25rem 1fr auto; gap: .75rem; align-items: center; font-size: .9rem; }
.mini-line img, .mini-line .placeholder { width: 3.25rem; height: 3.25rem; object-fit: contain; background: var(--sand); border-radius: .5rem; padding: .3rem; }
.mini-line .placeholder { color: var(--grey-light); }
.mini-line strong { color: var(--ink); display: block; }
.mock-panel { border: 2px dashed var(--teal); border-radius: var(--radius); padding: 1.25rem; background: var(--teal-soft); }
#payment-element { margin-block: 1rem; }
.secure-note { display: flex; gap: .5rem; align-items: flex-start; font-size: .82rem; color: var(--grey); margin-top: 1rem; }
.secure-note svg { width: 1rem; height: 1rem; flex: none; margin-top: .15rem; }

/* Order */
.order-hero { text-align: center; padding-block: 3rem 1rem; }
.order-hero .check-icon { width: 4.5rem; height: 4.5rem; margin: 0 auto 1rem; border-radius: 50%; background: var(--teal-soft); color: var(--teal-ink); display: grid; place-items: center; }
.order-hero .check-icon svg { width: 2.5rem; height: 2.5rem; }
.order-grid { display: grid; grid-template-columns: 1.3fr .9fr; gap: 1.5rem; padding-bottom: 3rem; }
@media (max-width: 800px) { .order-grid { grid-template-columns: 1fr; } }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .4rem 1rem; font-size: .95rem; }
.kv dt { color: var(--grey); }
.kv dd { margin: 0; color: var(--ink); font-weight: 600; }
.status-pill { display: inline-flex; padding: .2rem .7rem; border-radius: 999px; font-size: .85rem; font-weight: 700; background: var(--warn-soft); color: var(--warn); }
.status-pill.paid, .status-pill.shipped, .status-pill.processing { background: var(--success-soft); color: var(--success); }
.status-pill.failed, .status-pill.cancelled { background: var(--danger-soft); color: var(--danger); }

/* Content pages */
.page-head { padding-block: clamp(2rem, 5vw, 3.5rem) 1rem; }
.page-head p.lead { font-size: 1.15rem; max-width: 60ch; }
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.35rem; margin-top: 2rem; }
.prose .updated { color: var(--grey-light); font-size: .9rem; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 760px) { .content-grid { grid-template-columns: 1fr; } }
.faq-group { margin-bottom: 2rem; }
.faq-group h2 { font-size: 1.3rem; }
details.faq { background: var(--white); border-radius: var(--radius-sm); box-shadow: var(--shadow); margin-bottom: .6rem; }
details.faq summary { cursor: pointer; padding: 1rem 1.25rem; font-weight: 600; color: var(--ink); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: '+'; color: var(--teal-ink); font-size: 1.3rem; line-height: 1; }
details.faq[open] summary::after { content: '−'; }
details.faq .faq-a { padding: 0 1.25rem 1.1rem; }
.contact-grid { display: grid; grid-template-columns: 1.3fr .8fr; gap: 1.5rem; align-items: start; padding-bottom: 3rem; }
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-block: 2rem; }
.stat { background: var(--white); border-radius: var(--radius); padding: 1.25rem; text-align: center; box-shadow: var(--shadow); }
.stat strong { display: block; font-size: 2rem; color: var(--ink); letter-spacing: -.02em; }
@media (max-width: 560px) { .stats { grid-template-columns: 1fr; } }
.sample-box { background: var(--warn-soft); color: var(--warn); border-radius: var(--radius-sm); padding: 1rem 1.25rem; font-weight: 600; margin-bottom: 1.5rem; }
address { font-style: normal; white-space: pre-line; }
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.why article { background: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.why article svg { width: 2rem; height: 2rem; color: var(--teal-ink); margin-bottom: .75rem; }
.why article p { margin: 0; font-size: .95rem; }
@media (max-width: 860px) { .why { grid-template-columns: 1fr; } }

/* Toasts */
.toasts { position: fixed; left: 50%; bottom: 1.25rem; transform: translateX(-50%); display: grid; gap: .5rem; z-index: 200; width: min(92vw, 26rem); pointer-events: none; }
.toast { pointer-events: auto; display: flex; align-items: center; gap: .75rem; background: var(--ink); color: #fff; padding: .85rem 1.1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); animation: toast-in .25s ease; font-size: .95rem; }
.toast.error { background: var(--danger); }
.toast a { color: var(--teal); font-weight: 600; margin-left: auto; white-space: nowrap; }
@keyframes toast-in { from { opacity: 0; transform: translateY(.5rem); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }
