/* التصميم الرابع - Shein Style */

:root {
    --primary-pink: #0a5711;
    --secondary-pink: #6c47d9;
    --light-pink: #b19bff;
    --dark-pink: #5a3bb8;
    --black: #000000;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --info: #17a2b8;
}

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

body {
    font-family: 'Cairo', sans-serif;
    background: var(--white);
    color: var(--gray-800);
    line-height: 1.5;
    font-size: 14px;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Top Banner */
.top-banner {
    background: linear-gradient(45deg, #387a47, #37a04f);
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    position: relative;
}

.banner-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.banner-text {
    text-align: center;
    font-weight: 500;
}

.banner-close {
    position: absolute;
    left: 20px;
    background: none;
    border: none;
    color: var(--white);
    font-size: 18px;
    cursor: pointer;
    opacity: 0.8;
}

.banner-close:hover {
    opacity: 1;
}

/* Beta Info Box */
.beta-info-box {
    background: linear-gradient(45deg, #fff3cd, #ffe69c);
    border-top: 3px solid #ffc107;
    border-bottom: 1px solid #ffc107;
    padding: 12px 0;
    font-size: 13px;
    position: relative;
}

.beta-content {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    gap: 10px;
}

.beta-icon {
    color: #ff9800;
    font-size: 16px;
    flex-shrink: 0;
}

.beta-text {
    text-align: center;
    font-weight: 500;
    color: #856404;
}

.beta-close {
    position: absolute;
    left: 20px;
    background: none;
    border: none;
    color: #856404;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.beta-close:hover {
    opacity: 1;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Logo Styles */
.logo a {
    text-decoration: none;
    display: block;
}

.logo img {
    max-height: 50px;
    width: auto;
}

.logo-text {
    font-size: 24px;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}

/* Mobile Header */
.mobile-header {
    display: block;
    transition: all 0.3s ease;
}

.mobile-header.compact {
    padding: 5px 0;
}

.mobile-header.compact .mobile-header-top {
    margin-bottom: 0;
    padding: 5px 0;
}

.mobile-header.compact .mobile-actions .action-item {
    padding: 4px 2px;
    min-width: 40px;
}

.mobile-header.compact .mobile-actions .action-item i {
    font-size: 16px;
    margin-bottom: 1px;
}

.mobile-header.compact .mobile-actions .action-item .action-text {
    font-size: 9px;
}

.mobile-header.compact .logo .logo-text {
    font-size: 20px;
}

.mobile-header.compact .menu-toggle-btn {
    padding: 4px;
    font-size: 18px;
}

.mobile-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    transition: margin-bottom 0.3s ease;
}

.menu-toggle-btn {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--gray-700);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
}

.menu-toggle-btn:hover {
    background: rgba(255, 105, 180, 0.1);
    color: var(--primary-pink);
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mobile-actions .action-item {
    position: relative;
    background: none;
    border: none;
    font-size: 16px;
    color: var(--gray-700);
    padding: 8px 4px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    min-width: 50px;
}

.mobile-actions .action-item:hover {
    background: rgba(255, 105, 180, 0.1);
    color: var(--primary-pink);
}

.mobile-actions .action-item i {
    font-size: 18px;
    margin-bottom: 2px;
}

.mobile-actions .action-item .action-text {
    font-size: 10px;
    font-weight: 500;
    text-align: center;
    line-height: 1;
    margin-top: 2px;
}

.mobile-actions .action-item .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: #37924c;
    color: var(--white);
    font-size: 9px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 8px;
    min-width: 14px;
    text-align: center;
    line-height: 1;
}

.mobile-search {
    position: relative;
    transition: all 0.3s ease;
    transform: translateY(0);
    opacity: 1;
    max-height: 60px;
    overflow: hidden;
}

.mobile-search.hidden {
    max-height: 0;
    opacity: 0;
    transform: translateY(-100%);
    margin: 0;
    padding: 0;
}

/* Desktop Header */
.desktop-header .header-content {
    display: grid;
    grid-template-columns: 200px 1fr 300px;
    gap: 20px;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--black);
}

.logo img {
    width: 90px;
    height: 40px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-pink);
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

.search-box {
    position: relative;
    background: var(--gray-100);
    border-radius: 25px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.2s ease;
}

.search-box:focus-within {
    border-color: var(--primary-pink);
}

.search-box input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
}

.search-btn {
    position: absolute;
    left: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: #38934d;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    color: var(--white);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.search-btn:hover {
    background: var(--secondary-pink);
}

.trending-searches {
    margin-top: 8px;
    font-size: 12px;
    color: var(--gray-600);
}

.trending-searches span {
    margin-left: 10px;
}

.trending-searches a {
    color: var(--primary-pink);
    text-decoration: none;
    margin: 0 8px;
}

.trending-searches a:hover {
    text-decoration: underline;
}

.header-actions {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--gray-700);
    position: relative;
    transition: color 0.2s ease;
}

.action-item:hover {
    color: var(--primary-pink);
}

.action-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.action-text {
    font-size: 12px;
    font-weight: 500;
}

.badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: #37924c;
    color: var(--white);
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
}

/* Navigation */
.main-nav {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 12px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
    align-items: center;
}

/* Mobile nav nested list */
.mobile-navigation .nav-list .has-children > .mobile-cat-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.mobile-navigation .nav-list .has-children > .mobile-cat-toggle i.fa-chevron-down {
    font-size: 12px;
}
.mobile-navigation .nav-list .sub-nav-list {
    display: none;
    padding-right: 30px;
    margin-top: 6px;
}
.mobile-navigation .nav-list .sub-nav-list.show {
    display: block;
}

/* القائمة المنسدلة */
.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-toggle i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 220px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    border: 1px solid #e2e8f0;
    display: block; /* override Bootstrap's display: none */
}

.nav-dropdown:hover .dropdown-menu,
.main-nav .dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    color: #4a5568;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid #f7fafc;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #f7fafc;
    color: #6366f1;
    text-decoration: none;
}

.dropdown-item i {
    color: #6366f1;
    width: 16px;
}

.nav-item {
    color: var(--gray-700);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary-pink);
    background: var(--gray-100);
}

.nav-item.sale {
    color: var(--danger);
    font-weight: 600;
}

.nav-item.sale::after {
    content: 'HOT';
    position: absolute;
    top: -5px;
    right: -10px;
    background: var(--danger);
    color: var(--white);
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 8px;
}

/* قائمة الأقسام المحسّنة */
.categories-dropdown .dropdown-menu {
    min-width: 280px;
    max-width: 350px;
    padding: 0;
}

.categories-scroll-container {
    max-height: 500px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* شريط التمرير المخصص */
.categories-scroll-container::-webkit-scrollbar {
    width: 6px;
}

.categories-scroll-container::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 10px;
}

.categories-scroll-container::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.categories-scroll-container::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* عنصر القسم */
.category-item {
    border-bottom: 1px solid #f1f5f9;
    position: relative;
}

.category-item:last-child {
    border-bottom: none;
}

.category-main-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    color: #2d3748;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-main-link:hover {
    background: #f7fafc;
    color: var(--primary-pink);
    text-decoration: none;
}

.category-main-link span {
    flex: 1;
}

.category-arrow {
    font-size: 0.75rem;
    color: #cbd5e1;
    transition: transform 0.3s ease;
    margin-right: 8px;
}

.category-item.has-subcategories .category-main-link:hover .category-arrow {
    color: var(--primary-pink);
    transform: translateX(-3px);
}

/* القائمة الفرعية */
.category-submenu {
    background: #f8fafc;
    border-right: 3px solid var(--primary-pink);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.category-item.has-subcategories:hover .category-submenu {
    max-height: 500px;
}

.subcategory-list {
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

.subcategory-link {
    display: block;
    padding: 8px 16px 8px 24px;
    color: #4a5568;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.3s ease;
    border-right: 2px solid transparent;
}

.subcategory-link:hover {
    background: #edf2f7;
    color: var(--primary-pink);
    border-right-color: var(--primary-pink);
    text-decoration: none;
    padding-right: 22px;
}

.nav-extras {
    display: flex;
    gap: 15px;
    font-size: 12px;
    color: var(--gray-600);
}

.currency,
.language {
    padding: 4px 8px;
    border: 1px solid var(--gray-300);
    border-radius: 12px;
    cursor: pointer;
}

/* Hero Slider */
.hero-slider {
    background: linear-gradient(135deg, var(--light-pink), var(--primary-pink));
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-slide {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 20px;
    opacity: 0.9;
}

.hero-price {
    margin-bottom: 30px;
}

.price-from {
    color: var(--white);
    font-size: 1rem;
    opacity: 0.8;
}

.price {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-right: 10px;
}

.btn-hero {
    background: var(--white);
    color: var(--primary-pink);
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-hero:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Hero Slider Section */
.hero-slider-section {
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.hero-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

.slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide-content {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-content img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 15px;
    pointer-events: none;
}

.slider-btn {
    background: rgba(255, 255, 255, 0.8);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    pointer-events: auto;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.slider-btn:hover {
    background: white;
    transform: scale(1.1);
}

.slider-btn i {
    color: #333;
    font-size: 18px;
}

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

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

.indicator.active,
.indicator:hover {
    background: white;
    transform: scale(1.2);
}

/* Desktop Slider (3 images side by side) */
@media (min-width: 992px) {
    .slider-track {
        display: flex;
        flex-wrap: nowrap;
    }
    
    .slide {
        min-width: 33.333%;
        flex: 0 0 33.333%;
    }
    
    .slide-content {
        height: 400px;
    }
    
    .slide-content img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .slider-controls {
        display: none;
    }
    
    .slider-indicators {
        display: none;
    }
}

/* Mobile Slider (single image with partial view) */
@media (max-width: 991px) {
    .slide-content {
        height: 250px;
    }
    
    .slide-content img {
        height: 100%;
        object-fit: cover;
    }
    
    /* For mobile, we want to show one full slide and partial view of next */
    .slider-track {
        width: 200%; /* Show 200% width to display partial next slide */
        transform: translateX(-25%); /* Initially show first slide with partial next */
    }
    
    .slide {
        min-width: 50%;
        flex: 0 0 50%;
    }
    
    .slide:first-child {
        padding-right: 15px;
    }
    
    .slide:last-child {
        padding-left: 15px;
    }
    
    /* Show partial view of next slide */
    .hero-slider-container {
        overflow: visible;
    }
    
    .slider-wrapper {
        overflow: hidden;
        margin: 0 20px;
    }
    
    .slider-track {
        touch-action: pan-x;
    }
    
    .slide {
        touch-action: pan-x;
    }
}

/* Flash Sale */
.flash-sale {
    background: var(--gray-100);
    padding: 40px 0;
}

.sale-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.sale-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sale-title i {
    color: var(--warning);
    font-size: 24px;
}

.sale-title h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}

.sale-subtitle {
    color: var(--gray-600);
    font-size: 14px;
    margin-right: 10px;
}

.countdown {
    display: flex;
    gap: 10px;
}

.time-unit {
    background: var(--primary-pink);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 50px;
}

.time-unit .number {
    display: block;
    font-size: 18px;
    font-weight: 700;
}

.time-unit .label {
    font-size: 10px;
    opacity: 0.8;
}

.view-all {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 600;
    padding: 8px 16px;
    border: 2px solid var(--primary-pink);
    border-radius: 20px;
    transition: all 0.2s ease;
}

.view-all:hover {
    background: var(--primary-pink);
    color: var(--white);
}

.sale-products {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

/* Product Cards */
.product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.2s ease;
    position: relative;
}

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

.product-image {
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--danger);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge.trending {
    background: var(--primary-pink);
}

.badge.new {
    background: var(--success);
}

.badge.hot {
    background: var(--danger);
}

.badge.limited {
    background: var(--warning);
    color: var(--gray-800);
}

.badge.premium {
    background: var(--info);
}

.badge.featured {
    background: var(--warning);
    color: var(--gray-800);
}

.badge.sale {
    background: var(--danger);
}

.badge.out-of-stock {
    background: var(--gray-500);
}

.quick-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-card:hover .quick-actions {
    opacity: 1;
}

.quick-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: var(--white);
    color: var(--gray-600);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-btn:hover {
    background: var(--primary-pink);
    color: var(--white);
    transform: scale(1.1);
}

.quick-btn.active {
    background: var(--primary-pink);
    color: var(--white);
}

.size-guide {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0,0,0,0.7);
    color: var(--white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 10px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.product-card:hover .size-guide {
    opacity: 1;
}

.product-info {
    padding: 15px;
}

.product-category {
    color: var(--gray-500);
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.product-info h3 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-title a {
    text-decoration: none;
    color: var(--gray-800);
    transition: color 0.2s;
}

.product-title a:hover {
    color: var(--primary-pink);
}

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

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

.stars {
    color: var(--warning);
    font-size: 12px;
}

.rating-count {
    color: var(--gray-500);
    font-size: 11px;
}

.price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.price .current,
.current-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-pink);
}

.price .original,
.original-price {
    font-size: 12px;
    color: var(--gray-500);
    text-decoration: line-through;
}

.price .discount {
    background: var(--danger);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 600;
}

.sold-count {
    color: var(--gray-500);
    font-size: 11px;
    margin-bottom: 8px;
}

.shipping-info {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--success);
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 8px;
}

.color-options {
    display: flex;
    align-items: center;
    gap: 5px;
}

.color-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 0 1px var(--gray-300);
    cursor: pointer;
}

.more-colors {
    color: var(--gray-500);
    font-size: 11px;
    margin-right: 5px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    justify-content: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--primary-pink);
    border: 2px solid var(--primary-pink);
}

.btn-outline:hover {
    background: var(--primary-pink);
    color: white;
}

.btn-disabled {
    background: var(--gray-200);
    color: var(--gray-500);
    cursor: not-allowed;
}

.add-to-cart {
    width: 100%;
    justify-content: center;
}

/* Sections */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--gray-800);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--gray-600);
    font-size: 16px;
}

.categories-section,
.trending-section,
.featured-products-section,
.latest-products-section {
    padding: 20px 0;
}

.latest-products-section {
    background: var(--gray-100);
}

/* Modern Categories Section - Premium Design */
.categories-section-modern {
    position: relative;
    overflow: hidden;
}

.categories-section-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(56, 147, 77, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.categories-section-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 71, 217, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.section-header-modern {
    text-align: right;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

.title-wrapper {
    display: block;
    position: relative;
}

.main-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #2c3e50 0%, #38934d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.main-title-small {
    font-size: 1.3rem !important;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #38934d 0%, #6c47d9 100%);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
}

.title-underline::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #38934d;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(56, 147, 77, 0.2);
}

.subtitle {
    color: #6c757d;
    font-size: 1.15rem;
    font-weight: 400;
    margin-top: 15px;
    line-height: 1.6;
}

.categories-grid-modern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   CATEGORIES GRID SECTION - NEW DESIGN
   ======================================== */

.categories-grid-section {
    padding: 40px 0;
    border-radius: 15px;
}

.categories-grid-container {
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.category-grid-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: var(--white);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.category-grid-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(56, 147, 77, 0.15);
}

.category-grid-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.category-grid-image {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
    background: var(--gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
}

.grid-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #60c15d52;
    border-radius: 12px;
}

.category-grid-card:hover .grid-img {
    transform: scale(1.08);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 87, 17, 0.05);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-grid-card:hover .grid-overlay {
    opacity: 1;
}

.category-grid-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.grid-category-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0a5711;
    line-height: 1.3;
    word-break: break-word;
}

.grid-category-desc {
    display: none;
}

/* Responsive Design for Grid */
@media (max-width: 1400px) {
    .categories-grid-container {
        grid-template-columns: repeat(9, 1fr);
        gap: 18px;
    }

    .grid-category-title {
        font-size: 0.85rem;
    }
}

@media (max-width: 1200px) {
    .categories-grid-container {
        grid-template-columns: repeat(8, 1fr);
        gap: 16px;
    }

    .category-grid-image {
        height: 110px;
    }

    .grid-category-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 992px) {
    .categories-grid-container {
        grid-template-columns: repeat(6, 1fr);
        gap: 14px;
    }

    .category-grid-image {
        height: 100px;
    }

    .grid-category-title {
        font-size: 0.75rem;
    }
}

@media (max-width: 768px) {
    .categories-grid-container {
        grid-template-columns: repeat(5, 1fr);
        gap: 12px;
    }

    .category-grid-image {
        height: 90px;
    }

    .category-grid-info {
        padding: 10px 6px;
    }

    .grid-category-title {
        font-size: 0.7rem;
    }
}

@media (max-width: 576px) {
    .categories-grid-section {
        padding: 30px 0;
        margin-bottom: 30px;
    }

    .categories-grid-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
    }

    .category-grid-image {
        height: 80px;
    }

    .category-grid-info {
        padding: 8px 5px;
    }

    .grid-category-title {
        font-size: 0.65rem;
    }
}

@media (max-width: 400px) {
    .categories-grid-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .category-grid-image {
        height: 70px;
    }

    .grid-category-title {
        font-size: 0.6rem;
    }
}

/* ========================================
   CATEGORIES SWIPER SLIDER - PROFESSIONAL DESIGN
   ======================================== */

.categories-swiper-container {
    position: relative;
    margin-bottom: 40px;
    padding: 0px;
}

.categories-swiper {
    width: 100%;
    padding: 10px 0 50px 0;
}

.categories-swiper .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.categories-swiper .swiper-slide {
    height: auto;
    display: flex;
}

.categories-swiper .category-card-modern {
    width: 100%;
    height: 100%;
}

/* Swiper Navigation Buttons */
.categories-swiper-button-next,
.categories-swiper-button-prev {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #38934d 0%, #2d7a3f 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(56, 147, 77, 0.3);
    transition: all 0.3s ease;
}

.categories-swiper-button-next::after,
.categories-swiper-button-prev::after {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.categories-swiper-button-next:hover,
.categories-swiper-button-prev:hover {
    background: #0a5711;
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(10, 87, 17, 0.4);
}

.categories-swiper-button-next.swiper-button-disabled,
.categories-swiper-button-prev.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Adjust button positions for RTL layout */
.categories-swiper-button-prev {
    right: 0;
    left: auto;
}

.categories-swiper-button-next {
    left: 0;
    right: auto;
}

/* Swiper Pagination */
.categories-swiper-pagination {
    bottom: 10px;
}

.categories-swiper-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d1d5db;
    opacity: 1;
    transition: all 0.3s ease;
}

.categories-swiper-pagination .swiper-pagination-bullet:hover {
    background: #9ca3af;
    transform: scale(1.2);
}

.categories-swiper-pagination .swiper-pagination-bullet-active {
    background: #38934d;
    width: 30px;
    border-radius: 5px;
}

/* Dynamic Bullets */
.categories-swiper-pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet {
    transition: all 0.3s ease;
}

.categories-swiper-pagination.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main {
    background: #38934d;
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .categories-swiper-container {
        padding: 0 55px;
    }
}

@media (max-width: 1024px) {
    .categories-swiper-container {
        padding: 0 50px;
    }
    
    .categories-swiper-button-next,
    .categories-swiper-button-prev {
        width: 45px;
        height: 45px;
    }
    
    .categories-swiper-button-next::after,
    .categories-swiper-button-prev::after {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .categories-swiper-container {
        padding: 0px;
    }
    
    .categories-swiper-button-next,
    .categories-swiper-button-prev {
        width: 40px;
        height: 40px;
    }
    
    .categories-swiper-button-next::after,
    .categories-swiper-button-prev::after {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .categories-swiper-container {
        padding: 0px;
    }
    
    .categories-swiper-button-next,
    .categories-swiper-button-prev {
        width: 35px;
        height: 35px;
    }
    
    .categories-swiper-button-next::after,
    .categories-swiper-button-prev::after {
        font-size: 12px;
    }
    
    .categories-swiper-button-prev {
        right: -5px;
    }
    
    .categories-swiper-button-next {
        left: -5px;
    }
}

.category-card-modern {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 280px;
}

.category-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 147, 77, 0.95) 0%, rgba(108, 71, 217, 0.95) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.category-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.category-card-modern:hover::before {
    opacity: 1;
}

.category-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.category-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.category-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.category-card-modern:hover .category-img {
    transform: scale(1.15);
    filter: brightness(0.9);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 2;
}

.category-card-modern:hover .category-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    transform: translateY(20px);
    transition: transform 0.4s ease;
    color: #ffffff;
}

.category-card-modern:hover .overlay-content {
    transform: translateY(0);
}

.overlay-content i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 1s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.overlay-content span {
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    padding: 12px 30px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 30px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.category-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
    z-index: 3;
    transition: all 0.4s ease;
}

.category-card-modern:hover .category-details {
    background: linear-gradient(to top, rgba(10, 87, 17, 0.95) 0%, rgba(10, 87, 17, 0.7) 60%, transparent 100%);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 6px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.category-card-modern:hover .category-title {
    transform: translateX(-3px);
    color: #ffffff;
}

.category-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.products-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.category-card-modern:hover .products-count {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
    color: #ffffff;
}

.products-count i {
    font-size: 0.9rem;
}

/* Store Card Modern Design - Color Background */
.store-card-modern {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(56, 147, 77, 0.95) 0%, rgb(58 119 35 / 95%) 100%);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 280px;
}

.store-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(56, 147, 77, 0.95) 0%, rgb(58 119 35 / 95%) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.store-card-modern:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.store-card-modern:hover::before {
    opacity: 1;
}

.store-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    position: relative;
}

.store-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.store-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.store-card-modern:hover .store-overlay {
    opacity: 1;
}

.overlay-content {
    text-align: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.overlay-content i {
    font-size: 2.5rem;
    transition: transform 0.3s ease;
}

.store-card-modern:hover .overlay-content i {
    transform: scale(1.2);
}

.overlay-content span {
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.store-details {
    position: relative;
    z-index: 3;
    transition: all 0.4s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 10px;
}

.store-logo-badge {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.store-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.store-logo-placeholder {
    font-size: 2rem;
    color: #0a5711;
}

.store-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    line-height: 1.3;
}

.store-card-modern:hover .store-title {
    transform: translateY(-3px);
    color: #ffffff;
}

.store-description {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* Stores Swiper Container */
.stores-swiper-container {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.stores-swiper {
    width: 100%;
    padding-bottom: 50px;
}

.stores-swiper .swiper-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.stores-swiper .store-card-modern {
    width: 100%;
    height: 100%;
}

/* Stores Swiper Navigation */
.stores-swiper-button-next,
.stores-swiper-button-prev {
    background: rgba(255, 255, 255, 0.9);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    transition: all 0.3s ease;
}

.stores-swiper-button-next:hover,
.stores-swiper-button-prev:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stores-swiper-button-prev {
    left: 15px;
}

.stores-swiper-button-next {
    right: 15px;
}

.stores-swiper-button-prev::after,
.stores-swiper-button-next::after {
    font-size: 18px;
    color: #333;
    font-weight: bold;
}

/* Stores Swiper Pagination */
.stores-swiper-pagination {
    bottom: 10px;
    display: flex;
    justify-content: center;
}

.stores-swiper-pagination .swiper-pagination-bullet {
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.stores-swiper-pagination .swiper-pagination-bullet-active {
    background: #333;
    width: 30px;
    border-radius: 5px;
}

.view-all-categories {
    text-align: center;
    margin-top: 60px;
    position: relative;
    z-index: 1;
}

.btn-view-all-cats {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #0a5711;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 10px 30px rgba(10, 87, 17, 0.3);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-view-all-cats::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-view-all-cats:hover::before {
    width: 300px;
    height: 300px;
}

.btn-view-all-cats:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(56, 147, 77, 0.4);
    color: #ffffff;
}

.btn-view-all-cats i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-view-all-cats:hover i {
    transform: translateX(-5px);
}

.btn-view-all-cats span {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1400px) {
    .categories-grid-modern {
        grid-template-columns: repeat(4, 1fr);
        gap: 25px;
    }
    
    .category-card-modern {
        height: 320px;
    }
}

@media (max-width: 1024px) {
    .main-title {
        font-size: 1.4rem;
    }
    
    .categories-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .category-card-modern {
        height: 280px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .categories-section-modern {
        padding: 50px 0;
    }
    
    .section-header-modern {
        margin-bottom: 20px;
    }

    .main-title {
        font-size: 1.2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .categories-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card-modern {
        height: 220px;
    }
    
    .category-title {
        font-size: 1.1rem;
    }

    .category-description {
        font-size: 0.75rem;
        -webkit-line-clamp: 1;
    }

    .products-count {
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    .overlay-content i {
        font-size: 2rem;
    }
    
    .overlay-content span {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    .btn-view-all-cats {
        padding: 14px 30px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .categories-section-modern {
        padding: 40px 0;
    }
    
    .main-title {
        font-size: 1.1rem;
    }

    .subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
    }
    
    .categories-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .category-card-modern {
        height: 240px;
    }
    
    .category-title {
        font-size: 1.2rem;
    }
    
    .category-details {
        padding: 18px 12px;
    }
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

/* ========================================
   MODERN PRODUCT CARDS - PROFESSIONAL DESIGN
   ======================================== */

.trending-section-modern {
    padding: 80px 0;
    background: #ffffff;
    position: relative;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

.product-card-modern {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern:hover .product-img {
    transform: scale(1.1);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    color: #9ca3af;
}

.no-image-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

.no-image-placeholder p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Badges */
.product-badges-modern {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 2;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.badge-modern.trending {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.badge-modern.new {
    background: #0a5711;
}

.badge-modern i {
    font-size: 10px;
}

/* Quick Actions */
.quick-actions-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 3;
}

.product-card-modern:hover .quick-actions-modern {
    opacity: 1;
    transform: translateX(0);
}

.quick-btn-modern {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.quick-btn-modern:hover {
    background: #38934d;
    color: #ffffff;
    transform: scale(1.1);
}

.quick-btn-modern i {
    font-size: 16px;
}

/* Size Guide Badge */
.size-guide-badge {
    position: absolute;
    bottom: 15px;
    left: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    color: #ffffff;
    font-size: 11px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.product-card-modern:hover .size-guide-badge {
    opacity: 1;
    transform: translateY(0);
}

.size-guide-badge i {
    font-size: 10px;
}

/* Discount Badge */
.discount-badge-modern {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #ffffff;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
    z-index: 2;
}

/* Product Info */
.product-info-modern {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.product-category-modern {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-category-modern i {
    font-size: 11px;
    color: #38934d;
}

.product-title-modern {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    min-height: 42px;
}

.product-title-modern a {
    color: #1f2937;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.product-title-modern a:hover {
    color: #38934d;
}

/* Vendor Info */
.vendor-info-modern {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    padding: 6px 10px;
    background: #f9fafb;
    border-radius: 8px;
    width: fit-content;
}

.vendor-info-modern i.fa-store {
    color: #38934d;
    font-size: 11px;
}

.vendor-info-modern .vendor-name {
    font-weight: 500;
    font-size: 0.85rem;
}

.verified-icon {
    color: #38934d;
    font-size: 12px;
    margin-right: 2px;
}

/* Featured Vendor (PortSaid Souq Mart) - Modern Style */
.vendor-info-modern.vendor-featured {
     background: #0a5711;
    color: #000000;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2);
}

.vendor-info-modern.vendor-featured i.fa-store {
    color: #ffcb05;
}

.vendor-info-modern.vendor-featured .vendor-name {
    color: #fff;
    font-weight: 700;
}

.vendor-info-modern.vendor-featured::before {
    color: #ffca00;
    font-size: 12px;
}

/* Rating */
.rating-modern {
    display: flex;
    align-items: center;
    gap: 6px;
}

.stars-modern {
    display: flex;
    gap: 2px;
    color: #fbbf24;
    font-size: 14px;
}

.stars-modern i {
    font-size: 13px;
}

.rating-score {
    font-weight: 700;
    font-size: 14px;
    color: #1f2937;
    margin-left: 4px;
}

.rating-count-modern {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 500;
}

/* Price Section */
.price-section-modern {
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #f3f4f6;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.current-price-modern {
    font-size: 16px;
    font-weight: 700;
    color: #0a5745;
    line-height: 1;
}

.original-price-modern {
    font-size: 12px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

/* Add to Cart Button */
.add-to-cart-btn-modern {
    width: 100%;
    padding: 12px;
    background: #0a5711;
    color: #ffffff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: 12px;
}

.add-to-cart-btn-modern:hover {
    background: #084209;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(10, 87, 17, 0.3);
}

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

/* Section Footer */
.section-footer-modern {
    text-align: center;
    margin-top: 20px;
}

.btn-view-all-modern {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: #0a5711;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(10, 87, 17, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-view-all-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-view-all-modern:hover::before {
    width: 300px;
    height: 300px;
}

.btn-view-all-modern:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(56, 147, 77, 0.35);
    color: #ffffff;
}

.btn-view-all-modern i {
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.btn-view-all-modern:hover i {
    transform: translateX(-5px);
}

.btn-view-all-modern span {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid-modern {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
    
    .product-image-wrapper {
        height: 260px;
    }
}

@media (max-width: 992px) {
    .trending-section-modern {
        padding: 60px 0;
    }
    
    .products-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .product-image-wrapper {
        height: 240px;
    }
    
    .product-title-modern {
        font-size: 14px;
    }
    
    .current-price-modern {
        font-size: 18px;
    }
}

@media (max-width: 768px) {
    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .product-card-modern {
        border-radius: 12px;
    }
    
    .product-image-wrapper {
        height: 200px;
    }
    
    .product-info-modern {
        padding: 15px;
        gap: 8px;
    }
    
    .product-title-modern {
        font-size: 13px;
        min-height: 38px;
    }
    
    .current-price-modern {
        font-size: 16px;
    }
    
    .original-price-modern {
        font-size: 12px;
    }
    
    .add-to-cart-btn-modern {
        padding: 10px;
        font-size: 13px;
    }
    
    .quick-actions-modern {
        display: none;
    }
    
    .badge-modern {
        padding: 5px 10px;
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .trending-section-modern {
        padding: 40px 0;
    }
    
    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-image-wrapper {
        height: 180px;
    }
    
    .product-info-modern {
        padding: 12px;
    }
    
    .vendor-info-modern {
        font-size: 11px;
        padding: 5px 8px;
    }
    
    .rating-modern {
        flex-wrap: wrap;
    }
    
    .btn-view-all-modern {
        padding: 14px 30px;
        font-size: 14px;
    }
}

/* ========================================
   MODERN PRODUCT CARDS - PROFESSIONAL DESIGN (COMPACT)
   ======================================== */

.trending-section-modern {
    padding: 0px ;
    background: #ffffff;
    position: relative;
}

.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 40px;
}

.product-card-modern {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

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

.product-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: #f8f9fa;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card-modern:hover .product-img {
    transform: scale(1.05);
}

.no-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e4e8ec 100%);
    color: #9ca3af;
}

.no-image-placeholder i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.no-image-placeholder p {
    margin: 0;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Badges */
.product-badges-modern {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 9px;
    font-weight: 600;
    color: #ffffff;
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(15px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.badge-modern.trending {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
}

.badge-modern.new {
    background: #0a5711;
}

.badge-modern i {
    font-size: 8px;
}

/* Quick Actions */
.quick-actions-modern {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s ease;
    z-index: 3;
}

.product-card-modern:hover .quick-actions-modern {
    opacity: 1;
    transform: translateX(0);
}

.quick-btn-modern {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(5px);
}

.quick-btn-modern:hover {
    background: #38934d;
    color: #ffffff;
    transform: scale(1.1);
}

.quick-btn-modern i {
    font-size: 12px;
}

/* Size Guide Badge */
.size-guide-badge {
    position: absolute;
    bottom: 10px;
    left: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 6px 8px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: #ffffff;
    font-size: 9px;
    font-weight: 500;
    opacity: 0;
    transform: translateY(8px);
    transition: all 0.2s ease;
}

.product-card-modern:hover .size-guide-badge {
    opacity: 1;
    transform: translateY(0);
}

.size-guide-badge i {
    font-size: 8px;
}

/* Discount Badge */
.discount-badge-modern {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a6f 100%);
    color: #ffffff;
    padding: 6px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(255, 107, 107, 0.3);
    z-index: 2;
}

/* Product Info */
.product-info-modern {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-category-modern {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #6b7280;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.product-category-modern i {
    font-size: 9px;
    color: #38934d;
}

.product-title-modern {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    min-height: 36px;
}

.product-title-modern a {
    color: #1f2937;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.product-title-modern a:hover {
    color: #38934d;
}

/* Vendor Info */
.vendor-info-modern {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: #6b7280;
    padding: 5px 8px;
    background: #f9fafb;
    border-radius: 6px;
    width: fit-content;
}

.vendor-info-modern i.fa-store {
    color: #38934d;
    font-size: 10px;
}

.vendor-info-modern .vendor-name {
    font-weight: 500;
    font-size: 0.85rem;
}

.verified-icon {
    color: #38934d;
    font-size: 10px;
    margin-right: 2px;
}

/* Rating */
.rating-modern {
    display: flex;
    align-items: center;
    gap: 5px;
}

.stars-modern {
    display: flex;
    gap: 1px;
    color: #fbbf24;
    font-size: 12px;
}

.stars-modern i {
    font-size: 11px;
}

.rating-score {
    font-weight: 700;
    font-size: 12px;
    color: #1f2937;
    margin-left: 3px;
}

.rating-count-modern {
    color: #9ca3af;
    font-size: 11px;
    font-weight: 500;
}

/* Price Section */
.price-section-modern {
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid #f3f4f6;
}

.price-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.current-price-modern {
    font-size: 14px;
    font-weight: 700;
    color: #0a5745;
    line-height: 1;
}

.original-price-modern {
    font-size: 11px;
    color: #9ca3af;
    text-decoration: line-through;
    font-weight: 500;
}

/* Add to Cart Button */
.add-to-cart-btn-modern {
    width: 100%;
    padding: 10px;
    background: #0a5711;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    margin-top: 10px;
}

.add-to-cart-btn-modern:hover {
    background: #084209;
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(10, 87, 17, 0.2);
}

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

/* Section Footer */
.section-footer-modern {
    text-align: center;
    margin-top: 20px;
}

.btn-view-all-modern {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 30px;
    background: #0a5711;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 40px;
    box-shadow: 0 4px 15px rgba(10, 87, 17, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-view-all-modern::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.4s, height 0.4s;
}

.btn-view-all-modern:hover::before {
    width: 250px;
    height: 250px;
}

.btn-view-all-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 147, 77, 0.25);
    color: #ffffff;
}

.btn-view-all-modern i {
    transition: transform 0.2s ease;
    position: relative;
    z-index: 1;
}

.btn-view-all-modern:hover i {
    transform: translateX(-3px);
}

.btn-view-all-modern span {
    position: relative;
    z-index: 1;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid-modern {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
    
    .product-image-wrapper {
        height: 180px;
    }
    
    .product-title-modern {
        font-size: 12px;
    }
    
    .current-price-modern {
        font-size: 15px;
    }
}

@media (max-width: 992px) {
    .trending-section-modern {
        padding: 50px 0;
    }
    
    .products-grid-modern {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .product-image-wrapper {
        height: 170px;
    }
    
    .product-title-modern {
        font-size: 12px;
    }
    
    .current-price-modern {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card-modern {
        border-radius: 10px;
    }
    
    .product-image-wrapper {
        height: 160px;
    }
    
    .product-info-modern {
        padding: 12px;
        gap: 6px;
    }
    
    .product-title-modern {
        font-size: 11px;
        min-height: 32px;
    }
    
    .current-price-modern {
        font-size: 14px;
    }
    
    .original-price-modern {
        font-size: 11px;
    }
    
    .add-to-cart-btn-modern {
        padding: 8px;
        font-size: 11px;
    }
    
    .quick-actions-modern {
        display: none;
    }
    
    .badge-modern {
        padding: 4px 6px;
        font-size: 8px;
    }
}

@media (max-width: 480px) {
    .trending-section-modern {
        padding: 30px 0;
    }
    
    .products-grid-modern {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .product-image-wrapper {
        height: 150px;
    }
    
    .product-info-modern {
        padding: 10px;
    }
    
    .vendor-info-modern {
        font-size: 10px;
        padding: 4px 6px;
    }
    
    .rating-modern {
        flex-wrap: wrap;
    }
    
    .btn-view-all-modern {
        padding: 12px 25px;
        font-size: 13px;
    }
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-view-all {
    background: #37924c;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-view-all:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
}

/* Category SEO Content */
.category-seo-content {
    background: var(--gray-50);
    padding: 60px 0;
    margin-top: 40px;
}

.seo-content {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    line-height: 1.8;
}

.seo-content h1,
.seo-content h2,
.seo-content h3,
.seo-content h4,
.seo-content h5,
.seo-content h6 {
    color: var(--primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.seo-content h1 {
    font-size: 28px;
    margin-top: 0;
}

.seo-content h2 {
    font-size: 24px;
}

.seo-content h3 {
    font-size: 20px;
}

.seo-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.seo-content ul,
.seo-content ol {
    margin: 15px 0;
    padding-right: 20px;
}

.seo-content li {
    margin-bottom: 8px;
}

.seo-content a {
    color: var(--primary);
    text-decoration: none;
}

.seo-content a:hover {
    text-decoration: underline;
}

.seo-content strong {
    font-weight: 600;
    color: var(--text-dark);
}

.seo-content blockquote {
    border-right: 4px solid var(--primary);
    padding: 15px 20px;
    margin: 20px 0;
    background: var(--gray-50);
    font-style: italic;
}

/* Newsletter */
.newsletter-section {
    background: linear-gradient(45deg, var(--primary-pink), var(--secondary-pink));
    padding: 50px 0;
    color: var(--white);
}

.newsletter-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}

.newsletter-text h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.newsletter-text p {
    opacity: 0.9;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 25px;
    outline: none;
    font-size: 14px;
}

.newsletter-form button {
    background: var(--white);
    color: var(--primary-pink);
    border: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.newsletter-form button:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* Footer */
.footer {
    background: var(--gray-900);
    color: var(--white);
    padding: 40px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.footer-section h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--primary-pink);
}

.footer-section ul {
    list-style: none;
}

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

.footer-section ul li a {
    color: var(--gray-300);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-pink);
}

.social-links {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.social-links a {
    width: 35px;
    height: 35px;
    background: var(--primary-pink);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.social-links a:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
}

.app-download p {
    margin-bottom: 10px;
    font-size: 14px;
}

.app-buttons {
    display: flex;
    gap: 10px;
}

.app-buttons img {
    height: 35px;
    border-radius: 5px;
}

.payment-methods {
    display: flex;
    gap: 8px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.payment-methods img {
    height: 25px;
    border-radius: 3px;
}

.security-badges {
    display: flex;
    gap: 8px;
}

.security-badges img {
    height: 30px;
    border-radius: 3px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    margin: 0;
    color: var(--gray-400);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--gray-400);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--primary-pink);
}

/* Breadcrumb */
.breadcrumb-section {
    background: var(--gray-100);
    padding: 15px 0;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.breadcrumb-item a {
    color: var(--gray-600);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--primary-pink);
    font-weight: 500;
}

/* Category Header */
.category-header {
    background: linear-gradient(135deg, var(--light-pink), var(--primary-pink));
    padding: 40px 0;
    color: var(--white);
}

.category-banner {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: center;
}

.banner-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    opacity: 0.9;
}

.category-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-item strong {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-item span {
    font-size: 0.9rem;
    opacity: 0.8;
}

.banner-image img {
    width: 100%;
    max-width: 300px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Products Section */
.products-section {
    padding: 40px 0;
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--white);
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.filters-sidebar {
    position: sticky;
    top: 120px;
    max-height: calc(100vh - 140px);
    overflow-y: auto;
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--gray-200);
}

.filter-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gray-800);
    margin: 0;
}

.clear-filters {
    background: var(--primary-pink);
    color: var(--white);
    border: none;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.clear-filters:hover {
    background: var(--secondary-pink);
}

.filter-group {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--gray-200);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.filter-group h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
}

/* Price Filter */
.price-filter {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-range {
    position: relative;
    height: 6px;
    background: var(--gray-200);
    border-radius: 3px;
}

.range-slider {
    position: absolute;
    width: 100%;
    height: 6px;
    background: none;
    pointer-events: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider::-webkit-slider-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary-pink);
    cursor: pointer;
    pointer-events: all;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-inputs input {
    flex: 1;
    border: 2px solid var(--gray-300);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s ease;
}

.price-inputs input:focus {
    border-color: var(--primary-pink);
}

.price-inputs span {
    color: var(--gray-500);
    font-weight: 600;
}

/* Filter Options */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 0;
    transition: color 0.2s ease;
}

.filter-option:hover {
    color: var(--primary-pink);
}

.filter-option input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--gray-300);
    border-radius: 4px;
    position: relative;
    transition: all 0.2s ease;
}

.filter-option input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-pink);
    border-color: var(--primary-pink);
}

.filter-option input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    font-weight: bold;
    font-size: 12px;
}

.filter-option span:not(.checkmark):not(.count) {
    flex: 1;
    font-weight: 500;
}

.count {
    color: var(--gray-500);
    font-size: 12px;
}

/* Color Filter */
.color-filter {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.color-filter .color-option {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.color-filter .color-option:hover,
.color-filter .color-option.active {
    border-color: var(--gray-800);
    transform: scale(1.1);
}

/* Rating Filter */
.rating-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rating-option {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 8px 0;
}

.rating-option input[type="checkbox"] {
    display: none;
}

.rating-option .stars {
    color: var(--warning);
    font-size: 14px;
}

.rating-option span {
    color: var(--gray-600);
    font-size: 13px;
}

/* Products Header */
.products-header {
    background: var(--white);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.results-count {
    font-weight: 600;
    color: var(--gray-700);
}

.sort-select {
    border: 2px solid var(--gray-300);
    border-radius: 20px;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 500;
    background: var(--white);
    color: var(--gray-700);
    outline: none;
    cursor: pointer;
    transition: border-color 0.2s ease;
}

.sort-select:focus {
    border-color: var(--primary-pink);
}

/* Load More */
.load-more-section {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: var(--primary-pink);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.load-more-btn:hover {
    background: var(--secondary-pink);
    transform: translateY(-2px);
}

.pagination-info {
    color: var(--gray-600);
    font-size: 14px;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--gray-600);
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--gray-700);
}

.empty-state p {
    margin-bottom: 20px;
}

/* Mobile Navigation */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

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

.mobile-navigation {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    background: var(--white);
    z-index: 1999;
    transition: right 0.3s;
    overflow-y: auto;
}

.mobile-navigation.active {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background: linear-gradient(135deg, #387846, #26873c);
    color: var(--white);
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.user-info h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.user-info p {
    margin: 0;
    font-size: 12px;
    opacity: 0.8;
}

.nav-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
}

.nav-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-nav-content {
    padding: 20px;
}

.nav-section {
    margin-bottom: 25px;
}

.nav-section h5 {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-200);
}

.nav-list {
    list-style: none;
}

.nav-list li {
    margin-bottom: 8px;
}

.nav-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    text-decoration: none;
    color: var(--gray-700);
    font-weight: 500;
    transition: all 0.3s;
    border-radius: 8px;
}

.nav-list a:hover {
    color: var(--primary-pink);
    background: rgba(255, 105, 180, 0.05);
    padding-left: 8px;
}

.nav-list a i {
    width: 20px;
    text-align: center;
    color: var(--gray-500);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .desktop-header {
        display: none !important;
    }

    .mobile-header {
        display: block !important;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .sale-header {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .product-card {
        width: 100%;
        margin: 0;
        max-width: none;
    }
    
    .product-image {
        height: 150px;
    }
    
    .product-image img {
        object-fit: contain;
    }

    .category-seo-content {
        padding: 40px 0;
        margin-top: 20px;
    }

    .seo-content {
        padding: 20px;
        margin: 0 15px;
    }

    .seo-content h1 {
        font-size: 24px;
    }

    .seo-content h2 {
        font-size: 20px;
    }

    .seo-content h3 {
        font-size: 18px;
    }

    .category-banner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .banner-content h1 {
        font-size: 2rem;
    }

    .nav-menu {
        display: none;
    }

    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        margin-top: 10px;
    }

    /* قائمة الأقسام على الأجهزة المحمولة */
    .categories-dropdown .dropdown-menu {
        position: static;
        max-width: 100%;
        max-height: 400px;
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

    .categories-scroll-container {
        max-height: 400px;
    }

    .category-item.has-subcategories:hover .category-submenu {
        max-height: 300px;
    }

    .nav-extras {
        display: none;
    }
}

/* Responsive - Compact Vendors */
@media (max-width: 1200px) {
    .vendors-grid-compact {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 18px;
    }

    .main-title-compact {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .vendors-section-compact {
        padding: 40px 0;
    }

    .vendors-grid-compact {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }

    .main-title-compact {
        font-size: 1.8rem;
    }

    .vendor-card-compact {
        padding: 16px;
    }

    .vendor-logo-compact {
        width: 70px;
        height: 70px;
    }

    .vendor-name-compact {
        font-size: 1rem;
    }

    .vendor-stats-compact {
        font-size: 0.85rem;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .vendors-grid-compact {
        grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
        gap: 12px;
    }

    .main-title-compact {
        font-size: 1.5rem;
    }

    .vendor-card-compact {
        padding: 14px;
    }

    .vendor-logo-compact {
        width: 60px;
        height: 60px;
    }

    .logo-placeholder-compact {
        font-size: 24px;
    }

    .vendor-name-compact {
        font-size: 0.95rem;
    }

    .rating-badge-compact {
        font-size: 0.75rem;
        padding: 4px 8px;
    }

    .btn-view-all-vendors {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
}

/* Tablet Styles */
@media (min-width: 769px) and (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 15px;
    }
}

@media (min-width: 769px) {
    .mobile-header {
        display: none !important;
    }

    .desktop-header {
        display: block !important;
    }
}

/* Utility Functions */
.format_price {
    color: var(--primary-pink);
    font-weight: 600;
}

/* Performance */
* {
    animation: none !important;
    transition-duration: 0.2s !important;
}

.product-image img,
.category-card img,
.hero-image img {
    will-change: transform;
}

/* Mobile Filter Toggle */
.mobile-filter-toggle {
    display: none;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    padding: 12px 20px;
    margin-bottom: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mobile-filter-toggle:hover {
    border-color: var(--primary-pink);
    box-shadow: 0 4px 12px rgba(133, 93, 245, 0.15);
}

.mobile-filter-toggle .filter-icon {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--gray-800);
}

.mobile-filter-toggle .filter-count {
    background: var(--primary-pink);
    color: white;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 20px;
    min-width: 20px;
    text-align: center;
}

/* Enhanced Filters Sidebar */
.filters-sidebar {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: sticky;
    top: 100px;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
    transition: all 0.3s ease;
}

.filters-sidebar::-webkit-scrollbar {
    width: 6px;
}

.filters-sidebar::-webkit-scrollbar-track {
    background: var(--gray-100);
    border-radius: 3px;
}

.filters-sidebar::-webkit-scrollbar-thumb {
    background: var(--primary-pink);
    border-radius: 3px;
}

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

.filter-overlay.show {
    opacity: 1;
    visibility: visible;
}

.filter-close {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--gray-800);
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.filter-close:hover {
    background: var(--gray-100);
}

/* Mobile Responsive Filters */
@media (max-width: 991px) {
    .mobile-filter-toggle {
        display: flex;
    }
    
    .filters-sidebar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        z-index: 1050;
        border-radius: 0;
        max-height: none;
        overflow-y: auto;
        transition: right 0.3s ease;
    }
    
    .filters-sidebar.show {
        right: 0;
    }
    
    .filter-header {
        position: sticky;
        top: 0;
        background: var(--white);
        z-index: 10;
        margin: -24px -24px 24px -24px;
        padding: 20px 24px 16px 24px;
        border-bottom: 2px solid var(--gray-100);
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .filter-close {
        display: flex;
    }
}

@media (max-width: 576px) {
    .filters-sidebar {
        width: 100%;
        right: -100%;
    }
    
    .color-filter {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .price-inputs {
        flex-direction: column;
        gap: 8px;
    }
    
    .price-inputs span {
        display: none;
    }
}

/* Filter Actions */
.filter-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* شارة التوثيق - مثل الفيسبوك */
.verified-badge {
    color: #f5bc00 !important;
    font-size: 14px !important;
    margin-left: 4px;
    animation: verified-pulse 2s infinite;
}

@keyframes verified-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Vendor Information in Product Cards */
.vendor-info {
    margin: 8px 0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--primary-pink);
}

.vendor-info i {
    color: var(--primary-pink);
    margin-left: 4px;
}

.vendor-name {
    font-weight: 500;
    color: var(--primary-pink);
}

.vendor-info:hover {
    background: rgba(56, 147, 77, 0.15);
    border-color: rgba(56, 147, 77, 0.3);
}

/* Featured Vendor (PortSaid Souq Mart) */
.vendor-info.vendor-featured {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border: 2px solid #ffc107;
    color: #8b6914;
    font-weight: 600;
    padding: 8px 12px;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    position: relative;
}

.vendor-info.vendor-featured i {
    color: #8b6914;
}

.vendor-info.vendor-featured .vendor-name {
    color: #8b6914;
    font-weight: 700;
}

.vendor-info.vendor-featured::before {
    content: '★';
    margin-left: 6px;
    color: #ff6b6b;
    font-size: 14px;
}

.vendor-info.vendor-featured:hover {
    background: linear-gradient(135deg, #ffed4e 0%, #ffd700 100%);
    box-shadow: 0 6px 16px rgba(255, 193, 7, 0.4);
    transform: translateY(-2px);
}

/* Modern Vendors Section */
.vendors-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.vendors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    pointer-events: none;
}

.vendor-card-modern {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.vendor-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.vendor-card-modern:hover::before {
    transform: scaleX(1);
}

.vendor-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.vendor-header-modern {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.vendor-logo-modern {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    flex-shrink: 0;
}

.vendor-logo-modern img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    color: white;
    font-size: 24px;
}

.vendor-info-modern {
    flex: 0;
}

.vendor-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.vendor-name a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vendor-name a:hover {
    color: #667eea;
}

.vendor-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vendor-rating .stars {
    color: #ffc107;
    font-size: 14px;
}

.vendor-rating .rating-text {
    color: #6c757d;
    font-size: 14px;
    font-weight: 500;
}

.vendor-stats-modern {
    display: flex;
    justify-content: space-around;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
}

.vendor-stats-modern .stat-item {
    text-align: center;
}

.vendor-stats-modern .number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    line-height: 1;
}

.vendor-stats-modern .label {
    font-size: 0.85rem;
    color: #6c757d;
    margin-top: 4px;
}

.vendor-description {
    margin-bottom: 20px;
}

.vendor-description p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.vendor-action {
    margin-top: auto;
}

.btn-visit-modern {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-visit-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s ease;
}

.btn-visit-modern:hover::before {
    left: 100%;
}

.btn-visit-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.vendors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.vendor-card {
    background: var(--white);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--gray-200);
    position: relative;
    overflow: hidden;
}

.vendor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-pink), var(--secondary-pink));
}

.vendor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.vendor-header {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 25px;
}

.vendor-logo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--gray-200);
}

.vendor-logo-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 30px;
}

.vendor-info h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 600;
}

.vendor-info h3 a {
    color: var(--gray-900);
    text-decoration: none;
    transition: color 0.3s ease;
}

.vendor-info h3 a:hover {
    color: var(--primary-pink);
}

.vendor-description {
    color: var(--gray-600);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.vendor-stats {
    display: flex;
    justify-content: space-around;
    padding: 20px 0;
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    margin-bottom: 25px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vendor-actions {
    text-align: center;
}

.btn-visit-store {
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: var(--white);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(56, 147, 77, 0.3);
}

.btn-visit-store:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(56, 147, 77, 0.4);
    text-decoration: none;
    color: var(--white);
}

/* Responsive Design for Modern Vendors */
@media (max-width: 768px) {
    .vendor-card-modern {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .vendor-header-modern {
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .vendor-logo-modern {
        width: 50px;
        height: 50px;
        border-radius: 12px;
    }
    
    .vendor-name {
        font-size: 1.1rem;
    }
    
    .vendor-stats-modern {
        padding: 12px;
    }
    
    .vendor-stats-modern .number {
        font-size: 1.3rem;
    }
    
    .btn-visit-modern {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .vendors-section {
        padding: 40px 0;
    }
    
    .vendor-card-modern {
        padding: 15px;
    }
    
    .vendor-stats-modern {
        flex-direction: row;
        gap: 10px;
    }
}

/* Mobile Responsive for Vendors */
@media (max-width: 768px) {
    .vendors-section {
        padding: 50px 0;
    }
    
    .vendors-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }
    
    .vendor-card {
        padding: 20px;
        border-radius: 15px;
    }
    
    .vendor-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .vendor-logo,
    .vendor-logo-placeholder {
        width: 60px;
        height: 60px;
        align-self: center;
    }
    
    .vendor-logo-placeholder {
        font-size: 24px;
    }
    
    .vendor-info h3 {
        font-size: 18px;
    }
    
    .vendor-stats {
        margin-bottom: 20px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .vendor-info {
        font-size: 11px;
        padding: 3px 6px;
    }
}

/* ===== Compact Modern Vendors Section ===== */
.vendors-section-compact {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.vendors-section-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23cbd5e1" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    pointer-events: none;
}

.section-header-compact {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.main-title-compact {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1a202c;
    margin-bottom: 15px;
    letter-spacing: -0.5px;
}

.title-underline-compact {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-pink), var(--secondary-pink));
    margin: 0 auto 20px;
    border-radius: 2px;
}

.subtitle-compact {
    font-size: 1.1rem;
    color: #718096;
    font-weight: 500;
}

/* Vendors Grid - Compact */
.vendors-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

/* Vendor Card - Compact */
.vendor-card-compact {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

.vendor-card-compact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-pink), var(--secondary-pink));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.vendor-card-compact:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-pink);
}

.vendor-card-compact:hover::before {
    transform: scaleX(1);
}

/* Logo Container */
.vendor-logo-container-compact {
    position: relative;
    margin-bottom: 15px;
    width: 100%;
}

.vendor-logo-compact {
    width: 80px;
    height: 80px;
    margin: 0 auto 10px;
    border-radius: 12px;
    overflow: hidden;
    background: #f7fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.vendor-card-compact:hover .vendor-logo-compact {
    border-color: var(--primary-pink);
    transform: scale(1.05);
}

.vendor-logo-compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder-compact {
    font-size: 32px;
    color: #cbd5e1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Rating Badge */
.rating-badge-compact {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
    padding: 6px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 4px 12px rgba(56, 147, 77, 0.3);
}

.rating-badge-compact i {
    font-size: 0.75rem;
}

/* Vendor Info */
.vendor-info-compact {
    flex: 1;
    width: 100%;
    margin-bottom: 15px;
}

.vendor-name-compact {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a202c;
    margin-bottom: 10px;
    line-height: 1.3;
}

.vendor-name-compact a {
    color: #1a202c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.vendor-name-compact a:hover {
    color: var(--primary-pink);
}

/* Stats */
.vendor-stats-compact {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 0.9rem;
}

.stat-compact {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #718096;
    font-weight: 500;
}

.stat-compact i {
    color: var(--primary-pink);
    font-size: 0.95rem;
}

/* Visit Button */
.btn-visit-compact {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(56, 147, 77, 0.2);
}

.btn-visit-compact:hover {
    transform: scale(1.1) rotate(-45deg);
    box-shadow: 0 8px 20px rgba(56, 147, 77, 0.4);
    color: white;
    text-decoration: none;
}

/* Section Footer */
.section-footer-compact {
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-view-all-vendors {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-pink), var(--secondary-pink));
    color: white;
    padding: 14px 35px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(56, 147, 77, 0.3);
}

.btn-view-all-vendors:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(56, 147, 77, 0.4);
    color: white;
    text-decoration: none;
}

.btn-view-all-vendors i {
    transition: transform 0.3s ease;
}

.btn-view-all-vendors:hover i {
    transform: translateX(-3px);
}

/* سوشيل بورسعيد - تنسيق الرابط */
.nav-item.social {
    color: #1877f2 !important;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-item.social:hover {
    color: #166fe5 !important;
    text-decoration: none;
}

.nav-item.social i {
    color: #42b883;
}

/* ===== OFFERS PAGE STYLES ===== */

/* Page Header */
.page-header {
    text-align: center;
    padding: 30px 0;
    border-bottom: 2px solid var(--gray-200);
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-pink);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.page-subtitle {
    font-size: 16px;
    color: var(--gray-600);
    margin: 0;
}

/* Filter Card */
.filter-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.filter-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-filter {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--gray-700);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.filter-link:hover {
    background: var(--gray-100);
    color: var(--primary-pink);
    border-left-color: var(--primary-pink);
}

.filter-link.active {
    background: rgba(10, 87, 17, 0.1);
    color: var(--primary-pink);
    font-weight: 600;
    border-left-color: var(--primary-pink);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* Discount Badge */
.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 13px;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(220, 53, 69, 0.3);
}

/* Price Section */
.price-section {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
}

.sale-price {
    font-size: 14px;
    font-weight: 700;
    color: #0a5745;
}

.original-price {
    font-size: 12px;
    color: var(--gray-500);
    text-decoration: line-through;
}

/* Vendor Info */
.vendor-info {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-200);
}

.vendor-info small {
    color: var(--gray-600);
    font-size: 12px;
}

/* No Products Message */
.no-products-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--gray-100);
    border-radius: 8px;
}

.no-products-message i {
    font-size: 48px;
    color: var(--gray-400);
    margin-bottom: 20px;
}

.no-products-message h3 {
    color: var(--gray-700);
    margin-bottom: 10px;
}

.no-products-message p {
    color: var(--gray-600);
    margin-bottom: 20px;
}

/* Pagination */
.pagination-nav {
    display: flex;
    justify-content: center;
}

.pagination {
    display: flex;
    list-style: none;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-item {
    margin: 0;
}

.page-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    color: var(--primary-pink);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
}

.page-link:hover {
    background: var(--primary-pink);
    color: white;
    border-color: var(--primary-pink);
}

.page-item.active .page-link {
    background: var(--primary-pink);
    color: white;
    border-color: var(--primary-pink);
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-title {
        font-size: 24px;
    }

    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }

    .filter-card {
        margin-bottom: 20px;
    }

    .page-link {
        min-width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* ===== Advertisement Styles ===== */
.advertisement-section {
    padding: 0.5rem 0;
    background: transparent;
    margin: 0.5rem 0;
}

.advertisement-banner {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.advertisement-banner:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.ad-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.advertisement-banner:hover .ad-image {
    transform: scale(1.05);
}

.ad-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advertisement-banner:hover .ad-overlay {
    opacity: 1;
}

.ad-title {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.ad-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.ad-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.advertisement-section .col-12 {
    margin-bottom: 0;
}

/* Responsive Advertisement */
@media (max-width: 768px) {
    .advertisement-banner {
        height: 180px;
    }

    .ad-title {
        font-size: 1.3rem;
    }

    .ad-description {
        font-size: 0.9rem;
    }

    .ad-overlay {
        padding: 1rem;
    }
}

@media (max-width: 576px) {
    .advertisement-section {
        padding: 1rem 0;
        margin: 1rem 0;
    }

    .advertisement-banner {
        height: 150px;
    }

    .ad-title {
        font-size: 1.1rem;
    }

    .ad-description {
        font-size: 0.8rem;
        display: none;
    }
}
