* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: #f6f6fa;
}

/* Header */
.top-header {
    background: #fff;
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 1px solid #e4e4e4;
}

.top-header a {
    color: #000;
    text-decoration: none;
    margin: 0 15px;
}

.top-header a:hover {
    color: #e9127b;
}

/* Main Header */
.main-header {
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 32px;
    font-weight: 700;
    color: #e9127b;
    text-decoration: none;
    height: 40px;
    display: flex;
}

.logo img {
    height: 100%;
}

.hamburger-btn {
    background: #0b56fe;
    border: none;
    padding: 10px 16px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    color: #fff;
}

.hamburger-btn:hover {
    background: #e9127b;
    color: white;
}

.hamburger-btn i {
    font-size: 20px;
    margin-right: .5rem;
}

/* Category Sidebar */
.category-sidebar {
    position: fixed;
    left: -350px;
    top: 0;
    width: 350px;
    height: 100vh;
    background: white;
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    z-index: 2000;
    overflow-y: auto;
}

.category-sidebar.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #e4e4e4;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.close-sidebar {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
}

.sidebar-categories {
    padding: 10px 0;
}

.sidebar-category {
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s;
    border-left: 3px solid transparent;
    text-decoration: none;
    color: inherit;
}

.sidebar-category:hover {
    background: #f6f6fa;
    border-left-color: #e9127b;
    color: inherit;
}

.sidebar-category .category-icon {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
}

.sidebar-category .category-icon-fallback {
    font-size: 20px;
    color: #e9127b;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f6f6fa;
    border-radius: 8px;
}

.sidebar-category span {
    font-size: 15px;
    font-weight: 500;
    flex: 1;
}

.search-container {
    flex-grow: 1;
    padding: 0 20px;
}

.search-box {
    position: relative;
    width: 100%;
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: 1px solid #e4e4e4;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
}

.search-box input:focus {
    border-color: #e9127b;
    box-shadow: 0 0 0 3px rgba(167, 85, 231, 0.1);
}

.search-box button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: #0b56fe;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
}

.search-box button:hover {
    background: #8b3cc9;
}

.header-icons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.header-icon {
    position: relative;
    color: #000;
    text-decoration: none;
    font-size: 22px;
    transition: all 0.3s;
}

.header-icon:hover {
    color: #e9127b;
}

.icon-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #e9127b;
    color: white;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
}

/* Navigation Menu */
.nav-menu {
    background: #fff;
    border-bottom: 1px solid #e4e4e4;
    padding: 0;
    overflow-x: auto;
    white-space: nowrap;
}

.nav-menu::-webkit-scrollbar {
    height: 4px;
}

.nav-menu::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.nav-menu::-webkit-scrollbar-thumb {
    background: #e9127b;
    border-radius: 4px;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    display: inline-block;
}

.nav-menu a {
    display: block;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
}

.nav-menu a:hover {
    color: #e9127b;
    border-bottom-color: #e9127b;
    background: #fafafa;
}

/* Banner Slider */
.banner-section {
    padding: 20px 0;
}

.banner-slider {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.banner-slides-container {
    display: flex;
    gap: 0;
    position: relative;
    height: 100%;
    transition: transform 0.5s ease-in-out;
    padding: 0;
}

.banner-slide {
    flex: 0 0 60%;
    height: 100%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.5s ease-in-out;
    opacity: 0.5;
    transform: scale(0.95);
}

.banner-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

.banner-content {
    text-align: center;
    z-index: 2;
}

.banner-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

.banner-content p {
    font-size: 24px;
    margin-bottom: 30px;
}

.banner-btn {
    background: white;
    color: #667eea;
    padding: 15px 40px;
    border-radius: 30px;
    border: none;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.banner-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s;
}

.slider-dot.active {
    background: white;
    width: 30px;
    border-radius: 6px;
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 3;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.5);
}

.slider-arrow.prev {
    left: 20px;
}

.slider-arrow.next {
    right: 20px;
}

/* Category Cards */
.categories-section {
    padding: 30px 0;
}

.section-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.category-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.category-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
}

.category-name {
    font-size: 16px;
    font-weight: 600;
    color: #000;
}

/* Product Grid */
.products-section {
    padding: 30px 0 50px;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.product-image-container {
    position: relative;
    padding-top: 133%;
    background: #f6f6f6;
    overflow: hidden;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #239614;
    color: white;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
}

.wishlist-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
}

.wishlist-btn:hover {
    background: #239614;
    color: white;
}

.product-info {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 8px;
    font-size: 13px;
}

.stars {
    color: #ffa800;
}

.reviews-count {
    color: #999;
}

.product-name {
    font-size: 14px;
    color: #000;
    margin-bottom: 8px;
    line-height: 1.4;
    height: 40px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price-block {
    margin-top: auto;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #000;
    margin-bottom: 5px;
}

.product-old-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
}

.product-discount {
    display: inline-block;
    background: #ffe8f0;
    color: #239614;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
}

.add-to-cart-btn {
    width: 100%;
    background: #239614;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 12px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.add-to-cart-btn:hover {
    background: #e6005c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 0, 102, 0.3);
}

.add-to-cart-btn:active {
    transform: translateY(0);
}

.add-to-cart-btn i {
    font-size: 16px;
}

/* Footer */
.footer {
    background: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
    border-top: 1px solid #e4e4e4;
}

.footer h5 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
}

.footer ul {
    list-style: none;
    padding: 0;
}

.footer ul li {
    margin-bottom: 12px;
}

.footer a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid #e4e4e4;
    color: #999;
    font-size: 13px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f6f6fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.3s;
}

.social-icon:hover {
    background: #e9127b;
    color: white;
}

@media (min-width: 1400px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl {
        max-width: 1440px;
    }
}

.header-top .header-profile {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

a span {
    font-size: 14px;
    font-weight: 500;
}

.header-top-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.header-top-contact .top-contact {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.header-contact .divider {
    height: 32px;
    width: 1px;
    background: rgba(121, 121, 121, 0.18);
}

.header-wow-top-lang-name {
    text-decoration: none;
    padding: 7px;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.dropdown-menu {
    background-color: white;
    box-shadow: 0 6px 32px #5e5c5c24;
    border-radius: 10px;
    border: 1px solid transparent;
}

.dropdown-item {
    display: block;
    padding: 8px 20px;
    color: black;
    font-size: 14px;
    margin: 0 !important;
    font-weight: normal;
}

.header-top {
    display: flex;
}

.navbar-mobile {
    display: none;
}

@media (max-width: 768px) {

    .logo-container,
    .header-top,
    .header-icons {
        display: none;
    }

    .navbar-mobile {
        display: flex;
        flex-grow: 1;
        justify-content: flex-end;
        position: fixed;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        box-shadow: 0 4px 20px #0000001a;
        background: #fff;
    }

    .navbar-mobile ul {
        list-style: none;
        display: flex;
        flex-direction: row;
        width: 100%;
        align-items: center;
        justify-content: space-around;
        padding: 0;
        margin: 0;
    }

    .search-container {
        padding: 0;
    }

    .navbar-mobile ul a {
        text-decoration: none;
        color: #A0A0A0;
        font-size: 26px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 14px 0;
    }

    .navbar-mobile ul a.active,
    .navbar-mobile ul a:hover {
        color: #e9127b;
    }

    .header-top-contact {
        gap: 1rem;
    }

    .footer-bottom {
        margin-top: 0;
        margin-bottom: 60px;
    }

    .products-section {
        padding: 10px 0 50px;
    }

    /* Mobile slider: show 1 slide */
    .banner-slide {
        flex: 0 0 100%;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .slider-arrow.prev {
        left: 10px;
    }

    .slider-arrow.next {
        right: 10px;
    }

    .banner-content h1 {
        font-size: 32px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .slider-dots {
        display: none;
    }

    .top-header {
        padding: 0
    }
}