﻿/* Variables */
:root {
    --primary-red: #E53E3E;
    --red-dark: #C53030;
    --red-light: #FEE2E2;
    --red-soft: #FEF2F2;
    --red-gradient: linear-gradient(135deg, #E53E3E, #C53030);
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --shadow-red: 0 10px 15px -3px rgba(229, 62, 62, 0.2), 0 4px 6px -2px rgba(229, 62, 62, 0.1);
    --shadow-red-lg: 0 20px 25px -5px rgba(229, 62, 62, 0.2), 0 10px 10px -5px rgba(229, 62, 62, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Vazirmatn', sans-serif;
}

body {
    background-color: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Utility Classes */
.text-red {
    color: var(--primary-red) !important;
}

.bg-red {
    background: var(--red-gradient) !important;
}

.bg-red-light {
    background-color: var(--red-light) !important;
}

.btn-red {
    background: var(--red-gradient);
    color: var(--white);
    border: none;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-red);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-red::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
        transition: left 0.7s ease;
        z-index: -1;
    }

    .btn-red:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-red-lg);
        color: var(--white);
    }

        .btn-red:hover::before {
            left: 100%;
        }

.btn-outline-red {
    background-color: transparent;
    color: var(--primary-red);
    border: 2px solid var(--primary-red);
    padding: 10px 24px;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

    .btn-outline-red:hover {
        background: var(--red-gradient);
        color: var(--white);
        transform: translateY(-2px);
        border-color: transparent;
    }

.section-padding {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-subtitle {
    color: var(--primary-red);
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    display: block;
}

.section-title {
    font-size: 38px;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

    .section-title::after {
        content: '';
        position: absolute;
        bottom: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 100px;
        height: 4px;
        background: var(--red-gradient);
        border-radius: 10px;
    }

/* Preloader */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

    .preloader.hidden {
        opacity: 0;
        visibility: hidden;
    }

.loader {
    width: 50px;
    height: 50px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Top Bar */
.top-bar {
    background: linear-gradient(135deg, var(--gray-900), #1a1a1a);
    color: var(--gray-300);
    padding: 8px 0;
    font-size: 13px;
    border-bottom: 3px solid var(--primary-red);
    position: relative;
    z-index: 1001;
}

    .top-bar i {
        color: var(--primary-red);
        margin-left: 5px;
    }

    .top-bar .contact-info span {
        margin-left: 20px;
    }

    .top-bar .support-badge {
        background: var(--red-gradient);
        color: var(--white);
        padding: 4px 12px;
        border-radius: 50px;
        font-size: 11px;
        font-weight: 600;
        margin-right: 15px;
        box-shadow: var(--shadow-red);
    }

/* Header Main */
.header-main {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.4s ease;
}

    .header-main.scrolled {
        padding: 8px 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: var(--shadow-lg);
    }

.logo {
    position: relative;
    display: inline-block;
}

    .logo img {
        height: 65px;
        transition: all 0.4s ease;
        filter: drop-shadow(0 4px 6px rgba(0,0,0,0.1));
    }

.header-main.scrolled .logo img {
    height: 55px;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--red-gradient);
    transition: width 0.3s ease;
    border-radius: 10px;
}

.logo:hover::after {
    width: 100%;
}

.search-form {
    position: relative;
}

    .search-form input {
        height: 48px;
        border-radius: 50px;
        border: 2px solid var(--gray-200);
        padding-right: 20px;
        padding-left: 120px;
        font-size: 14px;
        transition: all 0.3s ease;
        background: var(--white);
    }

        .search-form input:focus {
            border-color: var(--primary-red);
            box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
            outline: none;
        }

    .search-form button {
        position: absolute;
        left: 5px;
        top: 5px;
        height: 38px;
        width: 110px;
        border-radius: 50px;
        background: var(--red-gradient);
        color: var(--white);
        border: none;
        font-weight: 600;
        font-size: 14px;
        transition: all 0.3s ease;
        cursor: pointer;
    }

        .search-form button:hover {
            transform: translateX(-3px);
            box-shadow: var(--shadow-red);
        }

.header-icons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

    .header-icons .btn {
        height: 48px;
        border-radius: 12px;
        font-size: 14px;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
    }

.cart-badge {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--red-gradient);
    color: var(--white);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    box-shadow: var(--shadow-red);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(229, 62, 62, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(229, 62, 62, 0);
    }
}

.lang-switch {
    height: 48px;
    width: 48px;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    background: transparent;
    color: var(--gray-700);
    font-weight: 600;
    transition: all 0.3s ease;
}

    .lang-switch:hover {
        border-color: var(--primary-red);
        color: var(--primary-red);
        transform: translateY(-2px);
        box-shadow: var(--shadow);
    }

/* Navigation */
.nav-container {
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-sm);
}

.navbar {
    padding: 0;
}

.navbar-nav {
    display: flex;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--gray-700) !important;
    font-weight: 600;
    padding: 16px 15px !important;
    font-size: 14px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

    .nav-link i {
        color: var(--primary-red);
        font-size: 16px;
        transition: all 0.3s ease;
    }

    .nav-link::before {
        content: '';
        position: absolute;
        bottom: 0;
        right: 50%;
        width: 0;
        height: 3px;
        background: var(--red-gradient);
        transition: all 0.3s ease;
        transform: translateX(50%);
        border-radius: 10px;
    }

    .nav-link:hover::before,
    .nav-link.active::before {
        width: 30px;
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--primary-red) !important;
        background: var(--red-soft);
    }

        .nav-link:hover i {
            transform: scale(1.1);
        }

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    padding: 12px;
    margin-top: 8px;
    min-width: 280px;
    border-top: 4px solid var(--primary-red);
    animation: fadeInDown 0.3s ease;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        right: 100%;
        margin-top: -12px;
        margin-right: 8px;
        display: none;
        animation: fadeInRight 0.3s ease;
    }

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.dropdown-submenu:hover > .dropdown-menu {
    display: block;
}

.dropdown-item {
    padding: 10px 15px;
    font-size: 13px;
    border-radius: 12px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
}

    .dropdown-item img {
        width: 28px;
        height: 28px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid transparent;
        transition: all 0.3s ease;
    }

    .dropdown-item:hover img {
        border-color: var(--primary-red);
        transform: scale(1.1);
    }

    .dropdown-item:hover {
        background: var(--red-soft);
        color: var(--primary-red);
        transform: translateX(-5px);
    }

    .dropdown-item i {
        color: var(--primary-red);
        font-size: 14px;
    }

/* Carousel */

/* استایل‌های اختصاصی اسلایدر فرااکسیژن - بدون تداخل با سایر کلاس‌ها */
.farao-hero-slider {
    width: 100%;
    height: 600px;
    position: relative;
    overflow: hidden;
    margin-top: 0;
    direction: rtl;
}

.farao-slider-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.farao-slider-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.farao-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    z-index: 1;
}

    .farao-slide.active {
        opacity: 1;
        visibility: visible;
        z-index: 10;
    }

.farao-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.farao-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1);
    transition: transform 8s ease;
}

.farao-slide.active .farao-slide-img {
    transform: scale(1.1);
}

.farao-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.farao-slide-content {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    color: white;
    max-width: 600px;
    z-index: 3;
    text-align: right;
    opacity: 0;
    transform: translateY(30px) translateX(0);
    transition: all 0.8s ease 0.3s;
}

.farao-slide.active .farao-slide-content {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.farao-slide-subtitle {
    font-size: 16px;
    font-weight: 600;
    color: #E53E3E;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    display: inline-block;
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.3);
}

.farao-slide-title {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

    .farao-slide-title span {
        color: #E53E3E;
        position: relative;
        display: inline-block;
    }

        .farao-slide-title span::after {
            content: '';
            position: absolute;
            bottom: 5px;
            left: 0;
            width: 100%;
            height: 8px;
            background: rgba(229, 62, 62, 0.3);
            z-index: -1;
        }

.farao-slide-desc {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0,0,0,0.2);
}

.farao-slide-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.farao-btn-primary {
    background: #E53E3E;
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(229, 62, 62, 0.3);
    border: 2px solid transparent;
}

    .farao-btn-primary:hover {
        background: #C53030;
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(229, 62, 62, 0.4);
        color: white;
    }

.farao-btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

    .farao-btn-secondary:hover {
        background: white;
        color: #E53E3E;
        transform: translateY(-3px);
        border-color: #E53E3E;
    }

/* فلش‌های کناری */
.farao-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
}

    .farao-slider-arrow:hover {
        background: #E53E3E;
        transform: translateY(-50%) scale(1.1);
    }

.farao-slider-prev {
    right: 30px;
}

.farao-slider-next {
    left: 30px;
}

/* دایره‌های راهنما */
.farao-slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
    direction: ltr;
}

.farao-dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

    .farao-dot.active {
        background: #E53E3E;
        transform: scale(1.3);
        box-shadow: 0 0 15px #E53E3E;
    }

    .farao-dot:hover {
        background: white;
        transform: scale(1.1);
    }

/* شمارنده اسلاید */
.farao-slide-counter {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    z-index: 20;
    border: 1px solid rgba(255,255,255,0.2);
}

.farao-counter-current {
    color: #E53E3E;
    font-size: 18px;
    font-weight: 700;
    margin-left: 5px;
}

.farao-counter-total {
    color: white;
    font-size: 14px;
    margin-right: 5px;
}

/* ریسپانسیو */
@media (max-width: 1200px) {
    .farao-slide-content {
        right: 5%;
        max-width: 500px;
    }

    .farao-slide-title {
        font-size: 42px;
    }
}

@media (max-width: 992px) {
    .farao-hero-slider {
        height: 500px;
    }

    .farao-slide-title {
        font-size: 36px;
    }

    .farao-slide-desc {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .farao-hero-slider {
        height: 450px;
    }

    .farao-slide-content {
        right: 5%;
        left: 5%;
        max-width: none;
        text-align: center;
    }

    .farao-slide-title {
        font-size: 28px;
    }

    .farao-slide-buttons {
        justify-content: center;
    }

    .farao-slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }

    .farao-slider-prev {
        right: 15px;
    }

    .farao-slider-next {
        left: 15px;
    }
}

@media (max-width: 576px) {
    .farao-hero-slider {
        height: 400px;
    }

    .farao-slide-title {
        font-size: 24px;
    }

    .farao-slide-desc {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .farao-btn-primary,
    .farao-btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }

    .farao-slide-subtitle {
        font-size: 12px;
        padding: 4px 12px;
    }
}
/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.category-item {
    text-align: center;
    transition: all 0.4s ease;
}

    .category-item:hover {
        transform: translateY(-10px);
    }

    .category-item a {
        text-decoration: none;
        color: inherit;
        display: block;
    }

.category-image {
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
    background: linear-gradient(135deg, var(--white), var(--gray-100));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 4px solid transparent;
    position: relative;
    overflow: hidden;
}

    .category-image::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--red-gradient);
        opacity: 0;
        transition: opacity 0.4s ease;
        z-index: 1;
    }

.category-item:hover .category-image {
    border-color: var(--primary-red);
    box-shadow: var(--shadow-red-lg);
    transform: rotate(5deg) scale(1.05);
}

    .category-item:hover .category-image::before {
        opacity: 0.1;
    }

.category-image img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.category-item:hover .category-image img {
    transform: scale(1.1);
}

.category-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
    line-height: 1.6;
    display: block;
    transition: color 0.3s ease;
}

.category-item:hover .category-title {
    color: var(--primary-red);
}

/* Product Card */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
    height: 100%;
    position: relative;
    backdrop-filter: blur(10px);
}

    .product-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: var(--shadow-xl), var(--shadow-red);
        border-color: transparent;
    }

.product-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--red-gradient);
    color: var(--white);
    padding: 6px 15px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 600;
    z-index: 10;
    box-shadow: var(--shadow-red);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.product-image {
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    position: relative;
    overflow: hidden;
}

    .product-image::after {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: radial-gradient(circle, rgba(229,62,62,0.1) 0%, transparent 70%);
        opacity: 0;
        transition: opacity 0.4s ease;
    }

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-image img {
    max-width: 100%;
    max-height: 180px;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 2;
}

.product-card:hover .product-image img {
    transform: scale(1.15) rotate(3deg);
}

.product-content {
    padding: 20px;
    background: var(--white);
    position: relative;
}

    .product-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--red-gradient);
        transform: scaleX(0);
        transition: transform 0.4s ease;
    }

.product-card:hover .product-content::before {
    transform: scaleX(1);
}

.product-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 12px;
    line-height: 1.6;
    height: 48px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.product-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .product-price small {
        font-size: 12px;
        color: var(--gray-600);
        font-weight: 400;
    }

.btn-product {
    width: 100%;
    background: var(--red-gradient);
    color: var(--white);
    border: none;
    padding: 12px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

    .btn-product::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.7s ease;
        z-index: -1;
    }

    .btn-product:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-red-lg);
    }

        .btn-product:hover::before {
            left: 100%;
        }

/* Video Card */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
}

    .video-card:hover {
        transform: translateY(-15px) scale(1.02);
        box-shadow: var(--shadow-xl), var(--shadow-red);
    }

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 180px;
}

    .video-thumbnail img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    }

.video-card:hover .video-thumbnail img {
    transform: scale(1.15);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 70px;
    height: 70px;
    background: var(--red-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 28px;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 4px solid rgba(255,255,255,0.5);
    z-index: 10;
}

.video-card:hover .play-button {
    transform: translate(-50%, -50%) scale(1);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1) !important;
    background: var(--red-dark);
}

.video-title {
    padding: 20px;
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-800);
    line-height: 1.7;
    min-height: 85px;
    background: var(--white);
}

/* Brands */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 25px;
    margin-top: 30px;
    align-items: center;
}

.brand-item {
    text-align: center;
    padding: 20px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    border: 1px solid var(--gray-200);
}

    .brand-item:hover {
        transform: translateY(-10px) scale(1.05);
        box-shadow: var(--shadow-xl), var(--shadow-red);
        border-color: transparent;
    }

    .brand-item img {
        max-width: 100%;
        max-height: 70px;
        filter: grayscale(100%) brightness(0.8);
        transition: all 0.4s ease;
    }

    .brand-item:hover img {
        filter: grayscale(0) brightness(1);
        transform: scale(1.1);
    }

/* Footer Features */
.footer-features {
    display: flex;
    justify-content: space-around;
    margin: 40px auto;
    padding: 30px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
    max-width: 1000px;
}

.footer-feature {
    text-align: center;
    flex: 1;
}

    .footer-feature img {
        height: 50px;
        margin-bottom: 15px;
        transition: all 0.4s ease;
    }

    .footer-feature:hover img {
        transform: translateY(-5px) scale(1.1);
    }

    .footer-feature span {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: var(--gray-700);
    }

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--gray-900), #1a1a1a);
    color: var(--white);
    padding: 70px 0 20px;
    margin-top: 60px;
    position: relative;
    overflow: hidden;
}

    .footer::before {
        content: '';
        position: absolute;
        top: -50%;
        right: -50%;
        width: 100%;
        height: 200%;
        background: radial-gradient(circle, rgba(229,62,62,0.1) 0%, transparent 70%);
        border-radius: 50%;
    }

.footer-logo {
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

    .footer-logo img {
        height: 70px;
        filter: brightness(0) invert(1);
        transition: all 0.4s ease;
    }

    .footer-logo:hover img {
        transform: scale(1.05);
        filter: brightness(0) invert(1) drop-shadow(0 4px 6px rgba(229,62,62,0.3));
    }

.footer-about {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 2;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.footer-social {
    display: flex;
    gap: 15px;
    position: relative;
    z-index: 2;
}

    .footer-social a {
        width: 45px;
        height: 45px;
        background: rgba(255,255,255,0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        transition: all 0.4s ease;
        border: 1px solid rgba(255,255,255,0.1);
    }

        .footer-social a:hover {
            background: var(--red-gradient);
            transform: translateY(-8px) scale(1.1);
            border-color: transparent;
            box-shadow: var(--shadow-red);
        }

.footer-widget {
    position: relative;
    z-index: 2;
}

    .footer-widget h4 {
        font-size: 18px;
        font-weight: 600;
        margin-bottom: 25px;
        position: relative;
        padding-bottom: 12px;
    }

        .footer-widget h4::after {
            content: '';
            position: absolute;
            bottom: 0;
            right: 0;
            width: 50px;
            height: 3px;
            background: var(--red-gradient);
            border-radius: 5px;
        }

.footer-links {
    list-style: none;
    padding: 0;
}

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        color: rgba(255,255,255,0.7);
        text-decoration: none;
        font-size: 14px;
        transition: all 0.3s ease;
        display: inline-block;
    }

        .footer-links a:hover {
            color: var(--primary-red);
            transform: translateX(-8px);
        }

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.footer-contact i {
    width: 35px;
    height: 35px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.footer-contact li:hover i {
    background: var(--red-gradient);
    color: var(--white);
    transform: rotate(360deg);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    position: relative;
    z-index: 2;
}

    .footer-bottom a {
        color: rgba(255,255,255,0.5);
        text-decoration: none;
        transition: all 0.3s ease;
    }

        .footer-bottom a:hover {
            color: var(--primary-red);
        }

.designer {
    color: var(--primary-red);
    font-weight: 600;
}

/* Floating Buttons */
.floating-cart {
    position: fixed;
    bottom: 30px;
    left: 30px;
    z-index: 999;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.floating-cart a {
    width: 70px;
    height: 70px;
    background: var(--red-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 26px;
    box-shadow: var(--shadow-red-lg);
    transition: all 0.4s ease;
    position: relative;
    border: 4px solid rgba(255,255,255,0.3);
}

    .floating-cart a:hover {
        transform: scale(1.15) rotate(10deg);
        border-color: var(--white);
    }

.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    animation: float 3s ease-in-out infinite 1s;
}

    .floating-whatsapp a {
        width: 70px;
        height: 70px;
        background: linear-gradient(135deg, #25D366, #128C7E);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--white);
        font-size: 32px;
        box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
        transition: all 0.4s ease;
        border: 4px solid rgba(255,255,255,0.3);
    }

        .floating-whatsapp a:hover {
            transform: scale(1.15) rotate(360deg);
            border-color: var(--white);
        }

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 55px;
    height: 55px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.4s ease;
    opacity: 0;
    visibility: hidden;
    z-index: 998;
    border: 3px solid rgba(255,255,255,0.2);
}

    .back-to-top.show {
        opacity: 1;
        visibility: visible;
        bottom: 120px;
    }

    .back-to-top:hover {
        background: var(--red-gradient);
        transform: translateX(-50%) translateY(-8px) scale(1.1);
        border-color: var(--white);
        box-shadow: var(--shadow-red-lg);
    }

/* Responsive */
@media (max-width: 991px) {
    .header-icons {
        justify-content: center;
        margin-top: 15px;
    }

    .search-form {
        margin: 15px 0;
    }

    .navbar-nav {
        flex-direction: column;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        float: none;
        width: auto;
        margin-top: 0;
        box-shadow: none;
        animation: none;
    }

    .carousel-item {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 28px;
    }

    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
        gap: 15px;
    }

    .category-image {
        width: 90px;
        height: 90px;
    }

        .category-image img {
            width: 60px;
            height: 60px;
        }

    .footer-features {
        flex-direction: column;
        gap: 25px;
        margin: 30px 15px;
    }

    .product-grid,
    .video-grid,
    .brands-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 15px;
    }

    .floating-cart,
    .floating-whatsapp {
        bottom: 20px;
    }

        .floating-cart a,
        .floating-whatsapp a {
            width: 55px;
            height: 55px;
            font-size: 22px;
        }
}
