.mobile-language-switcher,
.mobile-bottom-navigation {
    display: none;
}

.mobile-menu-bars {
    display: none;
}

.mobile-sidebar-backdrop {
    display: none;
}

@media (max-width: 767px) {
    body {
        padding-bottom: 100px;
    }

    body.mobile-menu-open {
        overflow: hidden;
    }

    .wrapper.offcanvas {
        margin: 0 !important;
    }

    .wrapper .mobile-site-drawer {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0 !important;
        z-index: 1300;
        width: 82vw;
        width: min(82vw, 360px);
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        visibility: hidden;
        border: 0;
        background: #ffffff;
        box-shadow: 10px 0 34px rgba(15, 23, 42, 0.22);
        transform: translateX(-102%);
        transition: transform 220ms ease, visibility 220ms ease;
        text-align: start;
    }

    .rtl .wrapper .mobile-site-drawer {
        right: 0;
        left: auto !important;
        box-shadow: -10px 0 34px rgba(15, 23, 42, 0.22);
        transform: translateX(102%);
    }

    .wrapper.offcanvas .mobile-site-drawer,
    .rtl .wrapper.offcanvas .mobile-site-drawer {
        visibility: visible;
        transform: translateX(0);
    }

    .mobile-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1250;
        width: 100%;
        height: 100%;
        padding: 0;
        display: block;
        visibility: hidden;
        border: 0;
        background: rgba(15, 23, 42, 0.56);
        opacity: 0;
        pointer-events: none;
        transition: opacity 220ms ease, visibility 220ms ease;
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }

    .wrapper.offcanvas .mobile-sidebar-backdrop {
        visibility: visible;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-site-drawer__header {
        position: relative;
        min-height: 150px;
        padding: max(24px, env(safe-area-inset-top)) 12px 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        background: linear-gradient(125deg, #761116 0%, #a21d25 58%, #6e0f15 100%);
    }

    .mobile-site-drawer__header::after {
        position: absolute;
        right: -56px;
        bottom: -70px;
        width: 190px;
        height: 190px;
        border: 22px solid rgba(255, 255, 255, 0.06);
        border-radius: 50%;
        content: '';
    }

    .rtl .mobile-site-drawer__header::after {
        right: auto;
        left: -56px;
    }

    .mobile-sidebar-close {
        position: absolute;
        top: max(14px, env(safe-area-inset-top));
        right: 15px;
        z-index: 2;
        width: 42px;
        height: 42px;
        padding: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        color: #ffffff;
        font-size: 24px;
    }

    .rtl .mobile-sidebar-close {
        right: auto;
        left: 15px;
    }

    .mobile-sidebar-close:focus,
    .mobile-sidebar-close:hover {
        outline: 2px solid rgba(255, 255, 255, 0.72);
        outline-offset: 2px;
        background: rgba(255, 255, 255, 0.16);
    }

    .mobile-site-drawer__brand {
        position: relative;
        z-index: 1;
        width: min(280px, 88%);
        min-height: 76px;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 12px;
        color: #ffffff !important;
        text-decoration: none !important;
    }

    .mobile-site-drawer__brand img {
        width: 100%;
        max-width: 270px;
        max-height: 88px;
        object-fit: contain;
        filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.18));
    }

    .mobile-site-drawer__brand > i {
        font-size: 50px;
    }

    .mobile-site-drawer__brand strong {
        max-width: 180px;
        color: #ffffff;
        font-size: 25px;
        line-height: 1.15;
    }

    .mobile-site-drawer__watermark {
        position: absolute;
        right: -14px;
        bottom: -16px;
        color: rgba(255, 255, 255, 0.07);
        font-size: 118px;
        transform: rotate(-8deg);
    }

    .rtl .mobile-site-drawer__watermark {
        right: auto;
        left: -14px;
        transform: rotate(8deg);
    }

    .mobile-site-drawer__scroll {
        height: calc(100vh - 150px);
        height: calc(100dvh - 150px);
        padding: 0 20px calc(28px + env(safe-area-inset-bottom));
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    .mobile-site-drawer__account {
        padding: 14px 0;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        border-bottom: 1px solid #e8e1dc;
    }

    .mobile-site-drawer__auth {
        min-width: 0;
        height: 48px;
        padding: 0 10px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        border: 1px solid #8a171d;
        border-radius: 6px;
        color: #86171c !important;
        background: #ffffff;
        font-size: 14px;
        font-weight: 700;
        text-decoration: none !important;
    }

    .mobile-site-drawer__auth i {
        font-size: 18px;
    }

    .mobile-site-drawer__auth--primary {
        color: #ffffff !important;
        background: #86171c;
        box-shadow: 0 5px 13px rgba(134, 23, 28, 0.18);
    }

    .mobile-site-drawer__nav {
        margin: 0;
    }

    .mobile-site-drawer .mobile-site-drawer__links {
        position: relative;
        z-index: 1;
        width: 100%;
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .mobile-site-drawer .mobile-site-drawer__links > li {
        position: relative;
        width: 100%;
        float: none;
        clear: both;
        border-bottom: 1px solid #ece7e3;
        background: #ffffff !important;
    }

    .mobile-site-drawer .mobile-site-drawer__links > li > a {
        width: 100%;
        min-height: 52px;
        margin: 0;
        padding: 10px 36px 10px 4px;
        display: flex;
        align-items: center;
        gap: 14px;
        color: #374151 !important;
        font-size: 15px;
        font-weight: 500;
        letter-spacing: 0;
        line-height: 1.35;
        text-decoration: none;
    }

    .rtl .mobile-site-drawer .mobile-site-drawer__links > li > a {
        padding-right: 4px;
        padding-left: 36px;
    }

    .mobile-site-drawer .mobile-site-drawer__links > li > a > i:first-child {
        width: 25px;
        margin: 0;
        flex: 0 0 25px;
        color: #4b5563;
        font-size: 21px;
        text-align: center;
    }

    .mobile-site-drawer .mobile-site-drawer__links > li > a > span {
        min-width: 0;
        flex: 1 1 auto;
    }

    .mobile-site-drawer .mobile-site-drawer__links > li > i.fa-angle-down {
        position: absolute;
        top: 18px;
        right: 5px;
        z-index: 2;
        margin: 0;
        color: #667085;
        font-size: 17px;
    }

    .rtl .mobile-site-drawer .mobile-site-drawer__links > li > i.fa-angle-down {
        right: auto;
        left: 5px;
    }

    .mobile-site-drawer .sidebar-content li ul {
        padding: 3px 10px 8px 36px;
        border-top: 1px solid #f0ece8;
        background: #faf8f6;
    }

    .rtl .mobile-site-drawer .sidebar-content li ul {
        padding-right: 36px;
        padding-left: 10px;
    }

    .mobile-site-drawer .sidebar-content li ul li,
    .mobile-site-drawer .sidebar-content li ul li:hover {
        float: none;
        background: transparent;
    }

    .mobile-site-drawer .sidebar-content li ul li a {
        margin: 0;
        padding: 9px 0;
        color: #596273 !important;
        font-size: 13px;
    }

    .mobile-site-drawer__formats {
        margin-top: 12px;
        padding-top: 4px;
        border-top: 1px solid #9aa1aa;
    }

    .mobile-site-drawer .category_menu_title {
        margin: 0;
        padding: 13px 2px 9px;
        border: 0;
        color: #525b68;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0;
        text-transform: uppercase;
    }

    .mobile-site-drawer .catalog-content-mobile-menu {
        margin: 0;
        padding: 0;
    }

    .mobile-site-drawer .catalog-content-mobile-format {
        margin: 0;
        border: 0;
        border-bottom: 1px solid #ece7e3;
        border-radius: 0;
        background: #ffffff;
        box-shadow: none;
    }

    .mobile-site-drawer .catalog-content-mobile-format > summary {
        min-height: 54px;
        padding: 10px 4px;
        color: #374151;
        background: #ffffff;
        font-size: 15px;
        font-weight: 600;
    }

    .mobile-site-drawer .catalog-content-mobile-format > summary > span {
        gap: 14px;
    }

    .mobile-site-drawer .catalog-content-mobile-format > summary > span > i {
        width: 25px;
        color: #1670d2;
        font-size: 21px;
        text-align: center;
    }

    .mobile-site-drawer .catalog-content-mobile-format > summary > i {
        color: #667085;
        font-size: 17px;
    }

    .mobile-site-drawer .catalog-content-mobile-categories {
        padding: 6px 8px 10px;
        border-top: 1px solid #f0ece8;
        background: #faf8f6;
    }

    .mobile-site-drawer .catalog-content-mobile-categories a,
    .mobile-site-drawer .catalog-content-mobile-parent summary {
        min-height: 42px;
        padding: 8px 10px;
        color: #4b5563;
        font-size: 13px;
    }

    .mobile-site-drawer__nav--footer {
        margin-top: 12px;
        padding-top: 4px;
        border-top: 1px solid #9aa1aa;
    }

    .mobile-site-drawer__links--plain .mobile-site-drawer__row-arrow {
        width: auto !important;
        margin-left: auto !important;
        color: #667085 !important;
        font-size: 19px !important;
    }

    .rtl .mobile-site-drawer__links--plain .mobile-site-drawer__row-arrow {
        margin-right: auto !important;
        margin-left: 0 !important;
        transform: rotate(180deg);
    }

    .top-nav {
        display: none !important;
    }

    .header-wrapper,
    .header-inner,
    .header-inner.sticky {
        height: 130px !important;
        min-height: 130px;
        background: #fbf8f3 !important;
    }

    .header-inner,
    .header-inner.sticky {
        padding: 9px 0 11px !important;
    }

    .header-inner > .container {
        width: 100%;
        height: 110px !important;
        padding: 0 12px !important;
        display: grid !important;
        grid-template-columns: minmax(76px, 1fr) 46px 94px 46px;
        grid-template-rows: 52px 48px;
        gap: 10px 6px !important;
        align-items: center;
        direction: ltr;
    }

    .header-inner .website-logo {
        grid-column: 1;
        grid-row: 1;
        width: auto !important;
        min-width: 0 !important;
        height: 52px !important;
        margin: 0 !important;
        display: flex;
        align-items: center;
        justify-content: flex-start;
    }

    .header-inner .website-logo img {
        width: auto !important;
        max-width: 132px !important;
        height: 48px !important;
        max-height: 48px !important;
        object-fit: contain;
        object-position: left center;
    }

    .header-inner .website-logo h2 {
        margin: 0;
        font-size: 16px;
        line-height: 1.15;
    }

    .mobile-language-switcher {
        grid-column: 2;
        grid-row: 1;
        position: relative;
        width: 46px;
        height: 44px;
        margin: 0;
    }

    .mobile-language-switcher > .dropdown-toggle,
    .header-inner .navbar-toggle,
    .header-inner .profile-icon > a,
    .header-inner .header-action-item {
        width: 44px !important;
        min-width: 44px !important;
        height: 44px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        border: 1px solid #ded6cb !important;
        border-radius: 6px !important;
        background: #fffdfa !important;
        color: #781318 !important;
        box-shadow: 0 3px 10px rgba(70, 42, 29, 0.08);
        text-decoration: none;
    }

    .mobile-language-switcher > .dropdown-toggle {
        gap: 4px;
    }

    .mobile-language-switcher .current-language-flag,
    .mobile-language-switcher .dropdown-menu img {
        width: 25px;
        height: 18px;
        display: block;
        border-radius: 2px;
        object-fit: cover;
    }

    .mobile-language-switcher .fa-angle-down {
        font-size: 11px;
    }

    .mobile-language-switcher .dropdown-menu {
        right: auto;
        left: 0;
        z-index: 1100;
        min-width: 176px;
        padding: 6px;
        border: 1px solid #e4ddd4;
        border-radius: 6px;
        box-shadow: 0 12px 30px rgba(44, 31, 22, 0.16);
    }

    .mobile-language-switcher .dropdown-menu a {
        min-height: 38px;
        padding: 8px 10px;
        display: flex;
        align-items: center;
        gap: 9px;
        border-radius: 4px;
        color: #2c2925;
        font-size: 13px;
        text-align: start;
    }

    .header-inner .header-user-actions {
        grid-column: 3;
        grid-row: 1;
        width: 94px;
        height: 44px;
        margin: 0 !important;
        display: flex !important;
        align-items: center;
        gap: 6px !important;
        float: none !important;
        direction: ltr;
    }

    .header-inner .header-user-actions .profile-icon {
        order: 2;
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .header-inner .header-user-actions .header-action-group {
        order: 1;
        width: 44px;
        height: 44px;
        margin: 0 !important;
        display: block !important;
    }

    .header-inner .wishlist-action,
    .header-inner .profile-label,
    .header-inner .profile-caret {
        display: none !important;
    }

    .header-inner .header-action-item.drawer-action {
        display: inline-flex !important;
    }

    .header-inner .profile-icon > a,
    .header-inner .header-action-item {
        font-size: 22px !important;
    }

    .header-inner .navbar-toggle {
        grid-column: 4;
        grid-row: 1;
        position: static;
        float: none !important;
        direction: ltr;
    }

    .header-inner .navbar-toggle .icon-bar {
        display: none !important;
    }

    .header-inner .navbar-toggle .mobile-menu-bars {
        display: block;
        color: #781318;
        font-size: 22px;
        line-height: 1;
    }

    .header-inner .search-area {
        grid-column: 1 / -1;
        grid-row: 2;
        width: 100% !important;
        min-width: 0 !important;
        height: 48px;
        margin: 0 !important;
        display: block !important;
        float: none !important;
        direction: ltr;
    }

    .header-inner .search-area form,
    .header-inner .mobile-search-inline {
        width: 100%;
        height: 48px;
        margin: 0;
    }

    .header-inner .mobile-search-inline .search-box {
        position: relative;
        width: 100%;
        height: 48px;
        margin: 0;
        display: flex !important;
        align-items: stretch;
        overflow: visible;
        border: 1px solid #e2dbd2;
        border-radius: 24px;
        background: #ffffff;
        box-shadow: 0 5px 16px rgba(70, 42, 29, 0.08);
    }

    .header-inner .mobile-search-inline .search-box-input {
        width: calc(100% - 56px);
        height: 46px;
        padding: 0 18px;
        flex: 1 1 auto;
        border: 0;
        border-radius: 24px 0 0 24px;
        background: transparent;
        color: #433e39;
        font-size: 14px;
        box-shadow: none;
    }

    .rtl .header-inner .mobile-search-inline .search-box-input {
        direction: rtl;
        text-align: right;
    }

    .header-inner .mobile-search-inline .search-box-button,
    .header-inner .mobile-search-inline .search-box-btn {
        width: 56px !important;
        min-width: 56px;
        height: 46px !important;
    }

    .header-inner .mobile-search-inline .search-box-button {
        flex: 0 0 56px;
    }

    .header-inner .mobile-search-inline .search-box-btn {
        padding: 0;
        border: 0 !important;
        border-radius: 0 23px 23px 0 !important;
        background: #86171c !important;
        color: #ffffff !important;
        font-size: 20px;
    }

    .header-inner .mobile-search-inline .catalog-search-suggestions {
        top: calc(100% + 6px);
        right: 0;
        left: 0;
        z-index: 1150;
        max-height: min(55vh, 360px);
        border-radius: 6px;
    }

    .header-inner .count-badge,
    .rtl .header-inner .count-badge {
        top: -8px !important;
        right: -7px !important;
        left: auto !important;
        z-index: 2;
    }

    .mobile-bottom-navigation {
        position: fixed;
        right: 12px;
        bottom: max(10px, env(safe-area-inset-bottom));
        left: 12px;
        z-index: 900;
        height: 76px;
        padding: 0 8px;
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
        overflow: visible;
        border: 1px solid #ece6df;
        border-radius: 22px;
        background: rgba(255, 255, 255, 0.97);
        box-shadow: 0 10px 30px rgba(45, 31, 23, 0.18);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        direction: ltr;
    }

    .mobile-bottom-navigation::before,
    .mobile-bottom-navigation::after {
        position: absolute;
        top: 17px;
        bottom: 17px;
        width: 1px;
        content: '';
        background: #ece6df;
    }

    .mobile-bottom-navigation::before {
        left: 33.333%;
    }

    .mobile-bottom-navigation::after {
        right: 33.333%;
    }

    .mobile-bottom-navigation__item {
        min-width: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        color: #352925;
        font-size: 12px;
        font-weight: 600;
        line-height: 1.1;
        text-decoration: none !important;
    }

    .mobile-bottom-navigation__item i {
        font-size: 24px;
    }

    .mobile-bottom-navigation__item.is-active {
        color: #86171c;
    }

    .mobile-bottom-navigation__item--shop {
        position: relative;
        justify-content: flex-end;
        padding-bottom: 10px;
        color: #86171c;
    }

    .mobile-bottom-navigation__shop-icon {
        position: absolute;
        top: -23px;
        width: 62px;
        height: 62px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 5px solid #ffffff;
        border-radius: 50%;
        background: #86171c;
        color: #ffffff;
        box-shadow: 0 7px 18px rgba(134, 23, 28, 0.28);
    }

    .mobile-bottom-navigation__shop-icon i {
        font-size: 25px;
    }

    .mobile-bottom-navigation__item--shop span:last-child {
        color: #86171c;
        font-weight: 700;
    }

    .cookie-bar-wrap.show {
        transform: translateY(-320px);
    }
}

@media (max-width: 359px) {
    .header-inner > .container {
        grid-template-columns: minmax(68px, 1fr) 42px 88px 42px;
        column-gap: 4px !important;
    }

    .header-inner .website-logo img {
        max-width: 108px !important;
    }

    .mobile-language-switcher,
    .mobile-language-switcher > .dropdown-toggle,
    .header-inner .navbar-toggle,
    .header-inner .profile-icon > a,
    .header-inner .header-action-item {
        width: 42px !important;
        min-width: 42px !important;
    }

    .header-inner .header-user-actions {
        width: 88px;
        gap: 4px !important;
    }
}
