:root {
    --primary-color: #ff4e50;
    --primary-dark: #d63031;
    --secondary-color: #f9cb28;
    --dark-color: #333;
    --light-color: #f4f4f4;
    --danger-color: #dc3545;
    --success-color: #28a745;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Geomanist';
    src: url('../fonts/geomanist-regular.woff2') format('woff2'),
         url('../fonts/geomanist-regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f9f9f9;
    min-width: 320px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--dark-color);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    padding: 0 15px;
    overflow: visible;
}

.header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 60px;
}

.header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 15px;
    overflow: visible;
    min-height: 60px;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    min-width: 120px;
    width: 135px;
}

.logo img {
    height: 40px;
    margin-right: 10px;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo .logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.search-form {
    flex: 1;
    min-width: 0;
    position: relative;
    margin-right: 15px;
    margin-left: 54px;
}

.search-form input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    min-height: 44px;
    box-sizing: border-box;
}

.search-form button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 18px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

.search-form button:hover {
    background-color: #f5f5f5;
    color: var(--primary-dark);
}

.user-actions {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    overflow: visible;
}

.user-actions a {
    margin-left: 0px;
    color: var(--dark-color);
    font-weight: 700;
    display: flex;
    align-items: center;
}

.user-actions .cart-link {
    color: white !important;
}

.user-actions a i {
    margin-right: 0px;
}

.user-actions .btn-primary {
    background-color: var(--primary-color);
    color: #fff;
    padding: 8px 15px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.user-actions .btn-primary:hover {
    background-color: #e04446;
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    background: var(--primary-color);
    border: none;
    width: 44px;
    height: 44px;
    text-decoration: none;
    border-radius: 10%;
}

.cart-icon {
    width: 28px;
    height: 28px;
}

.cart-icon path {
    stroke: #FFFFFF;
}

.cart-badge {
    position: absolute;
    background: #ff4d4f;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
    min-width: 29px;
    height: 29px;
    font-size: 16px;
    top: 5px;
    right: -24px;
    border-width: 1.5px;
    box-shadow: 0 0 0 2px #ffffff;
}

.cart-link i {
    width: auto;
    height: auto;
    border-radius: 0;
    background-color: transparent;
    color: #fff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #ddd !important;
}

.cart-link:hover {
    background: #e04446;
    color: white;
}

.cart-text {
    font-weight: 500;
    font-size: 14px;
    display: inline;
}

.cart-total {
    font-weight: 500;
    color: white;
}

.home-container {
    width: 100%;
    max-width: 1200px;
    margin: 0px auto 0;
    padding: 0 0px;
    overflow: hidden;
}

.banner-section {
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 0 15px;
}

.banner-container {
    display: grid;
    grid-template-columns: 1fr 2fr 225px;
    gap: 14px;
    max-width: 1200px;
    margin: 0 auto;
    height: 300px;
    align-items: stretch;
}


.banner-slider {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    width: 100%;
    height: 300px;
    aspect-ratio: 8/3;
    contain: layout style paint;
    will-change: transform;
    transform: translateZ(0);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    will-change: opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.slide.active {
    opacity: 1;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
}

.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    aspect-ratio: 8/3;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}


.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255,255,255,0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slider-btn i {
    color: #333;
    font-size: 16px;
}


.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active,
.dot:hover {
    background: white;
    transform: scale(1.2);
}


.banner-sidebar {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 300px;
    width: 100%;
}

.sidebar-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
    height: 100%;
    flex: 1;
    align-items: stretch;
    width: 100%;
}

.sidebar-item {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    aspect-ratio: 1/1;
    height: 100%;
    width: 100%;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.sidebar-item:hover {
    transform: translateY(-2px);
    border: 1px solid rgba(0, 0, 0, 0.25);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sidebar-item a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.sidebar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
    will-change: transform;
    transform: translateZ(0);
    backface-visibility: hidden;
}

.sidebar-item:hover .sidebar-image {
    transform: scale(1.05);
}

.sidebar-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-color, #ff4e50), var(--primary-dark, #d63031));
    color: white;
    padding: 4px 8px;
    text-align: center;
    border-radius: 0 0 5px 5px;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.sidebar-content {
    font-size: 12px;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 0.3px;
}


.sidebar-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), #667eea);
    color: white;
    text-align: center;
}

.sidebar-placeholder i {
    margin-bottom: 15px;
    opacity: 0.9;
}

.sidebar-placeholder h4 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.sidebar-placeholder p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    line-height: 1.4;
}

.no-categories {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 40px 20px;
    text-align: center;
    color: #666;
    font-style: italic;
}

.featured-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}

.latest-section {
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 40px;
}

.section-header h2 {
    font-size: 1.8rem;
    color: #333;
    font-weight: 600;
}

.section-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #2c3e50;
    margin: 0;
    position: relative;
    text-align: center;
}

.section-header h3::before,
.section-header h3::after {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 1px;
}

.section-header h3::before {
    left: calc(-50px - 20px);
}

.section-header h3::after {
    right: calc(-50px - 20px);
}

.view-all {
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
}

.category-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0px 0px;
    margin-bottom: 40px;
}

.category-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    overflow: hidden;
}

.category-header {
    margin-bottom: 25px;
}

.category-header h1 {
    font-size: 28px;
    font-weight: 700;
    color: #2c3e50;
    text-align: left;
    margin-top: 15px;
    margin-bottom: 20px;
}

.category-info-section {
    margin-top: 40px;
    padding: 20px 0;
}

.category-info-section h2 {
    font-size: 22px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
    text-align: center;
}

.category-description {
    background: #f8f9fa;
    margin: 0 0 20px 0;
    color: #495057;
    line-height: 1.7;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    max-height: 3.4em;
    transition: max-height 0.3s ease;
    cursor: pointer;
    padding-bottom: 25px;
    filter: blur(0.5px);
}

.category-description::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    right: 0;
    height: 1.7em;
    background: linear-gradient(transparent, #f8f9fa);
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.category-description::before {
    content: '\f078\A\f078';
    display: block;
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--primary-color);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    background: rgba(255, 255, 255, 0.9);
    padding: 0px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: bounce 2s infinite;
    white-space: pre;
    text-align: center;
    line-height: 0.3;
}

.category-description:hover::before {
    color: var(--primary-dark);
    transform: translateX(-50%) scale(1.1);
}

.category-description.expanded {
    max-height: none;
    padding-bottom: 30px;
    filter: blur(0px);
}

.category-description.expanded::after {
    opacity: 0;
}

.category-description.expanded::before {
    content: '\f077\A\f077';
    animation: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translate(-50%, -50%);
    }
    40% {
        transform: translate(-50%, -40%);
    }
    60% {
        transform: translate(-50%, -45%);
    }
}

.breadcrumb {
    padding: 10px 0;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.breadcrumb .separator {
    margin: 0 8px;
    color: #ccc;
}

.breadcrumb .current {
    color: #333;
    font-weight: 600;
}

.modern-breadcrumb {
    padding: 0px 0px;
    margin: 25px 0px;
    font-size: 14px;
}

.modern-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.modern-breadcrumb .separator {
    margin: 0 10px;
    color: #ccc;
}

.modern-breadcrumb .current {
    color: #666;
    font-weight: 600;
}

.subcategories {
    margin-bottom: 30px;
}

.subcategories h2 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 15px;
}

.subcategory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.subcategory-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.subcategory-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: var(--primary-color);
}

.subcategory-icon {
    font-size: 24px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.subcategory-name {
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination-item {
    padding: 8px 12px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.pagination-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-item.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.pagination-item.disabled {
    color: #6c757d;
    cursor: not-allowed;
}

.btn-load-more {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.btn-load-more:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.loading-indicator {
    color: #666;
    font-size: 14px;
    padding: 12px;
}

.loading-indicator i {
    margin-right: 8px;
    color: var(--primary-color);
}

.load-more-section {
    margin-bottom: 40px;
    text-align: center;
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #666;
}

.no-products-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.no-products-content i {
    font-size: 4rem;
    color: #dee2e6;
    margin-bottom: 1rem;
}

.no-products-content h3 {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.no-products-content p {
    color: #adb5bd;
    margin: 0 0 20px 0;
}

.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: var(--primary-dark);
}


@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }

    .modern-breadcrumb {
        padding: 0 15px;
        margin-bottom: 20px;
        font-size: 13px;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .modern-breadcrumb .separator {
        margin: 0 8px;
    }    
    .category-header h1 {
        font-size: 24px;
    }
    
    .subcategory-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .pagination {
        gap: 5px;
    }
    
    .pagination-item {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .sidebar-image {
        object-position: center center !important;
        object-fit: cover !important;
    }

    .section-header {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-bottom: 25px;
        gap: 10px;
    }
    
    .section-header h2 {
        font-size: 1.4rem!important;
    }
    
    .section-header h3 {
        font-size: 1.4rem !important;
    }
    
    .featured-section {
        padding: 20px 15px;
    }
    
    .latest-section {
        padding: 0 15px;
    }
    
    .no-products {
        padding: 40px 15px;
    }
    
    .no-products-content h3 {
        font-size: 1.2rem;
    }
    
    .no-products-content p {
        font-size: 0.9rem;
    }
    
    .load-more-section {
        margin-bottom: 30px;
    }
    
    .banner-section {
        padding: 0 10px;
        margin-bottom: 20px;
    }
    
    .banner-container {
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 15px;
    }
    
    .banner-slider {
        height: 150px;
        order: 1;
    }
    
    .banner-slider .slide {
        height: 100%;
    }
    
    .banner-slider .slide img {
        height: 100%;
        object-fit: cover;
    }
    
    .banner-sidebar {
        height: auto;
        order: 2;
        gap: 15px;
        display: block;
    }
    
    .banner-sidebar:first-child {
        order: 0;
    }
    
    .banner-sidebar:last-child {
        order: 3;
    }
    
    .sidebar-slider {
        height: auto;
        width: 100%;
        display: block;
        overflow: visible;
    }
    
    .sidebar-slider-wrapper {
        display: block;
        width: 100%;
        position: static;
        height: auto;
    }
    
    .sidebar-product-image {
        height: 100%;
        width: 100%;
    }
    
    .sidebar-product-image img {
        height: auto;
        width: 100%;
        object-fit: cover;
        display: block;
    }
    
    .sidebar-slide {
        height: auto;
        width: 100%;
        display: block !important;
        position: static;
    }
    
    .sidebar-slide.active {
        display: block !important;
        position: static;
    }
    
    .single-product-sidebar {
        height: auto;
        margin-bottom: 15px;
        width: 100%;
        display: block;
    }
    
    .sidebar-product-card {
        height: 100%;
    }
    
    .sidebar-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        height: auto;
        flex: 1;
    }
    
    .sidebar-item {
        position: relative;
        flex: none;
        border: 1px solid rgba(0, 0, 0, 0.15);
        border-radius: 5px;
        overflow: hidden;
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
    }
    
    
    .banner-sidebar .sidebar-grid .sidebar-item:nth-child(4) {
        display: block !important;
    }
    
    .sidebar-content {
        padding: 4px 6px;
        bottom: 0;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, var(--primary-color, #ff4e50), var(--primary-dark, #d63031));
        color: white;
        text-align: center;
        border-radius: 0 0 5px 5px;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
        font-size: 12px;
        transform: scale(0.833);
        transform-origin: center;
        font-weight: 600;
        line-height: 1.2;
        text-shadow: 0 1px 2px rgba(0,0,0,0.3);
        letter-spacing: 0.1px;
    }
    
    .sidebar-header {
        margin-bottom: 8px;
    }
    
    .sidebar-header h4 {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .product-content h5 {
        font-size: 12px;
        transform: scale(0.833);
        transform-origin: center;
    }
    
    .product-price {
        font-size: 11px;
    }
    
    
    .sidebar-product-card {
        height: auto;
        min-height: 220px;
        max-height: none;
        width: 100%;
        display: block;
    }
    
    .sidebar-product-image {
        height: auto;
        min-height: 220px;
        max-height: none;
        width: 100%;
        display: block;
    }
    
    .single-product-sidebar {
        width: 100%;
    }
    
    .sidebar-product-overlay {
        padding: 15px 10px 10px;
        display: block;
    }
    
    .sidebar-product-title {
        font-size: 12px;
        display: block;
    }
    
    .sidebar-product-price {
        font-size: 13px;
        display: block;
    }
    
    .sidebar-product-badge {
        font-size: 12px;
        transform: scale(0.75);
        transform-origin: center;
        padding: 2px 4px;
        display: block;
    }
    
    .btn-add-cart-sidebar {
        padding: 8px 10px 6px;
        font-size: 11px;
        font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        display: block;
        width: 100%;
    }
    
    .sidebar-product-badge-corner {
        top: 6px;
        right: 6px;
        position: absolute;
    }
    
    .sidebar-product-badge-corner span {
        font-size: 12px;
        transform: scale(0.75);
        transform-origin: center;
        padding: 3px 6px;
        border-radius: 5px;
        display: block;
    }
    
    .sidebar-product-badge-corner span i {
        margin-right: 2px;
        font-size: 12px;
        transform: scale(0.667);
        transform-origin: center;
        display: inline-block;
    }
    
    .sidebar-placeholder {
        padding: 12px;
        display: block;
    }
    
    .sidebar-placeholder h4 {
        font-size: 14px;
        margin-bottom: 4px;
        display: block;
    }
    
    .sidebar-placeholder p {
        display: block;
        font-size: 11px;
        margin: 0;
    }
    
    .slider-controls {
        padding: 0 10px;
    }
    
    .slider-btn {
        width: 35px;
        height: 35px;
    }
    
    .slider-btn i {
        font-size: 14px;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .header-top {
        padding: 10px 0;
        justify-content: space-between;
        gap: 15px;
    }
    
    .logo {
        order: 2;
        flex: 1;
        text-align: center;
        min-width: 0;
    }
    
    .logo .logo-text {
        font-size: 18px;
    }
    
    .logo img {
        display: none;
    }
    
    .search-form {
        display: none;
    }
    
    .user-actions {
        order: 3;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .user-actions .cart-link {
        color: #000000 !important;
    }
    
    .mobile-search-btn {
        display: flex !important;
    }
    
    .phone-info {
        display: none;
    }
    
    .cart-modal {
        max-width: 95%;
    }
    
    .cart-item {
        display: flex !important;
        gap: 8px !important;
    }
    
    .cart-item-image {
        width: 50px !important;
        height: 50px !important;
    }
    
    .cart-item-info {
        flex: 1 !important;
    }
    
    .cart-item-title {
        font-size: 12px;
        margin-bottom: 0px;
    }
    
    .cart-item-price {
        font-size: 14px;
        margin-bottom: 0px;
    }
   .quantity-indicator {
      color: #000000 !important;
    }

    .quantity-display {
        font-size: 12px;
        padding: 3px 6px;
        min-width: 50px;
    }
    
    .remove-btn {
        width: 22px;
        height: 22px;
        font-size: 12px;
        transform: scale(0.833);
        transform-origin: center;
    }
    
    .cart-item-actions {
        gap: 6px;
    }
    
    .cart-actions {
        gap: 6px !important;
    }
    
    .btn-outline {
        padding: 8px 12px !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        border-radius: 4px !important;
        border: 1px solid #e0e0e0 !important;
    }
    
    .btn-primary {
        padding: 8px 12px !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        border-radius: 4px !important;
    }
    
    .btn-primary:hover {
        transform: none !important;
    }
    
    .cart-link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
        background: var(--primary-color);
        border: none;
        width: 34px;
        height: 34px;
        text-decoration: none;
        border-radius: 50%;
        margin-right: 10px;
    }
    
    .cart-icon {
        width: 24px;
        height: 24px;
    }
    
    .cart-badge {
        position: absolute;
        background: #ff4d4f;
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        font-weight: 500;
        align-items: center;
        justify-content: center;
        z-index: 10;
        box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
        min-width: 22px;
        height: 21px;
        font-size: 13px;
        top: 6px;
        right: -18px;
        border-width: 1.5px;
        box-shadow: 0 0 0 1px #ffffff;
    }
    
    .cart-text {
        display: none !important;
    }
    
    .cart-total {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .dropdown {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }
    
    .main-nav li.has-dropdown.show .dropdown {
        display: block;
    }
}

@media (max-width: 576px) {
    .header-top {
        padding: 8px 0;
        gap: 10px;
    }
    
    .logo .logo-text {
        font-size: 18px;
    }
    
    .mobile-search-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .cart-link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
        background: var(--primary-color);
        border: none;
        width: 34px;
        height: 34px;
        text-decoration: none;
        border-radius: 50%;
        margin-right: 10px;
    }
    
    .cart-icon {
        width: 24px;
        height: 24px;
    }
    
    .cart-badge {
        position: absolute;
        background: #ff4d4f;
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        font-weight: 500;
        align-items: center;
        justify-content: center;
        z-index: 10;
        box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
        min-width: 22px;
        height: 21px;
        font-size: 13px;
        top: 6px;
        right: -18px;
        border-width: 1.5px;
        box-shadow: 0 0 0 1px #ffffff;
    }
    
    .cart-total {
        display: none !important;
    }
    
    .cart-actions {
        gap: 5px !important;
    }
    
    .btn-outline {
        padding: 7px 10px !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        border-radius: 3px !important;
    }
    
    .btn-primary {
        padding: 7px 10px !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        border-radius: 3px !important;
    }
}

.phone-info {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--dark-color);
}

.phone-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.phone-details {
    display: flex;
    flex-direction: column;
}

.phone-label {
    font-size: 16px;
    color: #666;
}

.phone-number {
    font-size: 14px;
    font-weight: 600;
    color: var(--dark-color);
    line-height: 1.2;
}

.phone-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: var(--primary-color);
}

.cart-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.cart-modal-overlay.show {
    display: flex;
}

.cart-modal {
    background: white;
    border-radius: 12px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.cart-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px 12px 20px;
    border-bottom: 1px solid #eee;
}

.cart-modal-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark-color);
}

.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn i {
    transition: transform 0.3s ease;
    color: #ff4e50;
}

.close-btn:hover {
    background: #f5f5f5;
    color: var(--dark-color);
}

.close-btn:hover i {
    transform: rotate(90deg);
}

.cart-modal-content {
    padding: 0px;
    max-height: calc(80vh - 180px);
    overflow-y: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cart-modal-content::-webkit-scrollbar {
    display: none;
}

.loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
}

.loading i {
    font-size: 24px;
    margin-bottom: 10px;
}

.empty-cart {
    text-align: center;
    padding: 40px 20px;
}

.empty-cart i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.empty-cart h4 {
    margin: 0 0 10px;
    color: var(--dark-color);
}

.empty-cart p {
    margin: 0 0 20px;
    color: #999;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 10px 16px 10px 16px;
    border-bottom: 1px solid #f0f0f0;
    gap: 15px;
} 

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    overflow: hidden;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
}

.cart-item-info {
    flex: 1;
    min-width: 0;
}

.cart-item-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--dark-color);
    margin-bottom: 6px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.cart-item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
}

.cart-item-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.quantity-display {
    font-size: 13px;
    color: #666;
    font-weight: 500;
    padding: 4px 8px;
    background: #f8f9fa;
    border-radius: 4px;
    text-align: center;
    min-width: 60px;
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ddd;
    font-size: 24px;
}

.remove-btn {
    background: #f8f9fa;
    border: none;
    color: #6b6b6b;
    cursor: pointer;
    font-size: 12px;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    padding: 6px;
    border-radius: 4px;
    transition: all 0.3s ease;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-btn:hover {
    background: #ffe6e6;
    color: var(--danger-color);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: #f9f9f9;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.cart-total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--dark-color);
}

.cart-total-amount {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-actions {
    display: flex;
    gap: 8px;
}

.btn-outline {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ddd;
    background: white;
    color: #666;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
}

.btn-outline:hover {
    background: #f8f9fa;
    border-color: #bbb;
    color: #333;
}

.btn-primary {
    flex: 1;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary i {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(4px);
}

.header-bottom {
    position: relative;
}

.header-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 1px;
    background: #eee;
    z-index: 1;
}

.main-nav ul {
    display: flex;
    padding: 10px 0;
}

.main-nav li {
    position: relative;
}

.main-nav li a {
    padding: 10px 15px;
    display: block;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav li a:hover {
    color: var(--primary-color);
}

.main-nav li.has-dropdown > a::after {
    content: '\f107';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-left: 5px;
}

.dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    border-radius: 4px;
    display: none;
    z-index: 1000;
}

.main-nav li:hover .dropdown {
    display: block;
}

.dropdown li a {
    padding: 10px 15px;
    display: block;
    color: var(--dark-color);
    font-weight: normal;
}

.dropdown li a:hover {
    background-color: #f5f5f5;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--dark-color);
    font-size: 24px;
    cursor: pointer;
}

.nav-container {
    display: flex;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    overflow: visible;
}

.categories-dropdown {
    position: relative;
    margin-right: 20px;
    overflow: visible;
}

.categories-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    border-radius: 0;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.categories-btn:hover {
    background: var(--primary-dark);
}

.categories-btn .arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.categories-btn.active .arrow {
    transform: rotate(180deg);
}

.categories-btn.active {
    background: var(--primary-dark);
}

.categories-dropdown .categories-menu {
    position: fixed;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 280px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 9999;
    display: none !important;
}

.categories-dropdown .categories-menu.show {
    display: block !important;
}

.category-item {
    border-bottom: 1px solid #f1f1f1;
    position: relative;
}

.category-item:last-child {
    border-bottom: none;
}

.category-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: #333;
    text-decoration: none;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
}

.category-link:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.category-link i:first-child {
    color: #6c757d;
    font-size: 14px;
}

.submenu-arrow {
    margin-left: auto;
    font-size: 12px;
    color: #6c757d;
    transition: none;
}

.has-submenu.open .submenu-arrow {
    transform: rotate(180deg);
}

.submenu {
    position: static;
    background: #f8f9fa;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-width: auto;
    max-height: 0;
    overflow: hidden;
    z-index: 1001;
    padding-left: 20px;
    transition: none;
}

.has-submenu.open .submenu {
    max-height: 500px;
    padding-top: 5px;
    padding-bottom: 5px;
}

.submenu-link {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    color: #666;
    text-decoration: none;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.submenu-link::before {
    content: '\f105';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 12px;
    color: #999;
    margin-right: 8px;
    transition: all 0.3s ease;
}

.submenu-link:last-child {
    border-bottom: none;
}

.submenu-link:hover {
    color: var(--primary-color);
    padding-left: 20px;
}

.submenu-link:hover::before {
    color: var(--primary-color);
    transform: translateX(2px);
}

.horizontal-menu {
    display: flex;
    align-items: center;
    gap: 0;
    flex: 1;
}

.menu-item {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.3s ease;
}

.menu-item:last-child {
    border-right: none;
}

.menu-item:hover {
    background: white;
    color: var(--primary-color);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    display: none;
}

.mobile-menu-overlay.show {
    display: block;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100%;
    background: white;
    z-index: 9999;
    transition: left 0.3s ease;
    overflow-y: auto;
}

.mobile-menu.show {
    left: 0;
}

.mobile-menu-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mobile-menu-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--primary-color);
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #999;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-content {
    padding: 0;
}

.mobile-menu-item {
    border-bottom: 1px solid #f1f1f1;
}

.mobile-menu-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mobile-menu-link:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.mobile-menu-link i {
    margin-right: 10px;
    width: 16px;
    color: #6c757d;
}

.mobile-search-btn {
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--primary-color);
    border: none;
    border-radius: 10%;
    color: #FFFFFF;
    cursor: pointer;
    transition: all 0.3s ease;
}

@media (min-width: 769px) {
    .mobile-search-btn {
        display: none !important;
    }
}

.mobile-search-btn:hover {
    background: #e04446;
}

.mobile-search-btn i {
    font-size: 18px;
    color: white;
    transition: all 0.3s ease;
}

.mobile-search-btn .close-icon {
    transform: rotate(0deg);
}

.mobile-search-btn:hover .close-icon {
    transform: rotate(90deg);
}

.mobile-search-btn .hidden {
    display: none !important;
}

.mobile-search-btn .visible {
    display: inline-block !important;
}

.mobile-search-form {
    display: none;
}

.mobile-search-form-inner {
    padding: 20px 15px;
    border-top: 1px solid #eee;
}

.mobile-search-inputs {
    display: flex;
    gap: 15px;
}

.mobile-search-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    font-size: 14px;
    min-height: 44px;
    box-sizing: border-box;
}

.mobile-search-submit {
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    min-height: 44px;
    min-width: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

@media (max-width: 768px) {
    .header-bottom {
        display: block;
    }
    
    .horizontal-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #ffffff;
        border: 1px solid #e9ecef;
        border-radius: 10%;
        color: var(--primary-color);
        font-size: 16px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-toggle:hover {
        background: var(--primary-color);
        color: white;
    }
    
    .header-top {
        padding: 10px 0;
        justify-content: space-between;
        gap: 15px;
    }
    
    .logo {
        order: 2;
        flex: 1;
        text-align: center;
        min-width: 0;
    }
    
    .logo .logo-text {
        font-size: 18px;
    }
    
    .logo img {
        display: none;
    }
    
    .search-form {
        display: none;
    }
    
    .user-actions {
        order: 3;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .user-actions .cart-link {
        color: #000000 !important;
    }
    
    .mobile-search-btn {
        display: flex !important;
    }
    
    .phone-info {
        display: none;
    }
    
    .cart-modal {
        max-width: 95%;
    }
    
    .cart-item {
        display: flex !important;
        gap: 8px !important;
    }
    
    .cart-item-image {
        width: 48px !important;
        height: 48px !important;
    }
    
    .cart-item-info {
        flex: 1 !important;
    }
    
    .cart-item-title {
        font-size: 12px;
        margin-bottom: 0px;
    }
    
    .cart-item-price {
        font-size: 14px;
        margin-bottom: 0px;
    }
    
    .quantity-display {
        font-size: 12px;
        padding: 3px 6px;
        min-width: 50px;
    }
    
    .remove-btn {
        width: 22px;
        height: 22px;
        font-size: 12px;
        transform: scale(0.833);
        transform-origin: center;
    }
    
    .cart-item-actions {
        gap: 6px;
    }
    
    .cart-actions {
        gap: 6px !important;
    }
    
    .btn-outline {
        padding: 8px 12px !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        border-radius: 4px !important;
        border: 1px solid #e0e0e0 !important;
    }
    
    .btn-primary {
        padding: 8px 12px !important;
        font-size: 13px !important;
        font-weight: 400 !important;
        border-radius: 4px !important;
    }
    
    .btn-primary:hover {
        transform: none !important;
    }
    
    .cart-link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
        background: var(--primary-color);
        border: none;
        width: 34px;
        height: 34px;
        text-decoration: none;
        border-radius: 10%;
        margin-right: 10px;
    }
    
    .cart-icon {
        width: 24px;
        height: 24px;
    }
    
    .cart-badge {
        position: absolute;
        background: #ff4d4f;
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        font-weight: 500;
        align-items: center;
        justify-content: center;
        z-index: 10;
        box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
        min-width: 22px;
        height: 21px;
        font-size: 13px;
        top: 6px;
        right: -18px;
        border-width: 1.5px;
        box-shadow: 0 0 0 1px #ffffff;
    }
    
    .cart-text {
        display: none !important;
    }
    
    .cart-total {
        display: none !important;
    }
    
    .mobile-menu-toggle {
        order: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        background: #f8f9fa;
        border: 1px solid #e9ecef;
        border-radius: 50%;
        font-size: 18px;
        cursor: pointer;
    }
    
    .main-nav {
        display: none;
    }
    
    .main-nav.show {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
    }
    
    .dropdown {
        position: static;
        box-shadow: none;
        display: none;
        padding-left: 20px;
    }
    
    .main-nav li.has-dropdown.show .dropdown {
        display: block;
    }
}

@media (max-width: 576px) {
    .header-top {
        padding: 8px 0;
        gap: 10px;
    }
    
    .logo .logo-text {
        font-size: 18px;
    }
    
    .mobile-search-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .mobile-menu-toggle {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .cart-link {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 6px;
        background: var(--primary-color);
        border: none;
        width: 34px;
        height: 34px;
        text-decoration: none;
        border-radius: 50%;
        margin-right: 10px;
    }
    
    .cart-icon {
        width: 24px;
        height: 24px;
    }
    
    .cart-badge {
        position: absolute;
        background: #ff4d4f;
        color: #ffffff;
        border-radius: 50%;
        display: flex;
        font-weight: 500;
        align-items: center;
        justify-content: center;
        z-index: 10;
        box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.2);
        min-width: 22px;
        height: 21px;
        font-size: 13px;
        top: 6px;
        right: -18px;
        border-width: 1.5px;
        box-shadow: 0 0 0 1px #ffffff;
    }
    
    .cart-total {
        display: none !important;
    }

    .cart-actions {
        gap: 5px !important;
    }
    
    .btn-outline {
        padding: 7px 10px !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        border-radius: 3px !important;
    }
    
    .btn-primary {
        padding: 7px 10px !important;
        font-size: 12px !important;
        font-weight: 400 !important;
        border-radius: 3px !important;
    }
}

.cart-items {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: #ddd #f1f1f1;
}

.cart-items::-webkit-scrollbar {
    width: 4px;
}

.cart-items::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.cart-items::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 2px;
    transition: background 0.3s ease;
}

.cart-items::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

@media (max-width: 768px) {
    .cart-items {
        max-height: 400px;
        padding-left: 2px;   
        padding-right: 2px;
    }
}

.close-reply-form {
    background: none;
    border: none;
    font-size: 18px;
    color: #999;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-reply-form i {
    transition: transform 0.3s ease;
}

.close-reply-form:hover {
    background: #f5f5f5;
    color: var(--dark-color);
}

.close-reply-form:hover i {
    transform: rotate(90deg);
}

.categories-dropdown .categories-menu {
    position: fixed;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 280px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 9999;
    display: none !important;
}

@media (max-width: 768px) {
    .categories-dropdown {
        display: none !important;
    }

    .mobile-menu {
        position: fixed;
        top: 0;
        left: -300px;
        width: 280px;
        height: 100%;
        background: white;
        z-index: 99999;
        transition: left 0.3s ease;
        overflow-y: auto;
    }

    .mobile-menu.show {
        left: 0;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 99998;
        display: none;
    }

    .mobile-menu-overlay.show {
        display: block;
    }

    .mobile-categories {
        display: block !important;
        border-bottom: 1px solid #eee;
    }

    .mobile-categories .category-link {
        padding: 12px 20px;
        display: flex;
        align-items: center;
        gap: 10px;
        color: #333;
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
    }

    .mobile-categories .category-link:hover {
        background: #f8f9fa;
        color: var(--primary-color);
    }

    .mobile-categories .category-link i {
        font-size: 16px;
        color: #999;
    }
}

.promo-banner {
    background: linear-gradient(90deg, #ff6b6b, #ff8787);
    color: rgb(56 0 105);
    text-align: center;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    opacity: 0;
    transition: all 0.3s ease;
}

.promo-banner.loaded {
    opacity: 1;
}

.promo-banner .content {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.promo-banner .offer-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.promo-banner .flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.promo-banner .emoji {
    font-size: 20px;
    animation: bounce 2s infinite;
}

.promo-banner .title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    margin: 0;
}

.promo-banner .title strong {
    font-weight: 600;
}

.promo-banner .promo-code {
    background-color: rgb(140 26 245);
    color: white;
    padding: 1px 8px;
    border-radius: 5px;
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .promo-banner .title {
        font-size: 16px;
        line-height: 24px;
    }
    
    .promo-banner .promo-code {
        font-size: 14px;
        line-height: 20px;
    }
    
    .promo-banner .emoji {
        font-size: 26px;
    }
}

.promo-close {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s ease;
}

.promo-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-4px);
    }
    60% {
        transform: translateY(-2px);
    }
}

.cart-header {
    justify-content: flex-start !important;
    margin: 40px 0 !important;
}

.cart-header h1 {
    font-size: 28px !important;
    font-weight: 700 !important;
    color: #2c3e50 !important;
    margin: 0 !important;
}

.cart-header h1::before,
.cart-header h1::after {
    display: none !important;
}

.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 40px 0;
    padding: 20px 0;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.4;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.progress-step.active {
    opacity: 1;
}

.progress-step.completed {
    opacity: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e9ecef;
    color: #6c757d;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

.progress-step.active .step-number {
    background: var(--primary-color);
    color: white;
}

.progress-step.completed .step-number {
    background: #28a745;
    color: white;
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-align: center;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.progress-step.active .step-label {
    color: var(--primary-color);
}

.progress-step.completed .step-label {
    color: #28a745;
}

.progress-arrow {
    font-size: 20px;
    color: #dee2e6;
    font-weight: bold;
    margin: 0 15px;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .checkout-progress {
        margin: 20px 0 30px 0;
        padding: 15px 20px;
        max-width: 100%;
        justify-content: space-between;
    }
    
    .step-number {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
        line-height: 1.3;
        word-wrap: break-word;
    }
    
    .progress-arrow {
        font-size: 18px;
        margin: 0 10px;
        flex-shrink: 0;
    }
    
    .progress-step {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .checkout-progress {
        padding: 0px 0px;
        max-width: 100%;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 13px;
    }
    
    .step-label {
        font-size: 12px;
        transform: scale(0.833);
        transform-origin: center;
        line-height: 1.2;
    }
    
    .progress-arrow {
        font-size: 16px;
        margin: 0 8px;
    }
    
    .progress-step {
        flex: 1;
        text-align: center;
    }
}

.quantity-controls input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

.quantity-controls input[type="number"]::-webkit-outer-spin-button,
.quantity-controls input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-controls input[type="number"]::-moz-outer-spin-button,
.quantity-controls input[type="number"]::-moz-inner-spin-button {
    -moz-appearance: none;
    margin: 0;
}

@media (max-width: 1024px) and (orientation: landscape) and (max-height: 600px) {
    
    .container {
        padding: 0 10px;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .home-container {
        padding: 0 10px;
        margin: 0 auto;
        max-width: 100%;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .banner-section {
        padding: 0 5px;
        margin-bottom: 15px;
    }
    
    .banner-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    
    .banner-item {
        height: 100px;
        border-radius: 4px;
    }
    
    .banner-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        border-radius: 4px;
    }
    
    .section-header {
        margin: 20px 0;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .section-header h2 {
        font-size: 1.3rem !important;
    }
    
    .section-header h3 {
        font-size: 18px !important;
        font-weight: 600;
    }
    
    .section-header h3::before,
    .section-header h3::after {
        width: 30px;
        height: 1px;
    }
    
    .section-header h3::before {
        left: calc(-40px - 15px);
    }
    
    .section-header h3::after {
        right: calc(-40px - 15px);
    }
    
    .featured-section {
        padding: 15px 10px;
    }
    
    .latest-section {
        padding: 0 10px;
    }
    
    .load-more-section {
        margin-bottom: 25px;
        margin-top: 20px;
    }
    
    .btn-load-more {
        padding: 10px 20px;
        font-size: 13px;
        border-radius: 5px;
    }
    
    .loading-indicator {
        font-size: 13px;
        padding: 10px;
    }
    
    .breadcrumb {
        padding: 8px 0;
        margin-bottom: 12px;
        font-size: 13px;
    }
    
    .modern-breadcrumb {
        padding: 0 10px;
        margin: 15px 0px;
        font-size: 13px;
        overflow-x: hidden;
        box-sizing: border-box;
    }
    
    .modern-breadcrumb .separator {
        margin: 0 6px;
    }
    
    .category-container {
        padding: 0 10px;
        margin-bottom: 30px;
    }
    
    .category-content {
        padding: 0 10px;
    }
    
    .category-header h1 {
        font-size: 22px;
        margin-top: 10px;
        margin-bottom: 15px;
    }
    
    .category-description {
        padding-bottom: 20px;
        font-size: 14px;
        line-height: 1.6;
        max-height: 3em;
    }
    
    .category-description::before {
        bottom: 8px;
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .category-description.expanded {
        padding-bottom: 25px;
    }
    
    .subcategories h2 {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .subcategory-grid {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 10px;
    }
    
    .subcategory-card {
        padding: 12px;
    }
    
    .subcategory-icon {
        font-size: 20px;
        margin-bottom: 6px;
    }
    
    .subcategory-name {
        font-size: 13px;
    }
    
    .pagination {
        gap: 6px;
        margin-top: 25px;
    }
    
    .pagination-item {
        padding: 6px 10px;
        font-size: 13px;
        border-radius: 3px;
    }
    
    .no-products {
        padding: 40px 15px;
    }
    
    .no-products-content i {
        font-size: 3rem;
        margin-bottom: 0.8rem;
    }
    
    .no-products-content h3 {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .no-products-content p {
        font-size: 0.9rem;
        margin: 0 0 15px 0;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 14px;
        border-radius: 4px;
    }
    
    .view-all {
        font-size: 13px;
    }
    
    .promo-banner .title {
        font-size: 14px;
        line-height: 18px;
    }
    
    .promo-banner .promo-code {
        font-size: 12px;
        line-height: 16px;
        padding: 1px 6px;
    }
    
    .promo-banner .emoji {
        font-size: 20px;
    }
    
    .promo-close {
        width: 28px;
        height: 28px;
        font-size: 12px;
        right: 10px;
    }
    
    .checkout-progress {
        margin: 15px 0 25px 0;
        padding: 10px 15px;
        max-width: 100%;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .step-label {
        font-size: 11px;
        line-height: 1.2;
    }
    
    .progress-arrow {
        font-size: 16px;
        margin: 0 8px;
    }
    
    .cart-header {
        margin: 25px 0 !important;
    }
    
    .cart-header h1 {
        font-size: 22px !important;
    }
}

.order-success-container {
    min-height: 100vh;
    background: #f8f9fa;
    padding: 40px 0;
}

.success-section {
    text-align: center;
    margin: 40px 0 60px 0;
    padding: 60px 40px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.success-icon {
    margin-bottom: 30px;
}

.success-icon i {
    font-size: 80px;
    color: #28a745;
    animation: successPulse 2s infinite;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.success-section h1 {
    font-size: 2.5rem;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 700;
}

.success-message {
    font-size: 1.2rem;
    color: #495057;
    margin-bottom: 15px;
}

.success-message strong {
    color: #ff4e50;
    font-weight: 600;
}

.success-description {
    color: #6c757d;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.info-card {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.info-card h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.info-card h3 i {
    color: #ff4e50;
    font-size: 16px;
}

.info-content p {
    margin-bottom: 10px;
    color: #495057;
    line-height: 1.6;
}

.info-content p:last-child {
    margin-bottom: 0;
}

.order-items-section {
    background: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.order-items-section h3 {
    color: #2c3e50;
    font-size: 18px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.order-items-section h3 i {
    color: #ff4e50;
}

.order-items-list {
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 25px;
    padding-bottom: 25px;
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f1f3f4;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item h4 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 5px;
    font-weight: 500;
}

.item-details {
    color: #6c757d;
    font-size: 14px;
    margin: 0;
}

.item-total {
    color: #ff4e50;
    font-weight: 600;
    font-size: 16px;
}

.order-summary {
    margin-left: auto;
}

.action-buttons {
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}


.sidebar-header {
    text-align: center;
    margin-bottom: 10px;
}

.sidebar-header h4 {
    color: var(--primary-color, #ff4e50);
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 5px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}


.product-content {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    padding: 6px 8px;
}

.product-content h5 {
    margin: 0 0 3px 0;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 0.2px;
}

.product-price {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}


.single-product-sidebar {
    flex: 1;
    width: 225px;
}

@media (max-width: 768px) {
    .single-product-sidebar {
        flex: 0 0 48%;
        width: 48%;
        margin-bottom: 15px;
        display: block;
    }
    
    .single-product-sidebar:nth-child(2n) {
        margin-right: 0;
    }
    
    .sidebar-product-card {
        height: 250px;
        max-height: 250px;
    }
    
    .sidebar-product-image {
        height: 250px;
        min-height: 250px;
        max-height: 250px;
    }
    
    .sidebar-product-overlay {
        padding: 10px 8px 8px;
    }
    
    .sidebar-product-title {
        font-size: 11px;
        margin-bottom: 5px;
        line-height: 1.3;
    }
    
    .sidebar-product-price-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .sidebar-product-price {
        font-size: 12px;
        margin-bottom: 3px;
    }
    
    .sidebar-product-badge {
        font-size: 12px;
        transform: scale(0.75);
        transform-origin: center;
        padding: 2px 5px;
    }
    
    .btn-add-cart-sidebar {
        font-size: 12px;
        padding: 4px 8px;
        margin-top: 5px;
        min-height: 34px;
    }
}

.sidebar-product-card {
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.sidebar-product-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.sidebar-product-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
}

.sidebar-product-badge-corner {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 2;
}

.sidebar-product-badge-corner span {
    background: linear-gradient(135deg, #ff4e50, #d63031);
    color: white;
    font-size: 12px;
    transform: scale(0.833);
    transform-origin: center;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    line-height: 1;
}

.sidebar-product-badge-corner span i {
    margin-right: 3px;
    font-size: 12px;
    transform: scale(0.75);
    transform-origin: center;
    color: #ffd700;
}

.sidebar-product-card:hover .sidebar-product-image img {
    transform: scale(1.05);
}

.sidebar-product-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    padding: 20px 12px 12px;
    color: white;
}

.sidebar-product-title {
    font-size: 13px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

    .sidebar-product-price-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
        flex-wrap: wrap;
        gap: 5px;
    }

.sidebar-product-price {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.sidebar-product-badge {
    font-size: 12px;
    transform: scale(0.833);
    transform-origin: center;
    color: white;
    font-weight: 600;
    background: rgba(76, 175, 80, 0.8);
    padding: 2px 6px;
    border-radius: 3px;
    white-space: nowrap;
    border: 1px solid rgba(76, 175, 80, 0.9);
    text-shadow: 0 1px 2px rgba(0,0,0,0.8);
}

.btn-add-cart-sidebar {
    width: 100%;
    background: var(--primary-color, #ff4e50);
    color: white;
    border: none;
    padding: 10px 12px 8px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    font-family: 'Geomanist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    letter-spacing: 0.3px;
}

.btn-add-cart-sidebar:hover {
    background: var(--primary-dark, #d63031);
    transform: translateY(-1px);
}


.sidebar-slider {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.sidebar-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.sidebar-slide {
    display: none;
    width: 100%;
}

.sidebar-slide.active {
    display: block;
}

    .sidebar-slider-controls {
        position: absolute;
        top: 50%;
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 10px;
        transform: translateY(-50%);
        z-index: 100;
        pointer-events: none;
    }
    
    @media (max-width: 768px) {
        .sidebar-slider-controls {
            display: none !important;
        }
    }

.sidebar-slider-btn {
    background-color: rgba(255, 255, 255, 0.9);
    color: #333;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.sidebar-slider-btn:hover {
    background-color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}




.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
    }
    
    .mobile-only {
        display: block !important;
    }
}


.mobile-featured-grid {
    width: 100%;
}

.mobile-featured-products {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mobile-featured-item {
    width: 100%;
}


@media (max-width: 768px) {
    .featured-products-sidebar .mobile-featured-item .sidebar-product-card {
        height: 280px;
        min-height: 280px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-image {
        height: 280px;
        min-height: 280px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-overlay {
        padding: 20px 15px 15px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-title {
        font-size: 13px;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-bottom: 8px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-price {
        font-size: 15px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-badge {
        font-size: 12px;
        transform: scale(0.833);
        transform-origin: center;
        padding: 3px 6px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-price-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 8px;
        gap: 5px;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
    }
    
    .mobile-featured-item .btn-add-cart-sidebar {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-badge-corner {
        top: 6px;
        right: 6px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-badge-corner span {
        font-size: 12px;
        transform: scale(0.833);
        transform-origin: center;
        padding: 3px 6px;
    }
}

@media (max-width: 480px) {
    .sidebar-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
    }
    
    .sidebar-content {
        font-size: 10px;
        transform: scale(1);
        transform-origin: center;
        padding: 3px 4px;
    }
    
    .mobile-featured-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-card {
        height: 240px;
        min-height: 240px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-image {
        height: 240px;
        min-height: 240px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-title {
        font-size: 12px;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-bottom: 8px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-price {
        font-size: 14px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-overlay {
        padding: 18px 12px 12px;
    }
    
    .featured-products-sidebar .mobile-featured-item .btn-add-cart-sidebar {
        padding: 7px 10px;
        font-size: 13px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-badge {
        font-size: 12px;
        transform: scale(0.833);
        transform-origin: center;
        padding: 3px 6px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-price-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 8px;
        gap: 4px;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
    }
}

@media (max-width: 360px) {
    .sidebar-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .sidebar-content {
        font-size: 12px;
        transform: scale(0.667);
        transform-origin: center;
        padding: 2px 3px;
    }
    
    .mobile-featured-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-card {
        height: 200px;
        min-height: 200px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-image {
        height: 200px;
        min-height: 200px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-title {
        font-size: 11px;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        margin-bottom: 8px;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-price {
        font-size: 13px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-overlay {
        padding: 15px 10px 10px;
    }
    
    .featured-products-sidebar .mobile-featured-item .btn-add-cart-sidebar {
        padding: 6px 8px;
        font-size: 12px;
        transform: scale(0.833);
        transform-origin: center;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-badge {
        font-size: 12px;
        transform: scale(0.75);
        transform-origin: center;
        padding: 2px 5px;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .featured-products-sidebar .mobile-featured-item .sidebar-product-price-row {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        margin-bottom: 6px;
        gap: 3px;
        flex-wrap: nowrap !important;
        flex-direction: row !important;
    }
}

/* Daha Fazla Yükle Butonu Stilleri */
.load-more-container {
    text-align: center;
    margin: 30px 0;
}

.load-more-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 78, 80, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
    justify-content: center;
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 78, 80, 0.4);
    background: linear-gradient(135deg, var(--primary-dark), #b71c1c);
}

.load-more-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 78, 80, 0.3);
}

.load-more-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.load-more-btn i {
    font-size: 16px;
}

@media (max-width: 768px) {
    .load-more-btn {
        padding: 10px 20px;
        font-size: 13px;
        min-width: 160px;
    }
}