/* Velocis e-shop — storefront styles.
   Everything is driven by the custom properties on :root so a client theme can
   override the palette/fonts without touching the rules below. */

:root {
  --shop-accent: #7a2e3b;          /* primary action colour */
  --shop-accent-ink: #ffffff;      /* text on accent */
  --shop-accent-soft: #f5e9eb;     /* tint for badges / hovers */
  --shop-bg: #fbf9f6;              /* page background */
  --shop-surface: #ffffff;         /* cards, panels */
  --shop-surface-alt: #f3efe9;     /* alternating sections */
  --shop-ink: #1f1a17;             /* body text */
  --shop-muted: #6f6660;           /* secondary text */
  --shop-border: #e5ded5;
  --shop-ok: #2f7a47;
  --shop-warn: #9a6a12;
  --shop-error: #b3261e;
  --shop-radius: 10px;
  --shop-radius-sm: 6px;
  --shop-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --shop-font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --shop-font-accent: Georgia, "Times New Roman", serif;   /* italic sub-lines under headings */
  --shop-eyebrow: var(--shop-accent);   /* small uppercase labels above headings */
  --shop-award: #8a6a1f;                /* medal / award pill */
  --shop-photo-bg: #efe9e1;             /* behind product photos while they load */
  --shop-dark: #2a2320;                 /* spotlight band */
  --shop-dark-ink: #f8f4ee;
  --shop-dark-muted: rgba(248, 244, 238, .74);
  --shop-dark-accent: #e2b98f;
  --shop-sticky-top: 24px;              /* offset for sticky panels; a theme with a fixed header adds its height */
  --shop-sticky-bar: 0px;               /* where sticky bars dock: the height of a theme's fixed header */
  --shop-max: 1200px;
  --shop-gutter: clamp(16px, 4vw, 40px);
  --shop-shadow: 0 1px 2px rgba(31, 26, 23, .05), 0 8px 24px -12px rgba(31, 26, 23, .18);
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--shop-font);
  font-size: 16px;
  line-height: 1.55;
  color: var(--shop-ink);
  background: var(--shop-bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--shop-accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--shop-font-display); font-weight: 600; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 2.5vw, 1.75rem); }
h3 { font-size: 1.1rem; }
p { margin: 0 0 1em; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: .95em; background: var(--shop-surface-alt); padding: .1em .4em; border-radius: 4px; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; }

.shop-wrap { width: 100%; max-width: var(--shop-max); margin: 0 auto; padding-left: var(--shop-gutter); padding-right: var(--shop-gutter); }
.shop-wrap--narrow { max-width: 820px; }
.shop-main { min-height: 50vh; }
.shop-section--first { padding-top: clamp(16px, 3vw, 32px); }
.shop-section--alt { background: var(--shop-surface-alt); }
.shop-section__title { margin-bottom: 1.25rem; }

/* ---------- header ---------- */
.shop-header { background: var(--shop-surface); border-bottom: 1px solid var(--shop-border); position: sticky; top: 0; z-index: 40; }
.shop-header__in { display: flex; align-items: center; gap: 12px 20px; flex-wrap: wrap; padding-block: 12px; }
.shop-brand { font-family: var(--shop-font-display); font-size: 1.35rem; font-weight: 600; color: var(--shop-ink); white-space: nowrap; }
.shop-brand:hover { text-decoration: none; color: var(--shop-accent); }
.shop-nav { display: flex; gap: 4px 16px; flex-wrap: wrap; order: 3; width: 100%; font-size: .95rem; }
.shop-nav a { color: var(--shop-ink); padding: 4px 0; border-bottom: 2px solid transparent; }
.shop-nav a:hover { text-decoration: none; border-color: var(--shop-accent); }
/* form.shop-search: the search page's <body> carries the class shop-search too */
form.shop-search { margin-left: auto; flex: 1 1 140px; max-width: 260px; }
form.shop-search input {
  width: 100%; padding: 8px 12px; border: 1px solid var(--shop-border); border-radius: 999px;
  font: inherit; font-size: .95rem; background: var(--shop-bg); color: var(--shop-ink);
}
.shop-cart-link { display: inline-flex; align-items: center; gap: 8px; color: var(--shop-ink); font-weight: 500; position: relative; padding: 6px 4px; }
.shop-cart-link:hover { text-decoration: none; color: var(--shop-accent); }
.shop-cart-count {
  min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: var(--shop-accent); color: var(--shop-accent-ink);
  font-size: .8rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center;
}
@media (min-width: 900px) {
  .shop-header__in { flex-wrap: nowrap; }
  .shop-nav { order: 0; width: auto; }
}

/* ---------- footer ---------- */
.shop-footer { background: var(--shop-surface); border-top: 1px solid var(--shop-border); margin-top: 48px; font-size: .92rem; color: var(--shop-muted); }
.shop-footer__in { display: grid; gap: 20px; padding-block: 32px; grid-template-columns: 1fr; }
.shop-footer strong { color: var(--shop-ink); }
@media (min-width: 720px) { .shop-footer__in { grid-template-columns: 2fr 1fr 1fr; } }

/* ---------- flashes, notices, toast ---------- */
.shop-flashes { padding-top: 16px; display: grid; gap: 8px; }
.shop-flash, .shop-notice { padding: 12px 16px; border-radius: var(--shop-radius-sm); border: 1px solid; font-size: .95rem; }
.shop-flash p:last-child, .shop-notice p:last-child { margin-bottom: 0; }
.shop-flash--ok, .shop-notice--ok { background: #eef7f0; border-color: #bfe0c8; color: #1f5a32; }
.shop-flash--error, .shop-notice--error { background: #fdf0ef; border-color: #f0c4c0; color: #8a1d17; }
.shop-flash--info, .shop-notice--info { background: #eef3fa; border-color: #c6d6ec; color: #23456e; }
.shop-notice--warn { background: #fdf6e7; border-color: #ecd9ad; color: #6d4a06; }
.shop-notice { margin: 0 0 16px; }
.shop-toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 12px); opacity: 0;
  background: var(--shop-ink); color: #fff; padding: 12px 18px; border-radius: 999px; font-size: .95rem;
  box-shadow: var(--shop-shadow); z-index: 60; transition: opacity .25s, transform .25s; max-width: calc(100vw - 32px); text-align: center;
}
.shop-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.shop-toast:not(.is-visible) { pointer-events: none; }
.shop-toast--error { background: var(--shop-error); }
.shop-toast__link { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; margin-left: 6px; white-space: nowrap; }
.p-incart { margin-top: 10px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: var(--shop-radius-sm); border: 1px solid var(--shop-border);
  background: var(--shop-surface); color: var(--shop-ink); font: inherit; font-weight: 600; font-size: .95rem;
  cursor: pointer; text-decoration: none; transition: background .15s, border-color .15s, color .15s, transform .05s; line-height: 1.2;
}
.btn:hover { text-decoration: none; border-color: var(--shop-accent); color: var(--shop-accent); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-accent-ink); }
.btn--primary:hover { background: color-mix(in srgb, var(--shop-accent) 88%, black); border-color: color-mix(in srgb, var(--shop-accent) 88%, black); color: var(--shop-accent-ink); }
.btn--ghost { background: transparent; }
.btn--outline { background: transparent; border-color: var(--shop-ink); color: var(--shop-ink); }
.btn--outline:hover { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-accent-ink); }
.btn--light { background: #fff; border-color: #fff; color: var(--shop-ink); }
.btn--light:hover { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost-light { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.btn--ghost-light:hover { background: #fff; border-color: #fff; color: var(--shop-ink); }
.s-hero:not(.s-hero--image) .btn--light { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-accent-ink); }
.s-hero:not(.s-hero--image) .btn--ghost-light { border-color: var(--shop-ink); color: var(--shop-ink); }
.btn--link { background: none; border: 0; padding: 4px 0; font-weight: 500; color: var(--shop-muted); }
.btn--link:hover { color: var(--shop-error); text-decoration: underline; }
.btn--sm { padding: 8px 14px; font-size: .88rem; }
.btn--lg { padding: 14px 26px; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-busy { opacity: .6; cursor: wait; }

/* ---------- forms ---------- */
.field { margin-bottom: 14px; }
.field label, .p-qty__label { display: block; font-size: .88rem; font-weight: 500; margin-bottom: 5px; color: var(--shop-ink); }
.field input, .field select, .field textarea, .p-qty__input, .shop-sort select {
  width: 100%; padding: 10px 12px; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm);
  font: inherit; font-size: 1rem; background: var(--shop-surface); color: var(--shop-ink);
}
.field input:focus, .field select:focus, .field textarea:focus, .p-qty__input:focus { border-color: var(--shop-accent); outline: none; box-shadow: 0 0 0 3px var(--shop-accent-soft); }
.field textarea { resize: vertical; min-height: 80px; }
.field--error input, .field--error select, .field--error textarea { border-color: var(--shop-error); }
.field__error { color: var(--shop-error); font-size: .85rem; margin: 6px 0 0; }
.field-row { display: grid; gap: 0 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) {
  .field-row { grid-template-columns: 1fr 1fr; }
  .field-row--3 { grid-template-columns: 1fr 1.6fr 1.2fr; }
}
.req { color: var(--shop-error); }
.opt { color: var(--shop-muted); font-weight: 400; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0; font-size: .95rem; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; flex: none; accent-color: var(--shop-accent); }
.check--error { color: var(--shop-error); }
.hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

/* ---------- shared editorial pieces ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--shop-eyebrow); }
.eyebrow--link:hover { text-decoration: none; color: var(--shop-ink); }
.accent { font-family: var(--shop-font-accent); font-style: italic; color: var(--shop-muted); margin: 0 0 1rem; font-size: 1.05rem; }
.sec-head { margin: 0 0 clamp(20px, 3vw, 32px); }
.sec-head h2 { margin: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--shop-ink); white-space: nowrap; }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover { text-decoration: none; color: var(--shop-accent); }
.link-arrow:hover .ico { transform: translateX(3px); }
.ico { display: inline-block; flex: none; vertical-align: middle; }
.shop-section { padding-block: clamp(40px, 6vw, 80px); }
.shop-section--tight { padding-top: clamp(20px, 3vw, 32px); }

/* ---------- breadcrumbs, page head, filters, toolbar, pager ---------- */
.shop-crumbs { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: .84rem; color: var(--shop-muted); margin-bottom: 16px; }
.shop-crumbs a { color: var(--shop-muted); }
.shop-crumbs a:hover { color: var(--shop-ink); }
.shop-crumbs [aria-current] { color: var(--shop-ink); }
.shop-page-head { margin-bottom: 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 20px; }
.shop-page-head h1 { margin: 0; }
.shop-page-head__text { width: 100%; color: var(--shop-muted); max-width: 70ch; }
.shop-page-head__back { font-size: .92rem; }
.filters { display: flex; gap: 8px; margin: 0 0 28px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters::-webkit-scrollbar { display: none; }
@media (max-width: 759px) {
  .filters { margin-inline: calc(var(--shop-gutter) * -1); padding-inline: var(--shop-gutter); -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
}
@media (min-width: 760px) { .filters { flex-wrap: wrap; overflow: visible; } }
.filter { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 16px; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); background: var(--shop-surface); color: var(--shop-ink); font-size: .9rem; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.filter span { color: var(--shop-muted); font-size: .82rem; }
.filter:hover { border-color: var(--shop-ink); text-decoration: none; }
.filter.is-current { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-accent-ink); }
.filter.is-current span { color: inherit; opacity: .8; }
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.shop-toolbar__count { margin: 0; color: var(--shop-muted); font-size: .9rem; }
.shop-sort { display: flex; align-items: center; gap: 10px; font-size: .88rem; color: var(--shop-muted); }
.shop-sort select { width: auto; padding: 9px 32px 9px 12px; font-size: .9rem; }
.shop-pager { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 36px; }
.shop-pager__item { min-width: 40px; height: 40px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); background: var(--shop-surface); color: var(--shop-ink); }
.shop-pager__item.is-current { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-accent-ink); }
.shop-empty { color: var(--shop-muted); }
.shop-empty--box { text-align: center; padding: 40px 20px; background: var(--shop-surface); border: 1px solid var(--shop-border); border-radius: var(--shop-radius); }
.shop-empty--box p { color: var(--shop-muted); }

/* ---------- shop home: hero ---------- */
.s-hero { position: relative; background: var(--shop-surface-alt); color: var(--shop-ink); overflow: hidden; }
.s-hero__in { position: relative; z-index: 1; padding-block: clamp(40px, 7vw, 80px); display: flex; flex-direction: column; align-items: flex-start; }
.s-hero__eyebrow { font-family: var(--shop-font-accent); font-style: italic; font-size: 1.05rem; margin: 0 0 10px; }
.s-hero__title { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.6rem); margin: 0 0 .3em; max-width: 26ch; text-wrap: balance; }
.s-hero__text { max-width: 46ch; margin: 0 0 24px; font-size: clamp(1rem, .96rem + .2vw, 1.1rem); line-height: 1.6; }
.s-hero__links { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
.s-hero--image { color: #fff; min-height: clamp(340px, 46vh, 440px); display: grid; align-items: end; }
.s-hero--image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10, 12, 6, .72) 0%, rgba(10, 12, 6, .45) 45%, rgba(10, 12, 6, .05) 80%); }
@media (max-width: 759px) { .s-hero--image::after { background: linear-gradient(180deg, rgba(10, 12, 6, .1) 0%, rgba(10, 12, 6, .55) 45%, rgba(10, 12, 6, .82) 100%); } }
.s-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.s-hero--image .s-hero__title { color: #fff !important; }

/* ---------- promises (delivery / payment) ---------- */
.promises-band { background: var(--shop-surface-alt); border-bottom: 1px solid var(--shop-border); }
.promises-band--line { background: transparent; border-top: 1px solid var(--shop-border); border-bottom: 0; }
.promises { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px 24px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .promises { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.promises-band .promises { padding-block: 20px; }
.promise { display: flex; gap: 12px; align-items: flex-start; }
.promise .ico { color: var(--shop-accent); margin-top: 1px; }
.promise__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.promise__title { font-size: .92rem; font-weight: 600; color: var(--shop-ink); line-height: 1.35; }
.promise__text { font-size: .875rem; color: var(--shop-muted); line-height: 1.45; }
@media (max-width: 599px) { .promises-band .promise__text { display: none; } .promise .ico { width: 20px; height: 20px; } }
.promises--compact { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 18px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--shop-border); }
.promises--compact .ico { width: 20px; height: 20px; }
.promises--compact .promise__title { font-size: .875rem; }
.promises--compact .promise__text { font-size: .84rem; }
@media (max-width: 599px) { .promises--compact .promise__text { display: none; } }

/* ---------- home catalogue ---------- */
.catalogue__head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; margin-bottom: 22px; }
.catalogue__head h2 { margin: 0; font-size: clamp(1.8rem, 1.3rem + 1.6vw, 2.3rem); }
.catalogue__count { margin: 0; color: var(--shop-muted); font-size: .9rem; }

/* ---------- product grid / card ---------- */
.p-grid { display: grid; gap: 36px 14px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .p-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 24px; } }
@media (min-width: 1100px) { .p-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 56px 28px; } }
.p-card { position: relative; display: flex; flex-direction: column; container-type: inline-size; min-width: 0; }
.p-card[hidden] { display: none !important; }
.p-card__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--shop-radius); background: var(--shop-photo-bg); }
.p-card__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .5s ease; }
.p-card__img--alt { opacity: 0; }
@media (hover: hover) {
  .p-card:hover .p-card__img { transform: scale(1.04); }
  .p-card:hover .p-card__img--alt { opacity: 1; }
}
.p-card__noimg { display: block; width: 100%; height: 100%; min-height: 120px; background: repeating-linear-gradient(45deg, var(--shop-surface-alt), var(--shop-surface-alt) 12px, var(--shop-border) 12px, var(--shop-border) 13px); }
.p-card--out .p-card__img:not(.p-card__img--alt) { filter: grayscale(.5); opacity: .7; }  /* the hover photo stays hidden on sold-out cards */
.p-card__badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1; pointer-events: none; }
.p-badge { display: inline-block; padding: 5px 10px; border-radius: var(--shop-radius-sm); background: var(--shop-surface); color: var(--shop-ink); font-size: .74rem; font-weight: 600; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.p-badge--sale { background: var(--shop-ok); color: #fff; }
.p-badge--out { background: var(--shop-ink); color: #fff; }
.p-card__body { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; flex: 1; }
.p-card__eyebrow { margin: 0; font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--shop-eyebrow); }
.p-card__name { font-family: var(--shop-font-display); font-size: 1.3rem; font-weight: 500; line-height: 1.15; margin: 0; }
.p-card__name a { color: var(--shop-ink); }
.p-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 0; }   /* the whole card is the link; the add button sits above it */
.p-card__name a:hover { text-decoration: none; }
.p-card:hover .p-card__name a { color: var(--shop-accent); }
.p-card__meta { margin: 0; color: var(--shop-muted); font-size: .875rem; }
.p-card__teaser { margin: 6px 0 0; color: var(--shop-ink); opacity: .82; font-size: .9rem; line-height: 1.5; }
.p-card__foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.p-card__add { margin: 0; position: relative; z-index: 1; }
.p-card__btn { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border: 1px solid var(--shop-ink); border-radius: var(--shop-radius-sm); background: transparent; color: var(--shop-ink); font: inherit; font-size: .78rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.p-card__btn:hover { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-accent-ink); }
.p-card__btn.is-busy { opacity: .6; cursor: wait; }
.p-card__btn.is-done { background: var(--shop-accent); border-color: var(--shop-accent); color: var(--shop-accent-ink); }
@container (max-width: 250px) {
  .p-card__btn { width: 42px; padding: 0; justify-content: center; }
  .p-card__btn span { display: none; }
  .p-card__name { font-size: 1.12rem; }
  .p-card__teaser { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
}
.p-price { margin: 0; display: flex; align-items: baseline; gap: 4px 8px; flex-wrap: wrap; }
.p-price__old { color: var(--shop-muted); font-size: .9rem; }
.p-price__now { font-weight: 600; font-size: 1.08rem; color: var(--shop-ink); font-variant-numeric: tabular-nums; }
.p-price__now--lg { font-size: 1.6rem; }
.p-price__now--xl { font-family: var(--shop-font-display); font-size: clamp(2rem, 1.7rem + .8vw, 2.4rem); font-weight: 500; line-height: 1; }
.p-price__unit { color: var(--shop-muted); font-size: .8rem; }
.p-price__vat { color: var(--shop-muted); font-size: .875rem; }
.p-card__out { font-size: .85rem; font-weight: 600; color: var(--shop-muted); }

/* ---------- spotlight ---------- */
.spot { background: var(--shop-dark); color: var(--shop-dark-ink); }
.spot__in { display: grid; grid-template-columns: minmax(0, 1fr); }
.spot__media { display: block; position: relative; overflow: hidden; aspect-ratio: 16 / 10; background: #000; }
.spot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.spot__media:hover img { transform: scale(1.03); }
.spot__body { padding: clamp(32px, 5vw, 64px) var(--shop-gutter); align-self: center; max-width: 560px; }
.spot .eyebrow { color: var(--shop-dark-accent); }
.spot__title { color: var(--shop-dark-ink) !important; font-size: clamp(1.8rem, 1.3rem + 1.8vw, 2.5rem); margin-bottom: .4em; }
.spot__text { color: var(--shop-dark-muted); font-size: 1rem; line-height: 1.65; max-width: 46ch; }
.spot__facts { color: var(--shop-dark-muted); font-size: .9rem; margin: 0; }
.spot__buy { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 24px; }
.spot__buy form { margin: 0; }
.spot .p-price__now { color: var(--shop-dark-ink); }
.spot .btn--primary { background: var(--shop-dark-ink); border-color: var(--shop-dark-ink); color: var(--shop-dark); }
.spot .btn--primary:hover { background: transparent; color: var(--shop-dark-ink); border-color: var(--shop-dark-ink); }
.spot .link-arrow { color: var(--shop-dark-ink); }
@media (min-width: 900px) {
  .spot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .spot__media { aspect-ratio: auto; min-height: 460px; max-height: 560px; }
  .spot__body { padding-inline: clamp(40px, 6vw, 96px); }
}

/* ---------- category / search head ---------- */
.cat-head { background: var(--shop-surface-alt); border-bottom: 1px solid var(--shop-border); }
.cat-head__in { display: grid; gap: 24px; align-items: center; padding-block: clamp(24px, 4vw, 44px); }
.cat-head__title { font-size: clamp(2rem, 1.4rem + 2.2vw, 3rem); margin: 0 0 .25em; }
.cat-head__text { max-width: 64ch; color: var(--shop-ink); font-size: 1rem; line-height: 1.65; }
.cat-head__text p:last-child { margin-bottom: 0; }
.cat-head__media { display: none; margin: 0; }
@media (min-width: 760px) {
  .cat-head--image .cat-head__in { grid-template-columns: minmax(0, 1fr) 170px; gap: 56px; }
  .cat-head__media { display: block; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--shop-radius); background: var(--shop-photo-bg); }
  .cat-head__media img { width: 100%; height: 100%; object-fit: cover; }
}
.shop-search--page { display: flex; gap: 8px; width: 100%; max-width: 560px; margin: 18px 0 0; }
.shop-search--page input { flex: 1; min-width: 0; padding: 12px 14px; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); font: inherit; background: var(--shop-surface); }

/* ---------- product detail ---------- */
.pd { padding-block: clamp(14px, 2.5vw, 28px) clamp(40px, 6vw, 72px); }
.pd__grid { display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "gal" "info"; }
.pd__head { grid-area: head; min-width: 0; }
.gal { grid-area: gal; position: relative; min-width: 0; }
.pd__info { grid-area: info; min-width: 0; }
@media (min-width: 900px) {
  .pd__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); grid-template-rows: auto 1fr; grid-template-areas: "gal head" "gal info"; column-gap: clamp(40px, 5vw, 80px); row-gap: 0; align-items: start; }
  .pd__info { position: sticky; top: var(--shop-sticky-top); }
}
.pd__name { font-size: clamp(2rem, 1.5rem + 1.8vw, 3rem); line-height: 1.05; margin: 0 0 .25em; }
.pd__line { font-size: .95rem; color: var(--shop-muted); margin: 0 0 12px; }
.pd__award { display: inline-flex; align-items: center; gap: 8px; margin: 2px 0 6px; padding: 7px 12px; border: 1px solid var(--shop-award); border-radius: var(--shop-radius-sm); color: var(--shop-award); font-size: .86rem; font-weight: 600; }
.pd__lead { color: var(--shop-ink); font-size: 1.02rem; line-height: 1.65; max-width: 54ch; margin-top: 14px; }
.pd__lead p { margin-bottom: .6em; }

.gal__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--shop-gutter) * -1); }
.gal__track::-webkit-scrollbar { display: none; }
.gal__item { flex: 0 0 100%; margin: 0; scroll-snap-align: center; aspect-ratio: 4 / 5; background: var(--shop-photo-bg); position: relative; overflow: hidden; }
.gal__open { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gal__open img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.gal__zoom { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--shop-ink); display: flex; align-items: center; justify-content: center; opacity: .9; transition: opacity .2s, transform .2s; }
.gal__dots { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.gal__dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--shop-border); transition: background .2s, transform .2s; }
.gal__dots span.is-active { background: var(--shop-ink); transform: scale(1.15); }
@media (min-width: 900px) {
  .gal__track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; overflow: visible; margin-inline: 0; }
  .gal__item { border-radius: var(--shop-radius); }
  .gal__item:first-child { grid-column: 1 / -1; }
  .gal__open img { transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
  .gal__open:hover img { transform: scale(1.03); }
  .gal__open:hover .gal__zoom { opacity: 1; transform: scale(1.06); }
  .gal__dots { display: none; }
}

.pd__buybox { margin-top: 20px; padding-block: 20px; border-block: 1px solid var(--shop-border); }
.pd__price { display: flex; align-items: baseline; gap: 6px 12px; flex-wrap: wrap; margin-bottom: 8px; }
.p-avail { font-size: .9rem; font-weight: 500; margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.p-avail::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent); }
.p-avail--in { color: var(--shop-ok); }
.p-avail--low { color: var(--shop-warn); }
.p-avail--out { color: var(--shop-muted); }
.p-buy { margin: 0; }
.p-buy__row { display: flex; gap: 12px; align-items: stretch; }
.p-buy__submit { flex: 1 1 0; min-width: 0; height: 50px; padding-block: 0; }
.qty { flex: none; display: inline-flex; align-items: stretch; height: 50px; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); background: var(--shop-surface); }
.qty__btn { width: 38px; border: 0; background: none; color: var(--shop-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.qty__btn:hover { color: var(--shop-accent); }
.qty__input { width: 40px; border: 0; background: none; text-align: center; font: inherit; font-size: 1.05rem; font-weight: 600; color: var(--shop-ink); -moz-appearance: textfield; }
.qty__input::-webkit-outer-spin-button, .qty__input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty__input:focus { outline: none; }
.qty:focus-within { border-color: var(--shop-ink); }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; margin: 0; }
@media (min-width: 480px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts > div { padding: 14px 0 12px; border-bottom: 1px solid var(--shop-border); }
.facts dt { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--shop-muted); margin-bottom: 3px; }
.facts dd { margin: 0; font-family: var(--shop-font-display); font-size: 1.15rem; color: var(--shop-ink); }
.pd__buybox + .facts, .pd__buybox + .promises--compact { border-top: 0; margin-top: 0; }

.pd-story { background: var(--shop-surface-alt); padding-block: clamp(44px, 7vw, 88px); }
.pd-story__in { display: grid; gap: 36px; grid-template-columns: minmax(0, 1fr); }
.pd-story--solo .pd-story__in { max-width: 860px; }
@media (min-width: 900px) { .pd-story:not(.pd-story--solo) .pd-story__in { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: clamp(48px, 7vw, 100px); align-items: start; } }
.pd-story__title { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.prose { font-size: 1.02rem; line-height: 1.75; max-width: 66ch; color: var(--shop-ink); overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4 { font-family: var(--shop-font); font-size: 1.05rem; margin-top: 1.4em; text-transform: none; letter-spacing: 0; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose img { border-radius: var(--shop-radius-sm); }
.pd-note { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--shop-border); color: var(--shop-muted); display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; max-width: 66ch; }
.profile { background: var(--shop-surface); border-radius: var(--shop-radius); padding: clamp(22px, 3vw, 30px); display: grid; gap: 24px; }
.profile__label { margin: 0 0 12px; font-size: .74rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--shop-muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.profile__label span { text-transform: none; letter-spacing: 0; font-weight: 500; }
.scale { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.scale__step { display: flex; flex-direction: column; gap: 8px; font-size: .8rem; color: var(--shop-muted); }
.scale__step::before { content: ""; height: 6px; border-radius: 3px; background: var(--shop-border); }
.scale__step.is-past::before { background: color-mix(in srgb, var(--shop-accent) 30%, var(--shop-border)); }
.scale__step.is-active::before { background: var(--shop-accent); }
.scale__step.is-active { color: var(--shop-ink); font-weight: 600; }
.tip { margin-top: 12px; font-size: .875rem; color: var(--shop-muted); }
.tip summary { cursor: pointer; color: var(--shop-ink); text-decoration: underline; text-decoration-color: var(--shop-border); text-underline-offset: 3px; width: fit-content; }
.tip summary:hover { text-decoration-color: currentColor; }
.tip p { margin: 8px 0 0; line-height: 1.5; }
.profile__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.profile__list li { display: flex; gap: 14px; align-items: center; }
.profile__list .ico { color: var(--shop-accent); }
.profile__list span { display: flex; flex-direction: column; }
.profile__list strong { font-family: var(--shop-font-display); font-weight: 500; font-size: 1.2rem; color: var(--shop-ink); line-height: 1.2; }
.profile__list small, .profile__origin small { font-size: .84rem; color: var(--shop-muted); }
.profile__origin { display: flex; gap: 14px; align-items: flex-start; padding-top: 20px; border-top: 1px solid var(--shop-border); }
.profile__origin .ico { color: var(--shop-accent); margin-top: 2px; }
.profile__origin p { margin: 0; display: flex; flex-direction: column; gap: 2px; font-size: .95rem; line-height: 1.45; color: var(--shop-ink); }

.pd-tech { padding-block: clamp(8px, 2vw, 16px) clamp(36px, 5vw, 56px); }
.tech { border-bottom: 1px solid var(--shop-border); }
.tech__summary { list-style: none; display: flex; align-items: center; gap: 16px; padding-block: 24px; cursor: pointer; }
.tech__summary::-webkit-details-marker { display: none; }
.tech__summary h2 { margin: 0; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); }
.tech__hint { color: var(--shop-muted); font-size: .875rem; margin-left: auto; }
.tech__toggle { width: 16px; height: 16px; position: relative; flex: none; }
.tech__toggle::before, .tech__toggle::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--shop-ink); transition: transform .25s; }
.tech__toggle::after { transform: rotate(90deg); }
.tech[open] .tech__toggle::after { transform: rotate(0deg); }
.tech__list { margin: 0; column-gap: 64px; }
@media (min-width: 760px) { .tech__list { columns: 2; } }
.tech__row { break-inside: avoid; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 16px; padding-block: 12px; border-top: 1px solid var(--shop-border); }
.tech__row dt { font-size: .92rem; color: var(--shop-muted); }
.tech__row dd { margin: 0; min-width: 0; text-align: right; font-size: .95rem; font-weight: 500; color: var(--shop-ink); overflow-wrap: anywhere; }
.tip--glossary { margin: 8px 0 24px; }
.glossary { margin: 12px 0 0; display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); max-width: 900px; }
@media (min-width: 760px) { .glossary { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; } }
.glossary dt { font-weight: 600; color: var(--shop-ink); font-size: .875rem; }
.glossary dd { margin: 2px 0 0; line-height: 1.5; }

.buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; background: var(--shop-surface); box-shadow: 0 -1px 0 var(--shop-border), 0 -10px 30px -18px rgba(0, 0, 0, .35); padding: 10px var(--shop-gutter) calc(10px + env(safe-area-inset-bottom)); transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s linear .3s; }
.buybar.is-visible { transform: none; visibility: visible; transition: transform .3s ease, visibility 0s; }   /* hidden also leaves the tab order */
.buybar__in { display: flex; align-items: center; gap: 12px; }
.buybar__img { width: 32px; height: 42px; object-fit: cover; border-radius: 2px; }
.buybar__name { flex: 1; min-width: 0; margin: 0; display: flex; flex-direction: column; font-size: .875rem; font-weight: 600; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.buybar__name span { font-weight: 500; color: var(--shop-muted); }
.buybar form { margin: 0; }
@media (min-width: 900px) { .buybar { display: none !important; } }

/* ---------- story blocks ---------- */
.story { padding-block: clamp(48px, 7vw, 88px); }
.story--flip { background: var(--shop-surface-alt); }
.story__in { display: grid; gap: 28px; grid-template-columns: minmax(0, 1fr); align-items: center; }
.story__media { margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: var(--shop-radius); background: var(--shop-photo-bg); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__body { max-width: 520px; }
.story__title { font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); }
.story__body p { color: var(--shop-muted); line-height: 1.7; }
.story__body .btn { margin-top: 8px; }
@media (min-width: 900px) {
  .story__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(48px, 7vw, 100px); }
  .story--flip .story__media { order: 2; }
}

/* ---------- lightbox ---------- */
.lb { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(12, 12, 10, .96); color: #fff; }
.lb::backdrop { background: rgba(12, 12, 10, .96); }
.lb[open] { display: flex; align-items: center; justify-content: center; }
.lb__img { max-width: min(92vw, 1100px); max-height: 88vh; width: auto; height: auto; object-fit: contain; user-select: none; }
.lb__btn { position: absolute; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .08); color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background .2s; }
.lb__btn:hover { background: rgba(255, 255, 255, .2); }
.lb__close { top: 16px; right: 16px; }
.lb__prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lb__next { right: 16px; top: 50%; transform: translateY(-50%); }
.lb__count { position: absolute; bottom: 18px; left: 0; right: 0; text-align: center; font-size: .85rem; letter-spacing: .1em; opacity: .7; margin: 0; }
@media (max-width: 600px) { .lb__prev, .lb__next { top: auto; bottom: 10px; transform: none; } .lb__count { bottom: 26px; } }

/* text pages (obchodné podmienky, GDPR) */
.shop-prose { max-width: 75ch; line-height: 1.65; overflow-wrap: anywhere; }
.shop-prose h2, .shop-prose h3, .shop-prose h4 { font-family: var(--shop-font); font-size: 1.1rem; margin: 1.6em 0 .5em; }
.shop-prose ul, .shop-prose ol { padding-left: 1.4em; }
.shop-prose li { margin-bottom: .35em; }
.shop-prose table { border-collapse: collapse; display: block; overflow-x: auto; max-width: 100%; }
.shop-prose th, .shop-prose td { border: 1px solid var(--shop-border); padding: 6px 10px; text-align: left; vertical-align: top; }
.p-qty { display: block; }
.p-qty__input { width: 88px; text-align: center; }

/* ---------- cart ---------- */
.cart-layout { display: grid; gap: 24px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 900px) { .cart-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; } }
/* cart upsell: right under the lines (desktop: the summary spans both rows), compact rows like the cart lines */
.cart-upsell { min-width: 0; }
@media (min-width: 900px) { .cart-layout > .cart-summary { grid-row: span 2; } .cart-upsell { grid-column: 1; } }
.cart-upsell__title { font-size: 1.15rem; margin: 10px 0 12px; }
.cart-upsell__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.upsell { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 10px 14px; background: var(--shop-surface); border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); }
.upsell__media { display: block; width: 48px; height: 64px; }
.upsell__media img { width: 100%; height: 100%; object-fit: contain; }
.upsell__body { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px; min-width: 0; }
.upsell__name { font-weight: 600; color: var(--shop-ink); line-height: 1.3; }
.upsell__meta { font-size: .78rem; color: var(--shop-muted); flex-basis: 100%; order: 3; }
.upsell__price { font-weight: 600; font-size: .95rem; }
.upsell__add { margin: 0; }
.cart-lines { display: grid; gap: 12px; }
.cart-line {
  display: grid; gap: 10px 14px; align-items: center; padding: 14px; background: var(--shop-surface); border: 1px solid var(--shop-border); border-radius: var(--shop-radius);
  grid-template-columns: 72px minmax(0, 1fr);
  grid-template-areas: "media info" "qty total" "remove remove";
}
.cart-line__media { grid-area: media; width: 72px; height: 72px; border-radius: var(--shop-radius-sm); overflow: hidden; background: var(--shop-surface-alt); }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; }
.cart-line__info { grid-area: info; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cart-line__name { color: var(--shop-ink); font-weight: 600; }
.cart-line__sub, .cart-line__unit { color: var(--shop-muted); font-size: .85rem; }
.cart-line__qty { grid-area: qty; display: flex; gap: 8px; align-items: flex-end; margin: 0; }
.cart-line__qty .p-qty__input { width: 76px; }
.cart-line__total { grid-area: total; margin: 0; font-weight: 700; text-align: right; font-size: 1.05rem; }
.cart-line__remove { grid-area: remove; margin: 0; text-align: right; }
@media (min-width: 720px) {
  .cart-line { grid-template-columns: 72px minmax(0, 1fr) auto 110px auto; grid-template-areas: "media info qty total remove"; }
  .cart-line__remove { text-align: left; }
}
.cart-summary, .checkout__summary { background: var(--shop-surface); border: 1px solid var(--shop-border); border-radius: var(--shop-radius); padding: 20px; }
.cart-summary__title { font-size: 1.2rem; margin-bottom: 12px; }
.cart-summary__rows { margin: 0 0 14px; }
.cart-summary__rows > div { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--shop-border); font-size: .95rem; }
.cart-summary__rows dt { color: var(--shop-muted); }
.cart-summary__rows dd { margin: 0; font-weight: 600; text-align: right; }
.cart-summary__note dd { font-weight: 400; color: var(--shop-muted); }
.cart-summary__total { border-bottom: 0 !important; padding-top: 12px !important; font-size: 1.1rem !important; }
.cart-summary__total dt { color: var(--shop-ink); font-weight: 600; }
.cart-summary__total dd { font-size: 1.25rem; }
.cart-summary__continue { display: inline-block; margin-top: 14px; font-size: .92rem; }

/* ---------- checkout ---------- */
.checkout { display: grid; gap: 28px; grid-template-columns: 1fr; align-items: start; }
@media (min-width: 1000px) {
  .checkout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; }
  .checkout__summary { position: sticky; top: 84px; }
}
.checkout__step { border: 1px solid var(--shop-border); border-radius: var(--shop-radius); background: var(--shop-surface); padding: 18px 18px 8px; margin: 0 0 18px; min-width: 0; }
.checkout__step legend { font-family: var(--shop-font-display); font-size: 1.15rem; font-weight: 600; padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.checkout__step--error { border-color: var(--shop-error); }
.checkout__num { display: inline-flex; width: 26px; height: 26px; border-radius: 50%; background: var(--shop-accent); color: var(--shop-accent-ink); font-family: var(--shop-font); font-size: .85rem; font-weight: 700; align-items: center; justify-content: center; }
.checkout__sub { padding: 6px 0 4px 28px; }
.checkout__sub-outer { margin-top: 12px; }
.checkout__consents { padding: 4px 4px 12px; }
.checkout__legal { font-size: .82rem; color: var(--shop-muted); margin: 12px 0 0; }
.options { display: grid; gap: 8px; margin-bottom: 8px; }
.options__hint { color: var(--shop-muted); font-size: .92rem; margin: 0; }
.option {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center;
  padding: 12px 14px; border: 1px solid var(--shop-border); border-radius: var(--shop-radius-sm); cursor: pointer; background: var(--shop-bg); transition: border-color .15s, background .15s;
}
.option:hover { border-color: var(--shop-accent); }
.option.is-selected { border-color: var(--shop-accent); background: var(--shop-accent-soft); }
.option input { width: 18px; height: 18px; margin: 0; accent-color: var(--shop-accent); }
.option__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.option__name { font-weight: 600; }
.option__desc { font-size: .85rem; color: var(--shop-muted); }
.option__price { font-weight: 600; white-space: nowrap; font-size: .95rem; }
.pickup { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.pickup__chosen { margin: 0; font-size: .95rem; }
.summary-items { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 10px; }
.summary-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: .92rem; }
.summary-item__img { width: 44px; height: 44px; border-radius: var(--shop-radius-sm); object-fit: cover; }
.summary-item__qty { color: var(--shop-muted); }
.summary-item__price { font-weight: 600; white-space: nowrap; }

/* ---------- order page ---------- */
.order-thanks { text-align: center; padding: 24px 0 8px; }
.order-thanks p { color: var(--shop-muted); max-width: 56ch; margin: 0 auto 1em; }
.order-status { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 16px 18px; background: var(--shop-surface); border: 1px solid var(--shop-border); border-radius: var(--shop-radius); margin: 16px 0 20px; }
.order-status p { margin: 0; width: 100%; color: var(--shop-muted); }
.status { display: inline-block; padding: 4px 12px; border-radius: 999px; font-size: .85rem; font-weight: 600; background: var(--shop-surface-alt); color: var(--shop-ink); }
.status--new { background: #eef3fa; color: #23456e; }
.status--paid, .status--completed { background: #eef7f0; color: #1f5a32; }
.status--processing, .status--ready { background: #fdf6e7; color: #6d4a06; }
.status--shipped { background: var(--shop-accent-soft); color: var(--shop-accent); }
.status--cancelled { background: #fdf0ef; color: #8a1d17; }
.order-pay { background: var(--shop-accent-soft); border: 1px solid color-mix(in srgb, var(--shop-accent) 30%, var(--shop-border)); border-radius: var(--shop-radius); padding: 18px 20px; margin-bottom: 24px; }
.order-pay h2 { font-size: 1.2rem; }
.order-pay__rows { margin: 0; display: grid; gap: 6px; }
.order-pay__rows > div { display: grid; grid-template-columns: minmax(120px, 160px) 1fr; gap: 8px; font-size: .95rem; }
.order-pay__rows dt { color: var(--shop-muted); }
.order-pay__rows dd { margin: 0; overflow-wrap: anywhere; }
.order-pay__rows code { background: var(--shop-surface); font-size: 1.02em; }
.order-pay__text { margin-top: 12px; font-size: .92rem; }
.order-pay__text p:last-child { margin-bottom: 0; }
.order-extra { color: var(--shop-muted); margin-bottom: 20px; }
.order-h2 { font-size: 1.2rem; }
.order-items { width: 100%; border-collapse: collapse; font-size: .95rem; margin-bottom: 24px; }
.order-items th, .order-items td { padding: 10px 8px; border-bottom: 1px solid var(--shop-border); text-align: left; vertical-align: middle; }
.order-items thead th { font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; color: var(--shop-muted); font-weight: 600; }
.order-items .num { text-align: right; white-space: nowrap; }
.order-items__img { width: 56px; }
.order-items__img img { border-radius: var(--shop-radius-sm); }
.order-items small { color: var(--shop-muted); }
.order-items tfoot th { font-weight: 500; color: var(--shop-muted); text-align: right; }
.order-items__total th, .order-items__total td { font-weight: 700; color: var(--shop-ink); font-size: 1.05rem; border-bottom: 2px solid var(--shop-ink); }
.order-items__vat th, .order-items__vat td { font-size: .85rem; color: var(--shop-muted); border-bottom: 0; padding-top: 4px; padding-bottom: 4px; }
.order-addr { display: grid; gap: 20px; grid-template-columns: 1fr; margin-bottom: 20px; }
@media (min-width: 640px) { .order-addr { grid-template-columns: 1fr 1fr; } }
.order-addr h3, .order-note h3 { font-family: var(--shop-font); font-size: .85rem; text-transform: uppercase; letter-spacing: .05em; color: var(--shop-muted); }
.order-addr p, .order-note p { margin-bottom: .6em; }
.order-note { margin-bottom: 20px; }
.order-back { margin-top: 28px; }
.order-withdraw { margin-top: 10px; font-size: .9rem; }
.order-withdraw a { color: var(--shop-muted, #666); }
/* ---------- withdrawal (odstúpenie od zmluvy, 1.4.0) ---------- */
.withdrawal { max-width: 640px; margin-top: 20px; }
.withdrawal small { font-weight: 400; color: var(--shop-muted, #666); }
.withdrawal textarea { width: 100%; }


/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
