/* === main + navbar + footer (core) === */
/* Globální responzivní nastavení */
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

/* ===== HLAVNÍ KONTEJNER #PAGE - KONZISTENTNÍ ODSAZENÍ ===== */
/* #page obaluje header, main, footer a udává odsazení */
#page {
    padding-left: 3em !important;
    padding-right: 3em !important;
    max-width: 100%;
    box-sizing: border-box;
}

/* Header nemá vlastní horizontální margin (je v #page s paddingem) */
/* Všechny header styly jsou v navbar.css */

/* Main nemá vlastní margin (odsazení je z #page) */
main {
    margin: 0;
    max-width: 100%;
}

/* Footer MUSÍ "vyjít" z #page paddingu (full-width) */
.site-footer {
    margin-left: -3em !important;  /* Neguje #page padding */
    margin-right: -3em !important;
    padding-left: 0;
    padding-right: 0;
    width: calc(100% + 6em);  /* Kompenzuje negovaný margin */
}

.post, .page {
    margin: 0;
}

/* === ELEGANTNÍ ANIMACE === */

/* Fade-in animace při načtení */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Animace pro produktové kartičky */
.woocommerce ul.products li.product,
.wc-block-product,
.wc-block-grid__product {
    animation: fadeIn 0.6s ease-out;
    animation-fill-mode: both;
}

/* Postupné zobrazení produktů */
.woocommerce ul.products li.product:nth-child(1) { animation-delay: 0.1s; }
.woocommerce ul.products li.product:nth-child(2) { animation-delay: 0.2s; }
.woocommerce ul.products li.product:nth-child(3) { animation-delay: 0.3s; }
.woocommerce ul.products li.product:nth-child(4) { animation-delay: 0.4s; }
.woocommerce ul.products li.product:nth-child(5) { animation-delay: 0.5s; }

/* Lazy loading pro obrázky */
.lazy-image {
    opacity: 0;
    transition: opacity 0.6s ease-in-out, transform 0.5s ease;
    transform: scale(0.95);
}

.lazy-image.loaded {
    opacity: 1;
    transform: scale(1);
}

.lazy-image-placeholder {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 14px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Hover efekt na obrázky produktů */
.woocommerce ul.products li.product img {
    transition: transform 0.5s ease, box-shadow 0.3s ease;
}

.woocommerce ul.products li.product:hover img {
    transform: scale(1.05);
}

/* Plynulé přechody pro všechny odkazy */
a {
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Animace pro tlačítka */
button,
.button,
input[type="submit"] {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

button:hover,
.button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px) scale(1.02);
}

button:active,
.button:active,
input[type="submit"]:active {
    transform: translateY(0) scale(0.98);
}

/* Animace pro hlavičku při načtení */
.site-header {
    animation: fadeIn 0.8s ease-out;
}

.header-logo {
    animation: scaleIn 0.6s ease-out;
}

/* Header menu - animace odstraněna, pouze jednotlivé položky se animují */

/* Footer animace */
.site-footer {
    animation: fadeIn 0.6s ease-out;
}

/* Smooth scroll pro celou stránku */
html {
    scroll-behavior: smooth;
}

/* Animace při scroll-in (zobrazení při scrollování) */
@keyframes scrollFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Plynulé přechody pro inputy */
input,
select,
textarea {
    transition: all 0.3s ease;
}

/* Animace pro ikony */
svg {
    transition: all 0.3s ease;
}

/* Pulse animace pro důležité elementy */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hover efekt na sociální ikony */
.social-icons a {
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-icons a:hover {
    animation: pulse 0.6s ease;
}

/* Vlnová floating animace pro sociální ikony v hlavním menu */
.header-social-icons a,
.menu-item-type-social .social-icons a {
    animation: floating 3s ease-in-out infinite;
}

/* Každá ikona s jiným delay - vytvoří vlnový efekt */
.header-social-icons a:nth-child(1),
.menu-item-type-social .social-icons a:nth-child(1) {
    animation-delay: 0s;
}

.header-social-icons a:nth-child(2),
.menu-item-type-social .social-icons a:nth-child(2) {
    animation-delay: 0.2s;
}

.header-social-icons a:nth-child(3),
.menu-item-type-social .social-icons a:nth-child(3) {
    animation-delay: 0.4s;
}

.header-social-icons a:nth-child(4),
.menu-item-type-social .social-icons a:nth-child(4) {
    animation-delay: 0.6s;
}

.header-social-icons a:nth-child(5),
.menu-item-type-social .social-icons a:nth-child(5) {
    animation-delay: 0.8s;
}

/* Glow efekt pro aktivní elementy */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(233, 93, 44, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(233, 93, 44, 0.6);
    }
}

/* Scroll Reveal Animace */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

/* Bounce in efekt pro specifické elementy */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Menu animace - bez ripple efektu */

/* === POKROČILÉ ANIMACE === */

/* Floating animace pro ikony */
@keyframes floating {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Gradient animace pro pozadí */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Wishlist ikony - floating efekt (košík ne) */
.menu-wishlist-link-primary,
.mobile-wishlist-link {
    animation: floating 3s ease-in-out infinite;
}

/* Back to top tlačítko - pulsing */
.back-to-top-button.show {
    animation: fadeIn 0.3s ease, pulse 2s ease-in-out infinite;
}

/* Tabs plynulé zobrazení */
.woocommerce-tabs .panel {
    animation: fadeIn 0.5s ease-out;
}

/* Breadcrumbs fade-in */
.woocommerce-breadcrumb {
    animation: fadeInLeft 0.5s ease-out;
}

/* Sale badge rotace */
.woocommerce span.onsale {
    animation: bounceIn 0.6s ease-out, floating 3s ease-in-out 1s infinite;
}

/* Cena produktu - pulsing highlight */
.woocommerce div.product p.price {
    animation: fadeIn 0.6s ease-out 0.2s;
    animation-fill-mode: both;
}

/* Gallery thumbnails postupné zobrazení */
.woocommerce div.product div.images .flex-control-thumbs li:nth-child(1) { animation: scaleIn 0.3s ease 0.2s both; }
.woocommerce div.product div.images .flex-control-thumbs li:nth-child(2) { animation: scaleIn 0.3s ease 0.3s both; }
.woocommerce div.product div.images .flex-control-thumbs li:nth-child(3) { animation: scaleIn 0.3s ease 0.4s both; }
.woocommerce div.product div.images .flex-control-thumbs li:nth-child(4) { animation: scaleIn 0.3s ease 0.5s both; }

/* Share buttons postupné zobrazení */
.share-button:nth-child(1) { animation: scaleIn 0.3s ease 0.1s both; }
.share-button:nth-child(2) { animation: scaleIn 0.3s ease 0.2s both; }
.share-button:nth-child(3) { animation: scaleIn 0.3s ease 0.3s both; }
.share-button:nth-child(4) { animation: scaleIn 0.3s ease 0.4s both; }
.share-button:nth-child(5) { animation: scaleIn 0.3s ease 0.5s both; }

/* Toast notifikace smooth slide */
.toast {
    animation: slideInRight 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Sticky bar smooth slide up */
.sticky-add-to-cart.show {
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Loading spinner rotation */
.spinner-ring {
    animation: spin 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Modal fade-in with backdrop */
.quick-view-modal.show,
.search-overlay.show {
    animation: backdropFadeIn 0.3s ease;
}

@keyframes backdropFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Content scale and fade */
.quick-view-content,
.search-overlay-content {
    animation: contentPopIn 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes contentPopIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* Shine efekt pro produktové obrázky */
@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.woocommerce ul.products li.product {
    overflow: hidden;
    position: relative;
}

.woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.woocommerce ul.products li.product:hover::before {
    animation: shine 0.8s ease;
    opacity: 1;
}

/* Fade-in delay pro různé elementy */
.product_meta {
    animation: fadeIn 0.6s ease-out 0.3s;
    animation-fill-mode: both;
}

.woocommerce-tabs {
    animation: fadeIn 0.6s ease-out 0.4s;
    animation-fill-mode: both;
}

.related.products,
.upsells.products {
    animation: fadeIn 0.6s ease-out 0.5s;
    animation-fill-mode: both;
}

/* === MICRO-INTERACTIONS === */

/* Elastic bounce pro tlačítka wishlist */
.mark3d-wishlist-button {
    transition: transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.mark3d-wishlist-button:hover {
    transform: scale(1.3) rotate(5deg);
}

.mark3d-wishlist-button:active {
    transform: scale(0.9);
}

/* Form inputs - glow při focus */
input:focus,
select:focus,
textarea:focus {
    animation: inputGlow 0.6s ease;
}

@keyframes inputGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(233, 93, 44, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(233, 93, 44, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(233, 93, 44, 0);
    }
}

/* Navbar items - bounce-in shora při načtení */
.primary-menu li,
.secondary-menu li,
#mobile-menu .primary-menu li,
#mobile-menu .secondary-menu li {
    animation: bounceInDown 0.6s ease-out;
    animation-fill-mode: both;
}

/* Dynamický delay pro všechny položky pomocí calc */
.primary-menu li:nth-child(n) { animation-delay: calc(0.05s * var(--item-index, 1)); }
.secondary-menu li:nth-child(n) { animation-delay: calc(0.05s * var(--item-index, 1)); }

/* Specifické delays pro prvních 20 položek */
.primary-menu li:nth-child(1), #mobile-menu .primary-menu li:nth-child(1) { animation-delay: 0.05s; }
.primary-menu li:nth-child(2), #mobile-menu .primary-menu li:nth-child(2) { animation-delay: 0.1s; }
.primary-menu li:nth-child(3), #mobile-menu .primary-menu li:nth-child(3) { animation-delay: 0.15s; }
.primary-menu li:nth-child(4), #mobile-menu .primary-menu li:nth-child(4) { animation-delay: 0.2s; }
.primary-menu li:nth-child(5), #mobile-menu .primary-menu li:nth-child(5) { animation-delay: 0.25s; }
.primary-menu li:nth-child(6), #mobile-menu .primary-menu li:nth-child(6) { animation-delay: 0.3s; }
.primary-menu li:nth-child(7), #mobile-menu .primary-menu li:nth-child(7) { animation-delay: 0.35s; }
.primary-menu li:nth-child(8), #mobile-menu .primary-menu li:nth-child(8) { animation-delay: 0.4s; }
.primary-menu li:nth-child(9), #mobile-menu .primary-menu li:nth-child(9) { animation-delay: 0.45s; }
.primary-menu li:nth-child(10), #mobile-menu .primary-menu li:nth-child(10) { animation-delay: 0.5s; }

.secondary-menu li:nth-child(1), #mobile-menu .secondary-menu li:nth-child(1) { animation-delay: 0.05s; }
.secondary-menu li:nth-child(2), #mobile-menu .secondary-menu li:nth-child(2) { animation-delay: 0.1s; }
.secondary-menu li:nth-child(3), #mobile-menu .secondary-menu li:nth-child(3) { animation-delay: 0.15s; }
.secondary-menu li:nth-child(4), #mobile-menu .secondary-menu li:nth-child(4) { animation-delay: 0.2s; }
.secondary-menu li:nth-child(5), #mobile-menu .secondary-menu li:nth-child(5) { animation-delay: 0.25s; }
.secondary-menu li:nth-child(6), #mobile-menu .secondary-menu li:nth-child(6) { animation-delay: 0.3s; }
.secondary-menu li:nth-child(7), #mobile-menu .secondary-menu li:nth-child(7) { animation-delay: 0.35s; }
.secondary-menu li:nth-child(8), #mobile-menu .secondary-menu li:nth-child(8) { animation-delay: 0.4s; }

@keyframes bounceInDown {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }
    60% {
        opacity: 1;
        transform: translateY(5px);
    }
    80% {
        transform: translateY(-2px);
    }
    100% {
        transform: translateY(0);
    }
}

/* Rating stars - shimmer effect */
.star-rating {
    position: relative;
    overflow: hidden;
}

.star-rating::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Quantity buttons - tactile feedback */
.wc-block-components-quantity-selector__button,
.quantity .qty {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.wc-block-components-quantity-selector__button:active {
    transform: scale(0.9);
}

/* Enhanced card hover */
.woocommerce ul.products li.product {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform, box-shadow;
}

/* Breadcrumb links ripple */
.woocommerce-breadcrumb a {
    position: relative;
    display: inline-block;
}

/* Product gallery image fade transition */
.woocommerce-product-gallery__image {
    animation: fadeIn 0.5s ease;
}

/* Counter animation for cart/wishlist */
@keyframes counterPop {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.5);
    }
    100% {
        transform: scale(1);
    }
}

.menu-cart-count,
.menu-wishlist-count-primary,
.mobile-wishlist-badge {
    transition: transform 0.3s ease;
}

/* Při updatu košíku - pop animace */
.menu-cart-count.updated,
.menu-wishlist-count-primary.updated {
    animation: counterPop 0.4s ease;
}

/* Page transition overlay */
@keyframes pageTransition {
    0% {
        transform: translateX(-100%);
    }
    50% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Smooth image load */
img {
    opacity: 0;
    animation: imageLoad 0.6s ease forwards;
}

@keyframes imageLoad {
    to {
        opacity: 1;
    }
}

/* Hover elevation for cards */
.woocommerce ul.products li.product,
.wc-block-product {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Focus visible improvements */
*:focus-visible {
    outline: 2px solid;
    outline-color: rgba(233, 93, 44, 0.5);
    outline-offset: 3px;
    animation: focusPulse 1s ease infinite;
}

@keyframes focusPulse {
    0%, 100% {
        outline-color: rgba(233, 93, 44, 0.5);
    }
    50% {
        outline-color: rgba(233, 93, 44, 0.8);
    }
}

/* Odstranění tečkovaného outline při kliknutí */
a:focus,
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Přidání jemného stínu místo outline pro lepší UX */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #e95D2c;
    outline-offset: 2px;
}

/* Tlačítka WooCommerce bez outline */
.woocommerce button:focus,
.woocommerce .button:focus,
.woocommerce input:focus,
.woocommerce select:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(233, 93, 44, 0.3);
}

.border-radius-slider {
    border-radius: 20px;
}

.uvodnibanner {
    height: 400px;
    margin: -1.5em -5em 1.5em -5em !important;
    max-width: 100%;
}

/* Responzivní úpravy */
@media screen and (max-width: 1024px) {
    /* #page odsazení pro tablet */
    #page {
        padding-left: 2em !important;
        padding-right: 2em !important;
    }
    
    /* Footer kompenzace pro tablet */
    .site-footer {
        margin-left: -2em !important;
        margin-right: -2em !important;
        width: calc(100% + 4em);
    }
    
    .uvodnibanner {
        height: 300px;
        margin: -1em -3em 1em -3em !important;
    }
}

@media screen and (max-width: 768px) {
    /* #page odsazení pro mobil */
    #page {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
    
    /* Footer kompenzace pro mobil */
    .site-footer {
        margin-left: -1em !important;
        margin-right: -1em !important;
        width: calc(100% + 2em);
    }
    
    .uvodnibanner {
        height: 250px;
        margin: -0.5em -1em 1em -1em !important;
    }
    
    /* Zmenšení produktových gridů na mobilu */
    .woocommerce div.product {
        padding: 1em !important;
        gap: 1em !important;
    }
}

@media screen and (max-width: 480px) {
    /* #page odsazení pro malé mobily */
    #page {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
    
    /* Footer kompenzace pro malé mobily */
    .site-footer {
        margin-left: -1em !important;
        margin-right: -1em !important;
        width: calc(100% + 2em);
    }
    
    .uvodnibanner {
        height: 200px;
        margin: 0 -0.5em 1em -0.5em !important;
    }
    
    /* Na mobilu zajistit, že nic nepřetéká */
    body {
        overflow-x: hidden;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}
/* Celý header container */
.site-header {
    margin: 1em 0 0 0; /* Jen top margin, zbytek BEZ margin - odsazení je z wrapperu */
    border-radius: 15px; /* Zaoblené rohy */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Jemný stín */
    background-color: #b0cee2; /* Barva pozadí */
    position: relative;
    z-index: 1000; /* Vyšší než submenu */
}

/* Responzivní header */
@media screen and (max-width: 1024px) {
    .site-header {
        margin: 1em 0 0 0; /* Jen top margin - odsazení je z wrapperu */
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        background-color: #b0cee2;
    }
    
    .header-top-bar {
        padding: 15px 20px;
    }
    
    .about-menu-top a {
        font-size: 1rem;
    }
}

@media screen and (max-width: 768px) {
    .site-header {
        margin: 20px 0 0 0; /* Jen top margin - odsazení je z wrapperu */
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        background-color: #b0cee2;
    }
    
    .site-title a {
        font-size: 2.5rem;
    }
    
    .header-top-bar {
        padding: 10px 15px;
    }
    
    .about-menu-top {
        gap: 12px;
    }
    
    .about-menu-top a {
        font-size: 0.95rem;
        padding: 3px 6px;
    }
    
    .header-wishlist-link svg,
    .header-search-button-top svg {
        width: 24px;
        height: 24px;
    }
    
    .header-social-icons svg,
    .secondary-menu-top .social-icons svg,
    .about-menu-top .social-icons svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .header-social-icons a,
    .secondary-menu-top .social-icons a,
    .about-menu-top .social-icons a {
        width: 30px !important;
        height: 30px !important;
    }
}

@media screen and (max-width: 480px) {
    .site-header {
        margin: 10px 0 0 0; /* Jen top margin - odsazení je z wrapperu */
        border-radius: 15px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        background-color: #b0cee2;
    }
    
    .site-title a {
        font-size: 2rem;
    }
    
    .header-menu {
        padding: 10px 15px;
    }
    
    .header-top-bar {
        padding: 8px 12px;
    }
    
    .about-menu-top {
        gap: 8px;
    }
    
    .about-menu-top a {
        font-size: 0.85rem;
        padding: 3px 5px;
    }
    
    .header-wishlist-link svg,
    .header-search-button-top svg {
        width: 22px;
        height: 22px;
    }
    
    .header-social-icons svg,
    .secondary-menu-top .social-icons svg,
    .about-menu-top .social-icons svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .header-social-icons a,
    .secondary-menu-top .social-icons a,
    .about-menu-top .social-icons a {
        width: 28px !important;
        height: 28px !important;
    }
    
    .about-menu-top .menu-cart-icon {
        width: 20px;
        height: 20px;
    }
}

/* Horní lišta: Logo vlevo + Secondary menu vpravo */
.header-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 30px 0px 40px;
    background-color: #b0cee2;
    border-radius: 15px 15px 0 0;
}

/* Logo v horní liště */
.header-top-bar .site-branding {
    display: flex;
    align-items: center;
}

/* Kontejner pro obě menu vpravo */
.header-top-menus {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* About navigation v horní liště */
.about-navigation-top {
    display: flex;
    align-items: center;
}

/* Secondary navigation v horní liště (Sociální sítě) */
.secondary-navigation-top {
    display: flex;
    align-items: center;
}

/* About Menu styly */
.about-menu-top {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
}

.about-menu-top li {
    margin: 0;
}

.about-menu-top a {
    text-decoration: none;
    color: #e95D2c; /* Oranžová barva */
    font-size: 1.1rem;
    font-weight: 600;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.about-menu-top a:hover {
    color: #d04a1f;
    transform: scale(1.15);
}

/* Secondary Menu styly (pro sociální sítě) */
.secondary-menu-top {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.secondary-menu-top li {
    margin: 0;
}

.secondary-menu-top a {
    text-decoration: none;
    color: #e95D2c;
    transition: all 0.3s ease;
}

/* Skrýt košík z horního secondary menu */
.secondary-menu-top .menu-item-type-cart {
    display: none !important;
}

/* Ikona Wishlist v horní liště */
.header-wishlist-icon {
    position: relative;
}

.header-wishlist-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #e95D2c;
    transition: transform 0.3s ease;
    padding: 5px;
}

.header-wishlist-link svg {
    stroke: #e95D2c;
    transition: all 0.3s ease;
}

.header-wishlist-link:hover {
    transform: scale(1.15);
}

.header-wishlist-link:hover svg {
    stroke: #d04a1f;
    fill: rgba(233, 93, 44, 0.1);
}

.header-wishlist-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #e95D2c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

/* Ikona vyhledávání v horní liště */
.header-search-icon-top {
    display: flex;
    align-items: center;
}

.header-search-button-top {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
}

.header-search-button-top svg {
    stroke: #e95D2c;
    transition: all 0.3s ease;
}

.header-search-button-top:hover {
    transform: scale(1.15);
}

.header-search-button-top:hover svg {
    stroke: #d04a1f;
}

h1 {
    margin: 0;
}
.site-title a {
    text-decoration: none;
    font-size: 3.2rem;
    font-weight: bolder;
    color: #b0cee2;
    text-shadow: 
    -5px 5px 0px #292929, /* Levý dolní */
    -5px -5px 0px #292929, /* Levý horní */
    -3px 0px 0px #292929, /* Levý */
    0px 3px 0px #292929, /* Dolní */
    0px -3px 0px #292929; /* Horní */
}

/* Druhý řádek (menu) container - Produktové kategorie vlevo + Akce vpravo */
.header-menu {
    display: flex;
    justify-content: space-between;
    align-items: center !important;
    border-top: 2px solid #ffffff;
    padding: 10px 40px 10px 30px;
    background-color: #e95D2c;
    border-radius: 0px 0px 20px 20px;
    min-height: 50px;
    transition: all 0.3s ease;
}

/* Primary navigation - kategorie vlevo */
.header-menu .primary-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

/* Sticky menu při scrollování */
.header-menu.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    animation: slideDown 0.3s ease;
}

/* Pokud je přihlášen admin, posunout sticky menu pod admin bar */
.admin-bar .header-menu.sticky {
    top: 32px;
}

.admin-bar .mobile-menu-toggle.sticky {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .header-menu.sticky {
        top: 46px;
    }
    
    .admin-bar .mobile-menu-toggle.sticky {
        top: 46px;
    }
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
    }
    to {
        transform: translateY(0);
    }
}

/* ----- Primární menu (vlevo) ------ */
.primary-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.primary-menu li {
    margin-right: 0;
    position: relative;
}

.primary-menu a {
    text-decoration: none;
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: -3px;
    margin-right: 10px;
    padding: 0px 5px;
}

/* Animované podtržení při hover */
.primary-menu li::after {
    content: ""; /* Vytvoří vizuální prvek */
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0; /* Výchozí šířka je 0 */
    height: 2px; /* Tloušťka podtržení */
    background-color: #ffffff; /* Barva podtržení */
    transition: width 0.3s ease-in-out; /* Animace šířky při hoveru */
}

.primary-menu li:hover::after {
    width: 100%; /* Rozšíří podtržení na celou šířku */
}

/* Hover efekt pouze na desktopu */
@media screen and (min-width: 993px) {
    .primary-menu a:hover {
        color: #ffffff;
        text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
    }
}

/* Podkategorie v menu se nezobrazují */
.primary-menu .sub-menu {
    display: none !important;
}

/* Text "Položka/Položky/Položek" vedle košíku */
.menu-cart-text {
    display: inline;
    font-weight: 600;
    margin: 0 0.3rem;
}

/* ==========================================================================
   Košík a Oblíbené v dolním menu (header-actions)
   ========================================================================== */

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Košík ikona v dolním menu */
.header-menu .header-cart-icon {
    display: flex;
    align-items: center;
    position: relative;
}

.header-menu .menu-cart-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    padding: 5px;
}

.header-menu .menu-cart-link:hover {
    color: #ffffff;
    transform: scale(1.15);
}

.header-menu .menu-cart-icon {
    fill: #ffffff;
    width: 28px;
    height: 28px;
}

.header-menu .menu-cart-count {
    position: absolute;
    left: 23px;
    background: #ffffff;
    color: #e95D2c;
    border-radius: 50%;
    padding: 0px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

/* Wishlist ikona v dolním menu - JEN v header-actions vpravo */
.header-menu .header-wishlist-icon {
    position: relative;
}

.header-menu .header-wishlist-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    padding: 5px;
}

.header-menu .header-wishlist-link svg {
    stroke: #ffffff;
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.header-menu .header-wishlist-link:hover {
    transform: scale(1.15);
}

.header-menu .header-wishlist-link:hover svg {
    fill: rgba(255, 255, 255, 0.2);
}

.header-menu .header-wishlist-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: #ffffff;
    color: #e95D2c;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

/* Skrýt wishlist ikony z primárního menu a about menu v horní liště */
.header-menu .primary-menu .menu-item-type-wishlist,
.header-menu .primary-menu a[href*="wishlist"],
.about-menu-top .menu-item-type-wishlist {
    display: none !important;
}

/* ==========================================================================
   Sociální ikony v horní liště
   ========================================================================== */

/* Sociální ikony v horní liště */
.secondary-menu-top .menu-item-type-social,
.about-menu-top .menu-item-type-social {
    list-style: none;
    display: flex !important;
    align-items: center !important;
}

.header-social-icons,
.secondary-menu-top .social-icons,
.about-menu-top .social-icons {
    display: flex !important;
    gap: 10px;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
}

.header-social-icons a,
.secondary-menu-top .social-icons a,
.about-menu-top .social-icons a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 35px !important;
    height: 35px !important;
    background-color: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15) !important;
    transition: all 0.3s ease !important;
}

.header-social-icons a:hover,
.secondary-menu-top .social-icons a:hover,
.about-menu-top .social-icons a:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25) !important;
}

.header-social-icons svg,
.secondary-menu-top .social-icons svg,
.about-menu-top .social-icons svg {
    width: 20px !important;
    height: 20px !important;
    fill: #e95D2c !important; /* Oranžové ikony v bílých kruzích */
    transition: all 0.3s ease !important;
}

.header-social-icons a:hover svg,
.secondary-menu-top .social-icons a:hover svg,
.about-menu-top .social-icons a:hover svg {
    fill: #d04a1f !important; /* Tmavší oranžová při hoveru */
}


/* Dropdown menu pro primární a sekundární menu */
/* Submenu Kontejner - PODKATEGORIE SE NEZOBRAZUJÍ */
.sub-menu {
    display: none !important; /* Podkategorie se nezobrazují v menu */
}

.submenu-container {
    display: none !important; /* Submenu kontejner se nezobrazuje */
}

.submenu-container .sub-menu {
    background-color: #b0cee2;
    padding: 20px;
    padding-top: 22px; /* Kompenzace překryvu */
    border-radius: 0px 0px 15px 15px;
    box-shadow: none; /* Bez vlastního stínu - používá se stín hlavičky */
    list-style: none;
    margin: 0;
    display: flex;
    justify-content: left;
    animation: slideDownFade 0.4s ease-out;
    transform-origin: top;
}

/* Základní pozicování submenu pod header-menu */
.header-container {
    position: relative;
}

/* Animace pro vysouvací submenu */
@keyframes slideDownFade {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Postupné zobrazení položek submenu */
.submenu-container .sub-menu li {
    animation: fadeInItem 0.4s ease-out;
    animation-fill-mode: both;
}

.submenu-container .sub-menu li:nth-child(1) { animation-delay: 0.05s; }
.submenu-container .sub-menu li:nth-child(2) { animation-delay: 0.1s; }
.submenu-container .sub-menu li:nth-child(3) { animation-delay: 0.15s; }
.submenu-container .sub-menu li:nth-child(4) { animation-delay: 0.2s; }
.submenu-container .sub-menu li:nth-child(5) { animation-delay: 0.25s; }

@keyframes fadeInItem {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Když je menu sticky, submenu-container musí být fixed ale se stejnými okraji */
body.header-menu-is-sticky .submenu-container,
.header-menu.sticky ~ .submenu-container {
    position: fixed !important;
    top: 48px !important; /* 50px menu - 2px překryv */
    left: 50px !important;
    right: 50px !important;
    z-index: 998 !important; /* Pod sticky menu (999) */
    margin-top: 0 !important;
}

body.header-menu-is-sticky .submenu-container .sub-menu,
.header-menu.sticky ~ .submenu-container .sub-menu {
    box-shadow: none;
    padding-top: 22px;
}

body.header-menu-is-sticky.admin-bar .submenu-container,
.admin-bar .header-menu.sticky ~ .submenu-container {
    top: 80px !important; /* 82px - 2px překryv */
}

@media screen and (max-width: 1024px) {
    body.header-menu-is-sticky .submenu-container,
    .header-menu.sticky ~ .submenu-container {
        left: 20px !important;
        right: 20px !important;
    }
}

@media screen and (max-width: 782px) {
    body.header-menu-is-sticky.admin-bar .submenu-container,
    .admin-bar .header-menu.sticky ~ .submenu-container {
        top: 94px !important; /* 96px - 2px překryv */
    }
    
    body.header-menu-is-sticky .submenu-container,
    .header-menu.sticky ~ .submenu-container {
        left: 20px !important;
        right: 20px !important;
    }
}

@media screen and (max-width: 480px) {
    body.header-menu-is-sticky .submenu-container,
    .header-menu.sticky ~ .submenu-container,
    .mobile-menu-toggle.sticky ~ .submenu-container {
        left: 10px !important;
        right: 10px !important;
    }
}

.submenu-container .sub-menu li {
    margin: 0 10px;
    position: relative;
}

/* Animované podtržení při hover */
.submenu-container .sub-menu li::after {
    content: ""; /* Vytvoří vizuální prvek */
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0; /* Výchozí šířka je 0 */
    height: 2px; /* Tloušťka podtržení */
    background-color: #ffffff; /* Barva podtržení */
    transition: width 0.3s ease-in-out; /* Animace šířky při hoveru */
}

.submenu-container .sub-menu li:hover::after {
    width: 100%; /* Rozšíří podtržení na celou šířku */
}

.submenu-container .sub-menu a {
    text-decoration: none;
    color: #e95D2c;
    font-size: 1.2rem;
    font-weight: bold;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.submenu-container .sub-menu a:hover {
    color: #ffffff;
    transform: scale(1.1);
    font-size: 1.3rem;
}




/* ----- Dropdown menu pro mobilní zařízení ----- */
@media screen and (max-width: 768px) {
    .primary-menu .sub-menu {
        display: none; /* Skryté ve výchozím stavu */
        position: static; /* Statické umístění */
        width: 100%; /* Roztažení na šířku */
        list-style: none;
        box-shadow: none; /* Bez stínu na mobilu */
        margin: 0;
        padding: 0;
    }

    .primary-menu .menu-item.menu-item-has-children.active > .sub-menu {
        display: block; /* Zobrazené submenu, pokud má rodič aktivní třídu */
        width: 100%;
    }

    .primary-menu li a {
        display: block;
        padding: 10px;
        text-decoration: none;
    }

    .primary-menu li a:active,
    .primary-menu li.active > a {
        color: #ffffff !important;
        text-align: center;
    }

    .sub-menu li a:active,
    .sub-menu li.active > a {
        color: #ffffff !important;
        text-align: center;
    }
}

/* Mobilní menu */
.mobile-menu-toggle {
    display: none; /* Skryté na desktopu */
    justify-content: space-between;
    align-items: center;
    border-top: 2px solid #ffffff;
    background-color: #e95D2c;
    border-radius: 0px 0px 20px 20px;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

/* Sticky mobilní menu při scrollování */
.mobile-menu-toggle.sticky {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Submenu pod sticky mobilním menu */
body.mobile-menu-is-sticky .submenu-container,
.mobile-menu-toggle.sticky ~ .submenu-container {
    position: fixed !important;
    top: 50px !important;
    left: 10px !important;
    right: 10px !important;
    z-index: 998 !important;
}

body.mobile-menu-is-sticky.admin-bar .submenu-container,
.admin-bar .mobile-menu-toggle.sticky ~ .submenu-container {
    top: 96px !important;
}

/* Košík v mobile menu toggle - STEJNÝ STYL JAKO DESKTOP */
.mobile-menu-cart {
    display: flex;
    align-items: center;
    position: relative;
}

/* Skrýt text košíku v mobile menu toggle, zobrazit jen ikonu + číslo */
.mobile-menu-cart .menu-cart-text {
    display: none !important;
}

/* Ikona košíku v mobile menu toggle */
.mobile-menu-cart .menu-cart-icon {
    fill: #ffffff;
    width: 28px;
    height: 28px;
}

/* Počet položek v košíku - stejný styl jako desktop */
.mobile-menu-cart .menu-cart-count {
    position: absolute;
    left: 23px;
    background: #ffffff;
    color: #e95D2c;
    border-radius: 50%;
    padding: 0px 6px;
    font-size: 0.75rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

/* Hover efekt na košík v mobile menu */
.mobile-menu-cart .menu-cart-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 5px;
}

.mobile-menu-cart .menu-cart-link:hover {
    transform: scale(1.15);
}

/* Wishlist v mobile menu toggle - ÚPLNĚ STEJNÝ STYL JAKO DESKTOP */
.mobile-menu-wishlist {
    display: flex;
    align-items: center;
    position: relative;
}

.mobile-wishlist-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    transition: all 0.3s ease;
    padding: 5px;
}

.mobile-wishlist-link svg {
    stroke: #ffffff;
    fill: none;
    width: 28px;
    height: 28px;
    transition: all 0.3s ease;
}

.mobile-wishlist-link:hover {
    transform: scale(1.15);
}

.mobile-wishlist-link:hover svg {
    fill: rgba(255, 255, 255, 0.2);
}

.mobile-wishlist-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ffffff;
    color: #e95D2c;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 0.75rem;
    font-weight: bold;
    min-width: 18px;
    text-align: center;
}

.mobile-menu-toggle button {
    border: none;
    background: #e95d2c;
    padding: 0.3em 0.3em 0.3em;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: flex-start;
}

/* Hamburger čáry */
.hamburger-line {
    display: block;
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Prostřední čára odsazená více vlevo */
.hamburger-line:nth-child(2) {
    width: 24px;
    margin-left: -6px;
}

/* Hamburger menu animace - změna na křížek */
.mobile-menu-toggle button.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translateY(8px) translateX(6px);
    width: 30px;
}

.mobile-menu-toggle button.active .hamburger-line:nth-child(2) {
    opacity: 0;
    margin-left: 0;
}

.mobile-menu-toggle button.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px) translateX(6px);
    width: 30px;
}

button, input[type="button"], input[type="reset"], input[type="submit"] {
    color: #e6e6e6;
}
/* Skrytí menu na mobilu ve výchozím stavu */
#mobile-menu {
    display: none;
    flex-direction: column;
    background-color: #b0cee2;
    padding: 0px 20px;
    border-radius: 0px 0px 20px 20px;
    position: relative;
}

#mobile-menu.active {
    display: flex; /* Zobrazí menu při aktivaci */
}

/* Když je mobile-menu-toggle sticky, #mobile-menu musí být fixed pod ním */
body.mobile-menu-is-sticky #mobile-menu {
    position: fixed;
    top: 48px; /* 50px - 2px překryv */
    left: 0;
    right: 0;
    z-index: 998; /* Pod sticky toggle (999) */
    border-radius: 0;
    max-height: calc(100vh - 50px);
    overflow-y: auto;
    margin: 0 20px;
    border-radius: 0 0 20px 20px;
    padding-top: 22px; /* Kompenzace překryvu */
    box-shadow: none; /* Stín z hlavičky bude vidět */
}

body.mobile-menu-is-sticky.admin-bar #mobile-menu {
    top: 94px; /* 96px - 2px překryv */
    max-height: calc(100vh - 96px);
}

@media screen and (max-width: 480px) {
    body.mobile-menu-is-sticky #mobile-menu {
        margin: 0 10px;
    }
}

/* Styl menu položek */
#mobile-menu nav {
    width: 100%;
}

#mobile-menu a {
    text-decoration: none;
    color: #e95D2c;
    font-size: 1.1rem;
    font-weight: bold;
}

/* Mobilní primární menu - Produktové kategorie ve 2 sloupcích */
.mobile-primary-menu {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    margin: 0;
    padding: 10px 0;
    border-bottom: 2px solid #ffffff;
}

.mobile-primary-menu li {
    margin: 0;
    padding: 0;
}

.mobile-primary-menu a {
    text-decoration: none;
    color: #e95D2c;
    font-size: 1rem;
    font-weight: bold;
    display: block;
    text-align: center;
    background: rgba(233, 93, 44, 0.05);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.mobile-primary-menu a:hover,
.mobile-primary-menu a:active {
    background: rgba(233, 93, 44, 0.1);
    color: #d04a1f;
}

/* Mobilní About menu */
.mobile-about-navigation {
    padding: 15px 0;
    border-bottom: 2px solid #ffffff;
}

.mobile-about-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-direction: column;
    align-items: center;
}

.mobile-about-menu li {
    margin: 0;
    padding: 0;
}

.mobile-about-menu a {
    text-decoration: none;
    color: #e95D2c;
    font-size: 1rem;
    font-weight: 600;
    padding: 6px 20px;
    display: block;
}

/* Mobilní Secondary menu (Sociální sítě + Vyhledávání) */
.mobile-secondary-navigation {
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.mobile-secondary-menu {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.mobile-secondary-menu li {
    margin: 0;
}

/* Ikona vyhledávání v mobilním menu - stejná jako desktop */
.mobile-search-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-button {
    background: none;
    border: none;
    padding: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-search-button svg {
    stroke: #e95D2c;
    transition: all 0.3s ease;
    width: 28px;
    height: 28px;
}

.mobile-search-button:hover {
    transform: scale(1.15);
}

.mobile-search-button:hover svg {
    stroke: #d04a1f;
}

/* Ikony v mobile menu - S bílými kruhy jako jinde */
#mobile-menu .social-icons a {
    background-color: #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2) !important;
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#mobile-menu .social-icons svg {
    width: 20px !important;
    height: 20px !important;
    fill: #e95D2c !important;
}

#mobile-menu a:active,
#mobile-menu .primary-menu a:active,
#mobile-menu .secondary-menu a:active,
#mobile-menu nav a:active {
    color: #ffffff !important;
}


/* Zobrazení hamburgeru na tabletových zařízeních a menších */
@media screen and (max-width: 769px) {
    .mobile-menu-toggle {
        display: flex;
    }

    /* Skrýt horní menu na mobilu, ale logo zůstává */
    .header-top-bar .header-top-menus {
        display: none;
    }
    
    /* Logo zůstává viditelné na mobilu */
    .header-top-bar {
        justify-content: center;
        padding: 5px 15px;
    }

    .header-menu {
        display: none; /* Skryjeme menu na desktopu */
    }

    .primary-menu  {
        list-style: none;
        display: flex;
        margin: 0;
        padding: 0;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

    .primary-menu li {
        margin-right: 0px;
        position: relative;
    }
    
    /* Zakázat animované podtržení na mobilu */
    #mobile-menu .primary-menu li::after,
    #mobile-menu .secondary-menu li::after {
        display: none !important;
    }

    .secondary-menu {
        border-top: 2px solid #ffffff;
        list-style: none;
        display: flex;
        padding-top: 10px;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        /* margin-top: 10px; */
    }

    .secondary-menu li {
        margin-left: 0px;
        position: relative;
    }

    /* Žádné animace v mobile menu */

    /* Text "Položka/Položky/Položek" v mobilním menu */
    .menu-cart-text {
        display: inline;
        margin: 0 5px;
    }

    /* Skrýt košík a vyhledávání z rozbalovacího menu, protože je zobrazený vedle hamburger tlačítka */
    #mobile-menu .menu-item-type-cart,
    #mobile-menu .menu-item-type-search {
        display: none !important;
    }

    /* Sociální ikony v mobilním menu */
    .menu-item-type-social {
        border-left: none;
        padding-left: 0;
        margin-left: 0;
        margin-top: 15px;
        justify-content: center;
    }
}

/* Desktop */
@media screen and (min-width: 770px) {
    .header-menu {
        display: flex;
    }

    #mobile-menu {
        display: none !important;
    }
    
    .mobile-menu-cart {
        display: none !important;
    }
    
    .mobile-menu-wishlist {
        display: none !important;
    }

}

/* ==========================================================================
   Footer Styling
   ========================================================================== */

.site-footer {
    margin-top: 50px;
    margin-left: -3em !important;
    margin-right: -3em !important;
    width: calc(100% + 6em);
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    background-color: #b0cee2; /* Modrá barva jako header */
    overflow: hidden;
}

/* ==========================================================================
   Horní část - Modrý pruh s Footer Menu
   ========================================================================== */

.top-footer {
    background-color: #b0cee2; /* Modrá barva */
    padding: 20px 30px;
    border-bottom: 2px solid #ffffff;
}

.footer-menu {
    display: flex;
    justify-content: center;
}

.footer-navigation {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-navigation li {
    position: relative;
    text-align: center;
}

.footer-navigation a {
    text-decoration: none;
    color: #e95D2c; /* Oranžový text */
    font-size: 1.1rem;
    font-weight: 600;
    padding: 5px 10px;
    transition: all 0.3s ease;
}

.footer-navigation a:hover {
    color: #d04a1f; /* Tmavší oranžová při hoveru */
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Animované podtržení při hover */
.footer-navigation li::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background-color: #e95D2c;
    transition: width 0.3s ease-in-out;
}

.footer-navigation li:hover::after {
    width: 100%;
}

/* ==========================================================================
   Spodní část - Oranžový pruh s ikonami a copyright
   ========================================================================== */

.bottom-footer {
    background-color: #e95D2c; /* Oranžová barva */
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.site-info {
    color: #ffffff;
    font-size: 0.95rem;
}

.site-info p {
    margin: 0;
    font-weight: 500;
}

/* ==========================================================================
   Ikony sociálních sítí
   ========================================================================== */

.social-icons {
    display: flex;
    gap: 15px;
    align-items: center;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #ffffff;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.social-icons a:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    background-color: #ffffff; /* Zachovat bílé pozadí */
}

.social-icons a:hover svg {
    fill: #e95D2c; /* Zachovat oranžovou barvu ikony */
}

.social-icons img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icons svg {
    width: 24px;
    height: 24px;
    fill: #e95D2c; /* Oranžová barva pro ikony ve footeru */
}

/* ==========================================================================
   Responsive - Mobilní zobrazení
   ========================================================================== */

@media screen and (max-width: 768px) {
    .site-footer {
        margin-top: 20px;
        margin-left: -1em !important;
        margin-right: -1em !important;
        width: calc(100% + 2em);
    }

    .top-footer {
        padding: 15px 20px;
    }

    .footer-navigation {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-navigation a {
        font-size: 1rem;
    }

    .bottom-footer {
        flex-direction: column;
        padding: 15px 20px;
        text-align: center;
    }

    .site-info {
        font-size: 0.9rem;
    }

    .social-icons {
        gap: 12px;
    }

    .social-icons a {
        width: 35px;
        height: 35px;
    }

    .social-icons svg {
        width: 18px !important;
        height: 18px !important;
    }
    
    .social-icons img {
        width: 18px;
        height: 18px;
    }
}

@media screen and (max-width: 480px) {
    .site-footer {
        margin-top: 10px;
        margin-left: -1em !important;
        margin-right: -1em !important;
        width: calc(100% + 2em);
    }

    .footer-navigation {
        gap: 10px;
    }

    .footer-navigation a {
        font-size: 0.95rem;
        padding: 3px 8px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        width: 32px;
        height: 32px;
    }

    .social-icons svg {
        width: 16px !important;
        height: 16px !important;
    }
    
    .social-icons img {
        width: 16px;
        height: 16px;
    }
}
