/* Footer */
body .main-footer { --shop-ink: #333; --shop-muted: #666; --shop-line: #ededed; background: #fff; color: #333; padding-top: 0; }
body .main-footer :is(a, small) { color: #333; }
body .main-footer .footheading { font-family: var(--app-font); font-size: 17px; font-weight: 700; line-height: 1.4; letter-spacing: normal; color: #333; margin: 0 0 16px; }
body .main-footer :focus-visible { outline-color: var(--main-color); }
body .main-footer > .main-bar { border-bottom: 1px solid var(--shop-line); }
body .main-footer .main-bar .content { padding-block: 38px; }
body .main-footer .main-bar p { margin: 0 0 10px; font-size: 15px; line-height: 1.6; }
body .main-footer .main-bar a { text-decoration: none; }
body .main-footer .main-bar address { display: flex; flex-direction: column; gap: 5px; margin: 0; font-style: normal; font-size: 15px; line-height: 1.6; overflow-wrap: anywhere; }
body .main-footer .main-bar .social-links { margin: 0; gap: 16px; flex-wrap: wrap; }
body .main-footer .main-bar ul { list-style: none; margin: 0; padding: 0; }
body .main-footer .main-bar li { margin: 0 0 14px; padding: 0; break-inside: avoid; }
body .main-footer .main-bar li a { display: inline-flex; align-items: center; gap: 12px; max-width: 100%; padding: 0; color: #666; font-size: 14px; line-height: 1.5; text-decoration: none; overflow-wrap: anywhere; }
body .main-footer .main-bar li a::before { content: ''; flex: 0 0 5px; width: 5px; height: 5px; border-top: 1px solid currentColor; border-right: 1px solid currentColor; transform: rotate(45deg); opacity: .45; }
body .main-footer .main-bar li a:hover { color: var(--main-color); }
body .main-footer .main-bar li a:hover::before { opacity: .9; }
body :is(.main-footer, .checkout-footer) .copyright { background: #f7f7f7; }
body .main-footer .footer-copyright-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 22px; color: #666; font-size: 13px; }
body .main-footer .footer-copyright-inner .footer-credit { color: #666; text-decoration: none; margin-left: auto; }
body .main-footer .footer-credit strong { color: #333; font-weight: 600; }
body .main-footer .footer-language { display: flex; gap: 4px; }
body .main-footer .footer-language a { padding: 3px 8px; border: 1px solid #ddd; border-radius: 4px; color: #666; font-size: 12px; font-weight: 600; text-decoration: none; }
body .main-footer .footer-language a:hover, body .main-footer .footer-language a[aria-current] { border-color: var(--second-color); color: var(--second-color); }
body .checkout-footer { width: 100%; background: #fff; color: #333; padding: 0; display: block; }
body .main-footer .footer-compact-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 24px; padding-block: 22px; }
@media (min-width: 768px) { body .main-footer .main-bar .categories ul { columns: 2; column-gap: 32px; } }
@media (max-width: 767px) {
    body .main-footer .main-bar li a { font-size: 13px; gap: 9px; }
    body .main-footer .footer-copyright-inner { flex-wrap: wrap; font-size: 12px; gap: 12px; }
}

/* Footer - Payment methods */
body .main-footer .payment-methods { display: block; width: 250px; max-width: 100%; height: 40px; object-fit: cover; object-position: center; }
body .main-footer .main-bar p, body .main-footer .main-bar address { overflow-wrap: anywhere; }
@media (max-width: 767px) { body .main-footer .payment-methods { height: 42px; } }

/* Global - Newsletter section */
body .newsletter-bar { --section-padding: 64px; --shop-muted: #ccc; background: #181818; color: #fff; }
body .newsletter-bar .content { max-width: 1000px; margin-inline: auto; text-align: center; }
body .newsletter-bar .heading-box .heading { color: #fff; }
body .newsletter-bar .heading-box .heading-text { color: #ccc; margin-inline: auto; }
body .newsletter-bar form { max-width: 640px; margin-inline: auto; }
body .newsletter-bar .newsletter-input { display: flex; align-items: center; gap: 10px; }
body .newsletter-bar .newsletter-input input { flex: 1; min-width: 0; min-height: 52px; padding: 14px 18px; border: 1px solid #ddd; border-radius: 6px; background: #fff; color: var(--second-color); font-size: 16px; }
body .newsletter-bar .newsletter-input input:focus { outline: 2px solid var(--main-color); outline-offset: 2px; }
body .newsletter-bar .newsletter-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 16px; text-align: left; font-size: 13px; line-height: 1.6; color: #ccc; }
body .newsletter-bar .newsletter-consent input { flex-shrink: 0; width: 16px; height: 16px; margin-top: 3px; accent-color: var(--main-color); }
body .newsletter-bar .newsletter-consent a { color: #fff; }
body .newsletter-bar .field-error { color: #ffb8bc; text-align: left; margin-top: 8px; }
@media (max-width: 575px) {
    body .newsletter-bar { --section-padding: 40px; }
    body .newsletter-bar .newsletter-input { flex-direction: column; }
    body .newsletter-bar .newsletter-input input { width: 100%; }
}

/* Footer - Social icons and copyright spacing */
body .main-footer .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 6px; }
body .main-footer .social-links svg { width: 22px; height: 22px; }
body .main-footer .social-links a:hover { opacity: .75; }
body .main-footer .social-links .facebook { color: #fff; background: #1877F2; }
body .main-footer .social-links .facebook svg { stroke: none; }
body .main-footer .social-links .instagram { color: #fff; background: #E4405F; }
body .main-footer .social-links .instagram svg { stroke: currentColor; stroke-width: 2; }

body .main-footer .main-bar :is(a[href^="tel:"], a[href^="mailto:"]) { color: #111; font-weight: 600; }
body .main-footer .main-bar li:last-child { margin-bottom: 0; }

/* Adresa v pätičke vedie na kontakt (poznámka klienta 4. 11. 2026). */
body .main-footer .main-bar .footer-address-link { display: block; color: inherit; text-decoration: none; }
body .main-footer .main-bar .footer-address-link:hover { color: var(--main-color); }
