/* BatohyShop.cz – shop-specific layer on top of design.css + shop-theme.css (recoloured copies) + brand.css (design proposal 01) */
:root { --bs-brand: #007778; --bs-brand-dark: #005e62; --bs-ink: #203b3c; --bs-accent: #ee7609; --bs-accent-text: #b85400; --bs-pale: #edf6f3; --bs-line: #cfe3dd; }

/* Badges: in stock = light green, free shipping = light blue (brief 4) */
body.shop-theme .outdoor-badge--stock { background: #dcf2d2 !important; color: #24561a !important; font-weight: 700; }
body.shop-theme .outdoor-badge--shipping { background: #e1eefb !important; color: #1f4e79 !important; font-weight: 700; }
body.shop-theme .outdoor-badge--sale { background: #b85400 !important; color: #fff !important; font-weight: 700; }
/* legacy discount square (cart recommendations) as a compact badge */
body.shop-theme .sleva { position: absolute !important; top: auto !important; bottom: auto !important; left: 10px !important; right: auto !important; width: auto !important; height: auto !important; min-width: 0 !important; padding: 4px 8px !important; margin: 0 !important; font: 700 12px/1.3 Arial, sans-serif !important; background: #b85400 !important; color: #fff !important; z-index: 3; border-radius: 0 !important; }

/* Square UI everywhere (brief: no rounded boxes/buttons) – natural logo/icon curves are untouched */
body.shop-theme .btn, body.shop-theme button, body.shop-theme input, body.shop-theme select, body.shop-theme textarea,
body.shop-theme .bs-button, body.shop-theme .button, body.shop-theme .modal-box, body.shop-theme .cookies, body.shop-theme .cookies-settings-box,
body.shop-theme .cookies-greybtn, body.shop-theme .cookies-settings, body.shop-theme .panel, body.shop-theme .dropdown-menu { border-radius: 0 !important; }

/* Skip link (WCAG 2.4.1) – visible on focus only */
.skip-link { position: absolute; left: 8px; top: -80px; z-index: 10000; background: var(--bs-ink); color: #fff !important; padding: 10px 16px; font: 700 15px/1.2 Arial, sans-serif; text-decoration: none; }
.skip-link:focus { top: 8px; }

/* Visible keyboard focus (WCAG 2.4.7 / 2.4.11) */
body.shop-theme a:focus-visible, body.shop-theme button:focus-visible, body.shop-theme input:focus-visible,
body.shop-theme select:focus-visible, body.shop-theme textarea:focus-visible, body.shop-theme [tabindex]:focus-visible {
  outline: 3px solid var(--bs-ink) !important; outline-offset: 2px !important; box-shadow: 0 0 0 5px #fff !important;
}
body.shop-theme .topline a:focus-visible, body.shop-theme .story a:focus-visible, body.shop-theme .service-1:focus-visible,
body.shop-theme .bs-hero a:focus-visible { outline-color: #fff !important; box-shadow: 0 0 0 5px var(--bs-ink) !important; }

/* Back-to-top button in brand colour, not over footer text on mobile */
#topcontrol { background-color: var(--bs-brand) !important; border-radius: 0 !important; }
@media (max-width: 767px) { #topcontrol { bottom: 84px !important; right: 10px !important; } }

/* Telephone / e-mail: white underline on hover (brief 1) */
body.shop-theme .top-contacts a:hover { color: #fff; text-decoration: underline; text-decoration-color: #fff; text-underline-offset: 3px; }

/* Mobile header: keep the cart visible (design preview hid it) – icon + compact count */
@media (max-width: 700px) {
  body.shop-theme .header-actions .live-cart { display: block !important; }
  body.shop-theme .header-actions .live-cart #pocet { font-size: 11px; line-height: 1.1; max-width: 74px; display: block; }
  body.shop-theme .header-actions { gap: 10px; }
}

/* Tablet: main navigation must not overflow (O nás link went past the viewport at 768 px) */
@media (min-width: 701px) and (max-width: 1100px) {
  body.shop-theme #navigation { flex-wrap: wrap; row-gap: 0; column-gap: 18px; }
  body.shop-theme #navigation .about-nav { margin-left: auto; }
}

/* "Všechny kategorie" nav item: same look as design items, dropdown in 3 columns */
body.shop-theme .bs-nav-all .bs-dropdown { width: 780px; max-width: calc(100vw - 60px); left: -20px; }
body.shop-theme .bs-nav-all .bs-dropdown-cols { columns: 3; column-gap: 32px; }
body.shop-theme .bs-nav-all .bs-dropdown-cols a { margin: 0 0 12px; break-inside: avoid; }
@media (min-width: 701px) and (max-width: 1100px) { body.shop-theme .bs-nav-all .bs-dropdown-cols { columns: 2; } }

/* About page */
body.shop-theme .bs-about-lead { font-size: 19px; line-height: 1.55; max-width: 820px; margin: 8px 0 28px; }
body.shop-theme .bs-about-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 24px; }
body.shop-theme .bs-about-grid section { background: var(--bs-pale); border: 1px solid var(--bs-line); padding: 22px 24px; }
body.shop-theme .bs-about-grid h2 { font-size: 21px; margin: 0 0 12px; color: var(--bs-ink); }
body.shop-theme .bs-about-grid ul { margin: 0; padding-left: 18px; }
body.shop-theme .bs-about-grid li { margin: 6px 0; }
body.shop-theme .bs-about-operator { color: #4d6b68; font-size: 14px; border-top: 1px solid var(--bs-line); padding-top: 14px; }
@media (max-width: 700px) { body.shop-theme .bs-about-grid { grid-template-columns: 1fr; } }

/* Cookie bar: first-layer reject with the same weight as accept */
#cookies-bar .cookies-btns { gap: 8px; flex-wrap: wrap; }
#cookies-bar .cookies-rejectbtn { background: #fff !important; color: var(--bs-ink) !important; border: 1px solid var(--bs-ink) !important; }
@media (max-width: 767px) { #cookies-bar { max-height: 60vh; overflow-y: auto; } }

/* Product description: body text in ink colour (recoloured theme made it teal), links stay brand */
body.shop-theme .tab-content, body.shop-theme .tab-content p, body.shop-theme .tab-content li, body.shop-theme .tab-content span, body.shop-theme .tab-content td { color: var(--bs-ink); }
body.shop-theme .tab-content a { color: var(--bs-brand); text-decoration: underline; }

/* Homepage product cards: copy block exactly as design 01 .bs-product-copy (padding, gap, price at bottom, price 21px) */
body.shop-theme #katalog-home .background { padding: 18px 14px !important; min-height: 122px !important; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
body.shop-theme #katalog-home .background > p { margin: 0 !important; }
body.shop-theme #katalog-home .background .product-item-title { padding: 0 !important; }
body.shop-theme #katalog-home .background .red { display: block; font: 700 21px/1.3 Signika, Arial, sans-serif !important; }
@media (max-width: 700px) {
  body.shop-theme #katalog-home .row { gap: 12px !important; }
  body.shop-theme #katalog-home .product-image { height: 205px !important; padding: 35px 12px 12px !important; }
  body.shop-theme #katalog-home .background { padding: 14px 9px !important; min-height: 125px !important; }
  body.shop-theme #katalog-home .background .product-item-title { font-size: 17px !important; }
  body.shop-theme #katalog-home .background .red { font-size: 19px !important; }
}

/* Mobile catalog/search cards: the #katalog-home height calc(100% - 25px) outranked the mobile 100% rule and clipped prices by 25px */
@media (max-width: 700px) { body.shop-theme #katalog-home .ts-product-grid .around, body.shop-theme .ts-product-grid .around { height: 100% !important; margin-bottom: 0 !important; } }

/* Cart: no off-palette reds – prices in ink, reservation note in accent text colour, icons in brand colours */
body.shop-theme .basketP2, body.shop-theme td[style*="color: red"], body.shop-theme td[style*="color:red"] { color: var(--bs-ink) !important; }
body.shop-theme table strong.red, body.shop-theme table span.red { color: var(--bs-brand) !important; }
body.shop-theme .reservation,body.shop-theme span[style*="color: red"], body.shop-theme span[style*="color:red"] { color: var(--bs-accent-text) !important; }
body.shop-theme .help-order { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='15' fill='%23007778'/%3E%3Cpath d='M12 12.5a4 4 0 1 1 5.6 3.7c-1 .5-1.6 1.3-1.6 2.4V20' fill='none' stroke='%23fff' stroke-width='2.4'/%3E%3Ccircle cx='16' cy='24' r='1.6' fill='%23fff'/%3E%3C/svg%3E") 16px center / 32px 32px no-repeat !important; }
body.shop-theme img[src$="close-btn.png"] { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='1' width='22' height='22' fill='%23fff' stroke='%23203b3c'/%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9' stroke='%23203b3c' stroke-width='1.8'/%3E%3C/svg%3E"); width: 22px; height: 22px; }

body.shop-theme a[href*="do=remove"]:not(.tableBasket__mobile--remove) { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='1' y='1' width='22' height='22' fill='%23fff' stroke='%23203b3c'/%3E%3Cpath d='M7.5 7.5l9 9M16.5 7.5l-9 9' stroke='%23203b3c' stroke-width='1.8'/%3E%3C/svg%3E") center / 20px 20px no-repeat !important; }
/* Help panel: phone number on the same left axis as the heading (hidden legacy icon left a 15px indent) */
body.shop-theme .home-info-yellow--cart .h2 span { margin-left: 0 !important; }

/* Product detail promo (replaces off-palette admin bitmap banner) */
body.shop-theme .bs-detail-promo { display: flex; flex-direction: column; justify-content: center; gap: 10px; min-height: 190px; margin: 40px 0 10px; padding: 30px 40px; background-size: cover; background-position: center 30%; color: #fff !important; text-decoration: none !important; }
body.shop-theme .bs-detail-promo .eyebrow { color: #fff; }
body.shop-theme .bs-detail-promo strong { font: 700 38px/1.1 Signika, Arial, sans-serif; color: #fff; }
body.shop-theme .bs-detail-promo-link { font: 700 15px/1.4 Arial, sans-serif; color: #fff; }
body.shop-theme .bs-detail-promo:hover .bs-detail-promo-link { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 700px) { body.shop-theme .bs-detail-promo { min-height: 150px; padding: 24px 20px; } body.shop-theme .bs-detail-promo strong { font-size: 28px; } }

/* Machin credit – dashed underline (brief 1) */
body.shop-theme .machin-credit { text-decoration: underline dashed; text-underline-offset: 3px; }

/* SEO 6: links inside category copy (2026-11-24) */
body.shop-theme .ts-category-copy__text a{color:#007778;font-weight:700;text-decoration:underline;text-underline-offset:2px}
body.shop-theme .ts-category-copy__text a:hover{color:#005e62}
