/* ========================================
   MODERN HEADER
   ======================================== */

/* Top Bar */
.top-bar {
    background: linear-gradient(90deg, var(--bg-dark) 0%, var(--bg-elevated) 100%);
    border-bottom: 1px solid var(--glass-border);
    padding: 12px 0;
}

.top-bar .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 30px;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.top-bar-item i {
    color: var(--accent);
}

.top-bar a:hover {
    color: var(--text-primary);
}

/* Header */
.site-header {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background-color 0.3s ease;
}

[data-theme="dark"] .site-header {
    background: rgba(10, 10, 10, 0.8);
}

[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.85);
}

.header-main {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

/* Logo */
.site-logo-text {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.site-logo-text span {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Search */
.header-search {
    flex: 1;
    max-width: 500px;
}

.search-form {
    display: flex;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    overflow: hidden;
    transition: var(--transition);
}

.search-form:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.2);
}

.search-input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    outline: none;
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-category {
    padding: 14px 16px;
    border: none;
    border-left: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
}

.search-category option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.search-btn {
    padding: 14px 24px;
    background: var(--accent-gradient);
    color: white;
    transition: var(--transition);
}

.search-btn:hover {
    opacity: 0.9;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 50px;
    transition: var(--transition);
}

/* Navigation */
.main-navigation {
    background: transparent;
    border-top: 1px solid var(--glass-border);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-menu>li>a {
    display: block;
    padding: 16px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
    text-decoration: none;
}

.nav-menu>li>a:hover,
.nav-menu>li.current-menu-item>a {
    color: var(--text-primary);
    background: var(--glass-bg);
}

/* Main Navigation positioning fix */
.nav-menu>li {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 8px;
    margin-top: 0;
    /* Align perfectly */
}

/* Header Action Fix for Cart Badge */
.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 10px 16px;
    border-radius: 50px;
    transition: var(--transition);
    text-decoration: none;
}

.action-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--accent-gradient);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 2px 5px;
    border-radius: 10px;
    min-width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.nav-menu>li:hover>.sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu li a {
    display: block;
    padding: 12px 16px;
    font-size: 0.875rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: var(--transition);
}

.sub-menu li a:hover {
    background: var(--glass-bg);
    color: var(--accent);
}

.mobile-menu-toggle {
    display: none;
    padding: 10px;
    font-size: 1.5rem;
    color: var(--text-primary);
}

/* ========================================
   BENTO GRID BANNERS
   ======================================== */
.banner-grid-section {
    padding: 0 0 60px;
    /* Reduced top padding as it follows hero */
}

.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    gap: 20px;
    height: 500px;
}

.bento-item {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    display: block;
    height: 100%;
    transition: var(--transition);
}

.bento-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.bento-item:hover {
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.bento-item:hover img {
    transform: scale(1.05);
}

.bento-column-mid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 100%;
}

.bento-wide {
    flex: 1;
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
}

/* Placeholders (if no image) */
.placeholder-banner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: white;
    background-size: cover;
    background-position: center;
}

.placeholder-banner h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
    /* Ensure text is white */
}

.placeholder-banner p {
    font-size: 1rem;
    opacity: 0.9;
}

.placeholder-banner .overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 30px;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: 1fr 1fr;
        height: auto;
        grid-template-rows: 300px 300px;
    }

    .bento-tall {
        grid-row: span 1;
    }

    .bento-column-mid {
        grid-column: span 2;
        flex-direction: row;
        height: 250px;
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        display: flex;
        flex-direction: column;
        height: auto;
        gap: 15px;
    }

    .bento-item,
    .bento-column-mid,
    .bento-wide {
        height: 250px;
        width: 100%;
    }

    .bento-column-mid {
        flex-direction: column;
        height: auto;
    }
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero-section {
    padding: 40px 0 80px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
}

.hero-banner {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    cursor: pointer;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.8) 100%);
    z-index: 1;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.hero-banner:hover img {
    transform: scale(1.05);
}

.hero-banner-main {
    grid-row: span 2;
}

.hero-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.hero-banner-title {
    font-size: 1.4rem;
    color: white !important;
    background: none !important;
    -webkit-text-fill-color: white !important;
    margin-bottom: 8px;
}

.banner-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-gradient);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

/* ========================================
   SECTION STYLES
   ======================================== */
.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--accent-gradient);
    border-radius: 2px;
}

/* ========================================
   CATEGORIES
   ======================================== */
.categories-section {
    padding: 100px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.category-card {
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-10px);
}

.category-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    border: 2px solid transparent;
    transition: var(--transition);
}

.category-card:hover .category-image {
    border-color: var(--accent);
    box-shadow: var(--glow);
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.category-card:hover .category-image img {
    transform: scale(1.1);
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: inherit;
}

.category-count {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ========================================
   PRODUCTS
   ======================================== */
.bestsellers-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

.product-card {
    background: var(--bg-elevated);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
    position: relative;
}

.product-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.product-card:hover {
    transform: translateY(-10px);
    border-color: transparent;
    box-shadow: var(--shadow-lg);
}

.product-card:hover::before {
    opacity: 0.1;
}

.product-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    z-index: 1;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.08);
}

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 2;
}

.product-badge {
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-sale {
    background: var(--accent-gradient);
    color: white;
}

.badge-new {
    background: var(--accent-secondary);
    color: white;
}

.product-info {
    padding: 24px;
    position: relative;
    z-index: 1;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    background: none;
    -webkit-text-fill-color: inherit;
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.price-current {
    font-size: 1.25rem;
    font-weight: 700;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-original {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.product-rating .stars {
    color: var(--gold);
    font-size: 0.9rem;
}

.view-all-btn {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

/* ========================================
   VIDEO SECTION
   ======================================== */
.video-section {
    padding: 100px 0;
}

.video-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    border: 1px solid var(--glass-border);
    padding: 50px;
}

.video-container {
    position: relative;
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    aspect-ratio: 16/9;
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    box-shadow: 0 20px 50px rgba(255, 107, 107, 0.4);
    transition: var(--transition);
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-play-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.video-content h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.video-content p {
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.8;
    font-size: 1.05rem;
}

.video-features {
    display: flex;
    gap: 40px;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent);
}

.feature-text {
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   POPULAR CATEGORIES & SECTION HEADERS
   ======================================== */
.section-headers {
    text-align: center;
    margin-bottom: 40px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #c4766f;
    /* Color from user image */
    margin: 0;
}

.popular-categories-section {
    padding: 20px 0 60px;
}

.categories-grid-visual {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.visual-category-card {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.visual-category-card:hover {
    transform: translateY(-5px);
}

.visual-category-image {
    width: 100%;
    aspect-ratio: 1;
    /* Square */
    border-radius: 20px;
    /* Rounded corners visual */
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.visual-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.visual-category-card:hover .visual-category-image img {
    transform: scale(1.1);
}

.visual-category-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #333;
    text-align: center;
    margin: 0;
}

.visual-category-title .count {
    color: #888;
    font-weight: 400;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1200px) {
    .categories-grid-visual {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .categories-grid-visual {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 576px) {
    .categories-grid-visual {
        grid-template-columns: repeat(2, 1fr);
    }

    .section-title {
        font-size: 1.6rem;
    }
}

/* ========================================
   PAYMENT SECTION
   ======================================== */
.payment-section {
    padding: 40px 0;
    background: var(--bg-card);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.payment-title {
    font-family: var(--font-main);
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 24px;
    font-weight: 600;
    opacity: 0.8;
}

.payment-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.payment-logos img {
    height: 32px;
    transition: var(--transition);
}

.payment-logos img:hover {
    transform: scale(1.1);
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--bg-dark);
    padding-top: 80px;
    border-top: 1px solid var(--glass-border);
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr repeat(4, 1fr);
    gap: 50px;
    padding-bottom: 60px;
}

.footer-brand .site-logo-text {
    margin-bottom: 20px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-column h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 24px;
    font-weight: 600;
    background: none;
    -webkit-text-fill-color: inherit;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 8px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.footer-contact-item i {
    color: var(--accent);
    margin-top: 4px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    border-radius: 50px;
    font-weight: 600;
    margin-top: 16px;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    color: white;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.social-link {
    width: 44px;
    height: 44px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-link:hover {
    background: var(--accent-gradient);
    border-color: transparent;
    color: white;
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright,
.footer-credits {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-credits a {
    color: var(--accent);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1200px) {
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-main {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
    }

    .hero-banner-main {
        grid-column: span 2;
        grid-row: span 1;
    }

    .video-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .header-search {
        display: none;
    }

    .footer-main {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .top-bar {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .main-navigation .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--glass-border);
    }

    .main-navigation.active .nav-menu {
        display: flex;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner-main {
        grid-column: auto;
        height: 300px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-features {
        flex-direction: column;
        gap: 20px;
    }

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-brand {
        grid-column: auto;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .header-action span {
        display: none;
    }

    .video-wrapper {
        padding: 30px;
    }
}

/* ========================================
   CATEGORY PRODUCTS GRID (2x2 layout)
   ======================================== */
.category-list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-decoration: none;
    margin-bottom: 15px;
}

.category-list-item:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.category-list-image {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.category-list-image>img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    width: 100%;
    height: 100%;
}

.category-products-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.category-list-info h3 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.category-list-info span {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.categories-list {
    display: flex;
    flex-direction: column;
}

/* ========================================
   BESTSELLERS / PRODUCTS LIST
   ======================================== */
/* ========================================
   HOME SPLIT SECTION (Clean Rewrite)
   ======================================== */
.home-split-section {
    padding: 60px 0;
}

.home-split-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    align-items: start;
}

/* Categories Grid */
.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Bestsellers Grid Wrapper */
.home-bestsellers-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-bottom: 0 !important;
}

/* Fix for Grid: Hide pseudo-elements */
.home-bestsellers-grid ul.products::before,
.home-bestsellers-grid ul.products::after {
    display: none !important;
    content: none !important;
}

.home-bestsellers-grid ul.products li.product {
    width: auto !important;
    margin-bottom: 0 !important;
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .home-split-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .home-categories-grid,
    .home-bestsellers-grid ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {

    .home-categories-grid,
    .home-bestsellers-grid ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* REMOVED OLD PATCHES */


.products-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.product-list-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--border-color);
    text-decoration: none;
    transition: var(--transition);
}

.product-list-card:hover {
    border-color: var(--accent);
    transform: translateX(5px);
}

.product-list-image {
    width: 100px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    flex-shrink: 0;
}

.product-list-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-list-info {
    flex: 1;
}

.product-list-info h3 {
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    font-weight: 600;
}

.product-list-info .product-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.1rem;
}

.product-list-info .product-price del {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 8px;
}

.product-list-info .product-price ins {
    text-decoration: none;
}

/* Grid 2 Column Layout Fix */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

/* ========================================
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ======================================== */

/* Tablet (max 1024px) */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto !important;
    }

    .hero-banner-main {
        grid-column: span 2 !important;
        grid-row: auto !important;
        height: 280px !important;
    }

    .hero-banner-small {
        height: 180px !important;
    }

    .grid-2-col {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .bento-grid {
        flex-direction: column !important;
        height: auto !important;
    }

    .bento-tall,
    .bento-wide {
        height: 220px !important;
        min-width: 100% !important;
    }

    .bento-column-mid {
        flex-direction: column !important;
    }
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 16px !important;
    }

    /* Header Mobile */
    .header-main {
        height: auto !important;
        padding: 15px 0 !important;
        flex-wrap: wrap !important;
        gap: 15px !important;
    }

    .header-search {
        order: 3 !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }

    .header-actions {
        gap: 15px !important;
    }

    .header-action span {
        display: none !important;
    }

    /* Hero Mobile */
    .hero-section {
        padding: 20px 0 40px !important;
    }

    .hero-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    .hero-banner-main {
        grid-column: auto !important;
        height: 200px !important;
    }

    .hero-banner-small {
        height: 150px !important;
    }

    .hero-banner-title {
        font-size: 1rem !important;
    }

    .banner-badge {
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
    }

    /* Bento Grid Mobile */
    .banner-grid-section {
        padding: 20px 0 !important;
    }

    .bento-tall,
    .bento-wide {
        height: 180px !important;
    }

    .placeholder-banner h3 {
        font-size: 1.3rem !important;
    }

    .placeholder-banner p {
        font-size: 0.9rem !important;
    }

    /* Categories Mobile */
    .categories-bestsellers-section {
        padding: 40px 0 !important;
    }

    .section-title {
        font-size: 1.5rem !important;
        margin-bottom: 20px !important;
    }

    .section-headers {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
    }

    .category-list-item {
        padding: 12px !important;
        gap: 15px !important;
    }

    .category-list-image {
        width: 80px !important;
        height: 80px !important;
    }

    .category-list-info h3 {
        font-size: 1rem !important;
    }

    /* Products Grid Mobile */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }

    .product-card .product-info {
        padding: 12px !important;
    }

    .product-title {
        font-size: 0.9rem !important;
    }

    /* Footer Mobile */
    .site-footer {
        padding: 40px 0 20px !important;
    }

    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }

    .footer-column {
        text-align: center !important;
    }
}

/* Small Mobile (max 480px) */
@media (max-width: 480px) {
    .hero-banner-main {
        height: 180px !important;
    }

    .hero-banner-small {
        height: 120px !important;
    }

    .hero-banner-content {
        padding: 15px !important;
    }

    .hero-banner-title {
        font-size: 0.9rem !important;
    }

    .products-grid {
        grid-template-columns: 1fr !important;
    }

    .category-list-image {
        width: 70px !important;
        height: 70px !important;
    }

    .category-products-grid {
        gap: 2px !important;
    }

    .site-logo-text {
        font-size: 1.5rem !important;
    }
}

/* ========================================
   HOME STACKED SECTION (Vertical Layout OVERRIDE)
   ======================================== */
.home-stacked-section {
    padding: 60px 0;
}

.home-stacked-row {
    margin-bottom: 60px;
}

.home-stacked-row:last-child {
    margin-bottom: 0;
}

/* Full Width Grids (4 Columns) */
.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px;
}

.home-bestsellers-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 30px !important;
    margin-bottom: 0 !important;
}

/* Hide pseudo-elements for Bestsellers */
.home-bestsellers-grid ul.products::before,
.home-bestsellers-grid ul.products::after {
    display: none !important;
    content: none !important;
}

.home-bestsellers-grid ul.products li.product {
    width: auto !important;
    margin-bottom: 0 !important;
}

/* Responsive */
@media (max-width: 1024px) {

    .home-categories-grid,
    .home-bestsellers-grid ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {

    .home-categories-grid,
    .home-bestsellers-grid ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* =========================================
   COMPREHENSIVE DARK MODE FIXES (V3 - Force)
   ========================================= */

/* --- 1. Header Search Area --- */
[data-theme="dark"] .header-search .search-form {
    border-color: rgba(255, 255, 255, 0.15) !important;
    background: #1a1a1a !important;
}

[data-theme="dark"] .header-search .search-input,
[data-theme="dark"] .header-search .search-category {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .header-search .search-btn {
    background: var(--accent) !important;
    color: #fff !important;
}

/* --- 2. Theme Toggle Button Icon --- */
[data-theme="dark"] .theme-toggle-btn,
[data-theme="dark"] .theme-toggle-btn i {
    color: #fff !important;
}

[data-theme="light"] .theme-toggle-btn,
[data-theme="light"] .theme-toggle-btn i {
    color: #1a1a1a !important;
}

/* --- 3. Video Section --- */

[data-theme="dark"] .video-wrapper {
    background: #141414 !important;
}

[data-theme="dark"] .video-promo-section .video-content h2,
[data-theme="dark"] .video-promo-section .video-content p,
[data-theme="dark"] .video-promo-section .feature-text {
    color: #fff !important;
}

[data-theme="dark"] .video-promo-section .feature-icon {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--accent) !important;
}

/* --- 4. Payment Section --- */
[data-theme="dark"] .payment-section {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .payment-section .payment-title {
    color: #d3d3d3 !important;
}

/* --- 5. Add to Cart Button Border --- */
[data-theme="dark"] .woocommerce ul.products li.product .button,
[data-theme="dark"] .woocommerce ul.products li.product .add_to_cart_button,
[data-theme="dark"] ul.products li.product .add_to_cart_button {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: #1a1a1a !important;
    color: #d3d3d3 !important;
}

/* --- 6. Navigation Hover States (FORCE) --- */
[data-theme="dark"] .main-nav>ul>li>a:hover,
[data-theme="dark"] .main-nav .menu-item>a:hover,
[data-theme="dark"] nav.main-nav a:hover {
    color: #ffffff !important;
}

[data-theme="light"] .main-nav>ul>li>a:hover,
[data-theme="light"] .main-nav .menu-item>a:hover,
[data-theme="light"] nav.main-nav a:hover {
    color: #000000 !important;
}

/* --- 7. Sub-menu Dropdown --- */
[data-theme="dark"] .main-nav .sub-menu,
[data-theme="dark"] .main-nav ul ul {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .main-nav .sub-menu a,
[data-theme="dark"] .main-nav .sub-menu li a {
    color: #d3d3d3 !important;
    background: transparent !important;
}

[data-theme="dark"] .main-nav .sub-menu a:hover,
[data-theme="dark"] .main-nav .sub-menu li a:hover {
    color: #fff !important;
    background: #1a1a1a !important;
}

/* --- 8. My Account Navigation (FORCE) --- */
[data-theme="dark"] .woocommerce-MyAccount-navigation,
[data-theme="dark"] nav.woocommerce-MyAccount-navigation {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

[data-theme="dark"] .woocommerce-MyAccount-navigation ul li a {
    color: #d3d3d3 !important;
}

[data-theme="dark"] .woocommerce-MyAccount-navigation ul li a:hover {
    color: #fff !important;
    background: #1a1a1a !important;
}

[data-theme="dark"] .woocommerce-MyAccount-navigation ul li.is-active a {
    background: var(--accent) !important;
    color: #fff !important;
}

/* --- 9. My Account Content (FORCE) --- */
[data-theme="dark"] .woocommerce-MyAccount-content {
    background: #141414 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

[data-theme="dark"] .woocommerce-MyAccount-content p,
[data-theme="dark"] .woocommerce-MyAccount-content a {
    color: #d3d3d3 !important;
}

[data-theme="dark"] .woocommerce-MyAccount-content a:hover {
    color: var(--accent) !important;
}

[data-theme="dark"] .woocommerce-MyAccount-content strong {
    color: #fff !important;
}

/* --- 10. WPForms Input Styling --- */
.wpforms-field input[type="text"],
.wpforms-field input[type="email"],
.wpforms-field input[type="tel"],
.wpforms-field textarea {
    padding: 14px 18px !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    background-color: var(--bg-body) !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
    transition: all 0.3s ease !important;
}

.wpforms-field input:focus,
.wpforms-field textarea:focus {
    border-color: var(--accent) !important;
    outline: none !important;
}

.wpforms-field label,
.wpforms-field-sublabel {
    color: var(--text-primary) !important;
}

[data-theme="dark"] .wpforms-field input[type="text"],
[data-theme="dark"] .wpforms-field input[type="email"],
[data-theme="dark"] .wpforms-field input[type="tel"],
[data-theme="dark"] .wpforms-field textarea {
    background-color: #1f1f1f !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

/* --- 11. Cart & Checkout Buttons --- */
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button,
.checkout-button {
    background: var(--accent) !important;
    color: #fff !important;
    border: none !important;
    padding: 16px 32px !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.wc-block-cart__submit-button:hover,
.wc-block-components-checkout-place-order-button:hover,
.checkout-button:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
}

/* --- 12. Checkout Page Inputs --- */
.wc-block-components-text-input input,
.wc-block-components-textarea textarea,
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    padding: 14px 18px !important;
    border-radius: 12px !important;
    border: 1px solid var(--border-color) !important;
    background-color: var(--bg-body) !important;
    color: var(--text-primary) !important;
    font-size: 1rem !important;
}

[data-theme="dark"] .wc-block-components-text-input input,
[data-theme="dark"] .wc-block-components-textarea textarea,
[data-theme="dark"] .woocommerce-checkout input[type="text"],
[data-theme="dark"] .woocommerce-checkout input[type="email"],
[data-theme="dark"] .woocommerce-checkout input[type="tel"],
[data-theme="dark"] .woocommerce-checkout select,
[data-theme="dark"] .woocommerce-checkout textarea {
    background-color: #1f1f1f !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.wc-block-components-text-input input:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout textarea:focus {
    border-color: var(--accent) !important;
    outline: none !important;
}

[data-theme="dark"] .wc-block-components-text-input label,
[data-theme="dark"] .woocommerce-checkout label {
    color: #fff !important;
}

/* --- 13. General Text in Dark Mode --- */
[data-theme="dark"] {
    --text-secondary: #d3d3d3;
}

/* --- 14. WPForms Legend/Labels Dark Mode --- */
[data-theme="dark"] .wpforms-field legend,
[data-theme="dark"] .wpforms-field-label,
[data-theme="dark"] legend.wpforms-field-label {
    color: #fff !important;
}

/* --- 15. Page Content Top Spacing --- */
/* Add spacing between navbar and page content on regular pages */
.page .entry-content,
.page-template-default .entry-content,
.woocommerce-page .woocommerce,
body.page main,
body.page article {
    padding-top: 60px;
}

/* Specific page types that need more spacing */
.page-id-445 .entry-content,
/* Contact page (adjust ID if needed) */
.page .wp-block-group,
.page .wp-block-columns {
    margin-top: 40px;
}

/* ========================================
   FULL WIDTH SLIDER
   ======================================== */
.home-slider-section {
    position: relative;
    width: 100%;
    margin-bottom: 30px;
}

.main-slider {
    position: relative;
    width: 100%;
    height: 600px;
    /* Default height */
    overflow: hidden;
}

.slider-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.slider-item {
    min-width: 100%;
    height: 100%;
    position: relative;
}

.slider-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.slider-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    /* Left aligned content */
    pointer-events: none;
    /* Let clicks pass through to image/link if needed except buttons */
}

.slider-text {
    max-width: 600px;
    padding: 20px;
    color: white;
    pointer-events: auto;
}

.slider-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    color: white;
    /* Force white */
}

.slider-subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
}

.slider-btn {
    margin-top: 20px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: white;
    color: black;
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: white;
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .main-slider {
        height: 400px;
    }

    .slider-title {
        font-size: 2rem;
    }
}

/* ========================================
   CATEGORY BUTTONS
   ======================================== */
.category-buttons-section {
    margin-bottom: 50px;
    text-align: center;
}

.cat-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.cat-button {
    padding: 12px 25px;
    border: 1px solid var(--text-primary);
    border-radius: 50px;
    color: var(--text-primary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
}

.cat-button:hover {
    background: var(--text-primary);
    color: var(--bg-main);
}

/* ========================================
   HORIZONTAL SCROLL PRODUCTS
   ======================================== */
.horizontal-products-section {
    padding: 60px 0;
}

.horizontal-products-section.alt-bg {
    background-color: var(--bg-elevated);
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.scroll-nav {
    display: flex;
    gap: 10px;
}

.scroll-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.scroll-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.horizontal-scroll-wrapper {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    /* Space for scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE */
}

.horizontal-scroll-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.horizontal-scroll-wrapper .product {
    min-width: 280px;
    width: 280px;
    flex-shrink: 0;
}

/* View All Card */
.view-all-card {
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-xl);
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 600;
    gap: 15px;
}

.view-all-card:hover {
    background: var(--accent);
    color: white;
}

/* ========================================
   SERGILER GRID
   ======================================== */
.sergiler-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.sergi-card {
    background: var(--bg-card);
    border-radius: var(--border-radius-xl);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid var(--glass-border);
}

.sergi-card:hover {
    transform: translateY(-5px);
}

.sergi-image {
    aspect-ratio: 16/9;
    overflow: hidden;
}

.sergi-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sergi-card:hover .sergi-image img {
    transform: scale(1.05);
}

.sergi-content {
    padding: 25px;
}

.sergi-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.read-more {
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 15px;
}

/* Favorites Button on Product Card */
.product-favorite-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
}

.product-favorite-btn:hover {
    transform: scale(1.1);
}

.product-favorite-btn.active {
    color: var(--accent);
}

[data-theme="dark"] .product-favorite-btn {
    background: #333;
    color: #666;
}

[data-theme="dark"] .product-favorite-btn.active {
    color: var(--accent);
}

/* Slider Boxed */
.slider-container-boxed {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Category Cards */
.category-cards-section {
    padding: 40px 0;
}

.cat-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.cat-card {
    position: relative;
    height: 350px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.cat-card:hover {
    transform: translateY(-5px);
}

.cat-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.5s ease;
}

.cat-card:hover .cat-card-bg {
    transform: scale(1.1);
}

.cat-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.cat-card:hover .cat-card-overlay {
    background: rgba(0, 0, 0, 0.5);
}

.cat-card-title {
    position: relative;
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    text-align: center;
    margin: 0;
    padding: 0 20px;
}

/* Scroll Arrows Absolute */
.relative-container {
    position: relative;
}

.scroll-nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #eee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    color: #333;
}

.scroll-nav-arrow:hover {
    background: var(--accent);
    color: white;
}

.scroll-nav-arrow.prev {
    left: -20px;
}

.scroll-nav-arrow.next {
    right: -20px;
}

@media(max-width: 1450px) {
    .scroll-nav-arrow.prev {
        left: 10px;
    }

    .scroll-nav-arrow.next {
        right: 10px;
    }
}

/* Modal */
.custom-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--bg-card);
    margin: 10% auto;
    padding: 30px;
    border-radius: 15px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close-modal:hover {
    color: var(--accent);
}

/* Favorites List items within modal */
.fav-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-bottom: 1px solid var(--glass-border);
    align-items: center;
}

.fav-item:last-child {
    border-bottom: none;
}

.fav-item img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 8px;
}

.fav-info {
    flex: 1;
}

.fav-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.fav-price {
    color: var(--accent);
    font-weight: 700;
    display: block;
}

.fav-empty {
    text-align: center;
    padding: 40px;
    color: var(--text-secondary);
}

/* --- Design Refinements (Step 195) --- */

/* 1. Slider Margin & Radius */
.slider-container-boxed {
    margin-top: 30px;
}

.slider-image,
.slider-item {
    border-radius: 30px;
}

/* 2. Category Card Sizing & Color */
.cat-card {
    height: 180px;
    /* Reduced height */
}

.cat-card-title {
    color: var(--cat-card-text, #fff);
}

/* 3. Favorite Button on Top Right */
.product-card {
    position: relative !important;
}

.product-favorite-btn {
    position: absolute !important;
    top: 15px !important;
    /* Increased slightly */
    right: 15px !important;
    z-index: 20;
    margin: 0 !important;
    /* Reset any auto margin */
}

/* Ensure card style from Customizer applies correctly in slider */
.horizontal-scroll-wrapper .product-card {
    /* Reset any scroll-specific overrides if any exist */
    min-width: 250px;
    /* Keep width logic */
}

/* Empty Category Card Logic */
.cat-card {
    background-color: #fff;
    /* White bg wrapper */
    border: 1px solid #eee;
    /* Slight border for visibility */
}

[data-theme="dark"] .cat-card {
    background-color: #2a2a2a;
    border: 1px solid #444;
}

.cat-card.empty-card {
    pointer-events: none;
    /* Non-clickable */
    box-shadow: none;
}

.cat-card.empty-card:hover {
    transform: none;
}

/* --- Fix: Allow Customizer Card Styles to Apply in Slider (Updated for WooCommerce Structure) --- */
.horizontal-scroll-wrapper.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 20px;
    padding-bottom: 20px;
    /* Space for scrollbar/shadows */
    margin: 0;
    list-style: none !important;
    float: none !important;
    width: 100%;
}

.horizontal-scroll-wrapper .product {
    /* Reset overly specific styles that might block the theme's card style */
    background-color: transparent;
    border: none;
    box-shadow: none;

    /* Layout */
    min-width: 250px;
    flex: 0 0 auto !important;
    margin: 0 !important;
    /* Gap handles spacing */
    float: none !important;
    /* Override WooCommerce floats */
    width: auto !important;
}

/* --- Unknown Video Section Styles (New Implementation) --- */
.video-promo-section {
    padding: 60px 0;
}

.video-wrapper {
    display: flex;
    align-items: stretch;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.video-container {
    flex: 1;
    position: relative;
    min-height: 400px;
}

.video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 24px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    z-index: 2;
}

.video-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-content {
    flex: 1;
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    font-weight: 700;
}

.video-content p {
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.7;
}

.video-features {
    display: flex;
    gap: 30px;
}

.video-feature {
    display: flex;
    align-items: center;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.feature-text {
    font-weight: 600;
    color: var(--text-primary);
}

/* Responsive Video */
@media (max-width: 991px) {
    .video-wrapper {
        flex-direction: column;
    }

    .video-container {
        min-height: 300px;
    }

    .video-content {
        padding: 30px;
    }
}

/* --- Dark Mode (User's Code) --- */
[data-theme="dark"] .video-wrapper {
    background: #141414 !important;
}

[data-theme="dark"] .video-promo-section .video-content h2,
[data-theme="dark"] .video-promo-section .video-content p,
[data-theme="dark"] .video-promo-section .feature-text {
    color: #fff !important;
}

[data-theme="dark"] .video-promo-section .feature-icon {
    background: rgba(255, 255, 255, 0.1) !important;
    color: var(--accent) !important;
}

/* View All Card Fix */
.horizontal-scroll-wrapper .view-all-card-wrapper {
    display: flex !important;
    /* Make the li a flex container so the anchor can stretch */
    flex-direction: column;
    justify-content: stretch;
    width: 250px;
    /* Consistent width */
    min-width: 250px;
    float: none;
    margin: 0 !important;
}

.horizontal-scroll-wrapper .view-all-card {
    flex: 1;
    /* Grow to fill height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 480px;
    /* Fallback min-height similar to product cards */
    background: #f9f9f9;
    border-radius: 20px;
    color: var(--text-primary);
    transition: all 0.3s;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .horizontal-scroll-wrapper .view-all-card {
    background: #1f1f1f;
    color: #fff;
    border-color: #333;
}

.horizontal-scroll-wrapper .view-all-card:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.view-all-card span {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.view-all-card i {
    font-size: 1.5rem;
}

/* Top Bar Styles (Updated for Light/Dark Mode) */
.top-bar {
    background: #fff;
    /* Light mode default: White */
    color: #333;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    /* Light border */
    position: relative;
    z-index: 100;
}

[data-theme="dark"] .top-bar {
    background: #111;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left,
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Items */
.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    transition: color 0.3s;
}

[data-theme="dark"] .top-bar-item {
    color: rgba(255, 255, 255, 0.8);
}

.top-bar-item i {
    color: var(--accent);
}

/* Notification */
.top-notification {
    background: var(--accent);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-secondary) 100%);
    color: #fff;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    box-shadow: 0 4px 10px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.top-notification:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 107, 107, 0.4);
    color: #fff;
}

/* Social Icons */
.top-social {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 10px;
}

.top-social a {
    color: #555;
    /* Light mode color */
    font-size: 0.95rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    /* Light bg */
}

[data-theme="dark"] .top-social a {
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.top-social a:hover {
    color: #fff !important;
    background: var(--accent) !important;
}

/* Top Theme Button */
.top-theme-btn {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 15px;
}

[data-theme="dark"] .top-theme-btn {
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.top-theme-btn:hover {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    transform: rotate(15deg);
}

/* Responsive */
@media (max-width: 768px) {
    .top-bar-inner {
        flex-direction: column;
        gap: 10px;
        padding: 5px 0;
    }

    .top-bar-left,
    .top-bar-right {
        justify-content: center;
        width: 100%;
        gap: 15px;
    }

    .top-bar-item span {
        display: none;
        /* Hide text on mobile */
    }
}

/* Mail Item Specific */
.mail-item {
    font-weight: 500;
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(128, 128, 128, 0.2);
}

/* Social Brand Colors on Hover */
.top-social a.social-facebook:hover {
    background: #1877F2 !important;
    color: #fff !important;
}

.top-social a.social-twitter:hover {
    background: #000000 !important;
    color: #fff !important;
}

.top-social a.social-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    color: #fff !important;
}

.top-social a.social-youtube:hover {
    background: #FF0000 !important;
    color: #fff !important;
}

.top-social a.social-linkedin:hover {
    background: #0A66C2 !important;
    color: #fff !important;
}

.top-social a.social-tiktok:hover {
    background: #000000 !important;
    color: #fff !important;
}

.top-social a.social-pinterest:hover {
    background: #E60023 !important;
    color: #fff !important;
}

.top-social a.social-whatsapp:hover {
    background: #25D366 !important;
    color: #fff !important;
}

.top-social a.social-twitch:hover {
    background: #9146ff !important;
    color: #fff !important;
}

.top-social a.social-kick:hover {
    background: #53fc18 !important;
    color: #000 !important;
}

/* Header Actions Hover Fix */
.header-action:hover span {
    color: var(--accent);
}

.header-action:hover .action-icon {
    /* If there's an icon container */
    color: var(--accent);
    border-color: var(--accent);
}

.header-action:hover .action-icon i {
    color: var(--accent);
}

/* Bigger Logo */
.site-logo-text {
    font-size: 2.4rem !important;
    /* Increase visibility */
    letter-spacing: -1px;
}

.site-logo-text span {
    font-weight: 700;
}

/* Kick Icon Mask (Inherit Color) */
.kick-icon-mask {
    width: 14px;
    height: 14px;
    background-color: currentColor;
    /* Takes color from parent 'a' */
    -webkit-mask: url('../assets/images/kick.svg') no-repeat center / contain;
    /* Adjust path if needed, usually ../images/ relative to css/components.css is assets/images/ */
    /* Wait, components.css is in assets/css/. images is assets/images/. So ../images/kick.svg is correct. */
    mask: url('../images/kick.svg') no-repeat center / contain;
    display: block;
}

/* Ensure Links have Pointer Cursor */
.top-social a {
    cursor: pointer !important;
}

a {
    cursor: pointer;
}

/* Hover State: Kick Brand - No extra CSS needed as currentColor handles it based on previous hover block */
/* .top-social a.social-kick:hover .kick-icon-mask {} Removed empty rule */

/* FORCE CENTERING FOR ICONS */
.top-social a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

.top-social a i,
.kick-icon-mask {
    margin: 0 !important;
    line-height: normal !important;
    display: inline-block !important;
}