/* Global - Shared storefront styles */
body {
    --shop-ink: var(--second-color);
    --shop-olive: var(--main-color);
    --shop-paper: #f4f5f1;
    --shop-muted: #626b64;
    --shop-line: #e1e5dd;
    --shop-radius: 5px;
    -webkit-font-smoothing: antialiased;
}
body .section-heading { align-items: center; gap: 20px; margin-bottom: 24px; }

body .section-heading h2 { font-size: clamp(26px, 2.5vw, 36px); font-weight: 600; letter-spacing: -.035em; line-height: 1.15; }

body .section-heading > a { font-size: 14px; font-weight: 600; }

body .section-products { padding-block: 40px 48px; }

body .section-products .product-rail { scrollbar-width: none; padding-bottom: 4px; }

body .section-products .product-rail::-webkit-scrollbar { display: none; }

body .product-image { aspect-ratio: 1; border: 0; border-radius: var(--shop-radius); background: var(--shop-paper); }

body .product-primary,
body .product-hover { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; }

body .product-image:focus-visible { outline-offset: 2px; }

body .product-info { padding-top: 15px; }

body .product-info .title { font-size: 16px; font-weight: 600; line-height: 1.45; margin-bottom: 9px; }

body .product-meta { align-items: baseline; gap: 8px; }

body .product-meta strong { font-size: 18px; font-weight: 600; }

body .product-meta > span { font-size: 10px; letter-spacing: .035em; }

body .product-note { font-size: 12px; }

body .product-cart-badge { border-radius: 3px; bottom: 10px; left: 10px; font-size: 11px; max-width: calc(100% - 60px); }

body .product-explore { display: grid; place-items: center; position: absolute; bottom: 25px; right: 10px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--shop-ink); transform: translateY(6px); opacity: 0; transition: opacity .18s, transform .18s; }

body .product-explore .icon { width: 17px; height: 17px; }

body .product-item:hover .product-explore,
body .product-item:focus-within .product-explore { transform: none; opacity: 1; }

body .product-image:focus-visible .product-primary { opacity: 1; }


@media (hover: none) {
body .product-explore { transform: none; opacity: 1; }

 }
body .catalog { padding-top: 30px; }

body .catalog-heading { background: transparent; padding: 0 0 28px; margin-bottom: 24px; border-bottom: 1px solid var(--shop-line); }

body .catalog-title-row h1 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.04em; }

body .catalog-lead { color: var(--shop-muted); }

/* Global - Dlaždica podkategórie: výpis kategórie aj mega menu v hlavičke */
.catalog-category { display: flex; align-items: center; gap: 12px; min-height: 72px; padding: 12px 16px; border: 1px solid var(--shop-line); color: var(--shop-ink); text-decoration: none; font-size: 15px; line-height: 1.4; }
.catalog-category:hover { color: var(--shop-ink); background: var(--shop-paper); border-color: var(--main-color); }
.catalog-category img { width: 38px; height: 38px; object-fit: contain; flex: 0 0 38px; }
.catalog-category > span:first-of-type { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.catalog-category > span:last-child { color: var(--shop-muted); }

body .catalog-category { border-radius: var(--shop-radius); background: var(--shop-paper); border-color: transparent; min-height: 68px; }

body .catalog-category:hover { background: #e9ede5; border-color: transparent; }

body .catalog-with-filters { gap: 36px; }

body .catalog-filter-links a { border-radius: 3px; }

body .catalog-sort a { border-radius: 4px; }

body .catalog-sort a.active { background: var(--shop-paper); color: var(--shop-ink); border-color: var(--shop-line); }

body .catalog-product-grid { gap: 32px 20px; }

body .catalog .product-meta { flex-wrap: wrap; }

body .catalog .catalog-pagination-links > .active { background: var(--shop-ink); border-color: var(--shop-ink); color: #fff; border-radius: 3px; }

body .product-page .product-detail-title { font-size: clamp(28px, 2.7vw, 38px); font-weight: 600; letter-spacing: -.035em; }

body .gallery-main { border: 0; border-radius: var(--shop-radius); background: var(--shop-paper); }

body .gallery-image img { mix-blend-mode: multiply; }

body .gallery-thumbs button { border-radius: 3px; }

body .product-page .config-pill { border-radius: 4px; }

body .product-page .size-option span,
body .product-page .size-options .biggest-size { border-radius: 3px; }

body .product-page .availability-strip { border-radius: 4px; }

body .product-page .quantity-stepper,
body .product-page .detail-add-button { border-radius: 4px; }

body .product-page .detail-add-button { background: var(--shop-ink); border-color: var(--shop-ink); }

body .product-page .detail-add-button:hover:not(:disabled) { background: var(--main-color); border-color: var(--main-color); }

body .product-page .detail-add-button:disabled { background: #e9ece5; border-color: #e9ece5; color: #606a5b; }

body .product-page .product-information-nav a { font-size: 16px; }

body .sticky-buy { display: none; }



@media (max-width: 991px) {
body .catalog-with-filters { gap: 20px; }

body .catalog-filters { border-radius: 4px; }


}
@media (max-width: 639px) {
body .section-heading { gap: 10px; margin-bottom: 18px; }

body .section-actions { gap: 6px; }


body .section-products { padding-block: 28px 32px; }

body .product-primary,
body .product-hover { padding: 0; }

body .product-info .title { font-size: 15px; }

body .product-meta { flex-wrap: wrap; }

body .product-meta strong { font-size: 17px; }

body .catalog-product-grid { gap: 26px 12px; }

body .catalog-heading { padding-bottom: 22px; }

body .catalog { padding-top: 20px; }

body .sticky-buy { display: grid; gap: 8px; position: fixed; bottom: 0; left: 0; right: 0; z-index: 90; padding: 8px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--shop-line); box-shadow: 0 -6px 16px rgb(0 0 0 / 14%); }

body .sticky-buy-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-width: 0; }

body .sticky-buy-price { font-size: 19px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
body .sticky-buy-prices { display: inline-flex; align-items: baseline; gap: 6px; min-width: 0; }
body .sticky-buy-old { color: #8a8f87; font-size: 13px; font-weight: 400; white-space: nowrap; }

body .sticky-buy-choice { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }

body .sticky-buy-swatch { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--conversion-color); }

body .sticky-buy-swatch[hidden], body .sticky-buy-size[hidden] { display: none; }

body .sticky-buy-size { display: inline-block; overflow: hidden; min-width: 28px; height: 28px; padding: 0 6px; border-radius: 6px; background: var(--conversion-color); color: #fff; font-size: 12px; font-weight: 700; line-height: 28px; text-align: center; white-space: nowrap; text-overflow: ellipsis; }

body .sticky-buy-qty { display: inline-grid; grid-template-columns: 28px 22px 28px; align-items: center; flex: none; height: 32px; border: 1px solid var(--shop-line); border-radius: 6px; font-size: 14px; font-weight: 600; text-align: center; }

body .sticky-buy-qty button { display: grid; place-items: center; height: 100%; padding: 0; border: 0; background: none; color: var(--shop-ink); font-size: 16px; line-height: 1; }

body .sticky-buy-submit { min-height: 46px; padding: 10px 12px; border: 1px solid var(--shop-ink); border-radius: 4px; background: var(--shop-ink); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.35; }

body .sticky-buy-submit:disabled { background: #e9ece5; border-color: #e9ece5; color: #606a5b; }

body.sticky-buy-visible { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }

}
body:has(.fancybox__container) .sticky-buy { visibility: hidden; }


@media (prefers-reduced-motion: reduce) {
body .product-explore,
body .product-primary,
body .product-hover { transition: none; }

 }

/* Kategória a tag: nadpis vyššie a veľkými písmenami, tagy sú v DB písané rôzne (poznámka klienta 5. 11. 2026). */
body .catalog-heading.is-taxonomy { margin-top: -22px; }
body .catalog-heading.is-taxonomy .catalog-title-row h1 { text-transform: uppercase; }
