/* Novum Global – e-shop (pásky a etikety). Navazuje na main.css: jedno písmo, ploché barvy, ostré rohy. */
.is-shop [hidden] { display: none !important; }
.shop-head .page-head-inner { padding-top: clamp(1.75rem, 3vw, 3rem); padding-bottom: clamp(1.75rem, 3vw, 3rem); }
.shop-head h1 { font-size: clamp(2rem, 1rem + 3vw, 3.5rem); }
.shop-head .page-tag { display: inline-block; margin-top: 1rem; padding: .3em .7em; background: var(--green); color: #fff; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.shop-head-product .page-head-inner { padding-top: 1rem; padding-bottom: 1rem; }
.section.shop-listing, .section.shop-product, .section.shop-cart { padding-top: clamp(1.75rem, 3vw, 3rem); }

/* ---------------- kategorie a filtry */
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 1.5rem; }
.shop-cats ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.shop-chip { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; padding: .55em 1em; background: var(--paper-2); color: var(--ink); font: inherit; font-weight: 600; font-size: 1rem; text-decoration: none; border: 0; border-radius: 0; cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.shop-chip:hover { background: var(--paper-3); color: var(--ink); }
.shop-chip .num { font-size: .8rem; font-weight: 700; color: var(--ink-soft); }
.shop-chip[aria-current], .shop-chip[aria-pressed="true"] { background: var(--ink); color: #fff; }
.shop-chip[aria-current] .num { color: rgba(255,255,255,.75); }
.shop-chip-sm { min-height: 40px; padding: .4em .85em; font-size: .95rem; }
.shop-filter { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; }
.shop-filter-label { font-size: .9rem; font-weight: 600; color: var(--ink-soft); margin-right: .35rem; }
.shop-active { margin: 0 0 1.25rem; padding: .75rem 1rem; background: #E6F6EC; font-weight: 600; }
.shop-active .link-btn { margin-left: .75rem; font-weight: 400; }
.shop-empty { padding: 2rem; background: var(--paper-2); }

/* ---------------- karty produktů */
.shop-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
@media (max-width: 1180px) { .shop-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) { .shop-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; } }
@media (max-width: 520px) { .shop-grid { grid-template-columns: 1fr; } }
.shop-card { display: flex; flex-direction: column; background: var(--paper); box-shadow: inset 0 0 0 1px var(--paper-3); padding: 0 1.1rem 1.1rem; transition: box-shadow .25s var(--ease); }
.shop-card:hover, .shop-card:focus-within { box-shadow: inset 0 0 0 2px var(--green); }
.shop-card-link { display: block; text-decoration: none; margin: 0 -1.1rem; }
.shop-card figure { position: relative; margin: 0; aspect-ratio: 4 / 3; background: #fff; overflow: hidden; border-bottom: 1px solid var(--paper-3); }
.shop-card figure img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.shop-card:hover figure img { transform: scale(1.04); }
.shop-badge { position: absolute; left: 0; top: .9rem; padding: .3em .7em; background: var(--green); color: #fff; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.shop-card h3 { margin: 1rem 1.1rem .25rem; font-size: 1.15rem; line-height: 1.2; }
.shop-card-spec { margin: 0 0 .9rem; color: var(--ink-soft); font-size: .95rem; }
.shop-price { margin: auto 0 .9rem; line-height: 1.25; }
.shop-price strong { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; font-variation-settings: "wdth" 104; }
.shop-price span { font-size: .9rem; color: var(--ink-soft); }
.shop-price small { font-size: .9rem; color: var(--ink-soft); }
.shop-buy { display: flex; flex-wrap: wrap; gap: .5rem; align-items: stretch; }
.shop-buy .btn { flex: 1 1 auto; min-height: 44px; white-space: nowrap; }
.shop-buy .btn svg { width: 20px; height: 20px; }
.btn.is-added { background: var(--green-dark); }
.shop-min { margin: .7rem 0 0; font-size: .85rem; color: var(--ink-soft); }

.qty { display: inline-flex; align-items: stretch; box-shadow: inset 0 0 0 2px var(--paper-3); background: #fff; height: 44px; }
.qty:focus-within { box-shadow: inset 0 0 0 2px var(--green); }
.qty-btn { width: 40px; border: 0; background: transparent; font: inherit; font-size: 1.25rem; font-weight: 600; line-height: 1; cursor: pointer; color: var(--ink); }
.qty-btn:hover { background: var(--paper-2); color: var(--green-deep); }
.qty-input { width: 3.4em; border: 0; background: transparent; font: inherit; font-weight: 600; text-align: right; padding: 0; color: var(--ink); min-height: 0; }
.qty-input:focus { outline: none; }
.qty-unit { align-self: center; padding: 0 .35em 0 .25em; font-size: .9rem; color: var(--ink-soft); }

/* ---------------- výběr podle pokladny */
.section.shop-finder { margin-top: var(--section); padding-top: clamp(2.5rem, 5vw, 4.5rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.shop-finder-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 2rem 4rem; align-items: center; padding: 0 var(--gutter); }
.shop-finder h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); }
.shop-finder p { margin: 0; color: var(--ink-soft); }
.shop-finder-form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.shop-finder-row { display: flex; gap: .5rem; }
.shop-finder-row input { flex: 1 1 auto; min-width: 0; font: inherit; padding: .8rem 1rem; border: 2px solid var(--paper-3); background: #fff; color: var(--ink); border-radius: 0; min-height: 52px; }
.shop-finder-row input:focus { border-color: var(--green); outline: none; }
.shop-finder-status { min-height: 1.5em; margin-top: .6rem !important; font-weight: 600; color: var(--ink) !important; }
@media (max-width: 860px) { .shop-finder-inner { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .shop-finder-row { flex-direction: column; } }

/* ---------------- doprava a platba, pomoc */
.shop-info-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; }
.shop-info-list h3 { font-size: 1.15rem; margin: .9rem 0 .4rem; }
.shop-info-list p { margin: 0; color: var(--ink-soft); font-size: 1rem; }
.shop-ico { display: grid; place-items: center; width: 52px; height: 52px; background: var(--green); color: #fff; }
.shop-ico svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 980px) { .shop-info-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .shop-info-list { grid-template-columns: 1fr; } }
.section.shop-help { margin-top: var(--section); padding-top: clamp(3rem, 6vw, 5rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.shop-help-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 3rem; padding: 0 var(--gutter); }
.shop-help h2 { font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); }
.shop-help .statement { margin: 0; }
.shop-help a:not(.btn) { color: #fff; }
.shop-help p { margin: 0; }

/* ---------------- detail produktu */
.shop-product { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem 3.5rem; align-items: start; }
.shop-product-media figure { margin: 0; background: #fff; box-shadow: inset 0 0 0 1px var(--paper-3); aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; }
.shop-product-media img { width: 100%; height: 100%; object-fit: contain; padding: 1px; }
.shop-kicker { margin: 0 0 .6rem; font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--green-deep); }
.shop-product h1 { font-size: clamp(1.9rem, 1.2rem + 2.4vw, 3.25rem); letter-spacing: -0.03em; margin-bottom: .4em; }
.shop-product-lead { color: var(--ink-soft); max-width: 36em; }
.shop-buybox { margin-top: 1.5rem; padding: 1.5rem; background: var(--paper-2); }
.shop-price-lg { margin: 0 0 1.1rem; }
.shop-price-lg strong { font-size: clamp(2.1rem, 1.5rem + 1.8vw, 2.9rem); }
.shop-price-lg small { font-size: 1rem; }
.shop-buybox .qty { height: 52px; }
.shop-buybox .qty-btn { width: 48px; }
.shop-buybox .shop-buy .btn { min-height: 52px; font-size: 1.05rem; }
.shop-pack { margin: .9rem 0 0; font-size: .95rem; }
.shop-pack .link-btn { font-weight: 600; color: var(--green-deep); }
.shop-assure { list-style: none; margin: 1.1rem 0 0; padding: 1.1rem 0 0; border-top: 1px solid var(--paper-3); font-size: .95rem; }
.shop-assure li { position: relative; padding: .2rem 0 .2rem 1.6rem; }
.shop-assure li::before { content: ""; position: absolute; left: .15rem; top: .55em; width: .8rem; height: .45rem; border-left: 2.5px solid var(--green); border-bottom: 2.5px solid var(--green); transform: rotate(-45deg); }
.shop-detail { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 2rem 3.5rem; align-items: start; padding-top: clamp(3rem, 5vw, 5rem); }
.shop-detail h2, .shop-systems h2, .shop-related h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.shop-params { width: 100%; border-collapse: collapse; font-size: 1rem; }
.shop-params th, .shop-params td { text-align: left; padding: .7rem .5rem .7rem 0; border-bottom: 1px solid var(--paper-3); vertical-align: top; }
.shop-params th { width: 46%; font-weight: 400; color: var(--ink-soft); }
.shop-params td { font-weight: 600; }
.shop-systems, .shop-related { padding-top: clamp(3rem, 5vw, 5rem); }
.shop-systems-list { list-style: none; margin: 0 0 1rem; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.shop-systems-list li { display: grid; grid-template-columns: 9rem 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--paper-3); font-size: 1rem; }
.shop-systems-list span { color: var(--ink-soft); }
@media (max-width: 900px) { .shop-product, .shop-detail { grid-template-columns: 1fr; } .shop-systems-list { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .shop-systems-list li { grid-template-columns: 1fr; gap: .15rem; } .shop-buybox { padding: 1.1rem; } }

/* ---------------- košík */
.shop-cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, 24rem); gap: 2rem 3.5rem; align-items: start; }
.shop-cart h2 { font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.1rem); }
.shop-cart-items { list-style: none; margin: 0 0 1.25rem; padding: 0; border-top: 1px solid var(--paper-3); }
.shop-cart-item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 8.5rem 44px; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--paper-3); }
.shop-cart-img { display: block; background: #fff; box-shadow: inset 0 0 0 1px var(--paper-3); }
.shop-cart-img img { width: 96px; height: 72px; object-fit: cover; padding: 1px; }
.shop-cart-name a { font-weight: 600; text-decoration: none; }
.shop-cart-name a:hover { text-decoration: underline; }
.shop-cart-name small, .shop-cart-line small { display: block; color: var(--ink-soft); font-size: .88rem; margin-top: .15rem; }
.shop-cart-line { margin: 0; text-align: right; }
.shop-cart-remove { position: relative; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; }
.shop-cart-remove::before, .shop-cart-remove::after { content: ""; position: absolute; left: 50%; top: 50%; width: 16px; height: 2px; background: var(--ink-soft); transform: translate(-50%, -50%) rotate(45deg); }
.shop-cart-remove::after { transform: translate(-50%, -50%) rotate(-45deg); }
.shop-cart-remove:hover::before, .shop-cart-remove:hover::after { background: #C62828; }
#order-wrap { margin-top: clamp(2.5rem, 4vw, 4rem); scroll-margin-top: 7rem; }
.shop-fieldset { border: 0; margin: 0 0 2rem; padding: 0; min-width: 0; }
.shop-fieldset legend { padding: 0; margin-bottom: .9rem; font-weight: 700; font-size: 1.15rem; }
.shop-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.shop-option { display: flex; gap: .8rem; align-items: flex-start; padding: 1rem; box-shadow: inset 0 0 0 2px var(--paper-3); cursor: pointer; }
.shop-option:has(input:checked) { box-shadow: inset 0 0 0 2px var(--green); background: #F2FAF5; }
.shop-option input { width: 20px; height: 20px; margin: .15rem 0 0; accent-color: var(--green); flex: 0 0 auto; }
.shop-option strong { display: block; }
.shop-option small { display: block; color: var(--ink-soft); font-size: .9rem; margin-top: .15rem; }
.req { color: #C62828; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.shop-summary { position: sticky; top: 6.5rem; background: var(--paper-2); padding: 1.5rem; }
.shop-summary dl { margin: 0; }
.shop-summary dl > div { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; }
.shop-summary dt { color: var(--ink-soft); }
.shop-summary dd { margin: 0; font-weight: 600; }
.shop-summary .shop-summary-total { margin-top: .6rem; padding-top: 1rem; border-top: 2px solid var(--ink); align-items: baseline; }
.shop-summary-total dt { color: var(--ink); font-weight: 700; }
.shop-summary-total dd { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; }
.shop-free { margin-top: 1.1rem; }
.shop-free-bar { height: 6px; background: var(--paper-3); }
.shop-free-bar span { display: block; height: 100%; width: 0; background: var(--green); transition: width .5s var(--ease); }
.shop-free p { margin: .5rem 0 0; font-size: .92rem; color: var(--ink-soft); }
.shop-free.is-done p { color: var(--green-deep); font-weight: 600; }
.shop-warn { margin: 1rem 0 0; padding: .8rem 1rem; background: #FFF4D6; font-size: .95rem; font-weight: 600; }
.shop-summary-cta { width: 100%; margin-top: 1.25rem; }
.shop-cart-grid.is-sent { grid-template-columns: 1fr; }
.shop-cart-empty { padding: 3rem 0; }
@media (max-width: 1040px) {
  .shop-cart-grid { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .shop-cart-main { display: contents; }
  .shop-cart-main > h2:first-child { grid-row: 1; } #cart-items { grid-row: 2; } .shop-cart-main > p { grid-row: 3; }
  .shop-summary { position: static; grid-row: 4; margin-top: 1rem; } #order-wrap { grid-row: 5; }
}
@media (max-width: 700px) {
  .shop-cart-item { grid-template-columns: 72px minmax(0, 1fr) 44px; grid-template-areas: "img name rm" "qty qty line"; }
  .shop-cart-img { grid-area: img; } .shop-cart-img img { width: 72px; height: 54px; }
  .shop-cart-name { grid-area: name; } .shop-cart-item .qty { grid-area: qty; justify-self: start; } .shop-cart-line { grid-area: line; } .shop-cart-remove { grid-area: rm; }
  .shop-cart-item { grid-template-columns: 72px minmax(0, 1fr) auto; }
  .shop-options { grid-template-columns: 1fr; }
}

/* ---------------- oznámení po přidání do košíku */
.shop-toast { position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 80; width: min(22rem, calc(100vw - 2 * var(--gutter))); padding: 1.1rem 1.25rem; background: var(--ink); color: #fff; opacity: 0; transform: translateY(1rem); pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.shop-toast.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.shop-toast p { margin: 0 0 .5rem; font-size: .98rem; line-height: 1.35; }
.shop-toast-sum { color: rgba(255,255,255,.75); }
.shop-terms h2 { font-size: clamp(1.3rem, 1.1rem + 1vw, 1.75rem); margin-top: 2em; }
@media (prefers-reduced-motion: reduce) { .shop-card figure img, .shop-toast, .shop-free-bar span { transition: none; } }
