/* 3D Obeski — brand tokens straight from the brand board.
 *
 * One rule matters more than the rest: --amber carries dark text, never white.
 * White on #FFC107 measures 1.63:1, which fails WCAG at any size, while
 * #0D1321 on the same amber is 11.38:1. The .btn-primary below encodes that so
 * nobody has to remember it.
 *
 * Type: Poppins for headings (display), Inter for body. Poppins is geometric and
 * wide — fine for a hero, tiring for terms and FAQ text.
 */

:root {
  --amber: #FFC107;
  --amber-dark: #E0A800;
  --navy: #0D1321;
  --navy-soft: #182233;
  --blue: #2563EB;      /* links and informational accents only, never CTAs */
  --gray: #687280;
  --gray-light: #F3F4F6;
  --white: #FFFFFF;

  --ink: var(--navy);
  --ink-soft: var(--gray);
  --line: #E5E7EB;

  --radius: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(13, 19, 33, .06);
  --shadow: 0 4px 16px rgba(13, 19, 33, .08);
  --shadow-lg: 0 12px 40px rgba(13, 19, 33, .14);

  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --maxw: 1180px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-head {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); text-transform: uppercase; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.muted { color: var(--ink-soft); }
.small { font-size: .875rem; }
.center { text-align: center; }
.stack > * + * { margin-top: 1rem; }

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-weight: 600; font-size: .95rem;
  text-transform: uppercase; letter-spacing: .02em;
  cursor: pointer; text-decoration: none;
  transition: background-color .15s, border-color .15s, transform .05s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* Amber + navy text. Do not swap the text colour to white. */
.btn-primary { background: var(--amber); color: var(--navy); }
.btn-primary:hover { background: var(--amber-dark); color: var(--navy); }

.btn-secondary { background: var(--navy); color: var(--white); }
.btn-secondary:hover { background: var(--navy-soft); color: var(--white); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn-outline:hover { border-color: var(--navy); }

.btn-ghost-light { background: rgba(255,255,255,.08); color: var(--white); border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); color: var(--white); }

.btn[disabled], .btn.is-disabled {
  opacity: .5; cursor: not-allowed; pointer-events: none;
}
.btn-sm { padding: .5rem .9rem; font-size: .8rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- forms ---------- */

label { display: block; font-weight: 600; font-size: .875rem; margin-bottom: .35rem; }
.req::after { content: " *"; color: #DC2626; }

input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], input[type=file], select, textarea {
  width: 100%; padding: .7rem .85rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  font: inherit; color: var(--ink); background: var(--white);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.field { margin-bottom: 1rem; }
.field-error input, .field-error select, .field-error textarea { border-color: #DC2626; }
.error-text { color: #B91C1C; font-size: .8125rem; margin-top: .25rem; }
.hint { color: var(--ink-soft); font-size: .8125rem; margin-top: .25rem; }
.row-2 { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; }
.check { display: flex; gap: .6rem; align-items: flex-start; font-weight: 400; }
.check input { width: auto; margin-top: .25rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.site-header .inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand .mark {
  width: 34px; height: 34px; border-radius: 8px;
  background: var(--amber); color: var(--navy);
  display: grid; place-items: center; font-size: 1rem;
}
.brand small { display: block; font-size: .625rem; letter-spacing: .12em; color: var(--gray); font-weight: 500; }
.nav { display: flex; gap: 1.25rem; margin-left: auto; }
.nav a { color: var(--ink); font-size: .9375rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current=page] { color: var(--blue); text-decoration: none; }
.header-actions { display: flex; align-items: center; gap: .75rem; }
.cart-link { position: relative; color: var(--ink); }
.cart-badge {
  position: absolute; top: -6px; right: -8px;
  min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 9px; background: var(--amber); color: var(--navy);
  font-size: .6875rem; font-weight: 700; display: grid; place-items: center;
}

/* ---------- hero ---------- */

.hero {
  background: var(--navy);
  color: var(--white);
  padding: clamp(3rem, 8vw, 6rem) 0;
  position: relative; overflow: hidden;
}
/* Hex-ish dot field from the brand board, cheap and resolution independent. */
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 193, 7, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: linear-gradient(115deg, transparent 35%, #000 100%);
}
.hero .inner { position: relative; display: grid; gap: 2.5rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 .accent { color: var(--amber); }
.hero .lead { font-size: 1.125rem; color: rgba(255,255,255,.8); max-width: 34ch; }
.ticks { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .6rem; }
.ticks li { display: flex; gap: .6rem; align-items: center; color: rgba(255,255,255,.9); }
.ticks .tick { color: var(--amber); font-weight: 700; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-art { border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-soft); min-height: 260px; display: grid; place-items: center; }
.hero-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- generic sections ---------- */

.section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.section-alt { background: var(--gray-light); }
.section-head { text-align: center; max-width: 60ch; margin: 0 auto 2.5rem; }

.features { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.feature .ico { color: var(--blue); font-size: 1.5rem; margin-bottom: .5rem; }
.feature h3 { font-size: .9375rem; text-transform: uppercase; letter-spacing: .04em; }
.feature p { color: var(--ink-soft); font-size: .9375rem; margin: 0; }

.steps { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); counter-reset: step; }
.step { text-align: center; }
.step .num {
  width: 30px; height: 30px; margin: 0 auto .75rem;
  border-radius: 50%; background: var(--blue); color: var(--white);
  display: grid; place-items: center; font-weight: 700; font-size: .875rem;
}
.step h3 { font-size: .875rem; text-transform: uppercase; letter-spacing: .04em; }
.step p { color: var(--ink-soft); font-size: .875rem; margin: 0; }

/* ---------- product grid ---------- */

.grid-products { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card-product { display: block; color: inherit; }
.card-product:hover { text-decoration: none; }
.card-product .thumb {
  aspect-ratio: 1; border-radius: var(--radius-lg);
  background: var(--gray-light); overflow: hidden;
  display: grid; place-items: center; margin-bottom: .75rem;
  transition: box-shadow .15s;
}
.card-product:hover .thumb { box-shadow: var(--shadow); }
.card-product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-product .thumb .ph { color: var(--gray); font-size: 2rem; }
.card-product .name { font-weight: 600; font-size: .9375rem; }
.card-product .price { color: var(--ink-soft); font-size: .9375rem; }

/* ---------- cards, tables, alerts ---------- */

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.card + .card { margin-top: 1.25rem; }
.card-dark { background: var(--navy); color: var(--white); border-color: transparent; }
.card-dark h2, .card-dark h3 { color: var(--white); }

table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: .7rem .5rem; border-bottom: 1px solid var(--line); }
th { font-size: .8125rem; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-soft); }
td.num, th.num { text-align: right; }

.badge {
  display: inline-block; padding: .2rem .55rem; border-radius: 999px;
  font-size: .75rem; font-weight: 600; background: var(--gray-light); color: var(--ink);
}
.badge-amber { background: var(--amber); color: var(--navy); }
.badge-navy { background: var(--navy); color: var(--white); }
.badge-green { background: #DCFCE7; color: #166534; }
.badge-red { background: #FEE2E2; color: #991B1B; }

.alert { padding: .9rem 1.1rem; border-radius: var(--radius); margin-bottom: 1rem; border: 1px solid; }
.alert-success { background: #F0FDF4; border-color: #BBF7D0; color: #166534; }
.alert-danger  { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert-info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }

/* ---------- footer ---------- */

.site-footer { background: var(--navy); color: rgba(255,255,255,.75); padding: 3rem 0 1.5rem; margin-top: 4rem; }
.site-footer h4 { color: var(--white); font-family: var(--font-head); font-size: .8125rem; text-transform: uppercase; letter-spacing: .08em; }
.site-footer a { color: rgba(255,255,255,.75); font-size: .9375rem; }
.site-footer a:hover { color: var(--amber); text-decoration: none; }
.footer-cols { display: grid; gap: 2rem; grid-template-columns: 2fr 1fr 1fr; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-size: .8125rem;
}
.pay-badges { display: flex; gap: .5rem; }
.pay-badges span {
  padding: .25rem .5rem; border-radius: 4px;
  background: rgba(255,255,255,.1); font-size: .6875rem; letter-spacing: .04em;
}

/* ---------- mobile nav ----------
 * <details>/<summary> based, so it works with JavaScript disabled. The panel is
 * position:fixed rather than absolute: on a phone the header is sticky and an
 * absolutely positioned panel would be clipped by the header's own stacking
 * context once the page scrolls.
 */

.mobile-nav { display: none; position: relative; }
.mobile-nav > summary {
  list-style: none; cursor: pointer;
  width: 44px; height: 44px;              /* 44px: comfortable touch target */
  display: grid; place-items: center;
  border-radius: var(--radius);
}
.mobile-nav > summary::-webkit-details-marker { display: none; }
.mobile-nav > summary::marker { content: ""; }
.mobile-nav > summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

.mobile-nav .bars { display: grid; gap: 5px; }
.mobile-nav .bars i { display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px; }
.mobile-nav[open] > summary .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-nav[open] > summary .bars i:nth-child(2) { opacity: 0; }
.mobile-nav[open] > summary .bars i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav .bars i { transition: transform .15s, opacity .15s; }

.mobile-nav-panel {
  position: fixed; left: 0; right: 0; top: 72px;
  max-height: calc(100vh - 72px); overflow-y: auto;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
  padding: 1rem 20px 1.5rem;
}
.mobile-nav-panel nav { display: grid; }
.mobile-nav-panel nav a {
  padding: .9rem .25rem;
  color: var(--ink); font-weight: 500;
  border-bottom: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
}
.mobile-nav-panel nav a::after { content: "›"; color: var(--gray); }
.mobile-nav-panel nav a:hover { text-decoration: none; color: var(--blue); }
.mobile-nav-panel .btn { margin-top: 1.25rem; }
.mobile-nav-contact { margin-top: 1rem; display: grid; gap: .35rem; }

/* ---------- responsive ---------- */

@media (min-width: 860px) {
  .hero .inner { grid-template-columns: 1.1fr .9fr; }
}
@media (max-width: 859px) {
  .nav { display: none; }
  .mobile-nav { display: block; }
  .cart-link .cart-label { display: none; }   /* icon only, the label is in the panel */
  .row-2 { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
}
@media (min-width: 860px) {
  .cart-link .cart-icon { display: none; }
}

/* ---------- icons ----------
 * Inline SVGs inherit colour via currentColor, so one rule covers the light
 * sections and the navy hero without a second variant.
 */
.ico { display: inline-block; vertical-align: middle; flex: none; }

.brand .brand-mark { display: block; flex: none; }

.feature .ico { color: var(--blue); margin-bottom: .6rem; }
.ticks .tick { display: inline-flex; color: var(--amber); }
.cart-link { display: inline-flex; align-items: center; gap: .4rem; }

/* Step: icon above the number, per the mockups. */
.step .step-ico {
  width: 56px; height: 56px; margin: 0 auto .5rem;
  border-radius: 50%; background: var(--gray-light); color: var(--navy);
  display: grid; place-items: center;
}
.section-alt .step .step-ico { background: var(--white); }

/* Hero art holds a real photo or the SVG illustration; both must fill it. */
.hero-art { background: transparent; min-height: 0; }
.hero-art img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); }

/* Product thumbs: the placeholder SVG is a full-bleed image, not a glyph. */
.card-product .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Trust row above the closing CTA. */
.trust-row {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.trust-row > div {
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  text-align: center; font-size: .8125rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em; color: var(--ink-soft);
}
.trust-row span { color: var(--blue); }

/* Footer: social icons and inline icons in the link list. */
.footer-social { display: flex; gap: .6rem; margin-top: 2rem; }
.footer-social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
}
.footer-social a:hover { background: var(--amber); color: var(--navy); }
.footer-links a { display: inline-flex; align-items: center; gap: .4rem; }

/* ---------- 2026 visual refresh ---------- */

:root {
  --amber: #ffca0a;
  --amber-dark: #f0b900;
  --navy: #080f1e;
  --navy-soft: #111c30;
  --blue: #245ee9;
  --gray-light: #f5f6f8;
  --line: #e3e6eb;
  --radius: 12px;
  --radius-lg: 22px;
  --shadow: 0 12px 32px rgba(8, 15, 30, .09);
  --shadow-lg: 0 28px 70px rgba(8, 15, 30, .2);
}

body { background: #fbfbfc; }
main { overflow: hidden; }

.announcement {
  background: var(--navy); color: rgba(255,255,255,.72);
  font-size: .72rem; letter-spacing: .025em;
}
.announcement .container {
  min-height: 34px; display: flex; align-items: center;
  justify-content: space-between; gap: 1rem;
}
.announcement strong { color: var(--white); }
.announcement a { color: var(--amber); font-weight: 600; }
.announcement a:hover { color: #fff; text-decoration: none; }

.site-header {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.site-header .inner { height: 78px; }
.brand { letter-spacing: -.02em; }
.brand small { letter-spacing: .16em; margin-top: 1px; }
.nav a { position: relative; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: -10px;
  height: 2px; background: var(--amber); transition: right .2s ease;
}
.nav a:hover::after { right: 0; }

.hero {
  min-height: clamp(620px, 74vh, 760px);
  display: flex;
  align-items: center;
  padding: clamp(4rem, 8vw, 7.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background: #080f1e;
}
.hero::before {
  z-index: 1; opacity: 1; background:
    linear-gradient(90deg, rgba(5,13,27,.98) 0%, rgba(5,13,27,.92) 30%,
      rgba(5,13,27,.48) 58%, rgba(5,13,27,.12) 100%),
    linear-gradient(0deg, rgba(5,13,27,.48), transparent 45%);
}
.hero::after {
  display: none;
}
.hero .inner { z-index: 2; grid-template-columns: minmax(0, 650px) 1fr; }
.hero-content { text-shadow: 0 2px 24px rgba(0,0,0,.24); }
.hero-slides, .hero-slide { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides { overflow: hidden; }
.hero-slide {
  object-fit: cover; object-position: center;
  opacity: 0; transform: translateX(5%); transition: opacity 1s ease, transform 1.2s ease;
}
.hero-slide.is-active { opacity: 1; transform: translateX(0); }
.hero h1 {
  max-width: 12ch; font-size: clamp(2.9rem, 6vw, 5rem);
  letter-spacing: -.055em; line-height: .99; margin-bottom: .35em;
}
.hero-kicker, .section-label {
  display: flex; align-items: center; gap: .6rem; margin-bottom: 1.2rem;
  color: var(--blue); font-family: var(--font-head); font-size: .72rem;
  font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.hero-kicker { color: rgba(255,255,255,.65); }
.hero-kicker span { width: 24px; height: 2px; background: var(--amber); }
.section-head .section-label, .section > .container > .section-label { justify-content: center; }
.section-label-light { color: var(--amber); }
.hero .lead { font-size: clamp(1.08rem, 2vw, 1.3rem); }
.ticks { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 1.5rem; }
.ticks li:last-child { grid-column: 1 / -1; }
.hero-cta .btn { min-height: 52px; }
.btn { border-radius: 10px; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn-primary:hover { box-shadow: 0 10px 28px rgba(255,193,7,.24); }

.hero-art { position: relative; isolation: isolate; }
.hero-art::before {
  content: ""; position: absolute; inset: 7% -6% -8% 8%; z-index: -1;
  border-radius: 28px; background: var(--amber); opacity: .96;
  transform: rotate(3deg);
}
.hero-art img { border-radius: 26px; box-shadow: var(--shadow-lg); }
.hero-float {
  position: absolute; padding: .65rem .9rem; border-radius: 999px;
  background: rgba(255,255,255,.94); color: var(--navy);
  box-shadow: var(--shadow); backdrop-filter: blur(10px);
  font-size: .73rem; font-weight: 700; letter-spacing: .02em;
}
.hero-float-top { right: -18px; top: 9%; }
.hero-float-bottom { left: -26px; bottom: 9%; }
.hero-float-bottom span { color: #15803d; margin-right: .25rem; }
.hero-proof { display: flex; gap: 0; margin-top: 2.2rem; }
.hero-proof > div { padding-right: 1.5rem; margin-right: 1.5rem; border-right: 1px solid rgba(255,255,255,.15); }
.hero-proof > div:last-child { border: 0; margin: 0; padding: 0; }
.hero-proof strong { display: block; color: #fff; font-family: var(--font-head); font-size: 1.05rem; }
.hero-proof span { display: block; color: rgba(255,255,255,.5); font-size: .66rem; }

.section { padding: clamp(3.8rem, 8vw, 6.5rem) 0; }
.section-alt { background: #f1f3f6; position: relative; }
.section-head { margin-bottom: 3.25rem; }
.section-head h2 { letter-spacing: -.04em; }
.section-head p { margin-top: .8rem; }

.features { gap: 1rem; }
.feature {
  position: relative; padding: 1.5rem; border: 1px solid var(--line);
  border-radius: 18px; background: rgba(255,255,255,.7);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: transparent; }
.feature .ico {
  width: 48px; height: 48px; display: grid; place-items: center;
  background: #edf2ff; border-radius: 14px;
}
.feature h3 { margin-top: .9rem; }

.steps { gap: 1rem; position: relative; }
.step { padding: 1.6rem 1.2rem; border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.step .step-ico { width: 64px; height: 64px; color: var(--blue); }
.step .num { margin-top: -15px; position: relative; background: var(--amber); color: var(--navy); border: 4px solid white; width: 34px; height: 34px; }

.grid-products { gap: 1.2rem; }
.card-product { padding: .55rem .55rem 1rem; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.card-product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-product .thumb { margin-bottom: 1rem; border-radius: 15px; }
.card-product .name, .card-product .price { padding: 0 .55rem; }
.card-product .name { font-family: var(--font-head); }

.trust-row { border: 0; padding: 2rem; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.trust-row span { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 50%; background: #edf2ff; }
.closing-cta { overflow: hidden; position: relative; padding: clamp(2rem, 5vw, 3.5rem); border-radius: 24px; }
.closing-cta::after { content: ""; position: absolute; width: 240px; height: 240px; right: 12%; top: -130px; border: 1px solid rgba(255,193,7,.25); transform: rotate(45deg); }
.closing-cta > * { position: relative; z-index: 1; }

.site-footer { margin-top: 1rem; padding-top: 4.5rem; }

@media (max-width: 859px) {
  .announcement .container { justify-content: center; }
  .announcement a { display: none; }
  .hero { min-height: 680px; padding-top: 3.5rem; }
  .hero::before { background: linear-gradient(90deg, rgba(5,13,27,.96), rgba(5,13,27,.64)); }
  .hero .inner { display: block; }
  .hero-slide { object-position: 60% center; }
  .hero h1 { font-size: clamp(2.7rem, 14vw, 4.5rem); }
  .hero-art { margin: 0 4vw; }
  .hero-float-top { right: -12px; }
  .hero-float-bottom { left: -12px; }
  .hero-proof { justify-content: space-between; }
  .hero-proof > div { padding-right: .8rem; margin-right: .8rem; }
}

@media (max-width: 520px) {
  .ticks { grid-template-columns: 1fr; }
  .ticks li:last-child { grid-column: auto; }
  .hero-proof span { max-width: 10ch; }
  .hero-float { font-size: .65rem; }
  .closing-cta .btn { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .hero-slide { transform: none; }
}

/* ---------- commerce components ----------
 * Everything below serves one of three jobs: say what the customer gets
 * (swatches, delivery date), say what it costs (shipping meter, tier hints), or
 * show that someone else already bought it (stars, reviews). They share the
 * tokens above so none of them reads as bolted on.
 */

/* --- ratings --- */
.stars { display: inline-flex; align-items: center; gap: 1px; white-space: nowrap; }
.stars .star { color: #d6dae1; font-size: 1rem; line-height: 1; }
.stars .star.is-on { color: #f5a623; }
.stars b { margin-left: .35rem; font-family: var(--font-head); font-size: .8rem; }
.stars-count { margin-left: .25rem; font-size: .78rem; color: var(--ink-soft); }
.stars.sm .star { font-size: .82rem; }
.stars.sm b { font-size: .72rem; }

.card-rating { padding: 0 .55rem; margin: .1rem 0 .15rem; }
.product-rating { display: inline-block; margin-bottom: .5rem; }
.product-rating:hover { text-decoration: none; }

/* --- filament swatches ---
 * Radios, styled. The input stays in the DOM (focusable, submits with the form,
 * announced as a radio group) and is only visually replaced by the chip; the
 * focus ring is drawn on the chip via :focus-visible on the input.
 */
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.swatch { position: relative; font-weight: 400; margin: 0; cursor: pointer; }
.swatch input {
  position: absolute; inset: 0; width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}
.swatch-chip {
  display: block; width: 38px; height: 38px; border-radius: 50%;
  background: var(--chip);
  box-shadow: inset 0 0 0 1px rgba(8, 15, 30, .18), var(--shadow-sm);
  transition: transform .15s, box-shadow .15s;
}
.swatch:hover .swatch-chip { transform: scale(1.08); }
.swatch input:checked + .swatch-chip {
  box-shadow: inset 0 0 0 1px rgba(8, 15, 30, .18), 0 0 0 3px var(--navy);
}
.swatch input:focus-visible + .swatch-chip { box-shadow: 0 0 0 3px var(--blue); }
/* The name is for the screen reader and for the hover tooltip; showing fourteen
   labels under fourteen chips would be a wall of text. */
.swatch-name {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.color-tag { display: inline-flex; align-items: center; gap: .35rem; }
.color-dot, .model-swatch {
  display: inline-block; width: 13px; height: 13px; border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(8, 15, 30, .25); flex: none;
}
.model-swatch[type="color"] {
  appearance: none; -webkit-appearance: none; width: 30px; height: 30px;
  padding: 0; overflow: hidden; cursor: pointer; background: transparent;
  border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(8,15,30,.3);
}
.model-swatch[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.model-swatch[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }
.model-swatch[type="color"]::-moz-color-swatch { border: 0; border-radius: 50%; }

/* --- free shipping meter --- */
.ship-meter {
  margin: 0 0 1.5rem; padding: .9rem 1.1rem;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fffdf3;
}
.ship-meter.is-unlocked { background: #f0fdf4; border-color: #bbf7d0; }
.ship-meter-text { margin: 0 0 .6rem; font-size: .9rem; }
.ship-meter-track {
  height: 8px; border-radius: 999px; background: var(--line); overflow: hidden;
}
.ship-meter-track > span {
  display: block; height: 100%; border-radius: 999px;
  background: var(--amber); transition: width .3s ease;
}
.ship-meter.is-unlocked .ship-meter-track > span { background: #16a34a; }
.free { color: #15803d; font-weight: 600; }

/* --- delivery estimate --- */
.delivery-note {
  display: flex; align-items: center; gap: .5rem;
  margin: 1rem 0; font-size: .9rem; color: var(--ink-soft);
}
.delivery-note.is-centered { justify-content: center; }
.delivery-note strong { color: var(--ink); }
.delivery-note .delivery-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #16a34a; flex: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .18);
}

/* --- quantity tiers --- */
.tier-hint { display: flex; flex-wrap: wrap; gap: .4rem; margin: .85rem 0 0; }
.tier-hint span {
  padding: .25rem .6rem; border-radius: 999px;
  background: var(--gray-light); font-size: .75rem; color: var(--ink-soft);
}
.tier-hint strong { color: var(--ink); }
.tier-nudge {
  display: flex; align-items: center; gap: .6rem; margin-top: 1.25rem;
  padding: .8rem 1rem; border-radius: var(--radius);
  background: #edf2ff; color: var(--navy); font-size: .875rem;
}
.tier-nudge .ico { color: var(--blue); flex: none; }

/* --- product page --- */
.crumbs {
  display: flex; align-items: center; gap: .35rem;
  margin-bottom: 1.5rem; font-size: .8125rem; color: var(--ink-soft);
}
.crumbs a { color: var(--ink-soft); }
.crumbs .ico { opacity: .5; }

.product-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@media (min-width: 860px) { .product-grid { grid-template-columns: 1fr 1fr; align-items: start; } }

.product-shot {
  aspect-ratio: 1; border-radius: var(--radius-lg); overflow: hidden;
  background: var(--gray-light); display: grid; place-items: center;
  box-shadow: var(--shadow);
}
.product-shot img { width: 100%; height: 100%; object-fit: cover; }
.product-assurances { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .5rem; }
.product-assurances li {
  display: flex; align-items: center; gap: .5rem;
  font-size: .85rem; color: var(--ink-soft);
}
.product-assurances .ico { color: var(--blue); flex: none; }

.product-info h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); text-transform: none; letter-spacing: -.03em; }
.product-price { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; margin: .25rem 0 .75rem; }
.product-price-note { display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 400; color: var(--ink-soft); }
.lead-sm { font-size: 1.02rem; color: var(--ink-soft); }
.product-form { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.product-form .field + .field { margin-top: 1.1rem; }
.product-buy { display: flex; align-items: flex-end; gap: .75rem; margin-top: 1.5rem; }
.product-buy .qty-field { margin: 0; width: 92px; flex: none; }
.product-buy .btn-buy { flex: 1; justify-content: center; min-height: 52px; }
.product-copy { margin-top: 1.75rem; color: var(--ink-soft); }
.product-meta {
  list-style: none; padding: 1.25rem 0 0; margin: 1.5rem 0 0;
  border-top: 1px solid var(--line); display: grid; gap: .55rem;
}
.product-meta li { display: flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--ink-soft); }
.product-meta .ico { color: var(--blue); flex: none; }

/* Sticky buy bar — phones only, where the real button is off-screen for most of
   the page. Hidden on desktop, where it would just cover content. */
.buy-bar { display: none; }
@media (max-width: 859px) {
  .buy-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    display: flex; align-items: center; justify-content: space-between; gap: 1rem;
    padding: .7rem 20px calc(.7rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--line); box-shadow: 0 -6px 24px rgba(8, 15, 30, .1);
  }
  .buy-bar strong { display: block; font-family: var(--font-head); }
  .buy-bar .small { display: block; }
  .product-page { padding-bottom: 6rem; }
}

/* --- reviews --- */
.review-grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.review {
  padding: 1.25rem 1.4rem; border: 1px solid var(--line);
  border-radius: 18px; background: var(--white);
}
.review + .review { margin-top: 1rem; }
.review-grid .review + .review { margin-top: 0; }
.review-head { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .6rem; }
.review-head strong { font-size: .9rem; }
.review p { margin: 0; color: var(--ink-soft); }
.review-reply {
  margin-top: .75rem; padding: .7rem .9rem; border-radius: 10px;
  background: var(--gray-light); font-size: .875rem;
}

/* Star input for the review form: radios rendered 5→1 in the DOM, so `~` can
   light the hovered/checked star and every star before it. No JavaScript. */
.rate { border: 0; padding: 0; margin: 0 0 1.25rem; }
.rate legend { font-weight: 600; font-size: .875rem; margin-bottom: .35rem; }
.rate-stars { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.rate-stars input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.rate-stars label {
  margin: 0; font-size: 2rem; line-height: 1; color: #d6dae1;
  cursor: pointer; transition: color .12s, transform .12s;
}
.rate-stars label:hover, .rate-stars label:hover ~ label,
.rate-stars input:checked ~ label { color: #f5a623; }
.rate-stars label:hover { transform: scale(1.12); }
.rate-stars input:focus-visible + label { outline: 3px solid var(--blue); outline-offset: 2px; }

/* --- order tracking --- */
.track {
  list-style: none; counter-reset: none; padding: 0;
  margin: 1.5rem 0 2rem; display: grid; gap: .75rem;
  grid-template-columns: repeat(4, 1fr);
}
.track li {
  position: relative; padding-top: 1.5rem;
  font-size: .78rem; color: var(--ink-soft); text-transform: uppercase;
  letter-spacing: .03em; font-weight: 600;
}
.track li::before {
  content: ""; position: absolute; left: 0; right: 0; top: 6px;
  height: 3px; border-radius: 999px; background: var(--line);
}
.track li.is-done::before, .track li.is-now::before { background: var(--amber); }
.track li.is-done, .track li.is-now { color: var(--ink); }
.track .track-dot { display: none; }

/* --- cart --- */
.cart-table td { vertical-align: top; }
.cart-empty { text-align: center; padding: 3rem 1.5rem; }
.cart-empty .hero-cta { justify-content: center; }
.qty-form { display: inline-flex; gap: .35rem; justify-content: flex-end; }
.qty-form input { width: 66px; text-align: center; padding: .45rem .3rem; }
.btn-remove {
  border: 1px solid var(--line); background: var(--white); color: var(--ink-soft);
  width: 32px; height: 32px; border-radius: 8px; font-size: 1.1rem;
  line-height: 1; cursor: pointer;
}
.btn-remove:hover { border-color: #dc2626; color: #dc2626; }
.cart-foot { display: grid; gap: 1.5rem; margin-top: 2rem; align-items: start; }
@media (min-width: 720px) { .cart-foot { grid-template-columns: 1fr 340px; } }
.cart-summary { position: sticky; top: 96px; }
.btn-quiet {
  display: block; margin-top: .75rem; text-align: center;
  font-size: .82rem; color: var(--ink-soft);
}
.cart-aside .small { display: flex; align-items: flex-start; gap: .4rem; }

/* --- checkout --- */
.checkout-assurance {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
  display: grid; gap: .6rem;
}
.checkout-assurance li { display: flex; align-items: center; gap: .5rem; font-size: .875rem; color: var(--ink-soft); }
.checkout-assurance .ico { color: var(--blue); flex: none; }
@media (min-width: 720px) { .checkout-assurance { grid-template-columns: repeat(3, 1fr); } }

/* --- custom order page --- */
.custom-facts {
  list-style: none; padding: 0; margin: 0 0 1.75rem;
  display: grid; gap: .75rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.custom-facts li {
  padding: .8rem 1rem; border-radius: 14px; background: var(--gray-light);
  font-size: .82rem; color: var(--ink-soft);
}
.custom-facts strong { display: block; font-family: var(--font-head); font-size: 1rem; color: var(--ink); }

/* --- catalogue tiles --- */
.thumb-tag {
  position: absolute; top: .6rem; left: .6rem;
  padding: .2rem .5rem; border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-size: .625rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.card-product .thumb { position: relative; }
.card-product-cta .thumb {
  background: var(--navy); color: var(--amber);
  display: grid; place-items: center;
}
.card-product-cta .price { color: var(--blue); font-weight: 600; }

/* ---------- customer model preview ---------- */
.model-preview { margin: 1.25rem 0 1.5rem; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: #f7f9fc; }
.model-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .9rem 1rem; }
.model-canvas { position: relative; width: 100%; height: min(54vw, 390px); min-height: 270px; background: radial-gradient(circle at 50% 35%, #fff 0, #edf1f7 72%); cursor: grab; }
.model-canvas:active { cursor: grabbing; }
.model-canvas canvas { display: block; width: 100%; height: 100%; }
.model-canvas.has-parts {
  height: auto; min-height: 0; padding: 12px; display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 12px;
  cursor: default;
}
.model-part { overflow: hidden; min-width: 0; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.model-part-head { padding: .6rem .75rem; border-bottom: 1px solid var(--line); font-size: .78rem; }
.model-part-viewport { height: 285px; background: radial-gradient(circle at 50% 35%, #fff 0, #edf1f7 75%); cursor: grab; }
.model-part-viewport:active { cursor: grabbing; }
.model-part-viewport canvas { display: block; width: 100%; height: 100%; }
.model-part-dimensions { padding: .55rem .75rem; color: var(--ink-soft); border-top: 1px solid var(--line); font-size: .75rem; }
.model-part-validation { padding: .55rem .75rem; border-top: 1px solid var(--line); font-size: .72rem; font-weight: 600; }
.model-part-validation.is-ok { color: #166534; background: #dcfce7; }
.model-part-validation.is-warning { color: #854d0e; background: #fef3c7; }
.model-part-validation.is-error { color: #991b1b; background: #fee2e2; }
.model-loading {
  position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: .65rem; text-align: center;
  padding: 1.5rem; color: var(--ink); background: rgba(241,245,249,.9);
  backdrop-filter: blur(2px);
}
.model-loading[hidden] { display: none; }
.model-loading > span:last-child { max-width: 30ch; color: var(--ink-soft); font-size: .76rem; }
.model-spinner {
  width: 48px; height: 48px; border: 5px solid rgba(36,94,233,.16);
  border-top-color: var(--blue); border-radius: 50%; animation: model-spin .8s linear infinite;
}
@keyframes model-spin { to { transform: rotate(360deg); } }
/* --ink-soft, not --muted: the latter was never defined, so the text fell back
   to inheriting and the detail row rendered at full contrast. */
.model-details { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; padding: .7rem 1rem; color: var(--ink-soft); font-size: .78rem; border-top: 1px solid var(--line); }
.model-validation { margin: 0 1rem .8rem; padding: .65rem .8rem; border-radius: 10px; font-size: .78rem; font-weight: 600; }
.model-validation.is-ok { color: #166534; background: #dcfce7; }
.model-validation.is-warning { color: #854d0e; background: #fef3c7; }
.model-validation.is-error { color: #991b1b; background: #fee2e2; }
.model-colors { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem; padding: 0 1rem .8rem; font-size: .75rem; color: var(--ink-soft); }
@media (max-width: 520px) {
  .model-preview-head { align-items: flex-start; }
  .model-canvas { height: 310px; }
}

/* ---------- playful brand layer ---------- */

.idea-ribbon {
  overflow: hidden; background: var(--amber); color: var(--navy);
  border-top: 1px solid rgba(8,15,30,.15); border-bottom: 1px solid rgba(8,15,30,.15);
  transform: rotate(-1deg) scale(1.02); position: relative; z-index: 3;
  box-shadow: 0 8px 30px rgba(8,15,30,.14);
}
.idea-ribbon-track {
  min-width: max-content; min-height: 50px; display: flex; align-items: center;
  justify-content: center; gap: 1.45rem; padding: 0 1.5rem;
  font-family: var(--font-head); font-size: .78rem; font-weight: 700; letter-spacing: .09em;
}
.idea-ribbon i { font-style: normal; font-size: 1.15rem; }

.hero .accent { position: relative; display: inline-block; }
.hero .accent::after {
  content: ""; position: absolute; left: 0; right: 4%; bottom: -.08em; height: .08em;
  border-radius: 999px; background: var(--amber); transform: rotate(-1deg);
}

/* Scoped by class, not by position. This was a "second <section> on the page"
   selector, true only on the home page. Adding a reviews section to the product
   page made the same rules paint a decorative ring and rotate cards there too. */
.features-section { position: relative; }
.features-section::before {
  content: ""; position: absolute; width: 170px; height: 170px; left: -85px; top: 35%;
  border: 26px solid rgba(36,94,233,.07); border-radius: 50%;
}
.features-section .feature:nth-child(1) { background: #fff8d9; transform: rotate(-1deg); }
.features-section .feature:nth-child(2) { background: #edf2ff; transform: rotate(.7deg); }
.features-section .feature:nth-child(3) { background: #fff0ef; transform: rotate(-.5deg); }
.features-section .feature:nth-child(4) { background: #eaf8f1; transform: rotate(.9deg); }
.features-section .feature:hover { transform: translateY(-7px) rotate(0); }

.inspiration-section {
  position: relative; overflow: hidden; background: var(--navy); color: #fff;
  padding: clamp(4rem, 9vw, 7rem) 0;
}
.inspiration-section::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,202,10,.22) 1px, transparent 1px);
  background-size: 22px 22px; mask-image: linear-gradient(90deg, transparent 25%, #000 100%);
}
.inspiration-section::after {
  content: ""; position: absolute; width: 440px; height: 440px; right: -120px; bottom: -280px;
  border: 1px solid rgba(255,202,10,.22); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,202,10,.035);
}
.inspiration-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 7rem); align-items: center; }
.inspiration-copy h2 { color: #fff; font-size: clamp(2.2rem, 5vw, 4rem); letter-spacing: -.055em; line-height: 1.02; }
.inspiration-copy h2 span { color: var(--amber); }
.inspiration-copy p { color: rgba(255,255,255,.68); max-width: 48ch; margin: 1.5rem 0 2rem; }
.idea-cloud { min-height: 400px; position: relative; }
.idea-orbit {
  position: absolute; width: 330px; height: 330px; left: 50%; top: 50%;
  border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; transform: translate(-50%,-50%);
}
.idea-orbit::before, .idea-orbit::after { content: ""; position: absolute; border: 1px solid rgba(255,202,10,.12); border-radius: 50%; }
.idea-orbit::before { inset: 45px; }
.idea-orbit::after { inset: 95px; background: rgba(255,202,10,.04); }
.idea-chip {
  position: absolute; z-index: 2; display: grid; place-items: center; text-align: center;
  font-family: var(--font-head); font-weight: 700; line-height: 1.05;
  box-shadow: 0 20px 45px rgba(0,0,0,.3); border: 2px solid rgba(255,255,255,.7);
}
.chip-1 { width: 190px; height: 92px; left: 9%; top: 6%; border-radius: 18px 18px 28px 18px; background: var(--blue); transform: rotate(-8deg); }
.chip-1 strong { color: var(--amber); font-size: 1.55rem; margin-left: .35rem; }
.chip-2 { width: 112px; height: 112px; right: 11%; top: 2%; border-radius: 38% 62% 48% 52%; background: #ef4444; font-size: 3rem; transform: rotate(9deg); }
.chip-3 { width: 180px; height: 118px; left: 34%; top: 38%; border-radius: 20px; background: #111827; color: #fff; font-size: 1.3rem; transform: rotate(4deg); border-color: var(--amber); }
.chip-4 { width: 105px; height: 105px; left: 2%; bottom: 5%; border-radius: 50% 50% 45% 55%; background: #fff; color: var(--navy); font-size: 3rem; transform: rotate(7deg); }
.chip-5 { width: 148px; height: 88px; right: 4%; bottom: 8%; border-radius: 18px; background: var(--amber); color: var(--navy); font-size: 1.7rem; letter-spacing: .08em; transform: rotate(-7deg); }

.grid-products .card-product:nth-child(3n+1) .thumb { background: #fff5cc; }
.grid-products .card-product:nth-child(3n+2) .thumb { background: #e8efff; }
.grid-products .card-product:nth-child(3n+3) .thumb { background: #ffe9e6; }

.closing-cta { background: linear-gradient(120deg, #0a1323, #14223b); border: 1px solid rgba(255,202,10,.25); }
.closing-cta::before {
  content: "3D"; position: absolute; right: 5%; bottom: -42%; color: rgba(255,255,255,.035);
  font-family: var(--font-head); font-size: 15rem; font-weight: 700; line-height: 1;
}

@media (max-width: 859px) {
  .inspiration-grid { grid-template-columns: 1fr; }
  .idea-cloud { min-height: 340px; max-width: 520px; width: 100%; margin: 0 auto; }
  .idea-orbit { width: 280px; height: 280px; }
}

@media (max-width: 520px) {
  .idea-ribbon-track { justify-content: flex-start; }
  .idea-cloud { transform: scale(.88); margin: -20px -6% -30px; width: 112%; }
  .chip-1 { left: 2%; }
  .chip-2 { right: 2%; }
  .features-section .feature { transform: none; }
}

/* ---------- controls, 2026 ----------
 * The native file input was the giveaway: a grey "Choose File" chip with a hard
 * 1px border, straight out of 1995, sitting in the middle of an otherwise soft
 * page. Everything here replaces browser chrome with the same tokens the rest of
 * the shop uses — without adding a single line of JavaScript, so the controls
 * keep their native keyboard behaviour and validation.
 */

/* --- buttons --- */

.btn {
  border-radius: 999px;                  /* pill: reads current, and the amber
                                            CTA carries a pill better than a box */
  padding: .85rem 1.6rem;
  font-size: .8125rem;
  letter-spacing: .06em;
  /* Two-layer shadow instead of one: a tight contact shadow keeps the button
     attached to the page, a wide soft one gives it height. A single blurry
     shadow is what makes buttons look like stickers. */
  box-shadow: 0 1px 2px rgba(8, 15, 30, .08), 0 4px 12px rgba(8, 15, 30, .06);
  transition: transform .18s cubic-bezier(.2, .8, .3, 1),
              box-shadow .18s cubic-bezier(.2, .8, .3, 1),
              background-color .18s, border-color .18s, color .18s;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); box-shadow: 0 1px 2px rgba(8, 15, 30, .12); }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.btn-primary {
  /* A barely-there gradient reads as a lit surface rather than a flat fill; at
     4 % it survives on a phone in sunlight and never looks like a Web 2.0 gel. */
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, 0));
  box-shadow: 0 1px 2px rgba(140, 100, 0, .2), 0 6px 18px rgba(255, 193, 7, .28);
}
.btn-primary:hover {
  box-shadow: 0 2px 4px rgba(140, 100, 0, .22), 0 12px 28px rgba(255, 193, 7, .38);
}

.btn-secondary { box-shadow: 0 1px 2px rgba(8, 15, 30, .2), 0 8px 22px rgba(8, 15, 30, .18); }

/* Outline: fills with navy on hover instead of only darkening its border. A
   border that changes colour by one shade is a hover state nobody notices. */
.btn-outline {
  background: var(--white); border-color: var(--line); color: var(--navy);
  box-shadow: 0 1px 2px rgba(8, 15, 30, .05);
}
.btn-outline:hover {
  background: var(--navy); border-color: var(--navy); color: var(--white);
  box-shadow: 0 1px 2px rgba(8, 15, 30, .18), 0 10px 24px rgba(8, 15, 30, .16);
}

.btn-ghost-light { backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); box-shadow: none; }
.btn-ghost-light:hover { border-color: rgba(255, 255, 255, .6); box-shadow: none; }

.btn-sm { padding: .55rem 1.1rem; font-size: .72rem; }
.btn-block { border-radius: 999px; }

/* --- file input as a drop zone ---
 * Styled through ::file-selector-button, so it stays one real <input type=file>:
 * the OS picker, drag-and-drop onto the field and the required/validation
 * plumbing all keep working. A div-plus-hidden-input costs all three.
 */

input[type=file] {
  padding: .55rem;
  border: 1.5px dashed var(--line);
  background: #fbfcfe;
  cursor: pointer;
  font-size: .875rem;
  color: var(--ink-soft);
  transition: border-color .18s, background-color .18s;
}
input[type=file]:hover { border-color: var(--blue); background: #f6f9ff; }
input[type=file]:focus-visible {
  outline: none; border-color: var(--blue); border-style: solid;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .16);
}

input[type=file]::file-selector-button {
  margin-right: .8rem;
  padding: .6rem 1.15rem;
  border: 0; border-radius: 999px;
  background: var(--navy); color: var(--white);
  font-family: var(--font-head); font-weight: 600;
  font-size: .72rem; text-transform: uppercase; letter-spacing: .06em;
  cursor: pointer;
  transition: background-color .18s, transform .18s, box-shadow .18s;
  box-shadow: 0 1px 2px rgba(8, 15, 30, .18), 0 4px 12px rgba(8, 15, 30, .12);
}
input[type=file]::file-selector-button:hover {
  background: var(--blue); transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(37, 99, 235, .22), 0 8px 20px rgba(37, 99, 235, .24);
}
input[type=file]::file-selector-button:active { transform: translateY(0); }

/* --- select: native arrow replaced with the brand chevron --- */

select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 2.6rem;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23687280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .85rem center;
  transition: border-color .18s, box-shadow .18s;
}
select:hover { border-color: #cbd2dc; }

/* --- text fields --- */

input[type=text], input[type=email], input[type=tel], input[type=number],
input[type=password], select, textarea {
  border-radius: 12px;
  /* background-COLOR, not the `background` shorthand: the shorthand resets
     background-image, which silently erased the select's chevron above. */
  background-color: #fdfdfe;
  transition: border-color .18s, box-shadow .18s, background-color .18s;
}
input[type=text]:hover, input[type=email]:hover, input[type=tel]:hover,
input[type=number]:hover, textarea:hover { border-color: #cbd2dc; }
input:focus, select:focus, textarea:focus { background-color: var(--white); }
textarea { resize: vertical; min-height: 5rem; }

/* --- small icon buttons --- */

.btn-remove {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--white);
  display: inline-grid; place-items: center;
  font-size: 1rem; line-height: 1;
  transition: background-color .18s, border-color .18s, color .18s, transform .18s;
}
.btn-remove:hover {
  background: #fef2f2; border-color: #fca5a5; color: #dc2626;
  transform: scale(1.06);
}
.btn-remove:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* The basket's quantity field and its Osveži button read as one control. */
.qty-form { align-items: center; }
.qty-form input { border-radius: 999px; padding: .5rem .6rem; }

/* Reduced motion: keep the colour changes, drop the movement. */
@media (prefers-reduced-motion: reduce) {
  .btn:hover, .btn-remove:hover,
  input[type=file]::file-selector-button:hover { transform: none; }
}

/* --- checkboxes and radios ---
 * The last two native controls on the page. `accent-color` alone would recolour
 * them but leaves the 13px OS box; these are drawn from scratch so they match the
 * 20px rhythm of the swatches and the pill buttons. Still real inputs, so
 * `required` still blocks the checkout and the label still toggles them.
 */

input[type=checkbox], input[type=radio] {
  appearance: none; -webkit-appearance: none;
  width: 20px; height: 20px; flex: none; margin: 0;
  border: 1.5px solid #cbd2dc; background: var(--white);
  cursor: pointer;
  transition: background-color .15s, border-color .15s, box-shadow .15s;
}
input[type=checkbox] { border-radius: 6px; }
input[type=radio] { border-radius: 50%; }

input[type=checkbox]:hover, input[type=radio]:hover { border-color: var(--blue); }

input[type=checkbox]:checked {
  background-color: var(--navy); border-color: var(--navy);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: center;
}
/* Ring plus centre dot, drawn with a radial-gradient rather than an inset
   box-shadow: the shadow version composites against the background and came out
   as a navy donut. A gradient states the exact geometry, and ::before is not
   dependable on replaced elements. */
input[type=radio]:checked {
  border-color: var(--navy); border-width: 2px;
  background-image: radial-gradient(circle at center,
                                    var(--navy) 0 4.5px, transparent 5px);
}
input[type=checkbox]:focus-visible, input[type=radio]:focus-visible {
  outline: none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .2);
}
input[type=radio]:checked:focus-visible { border-color: var(--blue); }

/* 20px controls sit on the first line of the label without a nudge. */
.check { align-items: flex-start; gap: .7rem; }
.check input { margin-top: .15rem; }
