.pb-20px, .py-20px, .p-20px {
    padding-bottom: 5px;
}

.pt-20px, .py-20px, .p-20px {
    padding-top: 5px;
}

.site-logo {
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

@media (min-width: 768px) {
    .site-logo {
        max-width: 220px;
    }
}

.logo-bar-area {
    padding-top: 5px;
    padding-bottom: 5px;
}

.logo-bar-area .search-input-box .form-control {
    border-radius: 25px;
    padding-left: 10px;
    padding-right: 20px;
    background-color: #f9fafb;
    border-color: #ff0000 !important;
}

.logo-bar-area .search-input-box .form-control:focus {
    background-color: #fff;
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--soft-primary);
}

.header-actions {
    gap: 14px;
}

.header-utility-panel {
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 0px 4px;
    background: linear-gradient(180deg, #fcfcfd 0%, #f5f6f8 100%);
    border: 1px solid #ff0000;
    border-radius: 14px;
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
}

.header-utility-divider {
    width: 1px;
    height: 22px;
    background: #e2e8f0;
    margin: 0 2px;
    flex-shrink: 0;
}

.header-icon-group {
    gap: 8px;
}

.header-icon-btn,
.header-icon-btn > a,
.header-icon-btn > .dropdown-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    color: #64748b;
    text-decoration: none;
    transition: all 0.22s ease;
    position: relative;
    border: none;
    background: transparent;
    padding: 0;
    font-size: 19px;
    line-height: 1;
}

.header-icon-btn:hover,
.header-icon-btn > a:hover,
.header-icon-btn > .dropdown-toggle:hover {
    background-color: #fff;
    color: var(--primary);
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(255, 0, 0, 0.14);
    transform: translateY(-1px);
}

.header-icon-btn svg path {
    fill: currentColor !important;
}

.header-flag-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 16px;
    border-radius: 3px;
    overflow: hidden;
    box-shadow: 0 0 0 1px rgba(15, 23, 42, 0.08);
}

.header-flag-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.header-icon-btn img {
    border-radius: 2px;
    object-fit: cover;
}

/* Highlighted cart block */
.header-cart-block {
    position: relative;
}

.header-cart-link {
    gap: 8px;
    min-height: 40px;
    padding: 5px 5px 5px 5px;
    border-radius: 5px;
    border: 1px solid #ff0000;
    background: linear-gradient(135deg, #fffaf3 0%, #f8efe3 100%);
    box-shadow: 0 2px 10px rgba(255, 0, 0, 0.14);
    transition: all 0.22s ease;
    text-decoration: none !important;
}

.header-cart-link:hover {
    border-color: #b8956a;
    background: linear-gradient(135deg, #fff 0%, #f5ebe0 100%);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.22);
    transform: translateY(-1px);
    text-decoration: none !important;
}

.header-cart-icon-wrap {
    width: 30px;
    height: 30px;
    border-radius: 5px;
    background: linear-gradient(145deg, var(--primary) 0%, var(--hov-primary) 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.header-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: #d43533;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(212, 53, 51, 0.35);
}

.header-cart-badge.is-empty {
    background: #94a3b8;
    box-shadow: none;
}

.header-cart-info {
    min-width: 0;
    line-height: 1.25;
}

.header-cart-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 2px;
}

.header-cart-meta {
    font-size: 13px;
    color: #1e293b;
    white-space: nowrap;
}

.header-cart-total {
    font-weight: 700;
    color: #0f172a;
}

.header-cart-sep {
    margin: 0 4px;
    color: #cbd5e1;
}

.header-cart-items {
    font-weight: 500;
    color: #64748b;
}

.header-cart-dropdown {
    margin-top: 10px !important;
    min-width: 340px;
}

.header-cart-empty-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #f8efe3;
    color: var(--primary);
    font-size: 26px;
}

.header-user-block {
    padding: 2px 2px 2px 2px;
    margin-left: 2px;
    border-radius: 5px;
    border: 1px solid #ff0000;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
    box-shadow: 0 1px 2px rgba(16, 24, 40, 0.05);
    transition: all 0.22s ease;
    min-width: 168px;
    cursor: pointer;
}

.header-user-block:hover {
    border-color: #d9c4a8;
    background: #fff;
    box-shadow: 0 6px 18px rgba(255, 0, 0, 0.12);
    transform: translateY(-1px);
}

.header-user-avatar {
    width: 38px;
    height: 38px;
    border: 2px solid #efe8df !important;
    background: #faf7f2;
    transition: all 0.22s ease;
}

.header-user-avatar--guest {
    color: var(--primary);
    font-size: 18px;
}

.header-user-block:hover .header-user-avatar {
    border-color: #c9ad8a !important;
    box-shadow: 0 0 0 3px rgba(201, 173, 138, 0.15);
}

.header-user-block:hover .header-user-avatar--guest {
    background: #fff;
    color: var(--hov-primary);
}

.header-user-greeting {
    font-size: 10px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 1px;
}

.header-user-name {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    color: #1f2937;
    white-space: nowrap;
    max-width: 120px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.header-user-auth {
    font-size: 13px;
    line-height: 1.25;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-user-auth a {
    color: #1f2937;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s ease;
}

.header-user-auth a:hover {
    color: var(--primary);
}

.header-user-auth-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d1d5db;
    flex-shrink: 0;
}

.header-user-chevron {
    font-size: 14px;
    color: #94a3b8;
    transition: transform 0.22s ease, color 0.22s ease;
}

.header-user-block:hover .header-user-chevron {
    color: var(--primary);
    transform: translateY(1px);
}

/* User account dropdown — keep open while moving to menu items */
.hover-user-top-menu {
    z-index: 1035 !important;
    padding-top: 10px;
    margin-top: -10px;
    pointer-events: none;
}

.hover-user-top-menu.active {
    pointer-events: auto;
}

.hover-user-top-menu .aiz-user-top-menu {
    position: relative;
    z-index: 1036;
    pointer-events: auto;
}

.hover-user-top-menu .aiz-user-top-menu .user-top-nav-element > a {
    position: relative;
    z-index: 1;
    pointer-events: auto;
}

.header-actions .dropdown-menu {
    border-radius: 12px !important;
    overflow: hidden;
    margin-top: 8px;
}

#lang-change .dropdown-item.active,
#lang-change .dropdown-item:active {
    background-color: #f5f0ea;
    color: var(--hov-primary);
    font-weight: 600;
}

/* Full-width layout for home + all frontend pages */
.container,
.container-sm,
.container-md,
.container-lg,
.container-xl {
    max-width: 100% !important;
    width: 100% !important;
}

@media (min-width: 576px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 100% !important;
    }
}

@media (min-width: 768px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 100% !important;
    }
}

@media (min-width: 992px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 100% !important;
    }
}

@media (min-width: 1200px) {
    .container,
    .container-sm,
    .container-md,
    .container-lg,
    .container-xl {
        max-width: 100% !important;
    }
}

/* Header nav category hover menu */
header.sticky-top {
    z-index: 1020;
}

#header-menu-bar {
    overflow: visible;
    position: relative;
    z-index: 1019;
    margin-top: 0;
}

.home-banner-area {
    position: relative;
    z-index: 1;
    clear: both;
    padding: 8px 0 0;
    margin-bottom: 5px !important;
    background: linear-gradient(180deg, #faf8f5 0%, #ffffff 100%);
}

.home-double-slider-shell {
    width: 100%;
}

.home-double-slider-shell--full {
    padding-left: 16px;
    padding-right: 16px;
}

.home-double-slider {
    display: grid;
    grid-template-columns: minmax(0, 30fr) minmax(0, 70fr);
    gap: 14px;
    width: 100%;
    align-items: stretch;
}

.home-double-slider--single {
    grid-template-columns: 1fr;
}

.home-slider-panel {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(34, 24, 12, 0.08);
    border: 1px solid rgba(255, 0, 0, 0.12);
    min-height: 0;
}

.home-slider-height {
    height: 120px;
}

.home-slider-height--classic {
    height: 130px;
}

.home-slider-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #f3f0eb;
}

.home-slider-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1);
    transition: transform 0.55s ease;
}

.home-slider-link:hover .home-slider-img,
.home-right-banner-slide:hover .home-slider-img {
    transform: scale(1.04);
}

.home-double-slider .aiz-carousel,
.home-double-slider .slick-list,
.home-double-slider .slick-track,
.home-double-slider .carousel-box,
.home-double-slider .carousel-box > a,
.home-double-slider .home-right-banner-slide {
    height: 100%;
}

.home-right-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.35) 100%);
    pointer-events: none;
    z-index: 1;
}

.home-right-banner-actions {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    justify-content: flex-end;
}

.home-banner-product-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--primary) 0%, #ff3333 100%);
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.35);
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.home-banner-product-btn i {
    font-size: 16px;
    transition: transform 0.25s ease;
}

.home-banner-product-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(255, 0, 0, 0.42);
    color: #fff !important;
}

.home-banner-product-btn:hover i {
    transform: translateX(3px);
}

.home-hero-carousel .slick-arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92) !important;
    color: var(--primary) !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 3;
}

.home-slider-panel:hover .home-hero-carousel .slick-arrow {
    opacity: 1;
}

.home-hero-carousel .slick-arrow:hover {
    transform: scale(1.06);
    background: #fff !important;
}

.home-hero-carousel .slick-prev {
    left: 12px;
}

.home-hero-carousel .slick-next {
    right: 12px;
}

.home-hero-carousel .slick-dots {
    bottom: 6px;
    z-index: 3;
}

.home-hero-carousel .slick-dots li button:before {
    font-size: 9px;
    color: #fff;
    opacity: 0.55;
}

.home-hero-carousel .slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}

@media (min-width: 576px) {
    .home-slider-height {
        height: 140px;
    }

    .home-slider-height--classic {
        height: 160px;
    }
}

@media (min-width: 768px) {
    .home-banner-area {
        padding: 10px 0 0;
    }

    .home-slider-height {
        height: 160px;
    }

    .home-slider-height--classic {
        height: 200px;
    }
}

@media (min-width: 992px) {
    .home-slider-height {
        height: 200px;
    }

    .home-slider-height--classic {
        height: 240px;
    }
}

@media (min-width: 1200px) {
    .home-slider-height {
        height: 240px;
    }

    .home-slider-height--classic {
        height: 280px;
    }
}

@media (max-width: 991.98px) {
    .home-double-slider {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .home-hero-carousel .slick-arrow {
        opacity: 1;
    }
}

.featured-categories-carousel .carousel-box {
    min-width: 0;
}

.featured-categories-carousel .slick-slide {
    height: auto;
}

.home-featured-categories-section {
    margin-top: 0;
}

#todays_deal:empty {
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    border: none;
}

.featured-categories-panel {
    background: #fff;
    border: 1px solid #ece7df;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(34, 24, 12, 0.06);
    overflow: hidden;
}

.featured-categories-header {
    padding: 10px 16px 8px;
    background: linear-gradient(180deg, #fdfbf8 0%, #fff 100%);
}

.featured-categories-title-wrap {
    gap: 10px;
}

.featured-categories-accent {
    width: 4px;
    height: 22px;
    border-radius: 4px;
    background: linear-gradient(180deg, var(--primary) 0%, #ff3333 100%);
    flex-shrink: 0;
}

.featured-categories-title {
    font-size: 15px;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.featured-categories-view-all {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    background: var(--soft-primary);
    border: 1px solid rgba(255, 0, 0, 0.18);
    border-radius: 999px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.featured-categories-view-all:hover {
    color: #fff;
    background: linear-gradient(135deg, var(--primary) 0%, #ff3333 100%);
    border-color: transparent;
}

.featured-categories-view-all i {
    font-size: 13px;
    transition: transform 0.2s ease;
}

.featured-categories-view-all:hover i {
    transform: translateX(2px);
}

.featured-categories-slider-wrap {
    position: relative;
    padding: 6px 52px 10px;
}

.featured-categories-slider-wrap::before,
.featured-categories-slider-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 36px;
    z-index: 1;
    pointer-events: none;
}

.featured-categories-slider-wrap::before {
    left: 0;
    background: linear-gradient(to right, #fff 30%, rgba(255, 255, 255, 0));
}

.featured-categories-slider-wrap::after {
    right: 0;
    background: linear-gradient(to left, #fff 30%, rgba(255, 255, 255, 0));
}

.featured-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 6px 4px;
    border-radius: 12px;
    text-decoration: none !important;
    transition: transform 0.25s ease;
}

.featured-category-card:hover {
    transform: translateY(-3px);
}

.featured-categories-carousel .featured-category-icon,
.home-featured-categories-carousel .featured-category-icon {
    width: 58px;
    height: 58px;
    border-radius: 10%;
    border: 1px solid var(--primary);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 10px;
    box-shadow: 0 2px 8px rgba(34, 24, 12, 0.06);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.featured-category-card:hover .featured-category-icon {
    border-color: #ff3333;
    box-shadow: 0 6px 16px rgba(255, 0, 0, 0.18);
    transform: scale(1.05);
}

.home-featured-categories-carousel .featured-category-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    opacity: 0.92;
    transition: opacity 0.25s ease;
}

.featured-category-card:hover .featured-category-img {
    opacity: 1;
}

.home-featured-categories-carousel .featured-category-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 7px;
    min-height: 30px;
    max-width: 100%;
    padding: 0 2px;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: #000;
    transition: color 0.2s ease;
}

.featured-category-card:hover .featured-category-name {
    color: #000;
}

.home-featured-categories-carousel .carousel-box {
    min-width: 0;
    padding-left: 16px;
    padding-right: 16px;
}

.home-featured-categories-carousel .slick-list {
    margin: 0 -16px;
    padding: 2px 0 4px !important;
}

.home-featured-categories-carousel .slick-arrow {
    width: 42px !important;
    height: 42px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--primary) 0%, #ff3333 100%) !important;
    color: #fff !important;
    border: 2px solid #fff !important;
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.35) !important;
    z-index: 4;
    top: 38% !important;
    transform: translateY(-50%) !important;
    font-size: 0 !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    transition: all 0.2s ease;
}

.home-featured-categories-carousel .slick-arrow i {
    font-size: 22px !important;
    font-weight: 700;
    line-height: 1;
}

.home-featured-categories-carousel .slick-arrow:hover {
    background: linear-gradient(135deg, #cc0000 0%, var(--primary) 100%) !important;
    color: #fff !important;
    border-color: #fff !important;
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.45) !important;
    transform: translateY(-50%) scale(1.08) !important;
}

.home-featured-categories-carousel .slick-arrow:hover i {
    transform: scale(1.05);
}

.aiz-carousel.arrow-x-15 .slick-prev {
    left: -40px !important;
}

.aiz-carousel.arrow-x-15 .slick-next {
    right: -40px !important;
}

@media (min-width: 768px) {
    .featured-categories-header {
        padding: 12px 20px 10px;
    }

    .featured-categories-accent {
        height: 24px;
    }

    .featured-categories-title {
        font-size: 17px;
    }

    .featured-categories-view-all {
        font-size: 12px;
        padding: 6px 14px;
    }

    .featured-categories-slider-wrap {
        padding: 5px 56px 5px;
    }

    .home-featured-categories-carousel .featured-category-icon {
        width: 66px;
        height: 66px;
        padding: 5px;
    }

    .home-featured-categories-carousel .featured-category-name {
        font-size: 12px;
        min-height: 32px;
        margin-top: 8px;
    }

    .home-featured-categories-carousel .slick-arrow {
        width: 46px !important;
        height: 46px !important;
    }

    .home-featured-categories-carousel .slick-arrow i {
        font-size: 24px !important;
    }
}

@media (min-width: 1200px) {
    .home-featured-categories-carousel .featured-category-icon {
        width: 95px;
        height: 75px;
    }
}

.header-menu-bar {
    min-height: 50px;
    height: 50px;
    overflow: visible;
}

.header-menu-bar .container {
    height: 100% !important;
}

.header-nav-menu-inner {
    width: 100%;
    height: 100%;
}

.header-nav-menu-wrap {
    overflow: hidden;
}

.header-nav-menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    white-space: nowrap;
    padding: 0;
}

.header-nav-menu > .list-inline-item {
    flex-shrink: 0;
}

.header-nav-menu .header_menu_links {
    padding: 8px 8px !important;
    font-size: 14px !important;
    line-height: 1.3;
    transition: background-color 0.2s ease, border-color 0.2s ease;
    border-bottom: 2px solid transparent;
}

.header-nav-category.active > a,
.header-nav-category.is-current > a,
.header-nav-static.is-current > a,
.header-nav-more.is-current > a,
.header-nav-more.show > a {
    background-color: rgba(0, 0, 0, 0.16);
    color: #fff !important;
    border-bottom-color: #fff;
    box-shadow: none;
}

.header-nav-more-dropdown .header-nav-more-item.is-current > a {
    background: #f8f9fa;
    color: var(--primary);
    border-left: 3px solid var(--primary);
    font-weight: 600;
}

.header-nav-more {
    position: relative;
}

.header-nav-used-products {
    margin-left: 6px;
    padding-left: 10px;
    border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.header-nav-used-products-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 6px 12px 6px 0;
    padding: 5px 15px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: var(--primary) !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    border-bottom: none !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.header-nav-used-products-icon {
    font-size: 15px;
    line-height: 1;
    flex-shrink: 0;
}

.header-nav-used-products-link:hover {
    color: var(--primary) !important;
    background: #fff !important;
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.14);
}

.header-nav-used-products.is-current > .header-nav-used-products-link {
    color: var(--primary) !important;
    background: #fff !important;
    border-color: #fff;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.12);
    font-weight: 700 !important;
}

.header-nav-more-panel {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1040;
    padding-top: 0;
}

.header-nav-more-panel .header-nav-more-dropdown {
    min-width: 240px;
    max-width: 320px;
    max-height: 360px;
    overflow-y: auto;
    background: #fff;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
    border: 1px solid #ececf1;
    border-top: 0;
}

.header-nav-more-dropdown .header-nav-more-item > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    color: #1b1b28;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid #f1f1f4;
}

.header-nav-more-dropdown .header-nav-more-item:last-child > a {
    border-bottom: 0;
}

.header-nav-more-dropdown .header-nav-more-item > a:hover,
.header-nav-more-dropdown .header-nav-more-item.active > a {
    background: #faf7f2;
    color: var(--primary);
}

.header-category-dropdown {
    box-shadow: none;
}

.header-category-dropdown-panel {
    background: #fff;
    border-top: 3px solid var(--primary);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 12px 36px rgba(17, 24, 39, 0.12);
    overflow: hidden;
}

.header-category-sub-menu {
    padding: 20px 24px;
}

/* Flat subcategory grid (e.g. Computers → Desktop PC, Gaming PC…) */
.header-category-sub-menu .header-subcat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 6px;
}

.header-category-sub-menu .header-subcat-tile {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none !important;
    color: #374151;
    border: 1px solid transparent;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.header-category-sub-menu .header-subcat-tile:hover {
    background: #f9fafb;
    border-color: #eceef2;
    color: var(--primary);
    transform: translateX(2px);
}

.header-category-sub-menu .header-subcat-icon-wrap {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #f3f4f6;
    border: 1px solid #eceef2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.header-category-sub-menu .header-subcat-icon-wrap-sm {
    width: 34px;
    height: 34px;
    border-radius: 8px;
}

.header-category-sub-menu .header-subcat-tile:hover .header-subcat-icon-wrap,
.header-category-sub-menu .header-subcat-column-title:hover .header-subcat-icon-wrap {
    background: var(--soft-primary);
    border-color: rgba(var(--primary-rgb, 239, 68, 68), 0.15);
}

.header-category-sub-menu .header-subcat-icon {
    width: 26px;
    height: 26px;
    object-fit: contain;
    flex-shrink: 0;
}

.header-category-sub-menu .header-subcat-icon-xs {
    width: 18px;
    height: 18px;
    opacity: 0.9;
}

.header-category-sub-menu .header-subcat-label {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

/* Nested subcategory columns */
.header-category-sub-menu .header-subcat-columns {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 20px 28px;
}

.header-category-sub-menu .header-subcat-column-title {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 2px solid #f0f1f4;
    text-decoration: none !important;
    color: #111827;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.header-category-sub-menu .header-subcat-column-title:hover {
    color: var(--primary);
    border-bottom-color: var(--soft-primary);
}

.header-category-sub-menu .header-subcat-child-list li {
    margin-bottom: 4px;
}

.header-category-sub-menu .header-subcat-child-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    margin-left: -8px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none !important;
    transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.header-category-sub-menu .header-subcat-child-link:hover {
    background: #f9fafb;
    color: var(--primary);
    padding-left: 12px;
}

@media (max-width: 1199.98px) {
    .header-category-sub-menu .header-subcat-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }

    .header-category-sub-menu .header-subcat-columns {
        grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    }
}

@media (max-width: 991.98px) {
    .header-category-sub-menu {
        padding: 16px 18px;
    }

    .header-category-sub-menu .header-subcat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Sidebar category menu — same subcategory markup, narrower layout */
.aiz-category-menu .sub-cat-menu .header-subcat-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.aiz-category-menu .sub-cat-menu .header-subcat-tile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 6px;
    text-decoration: none !important;
    color: #374151;
    transition: background 0.2s ease, color 0.2s ease;
}

.aiz-category-menu .sub-cat-menu .header-subcat-tile:hover {
    background: #f3f4f6;
    color: var(--primary);
}

.aiz-category-menu .sub-cat-menu .header-subcat-icon-wrap {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #f3f4f6;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.aiz-category-menu .sub-cat-menu .header-subcat-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.aiz-category-menu .sub-cat-menu .header-subcat-label {
    font-size: 13px;
    font-weight: 600;
}

.aiz-category-menu .sub-cat-menu .header-subcat-columns {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.aiz-category-menu .sub-cat-menu .header-subcat-column-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    text-decoration: none !important;
    padding-bottom: 6px;
    margin-bottom: 6px;
    border-bottom: 1px solid #eee;
}

.aiz-category-menu .sub-cat-menu .header-subcat-child-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 0;
    font-size: 12px;
    color: #6b7280;
    text-decoration: none !important;
}

.aiz-category-menu .sub-cat-menu .header-subcat-child-link:hover {
    color: var(--primary);
}

.btn-quick-order {
    background-color: #28a745;
    border-color: #28a745;
    color: #fff;
}

.btn-quick-order:hover,
.btn-quick-order:focus {
    background-color: #218838;
    border-color: #1e7e34;
    color: #fff;
}

#quickOrderModal .modal-content {
    border: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

#quick-order-detect-location {
    white-space: nowrap;
}

/* ── Dark footer widget section ── */
.footer-dark-widget {
    background-color: #1a1a22 !important;
    color: #b8b8c4;
}

.footer-widgets-row {
    align-items: flex-start;
}

.footer-widgets-row > [class*="col-"] {
    margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
    .footer-widgets-row > [class*="col-lg-3"] {
        flex: 0 0 25%;
        max-width: 25%;
    }
}

.footer-dark-widget.border-bottom {
    border-color: #2d2d38 !important;
}

.footer-widget-heading {
    color: #fff !important;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #2d2d38;
    position: relative;
}

.footer-widget-heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 28px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px;
}

.footer-newsletter-form {
    max-width: 480px;
}

.footer-newsletter-title {
    color: #9a9aa8;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;
    margin-top: 0.25rem;
}

.footer-newsletter-input-group {
    display: flex;
    align-items: stretch;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #3a3a46;
    background: #25252e;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.footer-newsletter-input-group:focus-within {
    border-color: #4a4a58;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.04);
}

.footer-newsletter-input {
    flex: 1;
    min-width: 0;
    border: none;
    background: transparent;
    color: #fff;
    padding: 11px 16px;
    font-size: 13px;
    outline: none;
}

.footer-newsletter-input::placeholder {
    color: #6b6b78;
}

.footer-newsletter-btn {
    border: none;
    background: var(--primary);
    color: #fff;
    padding: 11px 22px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.2s ease;
}

.footer-newsletter-btn:hover {
    background: var(--hov-primary);
}

.footer-contact-item {
    gap: 10px;
    line-height: 1.55;
    padding: 3px 0;
    color: #b8b8c4;
}

.footer-contact-icon {
    font-size: 15px;
    color: #6b6b78;
    margin-top: 2px;
    flex-shrink: 0;
    width: 18px;
    text-align: center;
    transition: color 0.2s ease;
}

.footer-quick-link {
    gap: 10px;
    padding: 3px 0;
    color: #b8b8c4 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-quick-link .footer-contact-icon {
    margin-top: 0;
}

.footer-quick-link:hover {
    color: #fff !important;
    text-decoration: none;
}

.footer-quick-link:hover .footer-contact-icon,
.footer-contact-item:hover .footer-contact-icon {
    color: var(--primary);
}

.footer-contact-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-link:hover {
    color: #fff;
    text-decoration: none;
}

.footer-dark-widget .list-unstyled > li {
    margin-bottom: 0.15rem;
}

.footer-dark-widget .footer-social-icons {
    margin-top: 0.25rem;
}

.footer-dark-widget .footer-social-icons a {
    opacity: 0.85;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-dark-widget .footer-social-icons a:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.footer-dark-widget .aiz-accordion-panel,
.footer-dark-widget .aiz-accordion-heading {
    background-color: #1a1a22 !important;
}

.footer-dark-widget .aiz-accordion-wrap {
    border-color: #2d2d38;
}

.footer-bottom-bar {
    background: #121218 !important;
    border-top: 1px solid #2d2d38;
}

.footer-bottom-bar .fs-14 {
    color: #8a8a96;
    font-size: 13px !important;
}

@media (max-width: 575px) {
    .footer-newsletter-input-group {
        flex-direction: column;
    }

    .footer-newsletter-btn {
        width: 100%;
        padding: 12px;
    }
}

.footer-about-section {
    background: linear-gradient(180deg, #f8f9fb 0%, #f3f4f6 100%);
    border-top: 1px solid #eceef2;
}

.footer-about-panel {
    max-width: 920px;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    padding: 24px 28px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.footer-about-title {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
    position: relative;
    padding-bottom: 12px;
}

.footer-about-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 48px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
}

.footer-about-text {
    font-size: 13px;
    line-height: 1.8;
    color: #6b7280;
    text-align: justify;
}

.footer-policy-section {
    background: #fff;
    border-top: 1px solid #eceef2;
    border-bottom: 1px solid #eceef2;
}

.footer-policy-grid {
    margin-left: -8px;
    margin-right: -8px;
}

.footer-policy-grid > [class*="col-"] {
    padding-left: 8px;
    padding-right: 8px;
}

.footer-policy-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none !important;
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    padding: 22px 16px;
    min-height: 132px;
    transition: all 0.22s ease;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.03);
}

.footer-policy-card:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 0, 0, 0.18);
    box-shadow: 0 10px 24px rgba(255, 0, 0, 0.08);
}

.footer-policy-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 0, 0, 0.08);
    color: var(--primary);
    font-size: 24px;
    margin-bottom: 12px;
    transition: all 0.22s ease;
}

.footer-policy-card:hover .footer-policy-icon {
    background: var(--primary);
    color: #fff;
}

.footer-policy-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.4;
}

@media (max-width: 767.98px) {
    .footer-about-panel {
        padding: 18px 16px;
        border-radius: 10px;
    }

    .footer-about-title {
        font-size: 16px;
    }

    .footer-policy-card {
        min-height: 118px;
        padding: 16px 12px;
    }

    .footer-policy-icon {
        width: 44px;
        height: 44px;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .footer-policy-label {
        font-size: 12px;
    }
}

@media (min-width: 1200px) {
    .ml-xl-5,
    .mx-xl-5 {
        margin-left: 1rem !important;
    }
}

@media (min-width: 1200px) {
    .mr-xl-5,
    .mx-xl-5 {
        margin-right: 1rem !important;
    }
}

/* ── Product listing page ── */
.product-listing-page {
    background: #f5f6f8;
}

.product-listing-page .listing-filter-panel {
    background: #fff;
    border: 1px solid #eceef2 !important;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
    overflow: hidden;
}

.product-listing-page .listing-filter-panel > .fs-16 {
    font-size: 14px !important;
    font-weight: 600 !important;
    padding: 14px 16px !important;
    border-bottom: 1px solid #f0f1f4;
    margin: 0;
    color: #1f2937;
}

.product-listing-page .listing-filter-panel .filter-section {
    text-decoration: none;
    color: #1f2937 !important;
}

.product-listing-page .listing-filter-panel .filter-section::after {
    border-color: #9ca3af;
}

.product-listing-page .listing-filter-panel ul.p-3,
.product-listing-page .listing-filter-panel .p-3.aiz-checkbox-list,
.product-listing-page .listing-filter-panel .p-3.aiz-radio-inline {
    padding: 12px 16px !important;
}

.product-listing-page .listing-filter-panel ul li {
    margin-bottom: 0.5rem !important;
}

.product-listing-page .listing-filter-panel ul li:last-child {
    margin-bottom: 0 !important;
}

.product-listing-page .listing-filter-panel ul li a {
    color: #4b5563;
    transition: color 0.2s ease;
}

.product-listing-page .listing-filter-panel ul li a:hover {
    color: var(--primary);
}

.product-listing-page .listing-filter-panel ul li.ml-4 a {
    color: #6b7280;
    font-size: 13px;
    padding-left: 4px;
    border-left: 2px solid #eceef2;
}

.product-listing-page .listing-filter-panel ul li.fw-600 a,
.product-listing-page .listing-filter-panel ul li .fw-600 {
    color: #111827;
    font-weight: 600 !important;
}

.product-listing-page .aiz-range-slider .noUi-target {
    border: none;
    background: #e5e7eb;
    height: 5px;
    border-radius: 999px;
    box-shadow: none;
}

.product-listing-page .aiz-range-slider .noUi-connect {
    background: var(--primary);
    border-radius: 999px;
}

.product-listing-page .aiz-range-slider .noUi-handle {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #fff;
    background: var(--primary);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    top: -7px;
    right: -9px;
}

.product-listing-page .aiz-range-slider .noUi-handle::before,
.product-listing-page .aiz-range-slider .noUi-handle::after {
    display: none;
}

.product-listing-page .range-slider-value {
    display: inline-block;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px !important;
    color: #374151 !important;
    opacity: 1 !important;
    font-weight: 600 !important;
}

.product-listing-page .listing-toolbar {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
}

.product-listing-page .breadcrumb {
    font-size: 13px;
}

.product-listing-page .breadcrumb-item + .breadcrumb-item::before {
    color: #9ca3af;
}

.product-listing-page .listing-page-title {
    color: #111827;
    letter-spacing: -0.01em;
}

.product-listing-page .listing-result-count {
    font-size: 13px;
    color: #6b7280;
}

.product-listing-page .listing-sort-select {
    border: 1px solid #dce0e6 !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    height: auto !important;
    font-size: 13px;
    background: #fff;
    min-width: 180px;
    color: #374151;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-listing-page .listing-sort-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px var(--soft-primary);
}

.product-listing-page .listing-filter-btn {
    border: 1px solid #dce0e6;
    border-radius: 8px;
    background: #fff;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #374151;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.product-listing-page .listing-filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.product-listing-page .listing-product-grid .aiz-card-box {
    border: 1px solid var(--primary);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
    overflow: hidden;
}

.product-listing-page .listing-product-grid .aiz-card-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(255, 0, 0, 0.12);
    border-color: #ff3333;
}

.product-listing-page .listing-product-grid .aiz-card-box > .position-relative {
    background: #f9fafb;
    border-radius: 12px 12px 0 0;
}

.product-listing-page .listing-product-grid .aiz-card-box .p-2,
.product-listing-page .listing-product-grid .aiz-card-box .p-md-3 {
    padding: 12px 14px 16px !important;
}

.product-listing-page .listing-product-grid .aiz-card-box h3 {
    text-align: left !important;
    height: auto !important;
    min-height: 38px;
    font-size: 13px !important;
    line-height: 1.45 !important;
}

.product-listing-page .listing-product-grid .aiz-card-box h3 a {
    font-weight: 500;
    color: #374151;
}

.product-listing-page .listing-product-grid .aiz-card-box h3 a:hover {
    color: var(--primary);
}

.product-listing-page .listing-product-grid .aiz-card-box .fs-14 {
    justify-content: flex-start !important;
    margin-top: 8px !important;
}

.product-listing-page .listing-product-grid .aiz-card-box .cart-btn {
    background: var(--primary);
    opacity: 0.95;
    border-radius: 0 0 12px 12px;
}

.product-listing-page .listing-product-grid .aiz-card-box .cart-btn:hover {
    background: var(--hov-primary);
    opacity: 1;
}

.product-listing-page .aiz-pagination {
    display: flex;
    justify-content: center;
}

.product-listing-page .aiz-pagination .pagination .page-link {
    border-radius: 8px !important;
    border-color: #dce0e6;
}

.product-listing-page .aiz-pagination .pagination .page-item.active .page-link {
    background: var(--primary);
    border-color: var(--primary);
}

@media (min-width: 1200px) {
    .product-listing-page .aiz-filter-sidebar .collapse-sidebar {
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
    }
}

@media (max-width: 575px) {
    .product-listing-page .listing-toolbar {
        padding: 14px 16px;
    }

    .product-listing-page .listing-sort-select {
        min-width: 0;
        width: 100%;
    }
}

/* ── Home product carousel sections (Best Selling / New Products) ── */
#section_best_selling,
#section_newest {
    height: 100%;
}

.home-product-carousel-section {
    height: 100%;
}

.home-product-carousel-panel {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(17, 24, 39, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.home-product-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    border-bottom: 1px solid #f0f1f4;
    flex-shrink: 0;
}

.home-product-carousel-title {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    position: relative;
    padding-bottom: 8px;
    letter-spacing: -0.01em;
}

.home-product-carousel-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 999px;
    background: var(--primary);
}

.home-product-carousel-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.home-carousel-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: 1px solid #dce0e6;
    background: #fff;
    color: #4b5563;
    font-size: 16px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
    text-decoration: none !important;
}

.home-carousel-arrow:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--soft-primary);
}

.home-carousel-arrow.link-disable {
    opacity: 0.4;
    pointer-events: none;
}

.home-carousel-view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    padding: 0 4px;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.home-carousel-view-all:hover {
    color: var(--hov-primary);
    text-decoration: none;
}

.home-product-carousel-body {
    padding: 12px 10px 16px;
    flex: 1;
    min-height: 0;
}

.home-carousel-product-item {
    padding: 6px !important;
}

#section_best_selling .home-carousel-product-item .aiz-card-box,
#section_best_selling .aiz-card-box,
#section_newest .home-carousel-product-item .aiz-card-box,
#section_newest .aiz-card-box,
#section_featured .aiz-card-box,
#section_featured_div .aiz-card-box {
    border: 1px solid #ff0000 !important;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

#section_best_selling .home-carousel-product-item .aiz-card-box:hover,
#section_best_selling .aiz-card-box:hover,
#section_newest .home-carousel-product-item .aiz-card-box:hover,
#section_newest .aiz-card-box:hover,
#section_featured .aiz-card-box:hover,
#section_featured_div .aiz-card-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(255, 0, 0, 0.12);
    border-color: #ff3333 !important;
}

#section_best_selling .carousel-box,
#section_newest .carousel-box,
#section_featured .carousel-box,
#section_featured_div .carousel-box {
    border: none !important;
}

#section_featured .border,
#section_featured_div .border {
    border: none !important;
}

@media (min-width: 576px) {
    .sm-gutters-16 > .col,
    .sm-gutters-16 > [class*="col-"],
    .aiz-carousel.sm-gutters-16 .carousel-box {
        padding-right: 0px;
        padding-left: 0px;
    }
}

#section_best_selling .home-carousel-product-item .aiz-card-box > .position-relative,
#section_best_selling .aiz-card-box > .position-relative,
#section_newest .home-carousel-product-item .aiz-card-box > .position-relative,
#section_newest .aiz-card-box > .position-relative,
#section_featured .aiz-card-box > .position-relative,
#section_featured_div .aiz-card-box > .position-relative {
    background: #f9fafb;
}

#section_best_selling .home-carousel-product-item .aiz-card-box h3,
#section_newest .home-carousel-product-item .aiz-card-box h3 {
    text-align: left !important;
    height: auto !important;
    min-height: 36px;
    font-size: 12px !important;
    line-height: 1.45 !important;
}

#section_best_selling .home-carousel-product-item .aiz-card-box h3 a,
#section_newest .home-carousel-product-item .aiz-card-box h3 a {
    color: #374151;
    font-weight: 500;
}

#section_best_selling .home-carousel-product-item .aiz-card-box h3 a:hover,
#section_newest .home-carousel-product-item .aiz-card-box h3 a:hover {
    color: var(--primary);
}

#section_best_selling .home-carousel-product-item .aiz-card-box .fs-14,
#section_newest .home-carousel-product-item .aiz-card-box .fs-14 {
    justify-content: flex-start !important;
    margin-top: 6px !important;
}

#section_best_selling .home-carousel-product-item .aiz-card-box .p-2,
#section_newest .home-carousel-product-item .aiz-card-box .p-2,
#section_best_selling .home-carousel-product-item .aiz-card-box .p-md-3,
#section_newest .home-carousel-product-item .aiz-card-box .p-md-3 {
    padding: 10px 12px 14px !important;
}

#section_best_selling .home-carousel-product-item .aiz-card-box .cart-btn,
#section_newest .home-carousel-product-item .aiz-card-box .cart-btn {
    background: var(--primary);
    opacity: 0.95;
}

#section_best_selling .home-carousel-product-item .aiz-card-box .cart-btn:hover,
#section_newest .home-carousel-product-item .aiz-card-box .cart-btn:hover {
    background: var(--hov-primary);
    opacity: 1;
}

#section_best_selling .home-carousel-product-item .absolute-top-left.bg-primary,
#section_newest .home-carousel-product-item .absolute-top-left.bg-primary {
    border-radius: 6px;
    padding: 3px 6px !important;
    width: auto !important;
    font-size: 10px !important;
    margin: 8px 0 0 8px !important;
}

@media (min-width: 768px) {
    .home-product-carousel-title {
        font-size: 18px;
    }

    .home-product-carousel-header {
        padding: 18px 20px;
    }

    .home-product-carousel-body {
        padding: 14px 12px 18px;
    }
}

@media (max-width: 575px) {
    .home-product-carousel-header {
        padding: 14px 14px;
    }

    .home-carousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .home-carousel-view-all {
        font-size: 11px;
    }
}

/* ── All Categories page ── */
.all-categories-page {
    background: #f5f6f8;
}

.all-categories-page .listing-toolbar {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
}

.all-categories-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.category-block-card {
    background: #fff;
    border: 1px solid #eceef2;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.category-block-card:hover {
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.08);
    border-color: #dce0e6;
}

.category-block-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    text-decoration: none !important;
    border-bottom: 1px solid #f0f1f4;
    transition: background 0.2s ease;
}

.category-block-header:hover {
    background: #fafbfc;
}

.category-block-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 12px;
    border: 1px solid #eceef2;
    background: #f9fafb;
    overflow: hidden;
    padding: 6px;
}

.category-block-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.category-block-info {
    flex: 1;
    min-width: 0;
}

.category-block-title {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 4px;
    letter-spacing: -0.01em;
    transition: color 0.2s ease;
}

.category-block-header:hover .category-block-title {
    color: var(--primary);
}

.category-block-meta {
    font-size: 13px;
    color: #6b7280;
}

.category-block-arrow {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.category-block-header:hover .category-block-arrow {
    background: var(--soft-primary);
    color: var(--primary);
    transform: translateX(2px);
}

.category-block-body {
    padding: 16px 20px 20px;
    background: linear-gradient(180deg, #fafbfc 0%, #fff 100%);
}

.category-subgroup {
    margin-bottom: 8px;
}

.category-subgroup-title {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--soft-primary);
    display: inline-block;
}

.category-subgroup-title a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s ease;
}

.category-subgroup-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 4px;
}

.category-sub-link-icon {
    width: 18px;
    height: 18px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 3px;
}

.category-subgroup-title a:hover {
    color: var(--primary);
}

.category-sub-links {
    margin: 0;
    padding: 0;
}

.category-sub-links li {
    margin-bottom: 6px;
}

.category-sub-links li a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.category-sub-links li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.category-more-toggle {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s ease;
}

.category-more-toggle:hover {
    color: var(--hov-primary);
    text-decoration: none;
}

@media (max-width: 767px) {
    .category-block-header {
        padding: 14px 16px;
        gap: 12px;
    }

    .category-block-icon {
        width: 52px;
        height: 52px;
    }

    .category-block-title {
        font-size: 16px;
    }

    .category-block-body {
        padding: 14px 16px 16px;
    }

    .category-block-arrow {
        width: 32px;
        height: 32px;
        font-size: 16px;
    }
}

.ml-1,
.mx-1 {
    margin-left: 0.10rem !important;
}
