/* Compact RKV catalogue, basket and two-step checkout. */
.webshop-page { padding-block: clamp(32px,5vw,64px); }
.webshop-heading { max-width: 800px; }
.webshop-heading h1 { font-size: clamp(2.4rem,5vw,4rem); line-height: 1.08; margin: 12px 0 18px; }
.webshop-heading > p:last-child { font-size: 1.1rem; max-width: 60ch; }
.webshop-live-note { padding: 12px 16px; border: 1px solid var(--rkv-border); border-radius: 12px; font-size: .8rem; margin: 24px 0; color: var(--rkv-text-soft); }
.webshop-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(310px,370px); gap: 24px; align-items: start; }
.webshop-catalog,.webshop-products,.webshop-basket,.webshop-checkout-grid > * { min-width: 0; }
.webshop-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.webshop-filters button { min-height: 44px; padding: 9px 16px; border: 1px solid var(--rkv-border); background: transparent; border-radius: 99px; color: var(--rkv-navy); font: inherit; font-size: .85rem; font-weight: 750; cursor: pointer; }
.webshop-filters button[aria-pressed="true"] { background: var(--rkv-navy); color: white; border-color: var(--rkv-navy); }
.webshop-products { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 16px; }
.webshop-product { display: flex; flex-direction: column; padding: clamp(18px,2.2vw,26px); border: 1px solid var(--rkv-border); border-radius: 20px; background: #fff; min-width: 0; }
.webshop-product[data-selected="true"] { border-color: var(--rkv-green); background: #f2fcf6; }
.webshop-product-top { display: flex; gap: 12px; align-items: center; }
.webshop-product .module-icon { flex: 0 0 44px; width: 44px; height: 44px; margin: 0; }
.webshop-product .module-icon svg { width: 25px; height: 25px; fill: currentColor; }
.webshop-product h2 { font-size: 1.12rem; line-height: 1.35; margin: 0; overflow-wrap: anywhere; }
.webshop-product-description { font-size: .91rem; line-height: 1.6; margin: 18px 0 12px; }
.webshop-product .webshop-small { margin: 0 0 20px; }
.webshop-product-price { margin-top: auto; margin-bottom: 16px; }
.webshop-product-price strong { display: block; font-family: var(--rkv-font-display); font-size: 1.24rem; color: var(--rkv-navy); }
.webshop-product-price small { display: block; font-size: .74rem; margin-top: 5px; }
.webshop-product button { width: 100%; min-height: 44px; }
.webshop-small { font-size: .77rem; line-height: 1.6; color: var(--rkv-text-soft); }
.webshop-custom { padding: 24px 0 0; max-width: 65ch; }
.webshop-custom p { font-size: .9rem; }
.webshop-basket { position: sticky; top: 96px; padding: 24px; border: 1px solid var(--rkv-border); border-radius: 22px; background: #fff; max-height: calc(100dvh - 112px); overflow-y: auto; scroll-margin-top: 96px; }
.webshop-basket h2 { font-size: 1.2rem; margin: 0; }
.webshop-basket-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 18px; }
.webshop-basket-heading > span { min-width: 28px; border-radius: 99px; background: #ecfaf2; color: var(--rkv-navy); text-align: center; font-weight: 800; }
.webshop-empty { padding-block: 24px; margin: 0; color: var(--rkv-text-soft); }
.webshop-cart-item { padding-block: 15px; border-top: 1px solid var(--rkv-border); }
.webshop-cart-item-top { display: flex; gap: 12px; justify-content: space-between; align-items: baseline; }
.webshop-cart-item-top strong { font-size: .88rem; line-height: 1.5; overflow-wrap: anywhere; }
.webshop-cart-item-top > span { font-size: .84rem; white-space: nowrap; font-weight: 700; color: var(--rkv-navy); }
.webshop-cart-controls { display: flex; align-items: center; gap: 4px; margin-top: 8px; }
.webshop-cart-controls button { min-width: 44px; min-height: 44px; border: 1px solid var(--rkv-border); border-radius: 8px; background: transparent; color: var(--rkv-navy); font: inherit; cursor: pointer; }
.webshop-cart-controls output { min-width: 28px; text-align: center; font-size: .9rem; }
.webshop-cart-controls .webshop-remove { margin-left: auto; border: 0; font-size: .77rem; padding-inline: 8px; text-decoration: underline; }
.webshop-existing { display: flex; gap: 10px; font-size: .84rem; line-height: 1.55; margin: 16px 0; }
.webshop-existing input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--rkv-green); }
.webshop-problems { background: #fff7e8; padding: 14px; border-radius: 12px; font-size: .83rem; line-height: 1.55; margin-block: 16px; }
.webshop-problems p { margin: 0 0 8px; }
.webshop-problems button { margin-top: 8px; font-size: .82rem; }
.webshop-prices { margin: 12px 0; border-top: 1px solid var(--rkv-border); padding-top: 16px; }
.webshop-prices > div { display: flex; gap: 16px; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: .83rem; }
.webshop-prices dd { margin: 0; white-space: nowrap; font-weight: 750; color: var(--rkv-navy); }
.webshop-prices dt { line-height: 1.5; }
.webshop-prices .webshop-grand-total { font-size: 1rem; font-weight: 800; }
.webshop-checkout-button { width: 100%; }
.webshop-checkout button:disabled,.webshop-basket button:disabled { opacity: .5; cursor: default; }
.webshop-checkout { scroll-margin-top: 96px; }
.webshop-checkout-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,.85fr); gap: 24px; align-items: start; }
.webshop-checkout .shop-card { margin: 0; }
.webshop-checkout h2 { font-size: 1.6rem; }
.webshop-back { border: 0; background: transparent; padding: 0; font: inherit; cursor: pointer; margin-bottom: 20px; }
.webshop-address-row { display: grid; grid-template-columns: minmax(90px,.5fr) minmax(0,1fr); gap: 16px; }
.webshop-review ul { list-style: none; padding: 0; margin: 0; }
.webshop-review li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rkv-border); font-size: .9rem; }
.webshop-review li strong { white-space: nowrap; color: var(--rkv-navy); }
.webshop-mobile-cart { display: none; }
.webshop-product[hidden],.webshop-existing[hidden],.webshop-problems[hidden],.webshop-checkout[hidden],.webshop-layout[hidden],.webshop-mobile-cart[hidden] { display: none; }
@media(max-width:1050px) {
 .webshop-layout { grid-template-columns: minmax(0,1fr) 310px; gap: 16px; }
 .webshop-products { grid-template-columns: minmax(0,1fr); }
}
@media(max-width:760px) {
 .webshop-layout,.webshop-checkout-grid { grid-template-columns: minmax(0,1fr); }
 .webshop-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
 .webshop-basket { position: static; max-height: none; padding: 22px; }
 .webshop-mobile-cart { position: fixed; display: flex; justify-content: space-between; align-items: center; gap: 12px; bottom: 12px; left: 12px; right: 12px; z-index: 80; padding: 14px 18px; border-radius: 14px; background: var(--rkv-navy); color: white; box-shadow: 0 5px 24px #0b2c4d33; font-size: .78rem; text-decoration: none; }
 .webshop-page { padding-bottom: 92px; }
 .webshop-basket { scroll-margin-top: 82px; }
}
@media(max-width:520px) {
 .webshop-products { grid-template-columns: minmax(0,1fr); }
 .webshop-product { padding: 22px; }
 .webshop-filters { gap: 6px; }
 .webshop-filters button { padding-inline: 12px; }
 .webshop-checkout .shop-card { padding: 22px; }
}
