/* Tablet */
@media (max-width: 991.98px) {
    .anvu-hero-slider {
        margin-bottom: 16px;
        border-radius: 20px;
    }

    .media-slider,
    .content-anvu-main,
    .anvu-promo-banner-section,
    .anvu-main {
        width: 100% !important;
    }

    .media-slider img {
        width: 100%;
        height: auto;
        margin: 0;
    }

    .anvu-hero-slide {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 14px 14px 16px;
    }

    .anvu-hero-slide-left,
    .anvu-hero-slide-right {
        width: 100%;
        max-width: 100%;
    }

    .anvu-hero-main-banner {
        min-height: 180px;
        border-radius: 18px;
    }

    .anvu-hero-slide-right {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .anvu-hero-deal {
        min-height: 100px;
        padding: 10px;
    }

    .anvu-hero-deal-title {
        font-size: 13px;
    }

    .anvu-hero-deal-price {
        font-size: 16px;
    }

    .anvu-hero-slider .carousel-control-prev,
    .anvu-hero-slider .carousel-control-next {
        width: 32px;
    }
}

/* Mobile */
@media (max-width: 767.98px) {
    .anvu-cat-badge.price,
    .anvu-pd-recent-wrap,
    .recentlyViewedContainer,
    .anvu-header-actions,
    .anvu-subnav,
    .anvu-search-desktop,
    .anvu-logo,
    .anvu-promo-time-pill,
    .anvu-promo-top-tabs,
    .anvu-mega-right {
        display: none !important;
    }
    .anvu-promo-cat-links{ display:none}
    .anvu-top-info-bar {
        background: rgba(15, 23, 42, 0.18);
        font-size: 11px;
    }

    .anvu-main-header .destop {
        padding: 0 !important;
    }

    .anvu-main-header {
        padding-bottom: 8px;
    }

    .anvu-top-static {
        border-left: 0;
    }

    .anvu-header-desktop {
        display: none;
    }

    .anvu-header-mobile {
        display: block;
        padding: 8px 12px 10px;
    }

    .anvu-header-mobile-top {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .anvu-m-icon-btn {
        display: flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.18);
        color: #fff;
        font-size: 18px;
        outline: 0;
    }

    .anvu-m-icon-btn i {
        line-height: 1;
    }

    .anvu-mobile-logo img {
        display: block;
        height: 50px;
    }

    .anvu-search {
        width: 100%;
        margin-right: 0 !important;
    }

    .anvu-search-mobile {
        display: flex;
        width: 100%;
        height: 44px;
        overflow: hidden;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 2px 4px rgba(15, 23, 42, 0.15);
    }

    .anvu-search-menu-btn {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        border: 0;
        border-right: 1px solid #e5e7eb;
        background: #ffffff2e;
        color: #fff;
        font-size: 10px;
        font-weight: 600;
    }

    .anvu-search-menu-btn i {
        margin-bottom: 2px;
        font-size: 16px;
    }

    .anvu-search-input-wrap {
        display: flex;
        flex: 1 1 auto;
        align-items: center;
        gap: 6px;
        padding: 0 10px;
    }

    .anvu-search-input-wrap i {
        color: #9ca3af;
        font-size: 14px;
    }

    .anvu-search-input-wrap input {
        width: 100%;
        border: 0;
        background: transparent;
        color: #111827;
        font-size: 13px;
        outline: 0;
    }

    .anvu-search-cart-btn {
        display: flex;
        width: 64px;
        align-items: center;
        justify-content: center;
        border: 0;
        border-left: 1px solid #e5e7eb;
        background: #f3f4f6;
        color: #9ca3af;
        font-size: 18px;
    }

    .anvu-search-cart-btn:active {
        background: #e5e7eb;
    }

    .anvu-mobile-search-placeholder,
    .anvu-mobile-search-placeholder:link,
    .anvu-mobile-search-placeholder:visited {
        color: #9ca3af;
        font-weight: 400;
        text-decoration: none;
    }

    .anvu-m-search-form {
        margin-top: 8px;
    }

    .anvu-m-search-inner {
        display: flex;
        align-items: center;
        padding: 6px 12px;
        border-radius: 999px;
        background: #fff;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.12);
    }

    .anvu-m-search-inner input {
        flex: 1;
        border: 0;
        background: transparent;
        color: #333;
        font-size: 14px;
        outline: 0;
    }

    .anvu-m-search-inner input::placeholder {
        color: #b3b3b3;
    }

    .anvu-m-search-inner button {
        display: flex;
        align-items: center;
        justify-content: center;
        padding-left: 8px;
        border: 0;
        background: none;
        color: #6b7280;
        font-size: 18px;
        outline: 0;
    }

    .anvu-menu-wrapper {
        position: static;
        margin-right: 0;
    }

    .anvu-menu-btn {
        display: none !important;
    }

    .anvu-mega-menu {
      display:none !important
    }

    .anvu-menu-wrapper:not(.is-open) .anvu-mega-menu {
        display: none !important;
    }

    /*.anvu-menu-wrapper.is-open .anvu-mega-menu {
        display: block !important;
    }
*/
    .anvu-mega-left {
        width: 100%;
        border-right: 0;
        border-bottom: 8px solid #f1f5f9;
        background: #fff;
    }

    .anvu-mega-left-title {
        padding: 12px 16px;
        border-bottom: 1px solid #e5e7eb;
        border-radius: 18px 18px 0 0;
        background: #f1f5f9;
        color: #0f172a;
        font-size: 15px;
        font-weight: 700;
    }

    .anvu-mega-left-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }

    .anvu-mega-left-list li a {
        display: block;
        padding: 10px 16px;
        border-bottom: 1px solid #f1f5f9;
        color: #111827;
        font-size: 14px;
    }

    .anvu-mega-left-list li a:hover {
        background: #f9fafb;
    }

    .anvu-hero-section {
        overflow: hidden;
        padding: 0 10px;
    }

    .anvu-hero-section .container {
        padding-inline: 0;
    }

    .anvu-hero-slider {
        width: 100% !important;
        margin: 0;
        border-radius: 5px;
    }

    .anvu-hero-slide {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding: 12px 10px 14px;
    }

    .anvu-hero-slide-left {
        width: 100%;
        max-width: 100%;
    }

    .anvu-hero-slide-right {
        display: none !important;
    }

    .anvu-hero-main-banner {
        width: 100%;
        min-height: 150px;
        padding: 14px 14px 12px;
        border-radius: 18px;
    }

    .anvu-hero-main-sub {
        font-size: 14px;
    }

    .anvu-hero-main-title {
        font-size: 28px;
        line-height: 1.1;
    }

    .anvu-hero-main-desc {
        margin-bottom: 8px;
        font-size: 13px;
    }

    .anvu-hero-main-btn {
        padding: 6px 14px;
        border-radius: 999px;
        font-size: 13px;
    }

    .anvu-hero-slider .carousel-control-prev,
    .anvu-hero-slider .carousel-control-next {
        display: none;
    }

    .anvu-video-combo-section {
        width: 100%;
    }

    .anvu-promo-card-top {
        grid-template-columns: 1fr;
    }

    .anvu-category-card {
        margin-top: 10px;
    }

    .anvu-showroom-all {
        display: grid;
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 16px;
    }

    .anvu-showroom-card-full {
        padding: 12px 14px;
        border-radius: 8px;
        background: #fff;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
    }

    .anvu-showroom-name {
        margin-bottom: 4px;
        color: #222;
        font-weight: 600;
    }

    .anvu-showroom-addr {
        margin-bottom: 6px;
        color: #555;
        font-size: 13px;
    }

    .anvu-showroom-meta {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        color: #333;
        font-size: 13px;
    }

    .anvu-showroom-region {
        padding: 2px 8px;
        border-radius: 999px;
        background: #e3f2fd;
        color: #0b63ce;
    }

    .anvu-showroom-phone {
        display: inline-flex;
        align-items: center;
    }

    .anvu-showroom-phone i {
        font-size: 12px;
    }
}
