/* ===== VARIABLES ===== */
:root {
    --primary-color: #1A1A1A;
    --primary-dark: #0D0D0D;
    --secondary-color: #6B7280;
    --secondary-dark: #4B5563;
    --accent-color: #16A34A;
    --accent-red: #C8102E;
    --accent-red-dark: #A50D24;
    --accent-gold: #D4AF37;
    --accent-gold-dark: #B8860B;
    --danger-color: #C8102E;
    --dark-color: #1A1A1A;
    --text-color: #1A1A1A;
    --text-light: #9CA3AF;
    --bg-light: #F8F7F5;
    --bg-white: #FFFFFF;
    --border-color: #E5E7EB;
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.btn-success {
    background: var(--accent-color);
    color: white;
}

.btn-success:hover {
    background: #15803D;
}

/* ===== HEADER ===== */
.header {
    background: var(--dark-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

.header-top {
    padding: 15px 0;
}

.header-top-content {
    display: flex;
    align-items: center;
    gap: 30px;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    color: white;
}

.logo img {
    height: 44px;
    width: auto;
}

.logo i {
    font-size: 32px;
}

.logo span {
    font-weight: 400;
}

.logo strong {
    font-weight: 700;
}

.search-bar {
    flex: 1;
    display: flex;
    max-width: 700px;
    background: white;
    border-radius: var(--radius);
    overflow: visible;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    position: relative;
}

.search-bar input {
    flex: 1;
    padding: 14px 20px;
    border: none;
    font-size: 15px;
    font-family: inherit;
    outline: none;
    border-radius: var(--radius) 0 0 var(--radius);
}

.search-bar button {
    padding: 14px 20px;
    background: var(--bg-light);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 0 var(--radius) var(--radius) 0;
}

.search-bar button:hover {
    background: var(--border-color);
}

/* Search Dropdown / Autocomplete */
.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    z-index: 1000;
    display: none;
    max-height: 420px;
    overflow-y: auto;
}

.search-dropdown.active {
    display: block;
}

.search-suggestion {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s;
}

.search-suggestion:hover {
    background: var(--bg-light);
}

.search-suggestion-img {
    width: 44px;
    height: 44px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--bg-light);
}

.search-suggestion-info {
    flex: 1;
    min-width: 0;
}

.search-suggestion-name {
    font-size: 0.9rem;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-suggestion-name strong {
    color: var(--secondary-color);
}

.search-suggestion-price {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--secondary-color);
    margin-top: 2px;
}

.search-discount {
    color: var(--accent-color);
    font-size: 0.8rem;
    font-weight: 500;
}

.search-suggestion-cat {
    font-size: 0.75rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 3px 8px;
    border-radius: 10px;
    flex-shrink: 0;
}

.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-see-all {
    padding: 12px 16px;
    text-align: center;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    border-top: 1px solid var(--border-color);
    transition: background 0.15s;
}

.search-see-all:hover {
    background: var(--bg-light);
}

.search-see-all i {
    margin-right: 5px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 30px;
    padding: 20px 0;
    flex-wrap: wrap;
}
.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: white;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
}
.page-btn:hover:not(.disabled):not(.active) {
    border-color: var(--primary-color);
    color: var(--secondary-color);
}
.page-btn.active {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
    color: white;
}
.page-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}
.page-dots {
    padding: 0 4px;
    color: #999;
    font-weight: 500;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 25px;
}

.action-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: white;
    transition: var(--transition);
}

.action-link i {
    font-size: 20px;
}

.action-link:hover {
    opacity: 0.7;
}

.favorites-link i {
    color: #ff4757;
}

.btn-login {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 10px 22px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-login i {
    font-size: 16px;
}

.btn-login:hover {
    background: #0D0D0D;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
    color: white;
}

.btn-user-logged {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-color);
    color: white;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-user-logged:hover {
    opacity: 0.9;
    color: white;
}

.cart-link {
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--danger-color);
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-link {
    position: relative;
}

.fav-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== NOTIFICATION BELL ===== */
.notif-bell {
    position: relative;
}

.notif-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
    padding: 0;
}

.notif-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-red);
    color: white;
    font-size: 10px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 4px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notif-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 340px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    z-index: 2000;
    overflow: hidden;
    animation: notifFadeIn 0.18s ease;
}

@keyframes notifFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}

.notif-dropdown.open {
    display: block;
}

.notif-dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #f0f0f0;
    font-weight: 600;
    color: var(--text-color);
    font-size: 14px;
}

.notif-mark-all {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 12px;
    color: #6B7280;
    font-family: inherit;
    padding: 4px 8px;
    border-radius: 6px;
    transition: background 0.2s;
}

.notif-mark-all:hover {
    background: #f3f4f6;
    color: var(--primary-color);
}

.notif-list {
    max-height: 340px;
    overflow-y: auto;
    overscroll-behavior: contain;
}

.notif-item {
    display: flex;
    gap: 12px;
    padding: 13px 16px;
    border-bottom: 1px solid #f9f9f9;
    cursor: pointer;
    transition: background 0.15s;
    text-decoration: none;
    color: inherit;
}

.notif-item:hover {
    background: #fafafa;
}

.notif-item.unread {
    background: #fffbf0;
}

.notif-item.unread:hover {
    background: #fff3d0;
}

.notif-icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: white;
}

.notif-item-body {
    flex: 1;
    min-width: 0;
}

.notif-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notif-item.unread .notif-item-title::before {
    content: '';
    display: inline-block;
    width: 7px;
    height: 7px;
    background: var(--accent-red);
    border-radius: 50%;
    margin-right: 6px;
    vertical-align: middle;
}

.notif-item-msg {
    font-size: 12px;
    color: #6B7280;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.notif-item-time {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 4px;
}

.notif-empty {
    padding: 24px;
    text-align: center;
    color: #9CA3AF;
    font-size: 13px;
}

.notif-dropdown-footer {
    padding: 10px 16px;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.notif-dropdown-footer a {
    font-size: 13px;
    color: #6B7280;
    font-weight: 500;
    transition: color 0.2s;
}

.notif-dropdown-footer a:hover {
    color: var(--primary-color);
}

/* mi-cuenta notif section */
.notif-page-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notif-page-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border: 1px solid #f0f0f0;
    border-radius: 10px;
    cursor: pointer;
    transition: box-shadow 0.2s, background 0.2s;
    text-decoration: none;
    color: inherit;
    align-items: flex-start;
}

.notif-page-item.unread {
    border-left: 4px solid var(--accent-red);
    background: #fffdf5;
}

.notif-page-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.07);
}

.notif-page-item .notif-icon-wrap {
    width: 42px;
    height: 42px;
    font-size: 16px;
}

.notif-page-body {
    flex: 1;
}

.notif-page-title {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 3px;
}

.notif-page-msg {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
}

.notif-page-time {
    font-size: 12px;
    color: #9CA3AF;
    margin-top: 5px;
}

.notif-page-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

/* ===== NAVIGATION ===== */
.nav-categories {
    background: #2A2A2A;
    padding: 10px 0;
}

.categories-list {
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    scrollbar-width: none;
}

.categories-list::-webkit-scrollbar {
    display: none;
}

.categories-list li a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    color: white;
    font-size: 13px;
    white-space: nowrap;
    border-radius: 20px;
    transition: var(--transition);
}

.categories-list li a:hover {
    background: rgba(255, 255, 255, 0.1);
}

.categories-list li a.highlight {
    background: rgba(255,255,255,0.15);
    color: white;
    font-weight: 600;
    border: 1px solid rgba(255,255,255,0.3);
}

.categories-list li a.highlight:hover {
    background: rgba(255,255,255,0.25);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 35px 0 50px;
    overflow: hidden;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 50%, #0d0d0d 100%);
}

.hero-slider {
    max-width: 1200px;
    margin: 0 auto 0;
    padding: 0 20px;
    position: relative;
}

.slides-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.slide {
    display: none;
    align-items: center;
    justify-content: space-between;
    background: white;
    min-height: 350px;
    animation: fadeSlide 0.6s ease-in-out;
}

.slide.active {
    display: flex;
}

@keyframes fadeSlide {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.slide-badge {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.slide-content {
    padding: 60px;
    flex: 1;
}

.slide-content h1 {
    font-size: 48px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.slide-content p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 30px;
}

.slide-image {
    flex: 1;
    height: 350px;
    overflow: hidden;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Slide con fondo degradado (sin imagen externa) */
.slide-image-banner {
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-cat-icon {
    font-size: 130px;
    color: rgba(255, 255, 255, 0.2);
    pointer-events: none;
    user-select: none;
}

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    color: var(--dark-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s;
    z-index: 2;
}

.slider-arrow:hover {
    background: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 35px; }
.slider-next { right: 35px; }

/* Slider Dots */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    padding: 0;
    transition: all 0.3s;
}

.slider-dots .dot.active {
    background: white;
    transform: scale(1.25);
}

.slider-dots .dot:hover {
    background: rgba(255,255,255,0.7);
}

.hero-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: white;
    padding: 22px 26px;
    border-radius: 10px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.hero-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.hero-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #e8f5e9;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-card-icon i {
    font-size: 21px;
    color: #00a650;
}

.hero-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 3px;
    color: var(--dark-color);
}

.hero-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* ===== SECTIONS ===== */
.section-title {
    font-size: 26px;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--danger-color);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.section-header .section-title {
    margin-bottom: 0;
}

/* ===== CATEGORIES SECTION ===== */
.categories-section {
    padding: 50px 0 40px;
    background: #f8f9fa;
}

/* Carousel wrapper con flechas */
.carousel-wrapper {
    position: relative;
    overflow: hidden;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: rgba(255,255,255,0.95);
    color: var(--text-color);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.carousel-arrow:hover {
    background: var(--dark-color);
    color: #fff;
    border-color: var(--dark-color);
}

.carousel-arrow-left {
    left: 8px;
}

.carousel-arrow-right {
    right: 8px;
}

.carousel-arrow.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Carousel horizontal de categorías — infinite marquee */
.categories-carousel {
    overflow: hidden;
    padding-bottom: 10px;
}

.categories-track {
    display: flex;
    gap: 16px;
    width: max-content;
    animation: marquee-scroll var(--marquee-duration, 30s) linear infinite;
}

.categories-track:hover,
.categories-carousel.paused .categories-track {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .carousel-arrow {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
    .carousel-arrow-left { left: 4px; }
    .carousel-arrow-right { right: 4px; }

    .carousel-wrapper {
        margin: 0 -15px;
        padding: 0 15px;
        overflow: hidden;
    }

    .categories-track {
        gap: 12px;
    }

    .cat-card {
        min-width: 170px;
    }

    .cat-card-img {
        height: 100px;
    }

    .cat-card-body {
        padding: 12px 14px;
        gap: 10px;
    }

    .cat-card-icon {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .cat-card-icon i {
        font-size: 15px;
    }

    .cat-card-info h3 {
        font-size: 12.5px;
    }

    .cat-card-info span {
        font-size: 10.5px;
    }
}

@media (max-width: 480px) {
    .carousel-arrow {
        width: 28px;
        height: 28px;
        font-size: 10px;
    }
    .carousel-arrow-left { left: 2px; }
    .carousel-arrow-right { right: 2px; }

    .cat-card {
        min-width: 150px;
        border-radius: 12px;
    }

    .cat-card-img {
        height: 85px;
    }

    .cat-card-body {
        padding: 10px 12px;
        gap: 8px;
    }

    .cat-card-icon {
        width: 32px;
        height: 32px;
        border-radius: 7px;
    }

    .cat-card-icon i {
        font-size: 13px;
    }

    .cat-card-info h3 {
        font-size: 11.5px;
    }

    .cat-card-info span {
        font-size: 10px;
    }

    .categories-section .section-title {
        font-size: 1.1rem;
    }
}
/* Category cards — photo design */
.cat-card {
    display: flex;
    flex-direction: column;
    min-width: 200px;
    border-radius: 14px;
    background: #fff;
    color: #1a1a1a;
    text-decoration: none;
    scroll-snap-align: start;
    flex-shrink: 0;
    overflow: hidden;
    border: 1px solid #f0f0f0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
    transition: transform 0.3s, box-shadow 0.3s;
}

.cat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.cat-card-img {
    width: 100%;
    height: 120px;
    overflow: hidden;
    position: relative;
}

.cat-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.cat-card:hover .cat-card-img img {
    transform: scale(1.08);
}

.cat-card-body {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
}

.cat-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent, #6b7280) 12%, transparent);
    border-radius: 10px;
    flex-shrink: 0;
}

.cat-card-icon i {
    font-size: 18px;
    color: var(--accent, #6b7280);
}

.cat-card-info {
    flex: 1;
    min-width: 0;
}

.cat-card-info h3 {
    font-size: 13.5px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cat-card-info span {
    font-size: 11.5px;
    color: #9ca3af;
    white-space: nowrap;
}

.cat-card-arrow {
    display: none;
}

/* ===== DEALS SECTION ===== */
.deals-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D2D2D 100%);
}

.deals-section .section-title {
    color: white;
}

.countdown {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    font-weight: 500;
}

.countdown-timer {
    display: flex;
    gap: 10px;
}

.time-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.2);
    padding: 10px 15px;
    border-radius: var(--radius);
    min-width: 60px;
}

.time-box span {
    font-size: 24px;
    font-weight: 700;
}

.time-box small {
    font-size: 11px;
    opacity: 0.8;
}

/* ===== PRODUCTS GRID ===== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    background: var(--danger-color);
    color: white;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
    z-index: 1;
}

.product-badge.new {
    background: var(--accent-color);
}

.product-badge.hot {
    background: var(--dark-color);
}

.product-wishlist {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: var(--transition);
    z-index: 1;
}

.product-wishlist:hover {
    background: var(--danger-color);
    color: white;
}

.product-wishlist.active {
    background: var(--danger-color);
    color: white;
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--bg-light);
    cursor: pointer;
}

.product-image img {
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-info {
    padding: 20px;
}

.product-category {
    font-size: 12px;
    color: var(--secondary-color);
    text-transform: uppercase;
    margin-bottom: 8px;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    height: 40px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.product-rating i {
    color: var(--accent-gold);
    font-size: 12px;
}

.product-rating span {
    font-size: 12px;
    color: var(--text-light);
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 15px;
}

.price-original {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-current {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-color);
}

.price-discount {
    font-size: 13px;
    color: var(--accent-color);
    font-weight: 600;
}

.product-shipping {
    font-size: 12px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.product-shipping i {
    margin-right: 5px;
}

/* Price change badges */
.price-change { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 4px; font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.price-dropped { background: #e8f5e9; color: #2e7d32; }
.price-dropped i { color: #2e7d32; }
.price-increased { background: #fce4ec; color: #c62828; }
.price-increased i { color: #c62828; }

.product-actions {
    display: flex;
    gap: 10px;
}

.product-actions .btn {
    flex: 1;
    padding: 10px;
    font-size: 13px;
}

/* ===== FEATURED SECTION ===== */
.featured-section {
    padding: 60px 0;
    background: white;
}

/* ===== RECOMENDACIONES HOME ===== */
.reco-home-header { text-align: center; margin-bottom: 10px; }
.reco-home-sub { color: #8B6914; font-size: 14px; margin-bottom: 15px; font-weight: 500; }

/* ===== PROMO BANNER ===== */
.promo-banner {
    padding: 60px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
}

.promo-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    flex-wrap: wrap;
}

.promo-text {
    color: white;
}

.promo-text h2 {
    font-size: 28px;
    margin-bottom: 10px;
}

.promo-text p {
    opacity: 0.9;
}

.promo-form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.promo-form input {
    padding: 15px 25px;
    border: none;
    border-radius: var(--radius);
    font-size: 15px;
    font-family: inherit;
    min-width: 300px;
    outline: none;
}

.promo-form .btn {
    background: white;
    color: var(--dark-color);
    font-weight: 600;
}

.promo-form .btn:hover {
    background: var(--bg-light);
}

/* ===== BRANDS SECTION ===== */
.brands-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.brands-marquee {
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: brands-scroll 25s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes brands-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.brand-item {
    padding: 20px 40px;
    background: white;
    border-radius: var(--radius);
    font-size: 20px;
    font-weight: 600;
    color: var(--text-light);
    box-shadow: var(--shadow);
    white-space: nowrap;
    flex-shrink: 0;
    transition: transform 0.3s, box-shadow 0.3s;
}

.brand-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    color: var(--primary-color);
}

/* ===== FOOTER ===== */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 22px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
}

.footer-logo i {
    font-size: 28px;
    color: var(--primary-color);
}

.footer-col p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 15px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -8px;
    width: 30px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    opacity: 1;
    color: var(--border-color);
}

.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.payment-methods i {
    font-size: 32px;
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    font-size: 13px;
    opacity: 0.7;
}

/* ===== MODAL ===== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    z-index: 1;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--danger-color);
    color: white;
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}

.modal-image {
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

/* Modal Gallery / Carrusel de imágenes */
.modal-gallery {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.gallery-main {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-height: 350px;
}

.gallery-main img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 15px;
    color: var(--dark-color);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    transition: all 0.3s;
    z-index: 2;
}

.gallery-arrow:hover {
    background: white;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    transform: translateY(-50%) scale(1.1);
}

.gallery-prev { left: 10px; }
.gallery-next { right: 10px; }

.gallery-counter {
    position: absolute;
    bottom: 10px;
    right: 15px;
    background: rgba(0,0,0,0.6);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.gallery-thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
}

.gallery-thumb {
    width: 65px;
    height: 65px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid transparent;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s;
    flex-shrink: 0;
}

.gallery-thumb:hover {
    opacity: 0.9;
}

.gallery-thumb.active {
    border-color: var(--secondary-color);
    opacity: 1;
}

.modal-details h2 {
    font-size: 22px;
    margin-bottom: 10px;
}

.modal-details .product-category {
    font-size: 14px;
    margin-bottom: 15px;
}

.modal-details .product-rating {
    margin-bottom: 20px;
}

.modal-details .product-price {
    margin-bottom: 20px;
}

.modal-details .price-current {
    font-size: 36px;
}

.modal-description {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 25px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.quantity-selector label {
    font-weight: 500;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    overflow: hidden;
}

.quantity-controls button {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-light);
    cursor: pointer;
    font-size: 18px;
    transition: var(--transition);
}

.quantity-controls button:hover {
    background: var(--border-color);
}

.quantity-controls input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-family: inherit;
}

.modal-actions {
    display: flex;
    gap: 15px;
    align-items: stretch;
}

.modal-actions .btn {
    flex: 1;
}

.btn-fav-modal {
    flex: 0 0 48px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    cursor: pointer;
    font-size: 20px;
    color: #ccc;
    transition: all 0.3s;
}

.btn-fav-modal:hover {
    border-color: #ff4757;
    color: #ff4757;
}

.btn-fav-modal.active {
    background: #fff0f0;
    border-color: #ff4757;
    color: #ff4757;
}

.btn-fav-modal.active i {
    animation: heartPulse 0.4s ease;
}

@keyframes heartPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

/* ===== RATING SECTION ===== */
.rating-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.rating-section h4 {
    font-size: 15px;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.rating-section h4 i {
    color: var(--accent-gold);
}

.rating-stars-input {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
}

.rating-stars-input i {
    font-size: 28px;
    color: var(--accent-gold);
    cursor: pointer;
    transition: transform 0.15s;
}

.rating-stars-input i:hover {
    transform: scale(1.2);
}

.rating-hint {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 10px;
}

#ratingComment {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 10px;
}

#ratingComment textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    resize: vertical;
    box-sizing: border-box;
}

#ratingComment .btn-sm {
    align-self: flex-start;
    padding: 8px 20px;
    font-size: 13px;
}

.review-item {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
    border-bottom: none;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 4px;
}

.review-stars {
    color: var(--accent-gold);
    font-size: 14px;
    letter-spacing: 1px;
}

.review-author {
    font-size: 13px;
    font-weight: 600;
    color: var(--dark-color);
}

.review-text {
    font-size: 13px;
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
}

/* ===== TOAST ===== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--dark-color);
    color: white;
    padding: 15px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-hover);
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    z-index: 3000;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast i {
    color: var(--accent-color);
    font-size: 20px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1200px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .header-top-content {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
        width: 100%;
        margin-top: 15px;
    }
    
    .slide {
        flex-direction: column-reverse;
    }
    
    .slide-content {
        padding: 40px;
        text-align: center;
    }
    
    .slide-content h1 {
        font-size: 32px;
    }
    
    .slide-image {
        width: 100%;
        height: 250px;
    }
    
    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .modal-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .slide {
        flex-direction: column;
        min-height: auto;
    }

    .slide-content {
        padding: 30px;
        text-align: center;
    }

    .slide-content h1 {
        font-size: 28px;
    }

    .slide-content p {
        font-size: 16px;
    }

    .slide-image {
        height: 200px;
        width: 100%;
    }

    .slider-arrow {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .slider-prev { left: 10px; }
    .slider-next { right: 10px; }

    .hero-cards {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .promo-content {
        flex-direction: column;
        text-align: center;
    }
    
    .promo-form {
        width: 100%;
        justify-content: center;
    }
    
    .promo-form input {
        min-width: auto;
        flex: 1;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .payment-methods {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .logo span {
        display: none;
    }
    
    .action-link span {
        display: none;
    }

    .btn-login span,
    .btn-user-logged span {
        display: none;
    }

    .btn-login,
    .btn-user-logged {
        padding: 8px 12px;
        border-radius: 50%;
    }
    
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-image {
        height: 140px;
        padding: 12px;
    }

    .product-info {
        padding: 12px;
    }

    .product-title {
        font-size: 12px;
        height: 34px;
        margin-bottom: 6px;
    }

    .product-category {
        font-size: 10px;
        margin-bottom: 4px;
    }

    .price-current {
        font-size: 17px;
    }

    .price-original {
        font-size: 11px;
    }

    .price-discount {
        font-size: 11px;
    }

    .product-price {
        margin-bottom: 8px;
    }

    .product-shipping {
        font-size: 11px;
        margin-bottom: 8px;
    }

    .product-actions .btn {
        padding: 8px 6px;
        font-size: 11px;
        gap: 4px;
    }

    .product-badge {
        top: 8px;
        left: 8px;
        padding: 3px 8px;
        font-size: 10px;
    }

    .product-wishlist {
        top: 8px;
        right: 8px;
        width: 30px;
        height: 30px;
    }

    .product-rating i {
        font-size: 10px;
    }

    .product-rating span {
        font-size: 10px;
    }
    
    .countdown {
        flex-direction: column;
    }
}

/* ===== HAMBURGER MENU (Mobile/Tablet) ===== */
.hamburger-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    transition: var(--transition);
    position: relative;
    z-index: 1002;
}
.hamburger-btn:hover { opacity: 0.7; }

.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s;
}
.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #1a1a2e;
    z-index: 1001;
    transition: right 0.3s cubic-bezier(.4,0,.2,1);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -4px 0 20px rgba(0,0,0,0.3);
}
.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-header span {
    font-size: 16px;
    font-weight: 600;
    color: white;
}
.mobile-menu-close {
    background: none;
    border: none;
    color: white;
    font-size: 22px;
    cursor: pointer;
    padding: 4px;
    opacity: 0.7;
    transition: opacity 0.2s;
}
.mobile-menu-close:hover { opacity: 1; }

.mobile-menu-user {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}
.mobile-menu-user .mobile-user-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-size: 22px;
    color: white;
}
.mobile-menu-user .mobile-user-name {
    color: white;
    font-weight: 600;
    font-size: 15px;
}
.mobile-menu-user .mobile-user-email {
    color: rgba(255,255,255,0.6);
    font-size: 12px;
    margin-top: 2px;
}

.mobile-menu-nav {
    list-style: none;
    padding: 12px 0;
    flex: 1;
}
.mobile-menu-nav li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 24px;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    transition: background 0.2s;
    position: relative;
}
.mobile-menu-nav li a:hover {
    background: rgba(255,255,255,0.08);
    color: white;
}
.mobile-menu-nav li a i {
    width: 20px;
    text-align: center;
    font-size: 16px;
}
.mobile-menu-nav li a .mobile-badge {
    margin-left: auto;
    background: #D4AF37;
    color: white;
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
}
.mobile-menu-nav li.divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 8px 20px;
}

.mobile-menu-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.mobile-menu-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255,255,255,0.1);
    color: white;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
}
.mobile-menu-footer a:hover { background: rgba(255,255,255,0.18); }

@media (max-width: 768px) {
    .hamburger-btn { display: block; margin-left: auto; }
    .header-actions { display: none; }
    .nav-categories { display: none; }
}

/* ===== CART PAGE ===== */
.page-header {
    background: white;
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
}

.page-header h1 {
    font-size: 28px;
}

.cart-page {
    padding: 40px 0;
}

.cart-container {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 30px;
    align-items: start;
}

.cart-items {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    align-items: center;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.cart-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.cart-item-details h3 {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 8px;
}

.cart-item-details .price {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.remove-btn {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.remove-btn:hover {
    opacity: 0.7;
}

.cart-summary {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    position: sticky;
    top: 150px;
}

.cart-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-size: 14px;
}

.summary-row.total {
    font-size: 20px;
    font-weight: 700;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.cart-summary .btn {
    width: 100%;
    margin-top: 20px;
}

.empty-cart {
    text-align: center;
    padding: 60px 20px;
}

.empty-cart i {
    font-size: 80px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.empty-cart h2 {
    margin-bottom: 10px;
}

.empty-cart p {
    color: var(--text-light);
    margin-bottom: 25px;
}

/* ===== CATEGORY PAGE ===== */
.category-page {
    padding: 40px 0;
}

.category-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

.filters-sidebar {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 150px;
    overflow: hidden;
    box-sizing: border-box;
}

/* Hidden by default on desktop — shown only on mobile via media query */
.filters-sidebar-close,
.filters-overlay,
.mobile-filter-btn {
    display: none;
}

.filter-section {
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid var(--border-color);
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section h4 {
    font-size: 15px;
    margin-bottom: 15px;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 14px;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--secondary-color);
}

.price-range {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-range input {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    padding: 10px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    box-sizing: border-box;
}

.price-range span {
    flex-shrink: 0;
}

.category-content h1 {
    font-size: 26px;
    margin-bottom: 10px;
}

.results-info {
    color: var(--text-light);
    margin-bottom: 25px;
}

.sort-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    padding: 15px 20px;
    border-radius: var(--radius);
    margin-bottom: 25px;
    box-shadow: var(--shadow);
}

.sort-bar select {
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 14px;
    cursor: pointer;
}

/* ===== CHECKOUT PAGE ===== */
.checkout-page {
    padding: 40px 0;
}

.checkout-container {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
}

.checkout-form {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow);
}

.checkout-form h2 {
    font-size: 20px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--dark-color);
    box-shadow: 0 0 0 3px rgba(17, 24, 39, 0.06);
}

.payment-methods-checkout {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.payment-option {
    position: relative;
}

.payment-option input {
    position: absolute;
    opacity: 0;
}

.payment-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
}

.payment-option i {
    font-size: 28px;
    color: var(--text-light);
}

.payment-option span {
    font-size: 13px;
}

.payment-option input:checked + label {
    border-color: var(--dark-color);
    background: rgba(17, 24, 39, 0.03);
}

.payment-option input:checked + label i {
    color: var(--dark-color);
}

.order-summary {
    background: white;
    border-radius: var(--radius-lg);
    padding: 25px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 150px;
}

.order-summary h3 {
    font-size: 18px;
    margin-bottom: 20px;
}

.order-items {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.order-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.order-item:last-child {
    margin-bottom: 0;
}

.order-item-image {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.order-item-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.order-item-details {
    flex: 1;
}

.order-item-details h4 {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
}

.order-item-details .qty {
    font-size: 12px;
    color: var(--text-light);
}

.order-item-price {
    font-weight: 600;
}

.secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 15px;
    background: rgba(22, 163, 74, 0.08);
    border-radius: var(--radius);
    color: var(--accent-color);
    font-size: 13px;
}

@media (max-width: 992px) {
    .cart-container,
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .cart-summary,
    .order-summary {
        position: static;
    }
    
    .category-layout {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: min(85vw, 340px);
        height: 100%;
        z-index: 1100;
        border-radius: 0;
        overflow-y: auto;
        transition: left 0.3s cubic-bezier(.4,0,.2,1);
        padding: 20px;
        padding-top: 60px;
    }

    .filters-sidebar.filters-open {
        left: 0;
    }

    .filters-sidebar-close {
        display: flex;
        align-items: center;
        justify-content: center;
        position: absolute;
        top: 14px;
        right: 14px;
        width: 36px;
        height: 36px;
        background: var(--bg-light);
        border: none;
        border-radius: 50%;
        font-size: 16px;
        cursor: pointer;
        z-index: 2;
        transition: background 0.2s;
    }

    .filters-sidebar-close:hover {
        background: var(--danger-color);
        color: white;
    }

    .filters-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1099;
    }

    .filters-overlay.active {
        display: block;
    }

    .mobile-filter-btn {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 10px 20px;
        background: var(--primary-color);
        color: white;
        border: none;
        border-radius: 25px;
        font-family: inherit;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        transition: var(--transition);
        margin-bottom: 15px;
    }

    .mobile-filter-btn:hover {
        background: var(--primary-dark);
    }
}

@media (max-width: 576px) {
    .cart-item {
        grid-template-columns: 80px 1fr;
    }
    
    .cart-item-actions {
        grid-column: span 2;
        justify-content: space-between;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .payment-methods-checkout {
        grid-template-columns: 1fr;
    }
}

/* ===== CHATBOT FAQ ===== */
#chatbot-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    z-index: 9998;
    transition: transform 0.3s, opacity 0.3s;
}
#chatbot-fab:hover {
    transform: scale(1.1);
}
#chatbot-fab.hidden {
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

#chatbot-window {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 370px;
    max-height: 520px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 40px rgba(0,0,0,0.2);
    display: flex;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    transform: scale(0);
    transform-origin: bottom right;
    opacity: 0;
    transition: transform 0.3s cubic-bezier(.4,0,.2,1), opacity 0.25s;
    pointer-events: none;
}
#chatbot-window.open {
    transform: scale(1);
    opacity: 1;
    pointer-events: auto;
}

.chatbot-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chatbot-header-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.chatbot-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.chatbot-title {
    font-weight: 600;
    font-size: 15px;
}
.chatbot-subtitle {
    font-size: 12px;
    opacity: 0.8;
}
#chatbot-close {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    padding: 4px;
}
#chatbot-close:hover { opacity: 1; }

.chatbot-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 400px;
    background: #f4f5f7;
}

.chatbot-msg {
    display: flex;
}
.chatbot-msg.bot { justify-content: flex-start; }
.chatbot-msg.user { justify-content: flex-end; }

.chatbot-bubble {
    max-width: 85%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13.5px;
    line-height: 1.5;
    word-wrap: break-word;
}
.chatbot-msg.bot .chatbot-bubble {
    background: white;
    color: #1a1a1a;
    border-bottom-left-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}
.chatbot-msg.user .chatbot-bubble {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    color: white;
    border-bottom-right-radius: 4px;
}
.chatbot-bubble a {
    color: #3b82f6;
    text-decoration: underline;
}
.chatbot-msg.user .chatbot-bubble a {
    color: #93c5fd;
}

/* Typing indicator */
.chatbot-typing {
    display: flex;
    gap: 5px;
    padding: 12px 18px !important;
}
.chatbot-typing span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #aaa;
    animation: chatbot-dot 1.2s infinite;
}
.chatbot-typing span:nth-child(2) { animation-delay: 0.2s; }
.chatbot-typing span:nth-child(3) { animation-delay: 0.4s; }
@keyframes chatbot-dot {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

/* FAQ option buttons */
.chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.chatbot-option-btn {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 9px 14px;
    font-size: 13px;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    color: #1a1a2e;
    font-family: inherit;
}
.chatbot-option-btn:hover {
    background: #f0f2ff;
    border-color: #1a1a2e;
}
.chatbot-again {
    display: flex;
    justify-content: center;
}
.chatbot-again-btn {
    background: #f0f2ff !important;
    border-color: #1a1a2e !important;
    text-align: center !important;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
    #chatbot-window {
        width: calc(100vw - 20px);
        right: 10px;
        bottom: 10px;
        max-height: 70vh;
    }
    #chatbot-fab {
        bottom: 16px;
        right: 16px;
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

/* ===== RESPONSIVE - SMARTPHONES (Oppo Find X9 Pro ~412px y similares) ===== */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 12px;
    }

    /* Header */
    .header-top {
        padding: 10px 0;
    }

    .logo img {
        height: 34px;
    }

    .search-bar input {
        padding: 10px 14px;
        font-size: 14px;
    }

    .search-bar button {
        padding: 10px 14px;
    }

    /* Hero slider */
    .hero {
        padding: 20px 0 30px;
    }

    .hero-slider {
        padding: 0 12px;
    }

    .slide {
        min-height: auto;
    }

    .slide-content {
        padding: 20px;
    }

    .slide-content h1 {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .slide-content p {
        font-size: 13px;
        margin-bottom: 15px;
    }

    .slide-badge {
        font-size: 11px;
        padding: 4px 10px;
        margin-bottom: 8px;
    }

    .slide-content .btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .slide-image {
        height: 150px;
    }

    .slider-arrow {
        width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .slider-prev { left: 6px; }
    .slider-next { right: 6px; }

    .slider-dots {
        margin-top: 12px;
        gap: 8px;
    }

    .slider-dots .dot {
        width: 8px;
        height: 8px;
    }

    /* Hero cards */
    .hero-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 15px;
        padding: 0 12px;
    }

    .hero-card {
        padding: 14px 16px;
        gap: 12px;
    }

    .hero-card-icon {
        width: 42px;
        height: 42px;
    }

    .hero-card-icon i {
        font-size: 18px;
    }

    .hero-card h4 {
        font-size: 13px;
    }

    .hero-card p {
        font-size: 11px;
    }

    /* Sections */
    .section-title {
        font-size: 18px;
        margin-bottom: 18px;
    }

    .section-header {
        margin-bottom: 18px;
        gap: 12px;
    }

    .featured-section,
    .brands-section {
        padding: 35px 0;
    }

    .categories-section {
        padding: 30px 0 25px;
    }

    /* Promo banner */
    .promo-banner {
        padding: 35px 0;
    }

    .promo-text h2 {
        font-size: 20px;
    }

    .promo-form input {
        min-width: auto;
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }

    .promo-form {
        width: 100%;
        flex-direction: column;
    }

    /* Brands */
    .brand-item {
        padding: 12px 24px;
        font-size: 16px;
    }

    .brands-track {
        gap: 20px;
    }

    /* Footer */
    .footer {
        padding: 40px 0 15px;
    }

    .footer-grid {
        gap: 25px;
    }

    .footer-col h4 {
        font-size: 15px;
    }

    /* Notification dropdown */
    .notif-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 70vh;
        border-radius: 16px 16px 0 0;
    }

    /* Search dropdown */
    .search-dropdown {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        max-height: 60vh;
        border-radius: 16px 16px 0 0;
        z-index: 2000;
    }

    /* Toast */
    .toast {
        left: 12px;
        right: 12px;
        bottom: 16px;
        padding: 12px 16px;
        font-size: 13px;
    }

    /* Mobile menu */
    .mobile-menu {
        width: min(85vw, 320px);
        right: calc(-1 * min(85vw, 320px));
    }

    /* Cart page */
    .page-header {
        padding: 18px 0;
    }

    .page-header h1 {
        font-size: 22px;
    }

    .cart-page,
    .category-page,
    .checkout-page {
        padding: 25px 0;
    }

    .cart-items,
    .cart-summary,
    .checkout-form,
    .order-summary {
        padding: 16px;
        border-radius: var(--radius);
    }

    .cart-item {
        grid-template-columns: 70px 1fr;
        gap: 12px;
        padding: 14px 0;
    }

    .cart-item-image {
        width: 70px;
        height: 70px;
    }

    .cart-item-details h3 {
        font-size: 13px;
    }

    .cart-item-details .price {
        font-size: 17px;
    }

    /* Category page */
    .category-content h1 {
        font-size: 20px;
    }

    .sort-bar {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        padding: 12px 16px;
    }

    .sort-bar select {
        width: 100%;
    }

    /* Checkout */
    .form-group input,
    .form-group select {
        padding: 12px 14px;
        font-size: 14px;
    }

    .payment-methods-checkout {
        grid-template-columns: 1fr;
    }

    .payment-option label {
        padding: 14px;
        flex-direction: row;
        gap: 12px;
    }

    /* Pagination */
    .pagination {
        gap: 4px;
    }

    .page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 13px;
        padding: 0 8px;
    }

    /* Product detail page (producto.html) */
    .product-detail {
        padding: 20px 0;
    }

    /* Ratings */
    .rating-stars-input i {
        font-size: 24px;
    }
}

/* Extra small phones (360px and below) */
@media (max-width: 380px) {
    .container {
        padding: 0 10px;
    }

    .products-grid {
        gap: 8px;
    }

    .product-image {
        height: 120px;
        padding: 8px;
    }

    .product-info {
        padding: 10px;
    }

    .product-title {
        font-size: 11px;
        height: 30px;
    }

    .price-current {
        font-size: 15px;
    }

    .product-actions {
        flex-direction: column;
        gap: 6px;
    }

    .product-actions .btn {
        font-size: 11px;
        padding: 7px 4px;
    }

    .slide-content h1 {
        font-size: 18px;
    }

    .slide-content p {
        font-size: 12px;
    }

    .hero-card {
        padding: 12px 14px;
    }

    .mobile-menu {
        width: 90vw;
        right: -90vw;
    }
}

/* ===== BRAND THEME OVERRIDES ===== */
:root {
    --brand-black: #111111;
    --brand-black-soft: #1f1f1f;
    --brand-red: #d71920;
    --brand-red-dark: #a91118;
    --brand-yellow: #f3c316;
    --brand-gold: #d79a10;
    --brand-cream: #fff8e7;
    --brand-line: rgba(17, 17, 17, 0.1);
    --primary-color: var(--brand-black);
    --primary-dark: #080808;
    --secondary-color: var(--brand-red);
    --secondary-dark: var(--brand-red-dark);
    --accent-color: var(--brand-yellow);
    --accent-red: var(--brand-red);
    --accent-red-dark: var(--brand-red-dark);
    --accent-gold: var(--brand-yellow);
    --accent-gold-dark: var(--brand-gold);
    --danger-color: var(--brand-red);
    --dark-color: var(--brand-black);
    --text-color: #171717;
    --bg-light: #fff8e7;
    --bg-white: #ffffff;
    --border-color: #eadfbd;
    --shadow: 0 10px 28px rgba(17, 17, 17, 0.08);
    --shadow-hover: 0 18px 40px rgba(17, 17, 17, 0.14);
}

body {
    background-color: #fffaf0;
    color: #171717;
}

::selection {
    background: var(--brand-yellow);
    color: var(--brand-black);
}

.page-loader {
    background: #fffaf0 !important;
}

.loader-spinner {
    border-color: #f7e6ae !important;
    border-top-color: var(--brand-red) !important;
}

.header {
    background: linear-gradient(180deg, #0d0d0d 0%, #171717 100%) !important;
    border-bottom: 3px solid var(--brand-red);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.22) !important;
}

.nav-categories,
.mobile-menu,
.chatbot-header,
#chatbot-fab,
.chatbot-msg.user .chatbot-bubble {
    background: linear-gradient(180deg, #111111 0%, #220305 100%) !important;
}

.logo img,
.footer-logo img,
.auth-header .logo img {
    background: #ffffff;
    border-radius: 8px;
    padding: 4px 8px;
    box-shadow: 0 0 0 1px rgba(243, 195, 22, 0.35);
}

.search-bar {
    border: 1px solid rgba(243, 195, 22, 0.45) !important;
    box-shadow: 0 8px 26px rgba(0, 0, 0, 0.22) !important;
}

.search-bar input,
.search-dropdown,
.notif-dropdown,
.modal-content,
.cart-items,
.cart-summary,
.filters-sidebar,
.sort-bar,
.checkout-form,
.order-summary,
.auth-card,
.account-sidebar,
.account-section,
.stat-card,
.favoritos-toolbar,
.favorito-card,
.favoritos-empty,
.contact-form-card,
.contact-info-card,
.faq-section,
.about-card,
.about-section,
.legal-section,
.tracking-result,
.pd-price-block,
.review-form,
.reviews-summary,
.reco-card {
    background: #fffefa !important;
    border-color: var(--brand-line) !important;
}

.search-bar button,
.slider-arrow,
.carousel-arrow:hover,
.product-badge.new,
.pd-main-image .pd-badge,
.mobile-menu-nav li a .mobile-badge,
.promo-form .btn,
.confirm-btn-ok.warning,
.confirm-icon.warning,
.confirm-icon-c.warning {
    background: var(--brand-yellow) !important;
    color: var(--brand-black) !important;
}

.search-bar button:hover,
.slider-arrow:hover,
.btn-primary:hover,
.btn-auth:hover,
.btn-add-cart:hover,
.btn-add-all:hover,
.tracking-search button:hover,
.review-form .btn-submit-review:hover,
.pd-btn-buy:hover,
.share-link-box button:hover,
.favoritos-empty .btn-explore:hover {
    background: var(--brand-yellow) !important;
    color: var(--brand-black) !important;
}

.btn-primary,
.btn-auth,
.btn-login,
.btn-user-logged,
.btn-add-cart,
.btn-add-all,
.filter-chip.active,
.tracking-search button,
.review-form .btn-submit-review,
.pd-btn-buy,
.mobile-filter-btn,
.share-link-box button,
.favoritos-empty .btn-explore,
.contact-form button,
.form-success a,
.notif-mark-all:hover,
.confirm-btn-ok.danger,
.confirm-btn-ok.primary,
.confirm-btn-ok-c.danger,
.confirm-btn-ok-c.primary {
    background: var(--brand-red) !important;
    border-color: var(--brand-red) !important;
    color: #ffffff !important;
}

.btn-login:hover,
.btn-user-logged:hover,
.categories-list li a.highlight,
.legal-nav a:hover {
    background: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
    color: var(--brand-black) !important;
}

.btn-secondary,
.btn-outline:hover,
.pd-btn-cart,
.payment-option input:checked + label {
    background: var(--brand-black) !important;
    border-color: var(--brand-black) !important;
    color: #ffffff !important;
}

.btn-outline,
.btn-share,
.filter-chip,
.share-link-box input,
.stripe-element-container,
.form-group input,
.form-group select,
.form-group textarea,
.tracking-search input,
.price-range input,
.sort-bar select,
.pd-qty-controls,
.review-form textarea,
.contact-form input,
.contact-form select,
.contact-form textarea {
    border-color: #eadfbd !important;
}

.btn-outline,
.btn-share,
.filter-chip:hover,
.legal-nav a,
.breadcrumb a,
.auth-footer a,
.pd-rating .count a,
.search-see-all,
.notif-dropdown-footer a:hover,
.favorito-nombre a:hover {
    color: var(--brand-red) !important;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.tracking-search input:focus,
.stripe-element-container.StripeElement--focus,
.price-range input:focus,
.sort-bar select:focus,
.review-form textarea:focus,
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--brand-red) !important;
    box-shadow: 0 0 0 3px rgba(215, 25, 32, 0.12) !important;
}

.cart-count,
.fav-count,
.notif-count,
.product-badge,
.product-badge.hot,
.product-wishlist.active,
.product-wishlist:hover,
.favorito-descuento,
.favorito-remove:hover,
.pd-btn-fav.active,
.pd-btn-fav:hover,
.pd-main-image .pd-badge.hot,
.reco-card-badge,
.badge-red,
.message-box.error,
.password-strength-bar.weak {
    background: var(--brand-red) !important;
    color: #ffffff !important;
}

.favorites-link i,
.favoritos-header h1 i,
.remove-btn,
.pd-stock.out-stock i,
.stripe-error,
.message-box.error,
.password-strength.weak,
.confirm-icon.danger,
.confirm-icon-c.danger {
    color: var(--brand-red) !important;
}

.categories-list li a:hover,
.action-link:hover,
.footer-col ul li a:hover,
.social-links a:hover,
.footer-logo i,
.section-title i,
.product-rating i,
.price-discount,
.product-shipping,
.cat-card-icon i,
.cat-card-arrow,
.pd-rating .stars,
.reviews-big-number .stars,
.review-stars-display,
.review-stars-select i.active,
.review-bar-row i,
.payment-methods i:hover,
.about-section h2 i,
.legal-section h2 i,
.legal-highlight i,
.reco-card-rating,
.password-strength.medium,
.price-current,
.pd-price-current,
.favorito-precio,
.reco-card-price {
    color: var(--brand-gold) !important;
}

.page-header,
.auth-header,
.user-info,
.contact-hero,
.about-hero,
.legal-hero,
.tracking-header,
.promo-banner,
.deals-section {
    background:
        radial-gradient(circle at 15% 20%, rgba(243, 195, 22, 0.18), transparent 26%),
        radial-gradient(circle at 88% 12%, rgba(215, 25, 32, 0.2), transparent 24%),
        linear-gradient(135deg, #090909 0%, #1b1b1b 52%, #36080b 100%) !important;
    border-bottom: 4px solid var(--brand-yellow) !important;
    color: #ffffff !important;
}

.page-header h1,
.page-header h1 i,
.auth-header p,
.contact-hero h1,
.contact-hero p,
.about-hero h1,
.about-hero p,
.legal-hero h1,
.legal-hero p,
.tracking-header h1,
.tracking-header p,
.deals-section .section-title,
.deals-section .section-title i {
    color: #ffffff !important;
}

.contact-hero h1 span,
.about-hero h1 span,
.legal-hero h1 span,
.tracking-header i,
.slide-badge,
.time-box span {
    color: var(--brand-yellow) !important;
}

.hero {
    background:
        radial-gradient(circle at 15% 20%, rgba(243, 195, 22, 0.22), transparent 26%),
        radial-gradient(circle at 88% 12%, rgba(215, 25, 32, 0.22), transparent 24%),
        linear-gradient(135deg, #090909 0%, #1b1b1b 48%, #36080b 100%) !important;
}

.slides-container,
.hero-card,
.cat-card,
.product-card,
.brand-item,
.favorito-card,
.about-card,
.about-section,
.legal-section,
.contact-form-card,
.contact-info-card,
.faq-section,
.tracking-result,
.cart-items,
.cart-summary,
.checkout-form,
.order-summary,
.account-sidebar,
.account-section,
.auth-card,
.filters-sidebar,
.sort-bar,
.modal-content,
.reco-card {
    border: 1px solid var(--brand-line) !important;
    box-shadow: var(--shadow) !important;
}

.slide {
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.96) 0%, rgba(32, 32, 32, 0.92) 54%, rgba(215, 25, 32, 0.12) 100%) !important;
}

.slide-content h1,
.slide-content p {
    color: #ffffff !important;
}

.slide-badge,
.time-box {
    background: rgba(243, 195, 22, 0.14) !important;
    border: 1px solid rgba(243, 195, 22, 0.5) !important;
}

.hero-card {
    border-left: 4px solid var(--brand-yellow) !important;
}

.hero-card-icon,
.about-card-icon,
.info-item-icon,
.cat-icon-preview {
    background: var(--brand-black) !important;
    color: var(--brand-yellow) !important;
}

.categories-section,
.brands-section,
.auth-page,
.account-page,
.category-page,
.cart-page,
.checkout-page,
.favoritos-page,
.product-page,
.contact-container,
.about-container,
.legal-container,
.tracking-container {
    background: #fffaf0 !important;
}

.featured-section,
.product-card,
.cat-card,
.brand-item,
.product-image,
.pd-main-image,
.cart-item-image,
.order-item-image,
.favorito-img,
.reco-card img {
    background: linear-gradient(180deg, #fff7dc 0%, #ffffff 100%) !important;
}

.product-card:hover,
.cat-card:hover,
.brand-item:hover,
.favorito-card:hover,
.about-card:hover,
.reco-card:hover {
    box-shadow: var(--shadow-hover) !important;
}

.product-badge.new,
.pd-main-image .pd-badge.new,
.badge-yellow,
.legal-highlight,
.security-banner,
.price-dropped,
.back-in-stock,
.message-box.success,
.password-strength-bar.medium {
    background: #fff1b8 !important;
    color: var(--brand-black) !important;
    border-color: rgba(243, 195, 22, 0.5) !important;
}

.security-banner i,
.security-banner-text h4,
.security-banner-text p,
.checkout-secure-footer i,
.pd-shipping.free i,
.pd-shipping-text strong,
.pd-price-cuotas strong,
.pd-stock.in-stock i,
.pd-features li i,
.favorito-envio,
.price-dropped i,
.message-box.success,
.password-strength.strong,
.profile-completion-fill,
.profile-completion-fill + span {
    color: var(--brand-gold) !important;
}

.auth-tab.active,
.sidebar-menu a.active,
.pd-tab-btn.active,
.admin-section a,
.filter-section h4,
.category-content h1,
.cart-summary h3,
.checkout-form h2,
.order-summary h3,
.contact-form-card h2,
.contact-info-card h2,
.faq-section h2,
.about-section h2,
.legal-section h2,
.tracking-order-num,
.pd-info h1,
.pd-related h2,
.review-form h3,
.favoritos-header h1,
.section-title {
    color: var(--brand-black) !important;
}

.auth-tab.active::after,
.about-section h2,
.legal-section h2,
.review-bar-fill,
.profile-completion-fill,
.pd-tab-btn.active,
.tracking-step.completed .tracking-step-dot,
.tracking-step.current .tracking-step-dot {
    background-color: var(--brand-yellow) !important;
    border-color: var(--brand-yellow) !important;
}

.tracking-step.current .tracking-step-dot,
.sidebar-menu a.active,
.notif-page-item.unread,
.legal-highlight {
    border-color: var(--brand-red) !important;
}

.tracking-step.current .tracking-step-dot {
    color: var(--brand-black) !important;
    box-shadow: 0 0 0 6px rgba(243, 195, 22, 0.24) !important;
}

.tracking-step.cancelled .tracking-step-dot,
.price-increased,
.pd-stock.out-stock i,
.badge-red {
    background: var(--brand-red) !important;
    color: #ffffff !important;
}

.checkout-progress,
.auth-footer,
.legal-nav,
.notif-item:hover,
.notif-item.unread,
.mobile-menu-user,
.images-section,
.review-item-full,
.pd-info .pd-category,
.powered-by-stripe,
.checkout-secure-footer,
.reco-section,
.favoritos-toolbar,
.legal-table th {
    background: #fff8e7 !important;
    border-color: #eadfbd !important;
}

.footer {
    background: linear-gradient(180deg, #111111 0%, #080808 100%) !important;
    border-top: 4px solid var(--brand-red);
}

.footer-col h4::after,
.footer-bottom {
    border-color: rgba(243, 195, 22, 0.24) !important;
}

.footer-col h4::after {
    background: var(--brand-yellow) !important;
}

.social-links a:hover {
    background: var(--brand-red) !important;
    color: #ffffff !important;
}

.chatbot-option-btn:hover,
.chatbot-again-btn {
    background: #fff1b8 !important;
    border-color: var(--brand-yellow) !important;
    color: var(--brand-black) !important;
}

.chatbot-msg.bot .chatbot-bubble,
.chatbot-body {
    background: #fffaf0 !important;
}
