/* EkoUrn - strona publiczna, konto zakladu i koszyk.
   Kierunek: spokojny katalog, cieple jasne tlo, produkt na pierwszym planie. */

.wrap { width: 100%; max-width: calc(var(--content-max) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: calc(760px + 2 * var(--gutter)); }
.section { padding: var(--section-gap) 0; }
.section-stone { background: var(--surface-stone); }
.measure { max-width: 60ch; }
.eyebrow { font-size: var(--fs-meta); letter-spacing: 0.04em; color: var(--text-muted); margin: 0 0 18px; }
.lead { font-size: calc(var(--fs-body) * 1.06); color: var(--text-muted); max-width: 52ch; }
.muted { color: var(--text-muted); }
.meta { font-size: var(--fs-meta); color: var(--text-muted); }
h1 { font-size: var(--fs-h1); line-height: 1.1; letter-spacing: -0.01em; }
h2 { font-size: var(--fs-h2); line-height: 1.17; }
h3 { font-size: 1.375rem; line-height: 1.3; }

/* --- Naglowek -------------------------------------------------------------- */

/* Przyklejony, pelne tlo (bez szkla/rozmycia). z-index powyzej tla menu mobilnego. */
html { scroll-padding-top: calc(var(--header-h) + 16px); scroll-behavior: smooth; }
.site-header { position: sticky; top: 0; z-index: 45; border-bottom: 1px solid var(--border); background: var(--background); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; padding: 6px 0; }
.brand img { width: 176px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; }
.site-nav ul { display: flex; gap: 30px; list-style: none; margin: 0; padding: 0; }
.site-nav a { color: var(--text); text-decoration: none; font-size: 0.9375rem; letter-spacing: 0.01em; display: inline-flex; align-items: center; min-height: 44px; border-bottom: 1px solid transparent; transition: border-color var(--ease), background-color var(--ease); }
.site-nav a:hover, .site-nav a[aria-current="page"] { border-bottom-color: var(--text); }
.nav-account { display: flex; align-items: center; gap: 20px; padding-left: 32px; border-left: 1px solid var(--border); }
.nav-account a { font-size: 0.9375rem; }
.site-nav .nav-cta { padding: 0 18px; border: 1px solid var(--control-border); border-radius: var(--radius); font-weight: 500; }
.site-nav .nav-cta:hover, .site-nav .nav-cta[aria-current="page"] { border-color: var(--text); background: var(--surface-stone); }
.cart-link .count { display: inline-grid; place-items: center; min-width: 22px; height: 22px; padding: 0 6px; margin-left: 6px; border-radius: 999px; background: var(--text); color: var(--button-text); font-size: 0.75rem; }
.menu-toggle { display: none; }

@media (max-width: 1023px) {
  .site-nav ul, .nav-account { gap: 20px; }
  .nav-account { padding-left: 20px; }
}

@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .brand img { width: 146px; }
  .menu-toggle { display: inline-flex; }
  .site-nav { position: fixed; inset: 0 0 0 auto; width: min(360px, 88vw); z-index: 50;
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px 24px;
    background: var(--surface); box-shadow: -12px 0 40px rgba(48, 49, 46, 0.18);
    transform: translateX(100%); visibility: hidden; transition: transform 200ms ease, visibility 0s linear 200ms; }
  .site-nav.is-open { transform: none; visibility: visible; transition: transform 200ms ease; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li a { width: 100%; min-height: 52px; border-bottom: 1px solid var(--border); font-size: 1.125rem; }
  .nav-account { flex-direction: column; align-items: stretch; gap: 0; border-left: 0; padding: 20px 0 0; }
  .nav-account a, .nav-account .btn-link { min-height: 48px; display: flex; align-items: center; font-size: 1.0625rem; }
  .site-nav .nav-cta { justify-content: center; margin-top: 12px; }
  .nav-close { align-self: flex-end; margin-bottom: 8px; }
  .nav-backdrop { position: fixed; inset: 0; background: rgba(48, 49, 46, 0.35); z-index: 40; }
}
@media (min-width: 900px) {
  .nav-close, .nav-backdrop { display: none !important; }
}

/* --- Pierwszy ekran ------------------------------------------------------- */

.hero { padding: clamp(36px, 6vw, 88px) 0 clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 42fr 58fr; gap: clamp(32px, 6vw, 96px); align-items: center; min-height: min(640px, 70vh); }
.hero h1 { margin-bottom: 28px; letter-spacing: -0.015em; line-height: 1.08; }
.hero .lead { margin: 0 0 36px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
/* Szerokosc figury = szerokosc kadru (4:5, maks. 680 px wysokosci), zeby podpis lezal pod zdjeciem. */
.hero-figure { margin: 0; width: 100%; max-width: 544px; justify-self: end; }
.hero-figure .frame { background: var(--surface-stone); border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 5; }
.hero-figure img { width: 100%; height: 100%; object-fit: contain; }
.hero-figure figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; margin-top: 14px; font-size: var(--fs-meta); color: var(--text-muted); }
.caption-label { text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.72rem; font-weight: 500; margin-right: 10px; color: var(--accent); }
.caption-price { color: var(--text); font-variant-numeric: tabular-nums; }

/* Link "dalej" ze strzalka: tekst podkreslony delikatnie, strzalka przesuwa sie o 3 px. */
.link-arrow { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: var(--text); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--border); text-underline-offset: 0.3em; transition: text-decoration-color var(--ease); }
.link-arrow:hover { color: var(--text); text-decoration-color: currentColor; }
.link-arrow .icon-arrow { flex: none; transition: transform var(--ease); }
.link-arrow:hover .icon-arrow { transform: translateX(3px); }

@media (max-width: 767px) {
  .hero-grid { grid-template-columns: 1fr; min-height: 0; gap: 28px; }
  .hero-figure .frame { aspect-ratio: 4 / 4.4; }
}

/* --- Kolekcja --------------------------------------------------------------- */

.section-head { margin-bottom: clamp(28px, 4vw, 48px); max-width: 60ch; }
.section-head p { color: var(--text-muted); margin: 0; }
.collection { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 32px); list-style: none; padding: 0; margin: 0; }
.product-card { display: flex; flex-direction: column; }
.product-card .frame { display: block; background: var(--surface-stone); border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 5; }
.product-card .frame img { width: 100%; height: 100%; object-fit: contain; transition: transform 200ms ease; }
.product-card .frame:hover img { transform: scale(1.015); }
.product-card .card-body { display: flex; flex-direction: column; flex: 1; padding-top: 20px; }
.product-card h3 { font-size: var(--fs-product); line-height: 1.25; margin: 0 0 6px; }
.product-card h3 a { color: var(--text); text-decoration: none; }
.product-card h3 a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
.product-card .motif { margin: 0 0 14px; color: var(--text-muted); }
.product-card .swatches { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 0 0 18px; font-size: var(--fs-meta); color: var(--text-muted); }
.swatch-named { display: inline-flex; align-items: center; gap: 7px; }
.card-foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px; padding-top: 10px; border-top: 1px solid var(--border); }
.card-foot .price { margin: 0; font-weight: 500; font-variant-numeric: tabular-nums; }
.card-foot .price-hidden { font-weight: 400; font-size: var(--fs-meta); color: var(--text-muted); }

/* Jeden model: karta pozioma. Dwa: dwie kolumny. */
.collection.is-single { grid-template-columns: 1fr; }
.is-single .product-card { display: grid; grid-template-columns: 55fr 45fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.is-single .frame { aspect-ratio: 1 / 1; }
.is-single .card-body { padding: 0; max-width: 440px; }
.is-single h3 { font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.5rem); line-height: 1.15; margin-bottom: 12px; }
.is-single .motif { font-size: calc(var(--fs-body) * 1.06); margin-bottom: 24px; }
.is-single .card-foot { margin-top: 12px; padding-top: 14px; }
.collection.is-pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 56px); }

@media (max-width: 1023px) { .collection { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 767px) {
  .collection, .collection.is-pair { grid-template-columns: 1fr; }
  .is-single .product-card { display: flex; }
  .is-single .frame { aspect-ratio: 4 / 5; }
  .is-single .card-body { padding-top: 20px; max-width: none; }
}

/* --- Zblizenie reliefu ---------------------------------------------------- */

.relief-grid { display: grid; grid-template-columns: 60fr 40fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.relief-grid .frame { border-radius: var(--radius-photo); overflow: hidden; background: var(--background); }
.relief-grid .frame img { width: 100%; height: auto; }
@media (max-width: 767px) { .relief-grid { grid-template-columns: 1fr; } }

/* Sekcja bez zdjecia: naglowek po lewej, tekst po prawej. */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 6vw, 96px); align-items: start; }
.split h2 { margin: 0; }
.split .lead { font-family: var(--font-serif); font-size: clamp(1.1875rem, 1.05rem + 0.55vw, 1.5rem); line-height: 1.5; color: var(--text); max-width: 40ch; margin: 0 0 18px; }
.split .measure p:last-child { margin-bottom: 0; }
@media (max-width: 767px) { .split { grid-template-columns: 1fr; } }

/* --- Material ----------------------------------------------------------------- */

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.facts { margin: 0; display: grid; gap: 0; border-top: 1px solid var(--border); }
.facts div { display: grid; grid-template-columns: minmax(120px, 38%) 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.facts dt { color: var(--text-muted); }
.facts dd { margin: 0; }
@media (max-width: 767px) { .two-col { grid-template-columns: 1fr; } .facts div { grid-template-columns: 1fr; gap: 2px; } }

/* --- Pytania ------------------------------------------------------------------ */

.faq { border-top: 1px solid var(--border); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--border); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0; font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary { transition: color var(--ease); }
.faq summary:hover { color: var(--accent); }
.faq summary::after { content: ''; flex: none; width: 12px; height: 12px; border-right: 1.5px solid var(--text); border-bottom: 1.5px solid var(--text); transform: rotate(45deg) translate(-3px, -3px); transition: transform var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-3px, -3px); }
.faq .answer { padding: 0 0 22px; max-width: 64ch; color: var(--text-muted); }
.faq .answer p { margin: 0 0 12px; }

/* --- Kontakt i stopka -------------------------------------------------------- */

.contact-grid { display: grid; grid-template-columns: 40fr 60fr; gap: clamp(32px, 6vw, 96px); }
.contact-grid form { max-width: 560px; }
.contact-lines { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 8px; }
@media (max-width: 767px) { .contact-grid { grid-template-columns: 1fr; } }

.site-footer { border-top: 1px solid var(--border); padding: clamp(48px, 6vw, 72px) 0 32px; font-size: 0.9375rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-grid img { width: 150px; }
.footer-brand p { margin: 18px 0 0; max-width: 34ch; color: var(--text-muted); }
.footer-title { margin: 0 0 12px; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.75rem; font-weight: 500; color: var(--text-muted); }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-grid ul a { display: inline-flex; min-height: 36px; align-items: center; color: var(--text); text-decoration: none; }
.footer-grid ul a:hover { text-decoration: underline; text-underline-offset: 0.2em; }
.footer-grid address { font-style: normal; color: var(--text-muted); line-height: 1.7; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: clamp(40px, 5vw, 56px); padding-top: 20px; border-top: 1px solid var(--border); color: var(--text-muted); font-size: var(--fs-meta); }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text-muted); }
@media (max-width: 1023px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* --- Strona modelu ------------------------------------------------------------ */

.model-page { padding: clamp(24px, 4vw, 56px) 0 var(--section-gap); }
.breadcrumb { font-size: var(--fs-meta); color: var(--text-muted); margin: 0 0 24px; }
.breadcrumb a { color: var(--text-muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.model-grid { display: grid; grid-template-columns: 58fr 42fr; grid-template-areas: "gallery head" "gallery info"; grid-template-rows: auto 1fr; column-gap: clamp(32px, 5vw, 72px); align-items: start; }
.model-head { grid-area: head; }
.model-gallery { grid-area: gallery; position: sticky; top: calc(var(--header-h) + 24px); }
.model-info { grid-area: info; }
.model-head h1 { font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); margin-bottom: 12px; letter-spacing: -0.01em; }
.model-head .eyebrow { margin-bottom: 10px; }
.model-head .motif { font-size: 1.125rem; color: var(--text-muted); margin: 0 0 20px; }
.gallery-main { position: relative; background: var(--surface-stone); border-radius: var(--radius-photo); overflow: hidden; aspect-ratio: 4 / 5; }
.gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.gallery-zoom { position: absolute; right: 12px; bottom: 12px; background: var(--surface); }
.gallery-thumbs { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 12px 0 0; }
.gallery-thumbs button { width: 76px; height: 95px; padding: 0; border: 1px solid transparent; border-radius: 4px; background: var(--surface-stone); cursor: pointer; overflow: hidden; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: contain; }

.model-price { font-size: 1.375rem; margin: 0 0 4px; }
.model-price small { font-size: var(--fs-meta); color: var(--text-muted); display: block; }
.price-locked { padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-left: 2px solid var(--accent); border-radius: var(--radius); margin: 0 0 24px; font-size: 0.9375rem; color: var(--text-muted); }
.price-locked p { margin: 0; }
.price-locked .price-locked-title { font-family: var(--font-serif); font-size: 1.1875rem; color: var(--text); margin-bottom: 4px; }

.variant-picker { border: 0; padding: 0; margin: 24px 0; }
.variant-picker legend { font-weight: 500; margin-bottom: 10px; padding: 0; }
.variant-options { display: flex; flex-wrap: wrap; gap: 10px; }
.variant-option { position: relative; }
.variant-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.variant-option label { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 14px 6px 8px; border: 1px solid var(--control-border); border-radius: var(--radius); cursor: pointer; background: var(--surface); transition: border-color var(--ease), box-shadow var(--ease); }
.variant-option .dot { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(0,0,0,.25); flex: none; }
.variant-option input:checked + label { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.variant-option input:checked + label::after { content: '✓'; font-size: 0.875rem; margin-left: 2px; }
.variant-option input:focus-visible + label { box-shadow: var(--focus); }

.spec { margin: 24px 0; border-top: 1px solid var(--border); }
.spec div { display: grid; grid-template-columns: 42% 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.spec dt { color: var(--text-muted); }
.spec dd { margin: 0; }
.availability { display: flex; align-items: flex-start; gap: 8px; }
.availability::before { content: ''; flex: none; width: 8px; height: 8px; margin-top: 0.6em; border-radius: 50%; background: currentColor; }
.availability.in { color: var(--ok); }
.availability.out { color: var(--warn); }

.buy-row { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px; margin: 24px 0 12px; }
.qty-field { width: 110px; margin: 0; }
.buy-row .btn { flex: 1 1 220px; }
.model-description { margin-top: 32px; max-width: 60ch; }
.how-order { margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); font-size: 0.9375rem; color: var(--text-muted); }

dialog.zoom { width: min(96vw, 1100px); max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius-photo); background: var(--surface-stone); }
dialog.zoom::backdrop { background: rgba(48, 49, 46, 0.7); }
dialog.zoom img { width: 100%; height: auto; max-height: calc(94vh - 64px); object-fit: contain; }
dialog.zoom .zoom-bar { display: flex; justify-content: flex-end; padding: 8px; }

@media (max-width: 767px) {
  .model-grid { grid-template-columns: 1fr; grid-template-areas: "head" "gallery" "info"; row-gap: 20px; }
  .model-gallery { position: static; }
  .model-head h1 { margin-bottom: 6px; }
  .model-head .motif { margin: 0; }
  .gallery-thumbs button { width: 64px; height: 80px; }
}

/* --- Konto, koszyk, formularze -------------------------------------------- */

.page { padding: clamp(32px, 5vw, 72px) 0 var(--section-gap); }
.page h1 { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(20px, 3vw, 32px); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 599px) { .form-grid { grid-template-columns: 1fr; } }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
fieldset.plain { border: 0; padding: 0; margin: 0 0 12px; }
fieldset.plain legend { font-family: var(--font-serif); font-size: 1.375rem; margin-bottom: 12px; padding: 0; }

.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.table th { font-weight: 500; font-size: var(--fs-meta); color: var(--text-muted); }
.table .num { text-align: right; white-space: nowrap; }

.cart-line { display: grid; grid-template-columns: 88px 1fr auto; gap: 16px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--border); }
.cart-line .thumb { width: 88px; aspect-ratio: 4 / 5; background: var(--surface-stone); border-radius: 4px; overflow: hidden; }
.cart-line .thumb img { width: 100%; height: 100%; object-fit: contain; }
.cart-line h3 { font-size: 1.125rem; margin: 0 0 4px; }
.cart-line .controls { display: flex; align-items: center; gap: 10px; }
.cart-line .controls input { width: 84px; }
.cart-summary { margin-top: 24px; display: grid; gap: 6px; justify-items: end; text-align: right; }
.cart-summary .total { font-size: 1.375rem; }
@media (max-width: 599px) {
  .cart-line { grid-template-columns: 72px 1fr; }
  .cart-line .thumb { width: 72px; }
  .cart-line .controls { grid-column: 1 / -1; justify-content: space-between; }
}

.status-steps { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 16px 0; }
.status-steps li { padding: 6px 12px; border-radius: 999px; background: var(--surface-stone); color: var(--text-muted); font-size: var(--fs-meta); }
.status-steps li.done { background: var(--ok-bg); color: var(--ok); }
.status-steps li.current { background: var(--text); color: var(--button-text); }

.notice { padding: 16px 18px; background: var(--surface-stone); border-radius: var(--radius); margin: 0 0 24px; }
.notice p { margin: 0 0 6px; }
.notice p:last-child { margin: 0; }

.prose { max-width: 68ch; }
.prose h2 { font-size: 1.75rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--text); }

.maintenance { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 20px; }
.maintenance img { width: 180px; margin: 0 auto 32px; }

/* --- 1.1: rytm sekcji, nowe sekcje, zamawianie ------------------------------ */

.eyebrow { display: flex; align-items: center; gap: 12px; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.78rem; font-weight: 500; color: var(--accent); margin: 0 0 16px; }
.eyebrow::before { content: ''; flex: none; width: 28px; height: 1px; background: currentColor; }
.section-line-top { border-top: 1px solid var(--border); padding-top: clamp(40px, 5vw, 64px); max-width: none; }
.section-tight { padding-top: clamp(8px, 2vw, 24px); }
.section-line { border-top: 1px solid var(--border); }
.section-head h2 { margin-bottom: 12px; }

.hero-grid.no-figure, .relief-grid.no-figure { grid-template-columns: 1fr; min-height: 0; }
.hero-points { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; padding: 22px 0 0; margin: 40px 0 0; border-top: 1px solid var(--border); font-size: var(--fs-meta); color: var(--text-muted); }
.hero-points li { display: inline-flex; align-items: center; gap: 10px; }
.hero-points li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: 0.7; }
.hero-figure .frame { display: block; }
.hero-figure figcaption a { color: var(--text); text-decoration: none; border-bottom: 1px solid var(--border); }
.hero-figure figcaption a:hover { border-bottom-color: var(--text); }

.relief-grid .measure p { margin: 0 0 14px; }

.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.process li { border-top: 1px solid var(--text); padding-top: 18px; }
.process .step-no { display: block; font-family: var(--font-serif); font-size: 1.75rem; line-height: 1; color: var(--accent); margin-bottom: 14px; }
.process h3 { font-size: 1.25rem; margin: 0 0 8px; }
.process p { margin: 0; color: var(--text-muted); }
@media (max-width: 1023px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 599px) { .process { grid-template-columns: 1fr; } }

.b2b { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.b2b-steps { list-style: none; counter-reset: b2b; padding: 0; margin: 0; border-top: 1px solid var(--control-border); }
.b2b-steps li { counter-increment: b2b; display: grid; grid-template-columns: 44px 1fr; column-gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.b2b-steps li::before { content: counter(b2b); grid-row: span 2; font-family: var(--font-serif); font-size: 1.5rem; line-height: 1.2; color: var(--accent); }
.b2b-steps strong { font-weight: 500; }
.b2b-steps span { color: var(--text-muted); }
@media (max-width: 767px) { .b2b { grid-template-columns: 1fr; } }

.faq-grid { display: grid; grid-template-columns: minmax(0, 34fr) minmax(0, 66fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.faq-grid .faq { max-width: none; }
@media (max-width: 899px) { .faq-grid { grid-template-columns: 1fr; } }

.contact-lines li { display: flex; gap: 12px; }
.contact-lines .muted { min-width: 64px; }

/* Strona modelu */
.model-price .unit { font-size: 1rem; color: var(--text-muted); }
.single-variant { margin: 20px 0 0; }
.variant-picker legend span { font-weight: 400; color: var(--text-muted); }
.highlights { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.highlights li { position: relative; padding-left: 22px; }
.highlights li::before { content: ''; position: absolute; left: 2px; top: 0.72em; width: 10px; height: 1px; background: var(--accent); }
.spec dd.mono, .spec .mono { font-family: var(--font-mono); font-size: 0.9375rem; }

.order-box { margin: 24px 0 8px; padding: 18px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.order-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--border); }
.order-row:last-of-type { border-bottom: 0; margin-bottom: 12px; }
.order-row .dot { width: 26px; height: 26px; border-radius: 50%; border: 1px solid rgba(0, 0, 0, .25); }
.order-name { display: grid; gap: 2px; }
.order-name label { font-weight: 500; }
.order-name .availability { font-size: var(--fs-meta); }
.order-price { font-variant-numeric: tabular-nums; white-space: nowrap; }
@media (max-width: 479px) {
  .order-row { grid-template-columns: 26px minmax(0, 1fr) auto; }
  .order-row .stepper { grid-column: 2 / -1; justify-self: start; }
}

.stepper { display: inline-flex; align-items: stretch; border: 1px solid var(--control-border); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.stepper button { width: 44px; min-height: 44px; border: 0; background: transparent; font-size: 1.25rem; line-height: 1; color: var(--text); cursor: pointer; transition: background-color var(--ease); }
.stepper button:hover { background: var(--surface-stone); }
.stepper input { width: 52px; min-height: 44px; border: 0; border-left: 1px solid var(--border); border-right: 1px solid var(--border); border-radius: 0; text-align: center; padding: 0 4px; -moz-appearance: textfield; }
.stepper input::-webkit-outer-spin-button, .stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.btn-block { width: 100%; }

/* Koszyk */
.cart-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 4vw, 56px); align-items: start; }
.cart-aside { position: sticky; top: calc(var(--header-h) + 24px); }
.cart-line h3 a { color: var(--text); text-decoration: none; }
.cart-line .thumb { display: block; }
.cart-line .controls { gap: 14px; }
.cart-line .line-total { min-width: 9ch; text-align: right; font-variant-numeric: tabular-nums; }
.sum { margin: 0; display: grid; gap: 6px; }
.sum div { display: flex; justify-content: space-between; gap: 12px; }
.sum dt { color: var(--text-muted); }
.sum dd { margin: 0; font-variant-numeric: tabular-nums; }
.sum .total { border-top: 1px solid var(--border); padding-top: 10px; margin-top: 4px; font-size: 1.25rem; }
.sum .total dt { color: var(--text); }
@media (max-width: 899px) { .cart-layout { grid-template-columns: 1fr; } .cart-aside { position: static; } }
.buy-row .btn-secondary { flex: 1 1 200px; }

/* Para urna <-> relikwiarz na stronie modelu (1.12.0) */
.pair-card { display: flex; gap: 16px; align-items: center; margin: 24px 0 0; padding: 12px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--text); text-decoration: none; transition: border-color 0.2s var(--ease); }
.pair-card:hover, .pair-card:focus-visible { border-color: var(--accent); }
.pair-photo { flex: none; width: 96px; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius-photo); background: var(--surface-stone); }
.pair-photo img, .pair-photo .photo-missing { width: 100%; height: 100%; object-fit: cover; display: block; }
.pair-photo .photo-missing span { display: none; }
.pair-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.pair-kicker { font-size: var(--fs-meta); color: var(--text-muted); }
.pair-name { font-family: var(--font-serif); font-size: 1.25rem; line-height: 1.2; }
.pair-meta { font-size: var(--fs-meta); color: var(--text-muted); }
.pair-swatches { display: flex; gap: 6px; }
.pair-card .link-arrow { margin-top: 4px; }
