/* Site header styles (moved from header.php, where they were inlined on every page). */
/* Wrapper for the sliding menu */
.menu-wrapper {
    position: fixed;
    top: 0;
    left: -340px;
    width: 340px;
    height: 100vh;
    z-index: 99999;
    transition: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    background: transparent;
}

.menu-wrapper.show {
    left: 0;
}

/* Panels */
.menu-panel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    padding: 30px;
    box-sizing: border-box;
    overflow-y: auto;
    box-shadow: 2px 0 12px rgba(0, 0, 0, 0.12);
    transition: 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Internal Close Button */
.close-btn-internal {
    font-size: 30px;
    color: #000;
    cursor: pointer;
    width: fit-content;
    margin-bottom: 30px;
    line-height: 1;
}

.close-btn-internal:hover {
    opacity: 0.6;
    background: #AEAEAE;
    border-radius: 20%;
}

/* Hide Level 2 initially */
#panel-produktai,
#panel-kambariai {
    transform: translateX(100%);
    visibility: hidden;
    z-index: 100001;
    background: #fff;
}

.menu-panel.slide-in {
    transform: translateX(0) !important;
    visibility: visible !important;
}

/* Level 3 Panels */
.level-3 {
    position: absolute;
    top: 0;
    left: 340px;
    width: 300px;
    height: 100%;
    background: #fff;
    padding: 30px;
    padding-top: 80px;
    box-sizing: border-box;
    box-shadow: 5px 0 15px rgba(0, 0, 0, 0.05);
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 99998;
}

.level-3.show {
    opacity: 1;
    pointer-events: auto;
}

/* Menu Items Styling */
.nav-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 18px;
    font-size: 16px;
    cursor: pointer;
    width: fit-content;
    color: #000;
}

/* Hover Effect: Underline ONLY the text span */
.nav-item:hover .nav-text {
    text-decoration: underline;
}

.nav-item:hover {
    opacity: 0.7;
}

/* Main Headers */
.nav-item.bold {
    font-weight: 700;
    font-size: 24px;
    margin-bottom: 25px;
}

/* Secondary List spacing */
.secondary-list {
    margin-bottom: 30px;
    margin-top: 10px;
}

.secondary-list-box {
    margin-top: 50px;
}

/* Arrow styling */
.arrow-icon {
    font-size: 24px;
    font-weight: 300;
    line-height: 0.5;
    margin-left: 10px;
}

/* Headers within submenu */
.submenu-header {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    cursor: pointer;
    color: #000;
}

.back-arrow {
    margin-right: 15px;
    font-size: 28px;
    line-height: 0.5;
}

/* Level 3 links */
.level-3-link {
    display: block;
    margin-bottom: 18px;
    font-size: 16px;
    color: #000;
    text-decoration: none;
    cursor: pointer;
}

.level-3-link:hover {
    text-decoration: underline;
}

/* Bottom Cards Section */
.bottom-section {
    margin-top: auto;
    padding-top: 20px;
}

.bottom-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 120px;
    background-color: #f6f6f6;
    padding: 24px 20px;
    margin-bottom: 12px;
    text-decoration: none;
    color: #000;
    transition: background 0.2s;
    box-sizing: border-box;
}

.bottom-card:hover {
    background-color: #eeeeec;
}

/* Dots */
.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.pink {
    background-color: #f4c2c2;
}

.yellow {
    background-color: #ffc107;
}

/* Card Footer */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
}

.bottom-card:hover .card-footer span:first-child {
    text-decoration: underline;
}

/* Hamburger & Overlay */
.hamburger {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    padding: 0;
    margin-right: 20px;
    font-size: 28px;
    cursor: pointer;
    z-index: 1000;
    color: #000;
    width: 30px;
    height: 30px;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99990;
    display: none;
}

.menu-overlay.active {
    display: block;
}

/* Main Header - now contains top bar */
.main-header {
    background: #ffffff;
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    padding: 0 !important;
}

/* Top Black Bar - inside header */
.top-black-bar {
    background: #000000;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 28px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    box-sizing: border-box;
    z-index: 9999 !important;
}

.top-black-bar .left-text {
    flex-shrink: 0;
}

.top-black-bar .right-links {
    display: flex;
    align-items: center;
}

.top-bar-nav {
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-bar-nav li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-bar-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
}

.top-bar-nav a:hover {
    text-decoration: underline;
}

/* Main Header Row */
.header-main-row {
    max-width: 1440px;
    width: 100%;
    margin: 0 auto;
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    background: #ffffff;
    position: relative;
    z-index: 1000;
    box-sizing: border-box;
    flex-wrap: nowrap;
    min-width: 0;
}

/* Left cluster: hamburger -> 24px -> logo -> 40px -> nav menu */
.header-left {
    display: flex;
    align-items: center;
    gap: 0;
    /* Original desktop sizing */
    min-width: 0;
    flex: 1 0 50%;
}

/* Hamburger menu toggle */
.header-left .roket-offcanvas-toggle {
    margin-right: 24px;
}

/* Logo spacing */
.logo-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 40px;
    margin-left: 24px;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
}

/* Nav menu items gap of 8px */
.nav-links {
    display: flex;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
    align-items: center;
}

/* WP Menu (Desktop nav) */
.header-desktop-nav {
    display: block;
    flex-shrink: 0;
}

.nav-links li {
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-links a {
    color: #000000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: inline-block;
    padding: 8px 12px;
}

.nav-links a:hover {
    text-decoration: underline;
}

/* Sale link - color controlled in WP Customizer */
.nav-links .menu-item-sale a {
    color: var(--dehome-sale-color, #c84b2f);
}

.nav-links .menu-item-sale a:hover {
    color: var(--dehome-sale-color, #c84b2f);
    text-decoration: underline;
}

/* Right Section Wrapper: Search <- 40px <- wishlist <- 8px <- account <- 24px <- cart */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-width: 0;
    flex: 0 1 42%;
    gap: 0;
    /* Original desktop sizing */
}

/* Search in header right section */
.header-search-right {
    display: flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    margin-right: 40px;
    max-width: 415px;
    width: 100%;
}

/* Search: MUST have max-width but be shrinkable */
.search-form {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f8f8;
    border: 1px solid #949494;
    border-radius: 10px;
    padding: 0 16px;
    width: 100%;
    /*max-width: 415px;*/
    /*min-width: 200px;*/
    height: 44px;
    box-sizing: border-box;
}

.search-input {
    flex: 1 1 auto;
    border: none !important;
    background: transparent !important;
    outline: none;
    min-width: 0;
}

.search-button {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.search-button:hover,
.search-button:active {
    color: #000;
    background: transparent;
}

/* Search clear button (X) */
.search-clear-btn {
    background: transparent;
    border: none;
    padding: 0;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.search-clear-btn:hover {
    opacity: 0.6;
}

/* When clear button is visible, hide the search icon */
.search-form.has-value .search-button {
    display: none;
}

.search-form.has-value .search-clear-btn {
    display: inline-flex !important;
}

/* Right Icons Container */
.right-icons {
    display: flex;
    align-items: center;
    gap: 0;
    flex-shrink: 0;
}

/* Wishlist button - 8px gap to account */
.wishlist-button {
    margin-right: 8px;
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.wishlist-button .wishlist-count {
    position: absolute;
    top: 6px;
    right: 0px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    min-height: 16px;
    padding: 2px 8px;
    border-radius: 30px;
    background: #000;
    color: #FFF;
    font-size: 12px;
    line-height: 1;
    font-weight: 600;
    margin-left: 0;
}

/* Account button - 24px gap to cart */
.user-button {
    margin-right: 24px;
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #000;
    box-shadow: unset;
}

.icon-button:hover,
.icon-button:focus {
    color: #000;
    background: transparent;
}

.account-section {
    position: relative;
    z-index: 10002;
}

.account-section .user-button {
    border-radius: 10px;
    transition: background-color 0.2s ease;
}

.account-section.is-logged-in:hover .user-button,
.account-section.is-logged-in:focus-within .user-button,
.account-section.is-logged-in.account-open .user-button {
    background-color: #F8F8F8;
}

.account-dropdown {
    position: absolute;
    top: 60px;
    left: 50%;
    right: auto;
    width: 300px;
    background: #fff;
    border: none;
    border-radius: 0;
    z-index: 10003;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: all 0.25s ease;
    pointer-events: none;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 24px 20px;
}

.account-dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

.account-dropdown-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.account-dropdown-item {
    margin: 0;
    padding: 0;
}

.account-dropdown-item--logout {
    margin-top: 24px;
}

.account-dropdown-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px;
    text-decoration: none;
    color: #000;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 500;
}

.account-dropdown-link:hover {
    text-decoration: none;
    background: #F8F8F8;
    color: #000;
}

.account-dropdown-icon {
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #000;
}

.account-dropdown-icon svg {
    display: block;
}

@media (min-width: 1025px) {

    .account-section.is-logged-in:hover .account-dropdown,
    .account-section.is-logged-in:focus-within .account-dropdown,
    .account-section.is-logged-in.account-open .account-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        pointer-events: auto;
    }
}

.cart-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #000;
    white-space: nowrap;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

/* Cart link hover state - background on hover */
@media (min-width: 1025px) {
    .cart-section:hover .cart-link {
        background-color: #F8F8F8;
    }
}

.mini-cart-dropdown.show~.cart-link,
.cart-link:has(+ .mini-cart-dropdown.show) {
    background-color: #F8F8F8;
}

.cart-icon {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -6px;
    background: #000;
    color: #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 100%;
    font-weight: 600;
}

.cart-icon {
    display: flex;
}

.cart-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.cart-price {
    font-weight: 600;
}

.cart-text {
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    color: #000;

}

/* Mini Cart Dropdown */
.cart-section {
    position: relative;
    z-index: 10002;
}

/* Desktop Mini Cart Dropdown */
.mini-cart-dropdown {
    position: absolute;
    top: 60px;
    right: -8px;
    width: 456px;
    max-height: 80vh;
    background: #fff;
    border: none;
    border-radius: 0;
    z-index: 10003;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

/* Invisible bridge to cover the gap between cart-link and dropdown */
.mini-cart-dropdown::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: transparent;
}

@media (min-width: 1025px) {
    .cart-section:hover .mini-cart-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    body.cart-hover-disabled .cart-section:hover .mini-cart-dropdown {
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        pointer-events: none;
    }
}

.mini-cart-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 28px;
    flex-shrink: 0;
}

.mini-cart-title {
    font-size: 22px;
    line-height: 32px;
    font-weight: 600;
    font-style: normal;
    margin: 0;
    color: #000;
}

.mini-cart-close {
    all: unset;
    cursor: pointer;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-cart-close:hover {
    opacity: 0.7;
    color: #000;
    background: transparent;
}

.mini-cart-close:focus {
    color: #000;
    background: transparent;
}

.mini-cart-close svg {
    width: 24px;
    height: 24px;
}

.mini-cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
    /*margin-bottom: 45px;*/
}

.mini-cart-item {
    display: flex;
    align-items: stretch;
    padding: 0 24px;
    gap: 32px;
}

.mini-cart-item:last-child {
    border-bottom: none;
    margin-bottom: 16px;
}

.mini-cart-item-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    background: #f8f8f8;
    border-radius: 0;
    overflow: hidden;
}

.mini-cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mini-cart-item-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mini-cart-item-name {
    font-size: 16px;
    line-height: 150%;
    font-weight: 500;
    color: #000;
}

.mini-cart-item-name a {
    color: #000;
    text-decoration: none;
}

.mini-cart-item-name a:hover {
    text-decoration: underline;
}

.mini-cart-item-meta {
    font-size: 14px;
    line-height: 150%;
    color: #808080;
}

.mini-cart-item-price {
    font-size: 16px;
    line-height: 150%;
    font-weight: 600;
    color: #000;
}

.mini-cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
    justify-content: space-between;
}

.mini-cart-remove {
    all: unset;
    cursor: pointer;
    padding: 4px;
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-cart-remove:hover {
    opacity: 0.7;
    color: #000;
    background: transparent;
}

.mini-cart-remove:focus {
    color: #000;
    background: transparent;
}

.mini-cart-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-cart-quantity-label {
    font-size: 14px;
    line-height: 150%;
    color: #000;
}

.mini-cart-dropdown .mini-cart-quantity .mini-cart-quantity-select {
    all: unset;
    padding: 6px 16px;
    border: 1px solid #949494;
    border-radius: 10px;
    font-size: 16px;
    line-height: 160%;
    font-weight: 400;
    background-color: #F8F8F8;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2222%22%20height%3D%2222%22%20viewBox%3D%220%200%2022%2022%22%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%3E%3Cpath%20d%3D%22M17.875%208.25L11%2015.125L4.125%208.25%22%20stroke%3D%22black%22%20stroke-width%3D%222%22%20stroke-linecap%3D%22square%22%20stroke-linejoin%3D%22round%22%2F%3E%3C%2Fsvg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 44px;
}

.mini-cart-footer {
    padding: 20px;
    border-top: 1px solid #B2B2B2;
    flex-shrink: 0;
    background: #fff;
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.mini-cart-total-label {
    font-size: 16px;
    line-height: 150%;
    font-weight: 600;
    color: #000;
}

.mini-cart-total-label small {
    display: block;
    font-size: 12px;
    line-height: 1;
    color: #808080;
    font-weight: 600;
}

.mini-cart-total-price {
    font-size: 16px;
    line-height: 150%;
    font-weight: 600;
    color: #000;
}

.mini-cart-checkout-btn {
    display: block;
    width: 100%;
    padding: 10px 24px;
    background: #000;
    color: #fff !important;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    line-height: 150%;
    font-weight: 500;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.2s;
}

.mini-cart-checkout-btn:hover {
    background: #333;
    color: #fff;
}

.mini-cart-empty {
    padding: 60px 24px;
    text-align: center;
    color: #666;
}

/* Page Overlays for Cart and Account */
.cart-page-overlay,
.account-page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    pointer-events: none;
}

.cart-page-overlay.active,
.account-page-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Ensure header is above overlay */
.main-header {
    position: relative;
    z-index: 10000;
    padding: 0;
}

.header-search-mobile {
    display: none;
}

/* Sticky main header on desktop (top bar stays static) */
@media (min-width: 1025px) {
    .main-header {
        position: sticky;
        top: 0;
        z-index: 10001;
    }
}

/* Smaller desktop/laptop layout.
   Important: the left navigation is not allowed to shrink underneath the search.
   The search uses the remaining space and progressively becomes narrower instead. */
@media (min-width: 1025px) and (max-width: 1280px) {
    .header-main-row {
        padding-left: 18px;
        padding-right: 18px;
    }

    .header-container {
        justify-content: flex-start;
    }

    .header-left {
        /* Keep the complete nav in its own space so the search can never sit on top of it. */
        flex: 0 0 auto;
        min-width: max-content;
    }

    .header-right {
        /* Use only the space that remains after the navigation. */
        flex: 1 1 auto;
        min-width: 0;
        margin-left: 12px;
    }

    .header-left .roket-offcanvas-toggle {
        margin-right: 10px;
    }

    .logo-section {
        margin-left: 10px;
        margin-right: 16px;
    }

    .nav-links {
        gap: 0;
        flex-shrink: 0;
    }

    .nav-links a {
        padding-left: 6px;
        padding-right: 6px;
        font-size: 16px;
        white-space: nowrap;
    }

    .header-search-right {
        /* Keep nav text full-size; the search gives up width first. */
        flex: 0 1 clamp(190px, 22vw, 320px);
        width: clamp(190px, 22vw, 320px);
        min-width: 0;
        max-width: 415px;
        margin-right: 14px;
    }
}

/* At the narrowest desktop widths, save space from the nav/branding first.
   This keeps more room available for the search until the mobile layout starts at 1024px. */
@media (min-width: 1025px) and (max-width: 1120px) {
    .header-main-row {
        padding-left: 12px;
        padding-right: 12px;
    }

    .header-right {
        margin-left: 8px;
    }

    .header-left .roket-offcanvas-toggle {
        margin-right: 6px;
    }

    .logo-section {
        margin-left: 6px;
        margin-right: 10px;
    }

    .nav-links a {
        padding-left: 4px;
        padding-right: 4px;
        font-size: 16px;
    }

    .header-search-right {
        flex-basis: clamp(160px, 20vw, 230px);
        width: clamp(160px, 20vw, 230px);
        margin-right: 10px;
    }
}

/* ============================
       MOBILE LAYOUT ENABLES <=1024
       ============================ */
@media (max-width: 1024px) {
    .top-black-bar {
        display: none !important;
    }

    .header-main-row {
        padding: 16px;
    }

    .main-header {
        position: sticky;
        top: 0;
        gap: 0;
    }

    .header-container {
        width: 100%;
        max-width: 100%;
        gap: 12px;
    }

    .header-left {
        gap: 16px;
    }

    .header-left .roket-offcanvas-toggle {
        margin-right: 16px;
    }

    .logo-section {
        margin-right: 0;
        margin-left: 0;
    }

    /* Hide desktop menu links */
    .header-desktop-nav {
        display: none;
    }

    /* Hide search on mobile */
    .header-search-right {
        display: none;
    }

    .header-right {
        flex: 0 0 auto;
        min-width: auto;
    }

    /* Mini cart - Full screen panel on mobile/tablet */
    .mini-cart-dropdown {
        position: fixed;
        top: var(--mobile-header-height, 0px);
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-height: calc(100vh - var(--mobile-header-height, 0px));
        height: auto;
        margin-top: 0;
        transform: translateY(100%);
        opacity: 1;
        visibility: hidden;
        z-index: 100000;
        border-radius: 0;
    }

    .mini-cart-dropdown.show {
        transform: translateY(0);
        visibility: visible;
    }

    .mini-cart-header {
        padding: 20px 24px 16px;
    }

    .mini-cart-items {
        flex: 1;
        overflow-y: auto;
        margin-bottom: 0;
    }

    .mini-cart-item {
        padding: 16px 24px;
    }

    .mini-cart-footer {
        padding: 16px 24px 32px;
    }

    .mini-cart-checkout-btn {
        padding: 12px 24px;
        justify-content: center;
    }

    .account-section {
        position: static;
    }

    .account-dropdown {
        position: fixed;
        top: var(--mobile-header-height, 0px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - var(--mobile-header-height, 0px));
        overflow-y: auto;
        box-shadow: none;
        transform: translateY(8px);
        padding: 20px 16px;
    }

    .account-dropdown::before {
        display: none;
    }

    .account-dropdown-list,
    .account-dropdown-item,
    .account-dropdown-link {
        width: 100%;
    }

    .account-dropdown-link {
        box-sizing: border-box;
        padding: 7px 12px;
    }

    .account-section.is-logged-in.account-open .account-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        pointer-events: auto;
    }

    /* Compact icons */
    .right-icons {
        gap: 0;
    }

    .wishlist-button,
    .user-button {
        margin-right: 0;
    }

    /* Cart icon only */
    .cart-info {
        display: none;
    }

    .cart-link {
        gap: 0;
    }

    /* Mobile cart active state */
    .cart-link.active {
        background-color: #F8F8F8;
    }

    .logo-section svg {
        max-width: 125px;
        height: auto;
    }
    .header-search-mobile {
        display: block;
        padding: 0 16px 16px;
    }
    #masthead:has(.rwf-header-filters-row:not(.rwf-hidden)) .header-search-mobile {
        display: none;
    }
}
