:root {
    --secondary-color: var(--primary-color);
    --secondary-hover-color: var(--primary-color);
}

@media only screen and (min-width: 768px) {
    .marquee-item-wrap {
        display: block;
        width: 100%;
        height: 30px;
        min-height: 30px;
        overflow: hidden;
        border: 0;
        background: #111820;
        color: #fff;
        line-height: 30px;
    }

    .marquee-item-wrap .marquee {
        position: relative;
        display: block;
        width: 100%;
        height: 30px;
        overflow: hidden;
    }

    .marquee-item-wrap .marquee-text {
        position: absolute;
        top: 0;
        left: 100%;
        display: flex;
        align-items: center;
        height: 30px;
        color: #fff;
        white-space: nowrap;
        animation: header-announcement-scroll 24s linear infinite;
        will-change: transform;
    }

    .marquee-item-wrap .marquee-text,
    .marquee-item-wrap .marquee-text p,
    .marquee-item-wrap .marquee-text span,
    .marquee-item-wrap .marquee-text a {
        margin-top: 0;
        margin-bottom: 0;
        color: #fff !important;
        font-size: 13px;
        line-height: 30px;
    }

    @keyframes header-announcement-scroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(calc(-100vw - 100%));
        }
    }

    .main-header .header-top {
        display: none;
    }

    .logo-area {
        padding: 6px 0;
        border-bottom: 1px solid #eceff3;
    }

    .logo-header {
        grid-template-columns: 170px minmax(360px, 620px) minmax(190px, 1fr);
        gap: 34px;
        min-height: 56px;
    }

    .main-logo {
        display: flex;
        align-items: center;
        height: 38px;
    }

    .main-logo img {
        max-width: 135px;
    }

    .logo-header .main-search form {
        height: 42px;
        border: 1px solid #dfe3ea;
        border-radius: 999px;
        background: #fff;
    }

    .logo-header .main-search form input {
        padding-left: 17px;
        background: transparent;
    }

   .logo-header .main-search form button {
    flex-basis: 42px;
    margin: 4px;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
}

    .logo-header .main-search form button i {
        color: #fff;
        font-size: 16px;
    }

    .header-list-items {
        display: flex;
        justify-content: flex-end;
    }

    .header-list-items ul {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
    }

    .header-list-items ul li {
        margin: 0;
    }

    .header-list-items .cshort-summary > ul {
        display: grid;
        grid-template-columns: 56px minmax(0, 1fr) 58px minmax(94px, auto);
        align-items: center;
        gap: 0;
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .header-list-items .cshort-summary > ul > li {
        display: flex;
        min-width: 0;
    }

    .header-action-button,
    .header-list-items .header-action-button {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        min-width: 40px;
        height: 40px;
        border: 1px solid #f0d5dc;
        border-radius: 13px;
        background: #fff3f5;
        color: #6500b8;
        line-height: 1;
    }

    .header-action-button i,
    .header-list-items .header-action-button i,
    .header-auth-link .header-action-button i,
    .header-cart-link.header-action-button i {
        color: #6500b8 !important;
        font-size: 17px !important;
    }

    .header-action-button:hover,
    .header-action-button:focus {
        border-color: #d9b8e8;
        background: #f7effc;
        color: #6500b8;
        transform: translateY(-1px);
    }

    .header-cart-link.header-action-button span {
        position: absolute;
        top: -8px;
        right: -5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 17px;
        width: auto;
        height: 17px;
        padding: 0 5px;
        border-radius: 999px;
        background: #ff4d57;
        color: #fff;
        font-size: 10px;
        font-weight: 800;
        line-height: 17px;
    }

    .menu-area {
        position: relative;
        z-index: 500;
        border-bottom: 1px solid #e8ebef;
        background: #fff;
        box-shadow: 0 3px 8px rgba(15, 23, 42, 0.05);
    }

    .menu-area .container {
        overflow: visible;
    }

    .menu-layout {
        display: block;
        height: 44px;
    }

    .desktop-mega-menu {
        position: static;
        display: flex;
        justify-content: center;
        height: 44px;
        background: #fff;
    }

    .desktop-mega-menu > ul {
        display: flex;
        justify-content: center;
        gap: 30px;
        width: auto;
        height: 44px;
        padding: 0;
        overflow: visible;
    }

    .desktop-mega-menu > ul > li {
        position: static;
        display: flex;
        align-items: stretch;
        height: 44px;
    }

  .desktop-mega-menu > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    height: 44px;
    padding: 0;
    color: #151515;
    font-size: 15px;
    font-weight: 700;
    line-height: 44px;
    text-transform: none;
    white-space: nowrap;
}
a.view_alls {
    display: flex;
    justify-content: center;
    padding: 5px 0;
    border: 1px solid #000;
    width: 100px;
    margin: 0 auto;
    border-radius: 7px;
}

    .desktop-mega-menu > ul > li > a i {
        font-size: 10px;
    }

    .desktop-mega-menu > ul > li:hover > a,
    .desktop-mega-menu > ul > li:focus-within > a {
        color: #6500b8;
    }

    .desktop-mega-panel {
        position: absolute;
        top: 100%;
        left: 50%;
        z-index: 700;
        width: min(1000px, calc(100vw - 40px));
        padding: 24px 28px;
        border: 1px solid #e7e9ee;
        border-top: 2px solid #6500b8;
        border-radius: 0 0 8px 8px;
        background: #fff;
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
        opacity: 0;
        visibility: hidden;
        transform: translate(-50%, 8px);
        pointer-events: none;
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    }

    .desktop-mega-item:hover > .desktop-mega-panel,
    .desktop-mega-item:focus-within > .desktop-mega-panel {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, 0);
        pointer-events: auto;
    }

    .desktop-mega-grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 24px 30px;
    }

    .desktop-mega-column {
        min-width: 0;
    }

    .desktop-mega-title {
        display: block;
        margin-bottom: 10px;
        padding-bottom: 8px;
        border-bottom: 1px solid #eceef2;
        color: #171717;
        font-size: 15px;
        font-weight: 800;
    }

    .desktop-mega-title:hover {
        color: #6500b8;
    }

    .desktop-mega-links li {
        display: block;
    }

    .desktop-mega-links a {
        display: block;
        padding: 5px 0;
        color: #626b79;
        font-size: 13px;
        font-weight: 500;
        line-height: 1.35;
    }

    .desktop-mega-links a:hover {
        color: #6500b8;
        transform: translateX(2px);
    }

    .desktop-menu-offer > a > span {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 27px;
        height: 18px;
        padding: 0 5px;
        border-radius: 999px;
        background: #ff4f4f;
        color: #fff;
        font-size: 10px;
        line-height: 18px;
    }

    .slider-section {
        margin: 14px 0 22px;
    }

    .slider-section .container {
        width: min(100% - 36px, var(--storefront-shell-width));
    }

    .is-home-page .hero-slider-wrap {
        width: 100%;
        height: auto;
        margin-left: 0;
        overflow: hidden;
        border-radius: 22px;
        background: #fff;
    }

    .main_slider,
    .main_slider .owl-stage-outer,
    .main_slider .owl-stage,
    .main_slider .owl-item,
    .main_slider .owl-item > div,
    .main_slider .owl-item a,
    .main_slider picture {
        height: auto;
    }

    .slider-item {
        aspect-ratio: 1320 / 420;
        height: auto;
    }

    .slider-item img {
        width: 100%;
        height: 100%;
        border-radius: 22px;
        object-fit: cover;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1100px) {
    .desktop-mega-menu > ul {
        gap: 18px;
        max-width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .desktop-mega-menu > ul::-webkit-scrollbar {
        display: none;
    }

    .desktop-mega-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
