/* bunny-footer */
.bunny-footer {
    background-color: #ffffff;
    /* bg-surface */
    color: #1a1a1a;
    /* text-primary */
    padding-top: 5rem;
    /* pt-20 */
    padding-bottom: 2rem;
    /* pb-8 */
    border-top: 1px solid #e5e5e5;
    /* border-surface-dim */
}

.bunny-footer__container {
    max-width: 1440px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}

@media (min-width: 768px) {
    .bunny-footer__container {
        padding-left: 64px;
        padding-right: 64px;
    }
}

.bunny-footer__main {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
    /* mb-16 */
}

@media (min-width: 768px) {
    .bunny-footer__main {
        grid-template-columns: repeat(4, 1fr);
    }

    /* Fix for PrestaShop collapse on desktop */
    .bunny-footer__main .collapse {
        display: block !important;
    }
}

.bunny-footer__title,
.bunny-footer__title a {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    /* text-label-caps */
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* tracking-widest */
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    /* mb-6 */
    font-weight: 600;
    text-decoration: none;
}

/* For mobile collapse titles */
.bunny-footer__title-mobile {
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 0.5rem;
    display: flex;
    justify-content: space-between;
}

.bunny-footer__title-mobile .h3 {
    margin: 0;
    font-size: 0.75rem;
}

.bunny-footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bunny-footer__list-item {
    margin-bottom: 1rem;
    /* space-y-4 */
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    /* text-body-md */
    color: #666666;
    /* text-secondary */
}

.bunny-footer__link {
    color: #666666;
    text-decoration: none;
    transition: color 300ms;
}

.bunny-footer__link:hover {
    color: #1a1a1a;
    text-decoration: none;
}

.bunny-footer__text,
.bunny-footer__address {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: #666666;
    line-height: 1.5;
}

.bunny-footer__bottom {
    border-top: 1px solid #e5e5e5;
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .bunny-footer__bottom {
        flex-direction: row;
        text-align: left;
    }
}

.bunny-footer__copyright {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #666666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.bunny-footer__credits {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #666666;
    letter-spacing: 0.05em;
}

/* Provided CSS for PRO-S link */
.hover-underline {
    font-size: 0.75rem !important;
    color: #1a1a1a !important;
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.hover-underline:hover {
    transform: scale(1.015);
    text-decoration: none;
    color: #1a1a1a;
}

.hover-underline::after,
.hover-underline::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #1a1a1a;
    bottom: -2px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.hover-underline:hover::after,
.hover-underline:hover::before {
    transform: scaleX(1);
}

.alignnone.size-full.wp-image-375 {
    vertical-align: -2px !important;
}

/* Disable prestashop default display footer container wrappers if they break grid */
.bunny-footer__main .container,
.bunny-footer__main .row {
    max-width: 100%;
    margin: 0;
    padding: 0;
    display: contents;
}


/* ==========================================================================
   BUNNY HEADER (STRICT BEM + OVERRIDES)
   ========================================================================== */

/* 1. Reset aggressive core layout styles from theme.css */
#header .header-nav,
#header .header-top {
    float: none !important;
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

#header .logo {
    float: none !important;
}

/* 2. Top Banner */
.bunny-header-banner {
    background-color: #000000;
    color: #ffffff;
    text-align: center;
    padding: 8px 16px;
    display: none;
}

.bunny-header-banner__promo {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
    font-weight: 500;
    text-transform: uppercase;
}

.bunny-header-banner img {
    display: none;
    /* Hide default prestashop banner img if any */
}

/* 3. Main Header Base */
.bunny-header {
    font-family: 'Inter', sans-serif;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid #eeeeee;
    position: sticky;
    top: 0;
    z-index: 50;
    width: 100%;
}

.bunny-header__container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

@media (min-width: 768px) {
    .bunny-header__container {
        padding: 0 64px;
        height: 96px;
    }
}

/* 4. Desktop Layout */
.bunny-header__desktop {
    display: none;
}

@media (min-width: 768px) {
    .bunny-header__desktop {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        position: relative;
    }
}

/* Nav */
.bunny-header__nav-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.bunny-header__nav-list {
    display: flex;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.bunny-header__nav-item {
    position: relative;
}

.bunny-header__nav-link {
    font-size: 13px !important;
    line-height: 1 !important;
    letter-spacing: 0.1em !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    color: #615e56 !important;
    text-decoration: none !important;
    transition: color 300ms, transform 200ms !important;
    display: inline-block !important;
    padding-bottom: 8px !important;
    padding-top: 8px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    position: relative !important;
}

.bunny-header__nav-link:hover,
.bunny-header__nav-link--active {
    color: #000000 !important;
    text-decoration: none !important;
}

.bunny-header__nav-link::after,
.bunny-header__nav-link::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    background: #000000;
    bottom: 0px;
    left: 0;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-out;
}

.bunny-header__nav-link:hover::after,
.bunny-header__nav-link:hover::before {
    transform: scaleX(1);
}

.bunny-header__nav-link--active::after {
    transform: scaleX(1);
}

.bunny-header__nav-link:active {
    transform: scale(0.95);
}

/* Logo */
.bunny-header__logo-wrapper {
    flex-shrink: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bunny-header__h1 {
    margin: 0;
}

.bunny-header__logo-wrapper img {
    max-height: 60px;
    width: auto;
}

/* Right Icons */
.bunny-header__icons-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 1.5rem;
}

/* 5. Mobile Layout */
.bunny-header__mobile {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    height: 64px;
    position: relative;
}

@media (min-width: 768px) {
    .bunny-header__mobile {
        display: none !important;
    }
}

.bunny-header__mobile-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-start;
}

.bunny-header__mobile-logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.bunny-header__mobile-logo img {
    max-height: 40px;
    width: auto;
}

.bunny-header__mobile-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
    justify-content: flex-end;
}

/* 6. Icon Buttons (Search, User, Cart) */
.bunny-header__icon-btn,
.bunny-header__search-toggle,
.bunny-header__mobile-icon {
    color: #000000 !important;
    text-decoration: none !important;
    transition: color 300ms, transform 200ms;
    cursor: pointer;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
}

/* Hide the default prestashop dropdown arrows if it somehow rendered as a select or similar */
.search-widgets select,
.search-widgets input {
    appearance: none !important;
    -webkit-appearance: none !important;
}

#search_widget form {
    margin: 0 !important;
    padding: 0 !important;
}

.bunny-header__icon-btn:hover,
.bunny-header__search-toggle:hover {
    color: #615e56 !important;
}

.bunny-header__icon-btn:active,
.bunny-header__search-toggle:active {
    transform: scale(0.95);
}

.material-symbols-outlined {
    font-size: 24px !important;
}

/* Overrides for PS Core injected containers */
#_desktop_user_info,
#_mobile_user_info,
#_desktop_cart,
#_mobile_cart {
    display: flex;
    align-items: center;
}

/* Ensure search-widgets does not use flex if it breaks layout */
.search-widgets {
    display: block;
}

#search_widget,
.search-widgets {
    flex: none !important;
    width: auto !important;
    min-width: 0 !important;
    float: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Cart Specific */
.bunny-header__cart .blockcart,
#_mobile_cart .blockcart {
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

.bunny-header__cart .blockcart .header,
#_mobile_cart .blockcart .header {
    background: transparent !important;
    padding: 0 !important;
    position: relative;
    display: flex;
    align-items: center;
}

.bunny-header__cart-count {
    position: absolute;
    top: -5px;
    right: -8px;
    font-size: 10px;
    width: 16px;
    height: 16px;
    background-color: #000000;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Hide text in user info and cart */
.bunny-header__user .user-info .hidden-sm-down,
.bunny-header__cart .blockcart .hidden-sm-down,
#_mobile_user_info .user-info .hidden-sm-down,
#_mobile_cart .blockcart .hidden-sm-down,
.bunny-header__cart .blockcart span:not(.material-symbols-outlined):not(.bunny-header__cart-count),
#_mobile_cart .blockcart span:not(.material-symbols-outlined):not(.bunny-header__cart-count) {
    display: none !important;
}

/* User info reset */
.bunny-header__user .user-info,
#_mobile_user_info .user-info {
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    background: transparent !important;
    max-height: 24px;
}

/* 7. Search Dropdown */
.bunny-header__search-dropdown-content {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 300ms ease;
    border-top: 1px solid #eeeeee;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #ffffff;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.bunny-header__search-dropdown-content.active {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    display: block !important;
}

.bunny-header__search-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 32px 16px;
    position: relative;
}

@media (min-width: 768px) {
    .bunny-header__search-container {
        padding: 32px 64px;
    }
}

.bunny-header__search-form {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #000000;
    padding-bottom: 8px;
    position: relative;
}

.bunny-header__search-input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 24px;
    color: #000000;
    padding-right: 48px;
}

.bunny-header__search-input::placeholder {
    color: #858383;
}

.bunny-header__search-btn {
    position: absolute;
    right: 0;
    background: transparent;
    border: none;
    cursor: pointer;
}

.bunny-header__search-close {
    position: absolute;
    top: 16px;
    right: 16px;
    cursor: pointer;
    color: #000000;
}

@media (min-width: 768px) {
    .bunny-header__search-close {
        right: 64px;
    }
}

/* Hide any injected pseudo elements like arrows */
.search-widgets::after,
.search-widgets::before,
#search_widget::after,
#search_widget::before {
    display: none !important;
    content: none !important;
    background-image: none !important;
}

/* Hide any unexpected child elements inside the toggle except the span */
.bunny-header__search-toggle *:not(span.material-symbols-outlined) {
    display: none !important;
}


/* ==========================================================================
   MENU - DESKTOP LAYOUT (Level 2 dropdown, Level 3 flyout right)
   ========================================================================== */
@media (min-width: 768px) {

    /* Show Level 2 on hover of Level 1 */
    .bunny-header__nav-list[data-depth="0"]>.bunny-header__nav-item:hover>.popover.sub-menu {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Level 2 container */
    .popover.sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: #fff;
        border: 1px solid #eeeeee;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        min-width: 240px;
        z-index: 1000;
        padding: 10px 0;
    }

    .popover.sub-menu .bunny-header__nav-list[data-depth="1"] {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    /* Level 2 items */
    .bunny-header__nav-list[data-depth="1"]>.bunny-header__nav-item {
        position: relative;
        width: 100%;
    }

    .bunny-header__nav-list[data-depth="1"]>.bunny-header__nav-item>a {
        padding: 10px 24px !important;
        display: block !important;
        text-transform: none !important;
        font-weight: 500 !important;
        font-size: 14px !important;
        border-bottom: 1px solid transparent;
    }

    .bunny-header__nav-list[data-depth="1"]>.bunny-header__nav-item>a:hover {
        background-color: #f9f9f9;
    }

    /* Show Level 3 on hover of Level 2 */
    .bunny-header__nav-list[data-depth="1"]>.bunny-header__nav-item:hover>.collapse {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Level 3 container (flyout to the right) */
    .bunny-header__nav-list[data-depth="1"]>.bunny-header__nav-item>.collapse {
        position: absolute;
        top: -10px;
        left: 100%;
        background: #fff;
        border: 1px solid #eeeeee;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        min-width: 240px;
        z-index: 1000;
        padding: 10px 0;
        margin-left: -1px;
    }

    .bunny-header__nav-list[data-depth="2"] {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .bunny-header__nav-list[data-depth="2"]>.bunny-header__nav-item>a {
        padding: 10px 24px !important;
        display: block !important;
        text-transform: none !important;
        font-weight: 400 !important;
        font-size: 13px !important;
    }

    .bunny-header__nav-list[data-depth="2"]>.bunny-header__nav-item>a:hover {
        background-color: #f9f9f9;
        color: #000 !important;
    }

    /* Hide native plus/minus icons on desktop */
    .bunny-header__nav-item .navbar-toggler {
        display: none !important;
    }
}

/* ==========================================================================
   MENU - MOBILE LAYOUT (Left Drawer, 80% width, accordion)
   ========================================================================== */
@media (max-width: 767px) {

    /* Mobile menu wrapper (drawer) */
    #mobile_top_menu_wrapper {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 80% !important;
        height: 100vh !important;
        background: #ffffff !important;
        z-index: 9999 !important;
        overflow-y: auto !important;
        box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1) !important;
        padding: 24px 16px !important;
        /* Use keyframe animation so it slides in when display becomes block */
        animation: slideInLeft 0.3s forwards;
    }

    @keyframes slideInLeft {
        from {
            transform: translateX(-100%);
        }

        to {
            transform: translateX(0);
        }
    }

    /* Reset flex layouts for mobile lists */
    #mobile_top_menu_wrapper .bunny-header__nav-list {
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-left: 16px;
        list-style: none;
    }

    /* Top-level list gets gap between items */
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="0"] {
        gap: 0;
    }

    #mobile_top_menu_wrapper .bunny-header__nav-item {
        position: relative;
        width: 100%;
    }

    /* Kill ALL horizontal borders from any source (theme.css, bootstrap, etc.) */
    #mobile_top_menu_wrapper li,
    #mobile_top_menu_wrapper a,
    #mobile_top_menu_wrapper .dropdown-item,
    #mobile_top_menu_wrapper .bunny-header__nav-link,
    #mobile_top_menu_wrapper .bunny-header__nav-item>a,
    #mobile_top_menu_wrapper .top-menu>li,
    #mobile_top_menu_wrapper .top-menu>li>a {
        border-bottom: none !important;
        border-top: none !important;
    }

    /* Kill animated underline pseudo-elements on mobile */
    #mobile_top_menu_wrapper .bunny-header__nav-link::before,
    #mobile_top_menu_wrapper .bunny-header__nav-link::after {
        display: none !important;
        content: none !important;
    }

    /* Level 1 links — padding-right so text doesn't overlap chevron */
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="0"]>.bunny-header__nav-item>a {
        font-size: 14px !important;
        text-transform: uppercase !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        display: block;
        padding: 14px 40px 14px 0;
        border-bottom: none;
        position: relative;
    }

    /* Level 2 list — vertical border */
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="1"] {
        padding-left: 16px;
        padding-top: 8px;
        border-left: 2px solid #e8e8e8;
        margin-left: 8px;
        margin-top: 4px;
        margin-bottom: 8px;
    }

    /* Level 2 links — no border-bottom */
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="1"]>.bunny-header__nav-item>a {
        font-size: 13px !important;
        text-transform: none !important;
        font-weight: 500 !important;
        color: #4a4a4a !important;
        padding: 10px 40px 10px 0;
        display: block;
    }

    /* Level 3+ list — also with vertical border */
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="2"],
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="3"] {
        padding-left: 16px;
        padding-top: 4px;
        border-left: 2px solid #e8e8e8;
        margin-left: 8px;
        margin-top: 4px;
    }

    /* Level 3+ links — no border-bottom */
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="2"]>.bunny-header__nav-item>a,
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="3"]>.bunny-header__nav-item>a {
        font-size: 13px !important;
        font-weight: 400 !important;
        color: #615e56 !important;
        padding: 8px 40px 8px 0;
        display: block;
    }

    /* "Kontakt z nami" — styled like top-level category */
    #mobile_top_menu_wrapper .js-top-menu-bottom {
        margin-top: 16px;
        padding-top: 14px;
        border-top: 1px solid #e8e8e8;
    }

    #mobile_top_menu_wrapper .js-top-menu-bottom #contact-link,
    #mobile_top_menu_wrapper .js-top-menu-bottom #contact-link a {
        font-size: 14px !important;
        text-transform: uppercase !important;
        font-weight: 600 !important;
        color: #1a1a1a !important;
        text-decoration: none !important;
        letter-spacing: 0.02em;
    }

    /* Collapse / Accordion toggles — NO grey background */
    #mobile_top_menu_wrapper .navbar-toggler {
        position: absolute;
        right: 0;
        top: 5px;
        width: 32px;
        height: 32px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        background: transparent;
        border: none;
        border-radius: 0;
        z-index: 2;
    }

    /* Icons for expand/collapse */
    #mobile_top_menu_wrapper .collapse-icons {
        color: #1a1a1a;
    }

    /* Sub-menu animation */
    #mobile_top_menu_wrapper .collapse {
        display: none;
    }

    #mobile_top_menu_wrapper .collapse.in {
        display: block !important;
        animation: fadeInDown 0.3s forwards;
    }

    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-5px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Close button for mobile menu */
    .bunny-header__mobile-close {
        display: flex;
        justify-content: flex-end;
        padding-bottom: 16px;
        cursor: pointer;
    }

    .bunny-header__mobile-close .material-symbols-outlined {
        font-size: 24px;
        color: #1a1a1a;
    }

    /* Mobile search bar */
    #mobile_search_bar .bunny-header__search-toggle {
        display: none !important;
    }

    #mobile_search_bar .bunny-header__search-dropdown-content {
        position: relative !important;
        visibility: visible !important;
        opacity: 1 !important;
        transform: none !important;
        box-shadow: none !important;
        border: none !important;
    }

    #mobile_search_bar .bunny-header__search-close {
        display: none !important;
    }

    #mobile_search_bar .bunny-header__search-container {
        padding: 0 !important;
    }

    #mobile_search_bar .bunny-header__search-input {
        font-size: 1rem !important;
    }
}

/* ==========================================================================
   MENU FIXES
   ========================================================================== */

@media (min-width: 768px) {

    /* Force PrestaShop's core display:inherit to none for Level 3+ until hovered */
    .bunny-header__nav-list[data-depth="1"]>.bunny-header__nav-item>.collapse {
        display: none !important;
    }

    .bunny-header__nav-list[data-depth="1"]>.bunny-header__nav-item:hover>.collapse {
        display: block !important;
    }
}

@media (max-width: 767px) {

    /* Override aggressive core theme paddings for sub-menus on mobile */
    #mobile_top_menu_wrapper .top-menu .sub-menu ul,
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="1"],
    #mobile_top_menu_wrapper .bunny-header__nav-list[data-depth="2"] {
        padding-left: 16px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
        padding-right: 0 !important;
    }
}


/* ==========================================================================
   MENU - RECURSIVE DESKTOP LAYOUT FIX
   ========================================================================== */
@media (min-width: 768px) {

    /* Reset all core display:inherit for sub-menus deeper than level 1 */
    .bunny-header__nav-list .bunny-header__nav-item .collapse {
        display: none !important;
    }

    /* Show immediate child .collapse on hover */
    .bunny-header__nav-list .bunny-header__nav-item:hover>.collapse {
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    /* Sub-menu styling for depth >= 1 (flyouts to the right) */
    .bunny-header__nav-list:not([data-depth="0"])>.bunny-header__nav-item>.collapse {
        position: absolute;
        top: -10px;
        left: 100%;
        background: #fff;
        border: 1px solid #eeeeee;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
        min-width: 240px;
        z-index: 1000;
        padding: 10px 0;
        margin-left: -1px;
    }

    /* Reset link layout for all sub-depths */
    .bunny-header__nav-list:not([data-depth="0"])>.bunny-header__nav-item>a {
        padding: 10px 24px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-transform: none !important;
        font-weight: 400 !important;
        font-size: 13px !important;
        border: none !important;
    }

    .bunny-header__nav-list:not([data-depth="0"])>.bunny-header__nav-item>a:hover {
        background-color: #f9f9f9;
        color: #000 !important;
    }

    /* Force vertical list for all depths >= 1 */
    .bunny-header__nav-list:not([data-depth="0"]) {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Ensure the ul itself behaves properly */
    .bunny-header__nav-list:not([data-depth="0"])>.bunny-header__nav-item {
        width: 100%;
        position: relative;
        float: none !important;
        display: block !important;
    }

    /* Specifically style Level 2 to be slightly bolder (optional, based on design) */
    .bunny-header__nav-list[data-depth="1"]>.bunny-header__nav-item>a {
        font-weight: 500 !important;
        font-size: 14px !important;
    }
}

/* ==========================================================================
   HOVER GAP FIXES (Invisible bridges)
   ========================================================================== */
@media (min-width: 768px) {

    /* Level 2 Popover */
    .popover.sub-menu {
        margin-top: 0 !important;
        /* Remove any core margin causing a gap */
    }

    /* Create an invisible bridge between Level 1 item and Level 2 popover */
    .popover.sub-menu::before {
        content: "";
        position: absolute;
        top: -20px;
        /* Cover area above */
        left: 0;
        width: 100%;
        height: 20px;
        background: transparent;
    }

    /* Create an invisible bridge between Level 2 item and Level 3 flyout */
    .bunny-header__nav-list:not([data-depth="0"])>.bunny-header__nav-item>.collapse::before {
        content: "";
        position: absolute;
        top: 0;
        left: -20px;
        /* Cover area to the left */
        width: 20px;
        height: 100%;
        background: transparent;
    }

    /* Add diagonal hover safety for flyouts */
    .bunny-header__nav-list:not([data-depth="0"])>.bunny-header__nav-item>.collapse::after {
        content: "";
        position: absolute;
        top: -20px;
        left: -20px;
        width: 20px;
        height: 20px;
        background: transparent;
    }
}

/* ==========================================================================
   MENU OVERRIDES (Theme core overrides)
   ========================================================================== */
@media (min-width: 768px) {

    /* Override aggressive float and margins from theme.css */
    .top-menu .sub-menu ul[data-depth="1"]>li,
    .top-menu .sub-menu ul[data-depth="2"]>li {
        float: none !important;
        margin: 0 !important;
    }
}

/* ==========================================================================
   MOBILE MENU CLOSE ICON
   ========================================================================== */
@media (max-width: 767px) {
    .bunny-header__mobile-close {
        text-align: right;
        padding-bottom: 20px;
        cursor: pointer;
        display: flex;
        justify-content: flex-end;
    }

    .bunny-header__mobile-close .material-symbols-outlined {
        font-size: 28px !important;
        color: #000;
    }
}

/* ==========================================================================
   WRAPPER GAP FIX
   ========================================================================== */
body#index #wrapper {
    padding-top: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body#product #wrapper .container {
    max-width: 1440px !important;
    width: 100% !important;
}

/* ==========================================================================
   BUNNY PRODUCT (BEM + TAILWIND DESIGN)
   ========================================================================== */

/* 0. Breadcrumb */
.breadcrumb {
    margin-bottom: 48px !important;
    background: transparent !important;
    padding: 0 !important;
}

.breadcrumb ol {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.1em;
    color: #444748;
    text-transform: uppercase;
    margin: 0;
    padding: 0;
}

.breadcrumb li {
    display: inline;
}

.breadcrumb li a {
    color: #444748;
    transition: color 0.3s;
}

.breadcrumb li a:hover {
    color: #000000;
}

.breadcrumb li:last-child {
    color: #000000 !important;
    font-weight: 700;
}

.breadcrumb li::after {
    content: "/";
    margin-left: 8px;
}

.breadcrumb li:last-child::after {
    display: none;
}

/* 1. Layout */
.bunny-product__layout {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin: 0;
}

@media (min-width: 768px) {
    .bunny-product__layout {
        flex-direction: row;
    }

    .bunny-product__left-col {
        width: 60% !important;
        max-width: 60% !important;
        flex: 0 0 60% !important;
        padding: 0 !important;
        padding-right: 50px !important;
    }

    .bunny-product__right-col {
        width: 40% !important;
        max-width: 40% !important;
        flex: 0 0 40% !important;
        padding: 0 !important;
        padding-left: 160px !important;
    }
}

.bunny-product__sidebar {
    display: flex;
    flex-direction: column;
}

.bunny-product__sidebar>div,
.bunny-product__sidebar .product-information,
.bunny-product__sidebar .product-actions form {
    margin: 0;
}

/*@media (min-width: 768px) {*/
/*    .bunny-product__sidebar {*/
/*        position: sticky;*/
/*        top: 128px;*/
/*    }*/
/*}*/

@media (min-width: 768px) {
    .bunny-product__layout {
        align-items: flex-start;
    }

    .bunny-product__right-col {
        align-self: flex-start;
        position: sticky;
        top: 72px;
        height: fit-content;
    }
}

#product .product-actions .control-label {
    display: none !important;
}

#product body {
    overflow-x: hidden;
}

/* 2. Header & Prices */
.bunny-product__title {
    font-family: 'Inter', sans-serif;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 16px !important;
    margin-top: 0;
    text-transform: none !important;
}

@media (max-width: 767px) {
    .bunny-product__title {
        font-size: 24px;
        line-height: 1.3;
    }
}

.bunny-product__prices {
    margin-bottom: 40px !important;
}

.bunny-product__current-price-wrap {
    display: flex;
    flex-direction: column;
}

.bunny-product__current-price-wrap .discount {
    display: inline-flex !important;
    align-self: flex-start;
    align-items: center;
    justify-content: center;
    width: auto !important;
    padding: 0.25rem 0.75rem !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.65rem !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background-color: transparent !important;
    color: #111111 !important;
    border: 1px solid #111111 !important;
    margin-top: 0.5rem;
    line-height: 1.2;
}

.bunny-product__current-price {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #111111;
}

.bunny-product__delivery-badge {
    display: none !important;
}

.bunny-product__delivery-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #444748;
    margin-top: 4px;
}

.bunny-product__delivery-badge {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bunny-product__delivery-dot {
    width: 6px;
    height: 6px;
    background-color: #16a34a;
    border-radius: 50%;
    display: inline-block;
}

/* 3. Variants (Color & Size) */
.bunny-product__variants {
    display: flex !important;
    flex-direction: column !important;
    margin-bottom: 40px !important;
}

.bunny-product__variant-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 16px !important;
}

.bunny-product__variant-group:last-child {
    margin-bottom: 0 !important;
}

.bunny-product__variant-group--color {
    order: 1 !important;
}

.bunny-product__variant-group--select,
.bunny-product__variant-group--radio {
    order: 2 !important;
}

.bunny-product__variant-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 8px !important;
}

.bunny-product__variant-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    letter-spacing: 0.15em;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
}

.bunny-product__size-guide-btn {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: opacity 0.3s;
    white-space: nowrap !important;
}

.bunny-product__size-guide-btn:hover {
    opacity: 0.6;
}

.bunny-product__color-list {
    display: flex !important;
    gap: 12px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.bunny-product__color-item {
    margin: 0 !important;
}

.bunny-product__color-item label {
    display: block !important;
    margin: 0 !important;
    cursor: pointer !important;
}

.bunny-product__color-item .input-color {
    display: none !important;
}

.bunny-product__color-item .color {
    display: block !important;
    width: 32px !important;
    height: 32px !important;
    border: 1px solid #c4c7c7 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    transition: all 0.3s !important;
}

.bunny-product__color-item label:has(input[type="radio"]:checked) .color {
    box-shadow: 0 0 0 2px #ffffff, 0 0 0 3px #1a1c1c !important;
    border: 1px solid #111111 !important;
}

.bunny-product__radio-list {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.bunny-product__radio-item {
    margin: 0 !important;
}

.bunny-product__radio-item label .radio-label,
.bunny-product__radio-item label:hover .radio-label,
.bunny-product__radio-item input[type="radio"]:checked+.radio-label,
.bunny-product__radio-item input[type="radio"]:checked+.custom-radio+.radio-label {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    width: auto !important;
    height: auto !important;
    display: inline !important;
    position: static !important;
}

.bunny-product__radio-item label {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 0 !important;
    border: 1px solid #c4c7c7 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.15em !important;
    color: #111111 !important;
    background: transparent !important;
    cursor: pointer;
    transition: background-color 0.3s;
}

.bunny-product__radio-item label:hover {
    background-color: #F7F7F7 !important;
}

.bunny-product__radio-item input[type="radio"],
.bunny-product__radio-item .custom-radio,
.bunny-product__radio-item input[type="radio"]+span::before,
.bunny-product__radio-item input[type="radio"]+span::after,
.bunny-product__radio-item label::before,
.bunny-product__radio-item label::after,
.bunny-product__radio-item .radio-label::before,
.bunny-product__radio-item .radio-label::after {
    display: none !important;
    content: none !important;
}

.bunny-product__radio-item label:has(input[type="radio"]:checked) {
    border: 1px solid #111111 !important;
    background-color: #111111 !important;
    color: #ffffff !important;
}

.bunny-product__radio-item label:has(input[type="radio"]:checked) .radio-label {
    color: #ffffff !important;
}

.bunny-product__size-select {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    padding: 12px;
    border: 1px solid #c4c7c7;
    border-radius: 0;
    width: 100%;
}

/* 4. Add to cart */
.bunny-product__add-to-cart {
    margin-top: 0 !important;
    margin-bottom: 40px !important;
}

.bunny-product__add-to-cart-wrap {
    width: 100%;
}

.bunny-product__add-to-cart-btn {
    width: 100%;
    padding: 20px !important;
    background-color: transparent !important;
    color: #111111 !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 12px !important;
    letter-spacing: 0.2em !important;
    text-transform: uppercase !important;
    border: 1px solid #c4c7c7 !important;
    border-radius: 0 !important;
    transition: background-color 0.3s !important;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    box-shadow: none !important;
}

.bunny-product__add-to-cart-btn i {
    display: none !important;
}

.bunny-product__add-to-cart-btn:hover {
    background-color: #111111 !important;
    color: #ffffff !important;
    border: 1px solid #111111 !important;
}

/* 5. Accordions & Tabs Override */
/* 5. Accordions & Tabs Override */
.bunny-product .tabs {
    display: none !important;
}

.bunny-product .tax-shipping-delivery-label,
.bunny-product .product-quantity .qty,
.bunny-product .product-quantity .control-label,
.bunny-product .product-additional-info,
.bunny-product .product-information .product-quantities {
    display: none !important;
}

.product-flags {
    display: none !important;
}

/* Ukrycie modułów recenzji i zbednych elementow */
#product-comments-list-header,
.product-comments-additional-info,
#product_comments_block_extra,
.comments-advices,
.product-comments,
.product-comments-list,
#product_comments_block_tab {
    display: none !important;
}

.bunny-product .product-quantity {
    display: block !important;
}

.bunny-product__images-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bunny-product__images-list picture {
    display: block;
    width: 100%;
    /*    aspect-ratio: 3/4;*/
    background-color: #eeeeee;
    overflow: hidden;
    cursor: zoom-in;
}

.bunny-product__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s;
}

.bunny-product__image:hover {
    transform: scale(1.05);
}

.bunny-product__accordions {
    padding-top: 40px;
    border-top: 1px solid rgba(196, 199, 199, 0.3);
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 40px;
}

.bunny-product__description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    color: #444748;
    line-height: 1.6;
}

.bunny-product__accordion-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bunny-product__accordion-item {
    cursor: pointer;
}

.bunny-product__accordion-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(196, 199, 199, 0.2);
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    list-style: none;
    font-weight: 600;
}

.bunny-product__accordion-summary::-webkit-details-marker {
    display: none;
}

.bunny-product__accordion-icon {
    font-size: 14px;
    transition: transform 0.3s;
}

.bunny-product__accordion-item[open] .bunny-product__accordion-icon {
    transform: rotate(180deg);
}

.bunny-product__accordion-content {
    padding: 16px 0;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #444748;
    line-height: 1.6;
}

/* 6. Modal Size Guide */
.bunny-product__size-guide-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background-color: rgba(17, 17, 17, 0.4);
    backdrop-filter: blur(4px);
    opacity: 0;
    transition: opacity 0.3s;
}

.bunny-product__size-guide-modal.hidden {
    display: none;
}

.bunny-product__size-guide-modal.is-open {
    opacity: 1;
}

.bunny-product__size-guide-content {
    background-color: #ffffff;
    width: 100%;
    max-width: 672px;
    padding: 40px;
    position: relative;
    transform: scale(0.95);
    transition: transform 0.3s;
}

.bunny-product__size-guide-modal.is-open .bunny-product__size-guide-content {
    transform: scale(1);
}

.bunny-product__size-guide-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s;
}

.bunny-product__size-guide-close:hover {
    opacity: 0.5;
}

.bunny-product__size-guide-title {
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bunny-product__size-guide-table-wrap {
    overflow-x: auto;
}

.bunny-product__size-guide-table {
    width: 100%;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    border-collapse: collapse;
}

.bunny-product__size-guide-table thead tr {
    border-bottom: 1px solid #c4c7c7;
}

.bunny-product__size-guide-table th {
    padding: 16px 0;
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #444748;
    font-weight: 600;
}

.bunny-product__size-guide-table td {
    padding: 16px 0;
    border-bottom: 1px solid rgba(196, 199, 199, 0.2);
}

.bunny-product__size-guide-note {
    margin-top: 32px;
    font-size: 12px;
    color: #444748;
    font-style: italic;
}

#product #content {
    position: relative;
    max-width: 100%;
    margin: 0;
}

/* ==========================================================================
   CATEGORY PAGE STYLES
   ========================================================================== */
.category-page {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.category-page__header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.category-page__title {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: #000000;
    margin-bottom: 1rem;
    text-transform: uppercase;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .category-page__title {
        font-size: 64px;
        letter-spacing: -0.02em;
        line-height: 1.1;
    }
}

.category-page__count {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: #615e56;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    line-height: 1.2;
}

.category-page__desc {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    color: #444748;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

/* TOOLBAR (FILTERS & SORTING) */
.category-page__toolbar-container {
    border-top: 1px solid #E5E5E5;
    border-bottom: 1px solid #E5E5E5;
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
}

.category-page__toolbar {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .category-page__toolbar {
        flex-direction: row;
    }
}

.category-page__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.category-page__facets {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    width: 100%;
    align-items: center;
}

.category-page__filter-container,
.category-page__sort-container {
    position: relative;
}

.category-page__filter-btn,
.category-page__sort-btn {
    background: none;
    border: none;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #111111;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    cursor: pointer;
    padding: 0;
    outline: none;
}

.category-page__filter-btn:hover,
.category-page__sort-btn:hover {
    color: #666666;
}

.category-page__filter-btn .material-icons,
.category-page__sort-btn .material-icons {
    font-size: 16px;
}

.category-page__filter-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 1rem;
    background: #ffffff;
    border: 1px solid #E5E5E5;
    padding: 1rem;
    z-index: 20;
    min-width: 200px;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    .bunny-product__images-list picture
}

.category-page__sort-dropdown {
    left: auto;
    right: 0;
}

.category-page__filter-dropdown.hidden {
    display: none;
}

.category-page__filter-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-page__filter-dropdown label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 11px;
    cursor: pointer;
    margin: 0;
    text-transform: uppercase;
    font-weight: 400;
}

.category-page__filter-dropdown input[type='checkbox'],
.category-page__filter-dropdown input[type='radio'] {
    border: 1px solid #111111;
    color: #111111;
    border-radius: 0;
    width: 1rem;
    height: 1rem;
    margin: 0;
    outline: none;
}

.category-page__filter-dropdown a.search-link {
    color: #111111;
    text-decoration: none;
}

.category-page__filter-dropdown a.search-link:hover {
    color: #666666;
}

.category-page__sort-link {
    display: block;
    padding: 0.25rem 0;
    font-size: 11px;
    text-transform: uppercase;
    color: #111111;
    text-decoration: none;
}

.category-page__sort-link:hover {
    color: #666666;
}

.category-page__sort-link.current {
    font-weight: bold;
}

.category-page__clear-all {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: #666666;
    background: none;
    border: none;
    text-transform: uppercase;
    padding: 0;
    cursor: pointer;
}

.category-page__clear-all:hover {
    color: #111111;
}

/* ACTIVE FILTERS */
.category-page__active-filters {
    margin-bottom: 2rem;
}

.category-page__active-filters ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-page__active-filters .filter-block {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    background: #f5f5f5;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.category-page__active-filters .close {
    color: #111111;
    text-decoration: none;
    font-size: 1rem;
    line-height: 1;
}

/* PRODUCT GRID */
#products .products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem !important;
    row-gap: 3rem !important;
}

@media (min-width: 992px) {
    #products .products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

#products .products>div.product {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: none !important;
}

/* PRODUCT TILE */
.product-tile {
    text-align: center;
}

.product-tile__link {
    display: block;
    text-decoration: none !important;
}

.product-tile__image-wrapper {
    position: relative;
    aspect-ratio: 3 / 4;
    background-color: #f5f5f5;
    overflow: hidden;
    margin-bottom: 1rem;
    width: 100%;
}

.product-tile__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.product-tile__image--hover {
    opacity: 0;
}

.product-tile__link:hover .product-tile__image--default {
    opacity: 0;
}

.product-tile__link:hover .product-tile__image--hover {
    opacity: 1;
}

.product-tile__title {
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #111111;
    text-transform: uppercase;
    margin-bottom: 0.25rem;
    font-family: 'Inter', sans-serif;
}

.product-tile__price-wrapper {
    font-size: 0.875rem;
    color: #666666;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.product-tile__price--old {
    text-decoration: line-through;
}

.product-tile__price--discount {
    color: #cc0000;
}

.product-miniature {
    margin-bottom: 0;
}

/* Custom Facets Styles for Rozmiar and Kolor */
.category-page__size-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
    padding: 10px 0;
}

.category-page__size-grid .size-btn {
    width: 2rem;
    height: 2rem;
    border: 1px solid #e5e5e5;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #111;
    text-decoration: none;
    transition: border-color 0.2s;
}

.category-page__size-grid .size-btn:hover,
.category-page__size-grid .size-btn.active {
    border-color: #111;
}

.category-page__color-flex {
    display: flex;
    gap: 0.75rem;
    padding: 10px 0;
}

.category-page__color-flex .color-btn {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    border: 1px solid #e5e5e5;
    transition: border-color 0.2s;
    padding: 2px;
}

.category-page__color-flex .color-btn span {
    display: block;
    width: 100%;
    height: 100%;
}

.category-page__color-flex .color-btn:hover,
.category-page__color-flex .color-btn.active {
    border-color: #111;
}

/* CATEGORY PAGE FIXES */
.category-page .container {
    max-width: 1440px !important;
    padding: 0 2rem;
}

.category-page .total-products {
    display: none !important;
}

.category-page .showing {
    display: none !important;
}

.category-page .pagination .col-md-4 {
    display: none !important;
}

.category-page .pagination {
    display: flex;
    justify-content: center !important;
}

.category-page .pagination .offset-md-2 {
    margin-left: 0 !important;
}

.category-page .pagination .page-list {
    background: transparent !important;
    box-shadow: none !important;
}

.category-page .pagination .page-list li a,
.category-page .pagination .page-list li span,
.category-page .pagination .page-list li.current a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    background: transparent !important;
}

.category-page .pagination .offset-md-2 {
    margin-left: 0 !important;
}

/* OVERRIDE THEME.CSS FOR FILTERS */
#search_filters {
    padding: 0 !important;
    margin-bottom: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#search_filters .facet {
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    width: auto !important;
    overflow: visible !important;
}

.products-selection {
    margin-bottom: 0 !important;
}

/* FIXES FOR FILTERS & LAYOUT */
#search_filters .facet .facet-title,
#search_filters_brands .facet .facet-title,
#search_filters_suppliers .facet .facet-title,
#search_filters .facet .category-page__filter-btn {
    font-size: 0.75rem !important;
    color: #111111 !important;
    width: auto !important;
    overflow: visible !important;
    white-space: normal !important;
}

*:focus {
    outline: none !important;
}

.page-category #left-column,
.page-category #content-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.page-category #wrapper .row {
    margin-left: 0;
    margin-right: 0;
}

.product-miniature,
.product-miniature .product {
    display: block !important;
}

#empty-product-comment {
    display: none;
}

/* --- POPRAWKI MOBILNE KATEGORII --- */

/* 1. Usunięcie przycisku Powrót do góry */
#products .up {
    display: none !important;
}

/* Ustawienia widoku mobilnego */
@media (max-width: 767px) {

    /* Ustawienie filtrów po lewej i sortowania po prawej z zachowaniem odstępu */
    .category-page__toolbar {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        margin: 0 !important;
    }

    #js-product-list-top {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        order: 1 !important;
        /* Przyciski na góre */
    }

    .sort-by-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-direction: row-reverse !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Naprawa buga Bootstrapa - pseudo-elementy row zachowują się jak flex-items i niszczą space-between */
    .sort-by-row::before,
    .sort-by-row::after {
        display: none !important;
        content: none !important;
    }

    .sort-by-row .filter-button,
    .sort-by-row .category-page__sort-container,
    .sort-by-row .products-sort-order,
    .sort-by-row .sort-by {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
        display: block !important;
    }

    /* Ukrycie wszystkich innych elementow w sort-by-row na mobile (np. licznik produktow), aby nie psuly space-between */
    .sort-by-row>*:not(.filter-button):not(.category-page__sort-container):not(.products-sort-order):not(.sort-by) {
        display: none !important;
    }

    /* Typografia przycisku Filtr taka sama jak sortowanie */
    .filter-button .btn,
    .custom-mobile-filter-toggler,
    .filter-button button {
        background: none !important;
        border: none !important;
        padding: 0 !important;
        font-size: 0.75rem !important;
        font-weight: 500 !important;
        letter-spacing: 0.1em !important;
        color: #111111 !important;
        box-shadow: none !important;
        text-transform: uppercase;
        min-height: 20px;
    }

    /* --- NOWE PODEJŚCIE DO FILTRÓW: INLINE ACCORDION (ZAMIAST POPUPU PRESTASHOP) --- */

    /* Ukrywamy sekcję z filtrami domyślnie na mobile */
    .category-page__filters {
        display: none;
        width: 100% !important;
        padding: 15px !important;
        background: #fdfdfd;
        border-bottom: 1px solid #eee;
        order: 2 !important;
        /* Filtry pojawią się pod przyciskami (które mają order: 1) */
    }

    /* Pokazujemy sekcję z filtrami, gdy klasa custom-filters-active jest nadana przez nasz JS */
    body.custom-filters-active .category-page__filters {
        display: block !important;
    }

    /* Upewnienie się, że sam kontener modułu też jest widoczny */
    body.custom-filters-active #search_filters,
    body.custom-filters-active #search_filters_wrapper {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    /* Wymuszamy aby kategorie filtrów (Kolor, Rozmiar) były widoczne i układały się w stos */
    body.custom-filters-active .facet {
        display: block !important;
        width: 100% !important;
        margin-bottom: 15px !important;
    }

    /* Dropdowny na mobile rozwijają się inline (nie jako overlay) */
    body.custom-filters-active .category-page__filter-dropdown {
        position: relative !important;
        box-shadow: none !important;
        border: none !important;
        padding: 10px 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100% !important;
        display: none;
        /* Domyślnie schowane, kontrolowane przez dotychczasowy JS */
    }

    /* Odkrycie dropdowna jak w desktopie, kiedy kontener nie ma klasy hidden */
    body.custom-filters-active .category-page__filter-dropdown:not(.hidden) {
        display: block !important;
    }

    /* Przyciski nagłówków na mobile */
    body.custom-filters-active .category-page__filter-btn {
        font-weight: bold !important;
        margin-bottom: 5px !important;
        display: block !important;
        width: 100% !important;
        text-align: left !important;
    }
}

/* Reassurance Block */
.blockreassurance_product .item-product {
    margin-right: 12px;
}

.blockreassurance_product p.block-title {
    line-height: 40px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.blockreassurance_product {
    margin-top: 25px !important;
}

/* Customowa zmiana koloru na karcie produktu */

.bunny-product__colors {
    margin: 20px 0 28px;
}

.bunny-product__colors-label {
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.bunny-product__colors-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.bunny-product__color {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 7px 11px;

    border: 1px solid #d8d8d8;

    color: inherit;
    text-decoration: none;

    cursor: pointer;

    transition:
            border-color 0.2s ease,
            opacity 0.2s ease;
}

.bunny-product__color:hover {
    border-color: #111;
    color: inherit;
    text-decoration: none;
}

.bunny-product__color--active {
    border-color: #111;
    cursor: default;
}

.bunny-product__color-swatch {
    display: block;

    width: 18px;
    height: 18px;

    flex: 0 0 18px;

    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
}

.bunny-product__color-name {
    font-size: 12px;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ------------------------------------------ */

.product-accessories.clearfix {
    padding-top: 120px;
}

.product-accessories.clearfix p {
    margin-bottom: 72px;
    font-weight: 400;
    font-size: 30px;
    font-family: 'Inter', sans-serif;
    color: #444748;
}