:root {
    --primary: #7c3aed;
    --primary-dark: #5b21b6;
    --primary-light: #ede9fe;
    --secondary: #1e293b;
    --text: #334155;
    --text-light: #64748b;
    --bg: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --radius: 12px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

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

.container-wide {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Header */
.top-banner {
    background: linear-gradient(90deg, #7c3aed 0%, #9333ea 50%, #7c3aed 100%) !important;
    padding: 10px 15px !important;
    /* Aumentado para desktop */
    text-align: center !important;
}

.top-banner p {
    color: white !important;
    font-size: 1.05rem !important;
    /* Aumentado de 0.95rem */
    font-weight: 500 !important;
    margin: 0 !important;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .top-banner {
        padding: 5px 10px !important;
        /* Compacto en móvil */
    }

    .top-banner p {
        font-size: 0.75rem !important;
        /* Pequeño para móvil */
        font-weight: 400 !important;
    }
}

.top-banner a {
    color: #ffd700;
    font-weight: 700;
    text-decoration: underline;
}


/* Slogan Banner - Desktop Prominent */
.slogan-banner {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%) !important;
    padding: 12px 20px !important;
    /* Aumentado para mayor presencia en desktop */
    text-align: center !important;
}

.slogan-banner .container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
    /* Más espacio entre texto y botón */
    flex-wrap: nowrap !important;
}

.slogan-text {
    color: white !important;
    font-size: 1.15rem !important;
    /* Más grande y legible en desktop */
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    white-space: nowrap;
}

.slogan-btn {
    background: #ffffff !important;
    color: #1e293b !important;
    padding: 8px 20px !important;
    /* Botón más robusto */
    border-radius: 8px !important;
    text-decoration: none !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease;
}

.slogan-btn:hover {
    background: #f8fafc !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .slogan-banner {
        padding: 10px 10px !important;
    }

    .slogan-banner .container {
        gap: 8px !important;
        flex-wrap: wrap !important;
        /* Permitir que baje si no hay espacio */
    }

    .slogan-text {
        font-size: 0.8rem !important;
        /* Más pequeño en móvil */
    }

    .slogan-btn {
        padding: 4px 12px !important;
        /* Más compacto en móvil */
        font-size: 0.75rem !important;
    }
}

.top-banner p strong {
    color: #ffffff;
    font-weight: 700;
}

.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-separator {
    height: 1px;
    background: #dbdbdb;
}

/* Mobile Menu Button - available on all pages */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #1e293b;
}

/* Header Mobile Top Row - hidden on desktop by default */
.header-mobile-top {
    display: none;
}

@media (max-width: 768px) {
    .header-mobile-top {
        display: flex;
    }
}

/* Header Mobile Top Row */
.header-mobile-top {
    align-items: center;
    justify-content: space-between;
    padding: 14px 15px !important;
    gap: 10px;
}

.header-mobile-top .logo {
    flex-shrink: 0;
}

.header-mobile-top .logo-img {
    width: 180px;
    /* Aumentado de 140px */
    height: 36px;
    /* Aumentado de 28px */
}

@media (max-width: 480px) {
    .header-mobile-top .logo-img {
        width: 160px;
        /* Tamaño ligeramente menor para móviles muy pequeños */
        height: 32px;
    }
}

/* Header Search Row */
.header-search-row {
    padding: 0 15px 10px;
}

.header-search-row .search-box {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.mobile-menu.active {
    display: block;
    max-height: 500px;
    padding: 15px;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.mobile-nav-link {
    display: block;
    padding: 12px 15px;
    color: #1e293b;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s;
}

.mobile-nav-link:hover {
    background: #f1f5f9;
    color: var(--primary);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 12px 20px;
    gap: 30px;
    min-height: 60px;
}

.search-btn {
    padding: 10px 16px;
    border: none;
    background: #fd9900;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: #e08800;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-img {
    width: 170px;
    height: 34px;
    object-fit: contain;
}

.logo-text {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: 600;
}

.logo-text strong {
    color: var(--primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.header-actions .icon-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: 8px;
    border-right: 1px solid #e2e8f0;
    cursor: pointer;
}

.header-actions .icon-btn:last-of-type {
    border-right: none;
}

.header-actions .icon-btn:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.header-actions .icon-btn svg {
    width: 24px;
    height: 24px;
}

.header-actions .favorites-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 24px;
    width: 360px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.header-actions .favorites-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 20px;
    width: 16px;
    height: 16px;
    background: var(--white);
    transform: rotate(45deg);
    box-shadow: -2px -2px 4px rgba(0, 0, 0, 0.05);
}

.header-actions .favorites-btn-wrapper:hover .favorites-dropdown,
.header-actions .favorites-btn-wrapper:focus-within .favorites-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.favorites-dropdown .favorites-modal-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 16px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-dropdown .favorites-modal-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.favorites-dropdown h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 16px;
    text-align: center;
}

.favorites-dropdown .favorites-modal-list {
    text-align: left;
    margin-bottom: 20px;
}

.favorites-dropdown .favorites-modal-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text);
    margin-bottom: 10px;
}

.favorites-dropdown .favorites-modal-list .check-icon {
    width: 18px;
    height: 18px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.favorites-dropdown .favorites-modal-list .check-icon svg {
    width: 10px;
    height: 10px;
    stroke: white;
    stroke-width: 3;
}

.favorites-dropdown .favorites-modal-btn {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 12px;
}

.favorites-dropdown .favorites-modal-btn:hover {
    background: var(--primary-dark);
}

.favorites-dropdown .favorites-modal-footer {
    font-size: 0.8rem;
    color: var(--text-light);
    text-align: center;
}

.favorites-dropdown .favorites-modal-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.favorites-dropdown .favorites-modal-footer a:hover {
    text-decoration: underline;
}

.header-actions .auth-btn {
    display: none;
}

.auth-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.auth-link:hover {
    color: var(--primary);
}

.auth-btn {
    padding: 8px 20px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.auth-btn:hover {
    background: var(--primary-dark);
}

.icon-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    color: var(--text);
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 6px 10px;
    border-radius: 8px;
}

.icon-btn:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.icon-btn span {
    font-size: 0.65rem;
}

.search-box {
    display: flex;
    flex: 1;
    max-width: 700px;
    background: var(--bg);
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
}

/* Autocomplete dropdown */
.search-autocomplete {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    border: 1px solid #e2e8f0;
    border-top: none;
}

.search-autocomplete.active {
    display: block;
}

.autocomplete-section {
    padding: 8px 12px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.autocomplete-item {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid #f1f5f9;
}

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

.autocomplete-item:hover {
    background: #f8fafc;
}

.autocomplete-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
    margin-right: 12px;
    background: #f1f5f9;
}

.autocomplete-item-info {
    flex: 1;
    min-width: 0;
}

.autocomplete-item-name {
    font-weight: 500;
    color: #1e293b;
    font-size: 0.9rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.autocomplete-item-brand {
    font-size: 0.8rem;
    color: #64748b;
}

.autocomplete-item-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
    white-space: nowrap;
    margin-left: 10px;
}

.autocomplete-no-results {
    padding: 20px;
    text-align: center;
    color: #64748b;
}

.autocomplete-see-all {
    display: block;
    padding: 12px 14px;
    background: var(--primary);
    color: white;
    text-align: center;
    font-weight: 600;
    cursor: pointer;
    border-radius: 0 0 8px 8px;
}

.autocomplete-see-all:hover {
    background: var(--primary-dark);
}

.search-box input {
    flex: 1;
    padding: 8px 14px;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    outline: none;
}

.search-btn {
    padding: 8px 16px;
    border: none;
    background: var(--primary);
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.search-btn:hover {
    background: #e55a00;
}

.nav {
    display: flex;
    gap: 5px;
    background: var(--white);
    padding: 0;
    border-bottom: 1px solid #dbdbdb;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 5px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.nav-link {
    text-decoration: none;
    color: #1e293b;
    padding: 6px 16px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border-bottom: 3px solid transparent;
    display: block;
}

.nav-link:hover,
.nav-link.active {
    background: var(--primary-light);
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.nav-link-highlight {
    background: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: 20px;
    padding: 6px 16px;
    margin-left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(255, 75, 43, 0.3);
    border-bottom: none;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-link-highlight:before {
    content: '🏷️';
    font-size: 0.9em;
}

.nav-link-highlight:hover {
    background: linear-gradient(135deg, #ff4b2b 0%, #ff416c 100%);
    color: white;
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 15px rgba(255, 75, 43, 0.4);
}

.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none !important;
    position: absolute;
    background-color: var(--white);
    min-width: 180px;
    box-shadow: var(--shadow-lg);
    border-radius: 8px;
    z-index: 1000;
    top: 100%;
    left: 0;
    border: 1px solid #e2e8f0;
}

.nav-dropdown:hover .dropdown-content {
    display: block !important;
}

.dropdown-content a {
    color: #1e293b;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.9rem;
    transition: var(--transition);
}

.dropdown-content a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Brands Dropdown */
.nav-dropdown:hover .dropdown-brands {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4px;
    padding: 8px;
    min-width: 220px;
}

.brand-link {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 10px 12px !important;
    border-radius: 6px;
    transition: var(--transition);
}

.brand-link:hover {
    background: var(--primary-light) !important;
}

.brand-logo {
    width: 24px;
    height: 24px;
    object-fit: contain;
    border-radius: 4px;
}

.brand-name {
    font-weight: 600;
    font-size: 0.85rem;
}

.brand-icon {
    font-size: 1.3rem;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-name {
    font-weight: 600;
    font-size: 0.85rem;
}

/* Hero Base Styles */
.hero {
    text-align: center;
    background: radial-gradient(circle at 50% 50%, #8b5cf6 0%, #7c3aed 30%, #5b21b6 70%, #4c1d95 100%);
    min-height: auto;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero>* {
    position: relative;
    z-index: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.1) 0%, transparent 30%);
}

.hero h1 {
    color: white;
    line-height: 1.2;
    text-shadow: none;
}

.hero p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero .hero-btn {
    display: inline-block;
    background: #ff6b35;
    color: white;
    text-decoration: none;
    font-weight: 600;
}

.hero .hero-btn:hover {
    background: #e55a2b;
}

/* Hero - Desktop Normal */
@media (min-width: 769px) {
    .hero {
        text-align: center;
        padding: 50px 20px;
    }

    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1.2rem;
        margin-bottom: 30px;
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        gap: 30px;
    }

    .stat-number {
        font-size: 1.6rem;
    }

    .hero .hero-btn {
        padding: 14px 34px;
        font-size: 1.15rem;
        border-radius: 35px;
    }
}

/* Hero - Mobile Normal */
@media (max-width: 768px) {
    .hero {
        padding: 30px 15px;
        /* Reducido para que no ocupe tanto espacio vertical */
        min-height: auto;
    }

    .hero h1 {
        font-size: 1.5rem;
        /* Más pequeño para que no rompa en muchas líneas */
        margin-bottom: 12px;
        line-height: 1.3;
    }

    .hero p {
        font-size: 0.9rem;
        /* Texto de apoyo más discreto */
        margin-bottom: 18px;
        padding: 0 10px;
    }

    .hero .hero-btn {
        padding: 10px 24px !important;
        /* Botón grande pero no exagerado */
        font-size: 1rem !important;
        border-radius: 25px !important;
    }

    .slide-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
        margin-bottom: 8px;
    }
}

/* Latest Blog Section */
.latest-blog {
    padding: 80px 20px;
    background: #ffffff;
}

.latest-blog-header {
    text-align: center;
    margin-bottom: 50px;
}

.latest-blog-title {
    font-size: 2rem;
    color: #1e293b;
    margin-bottom: 12px;
    font-weight: 700;
}

.latest-blog-desc {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 20px;
}

.latest-blog-link {
    color: #7c3aed;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.latest-blog-link:hover {
    color: #5b21b6;
    text-decoration: underline;
}

.latest-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.latest-blog-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #f1f5f9;
}

.latest-blog-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.latest-blog-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.latest-blog-card:hover .latest-blog-card-image {
    transform: scale(1.05);
}

.latest-blog-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.latest-blog-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.latest-blog-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.latest-blog-card-excerpt {
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    flex: 1;
}

.latest-blog-card-meta {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
}

/* Blog Mobile Fixes */
@media (max-width: 992px) {
    .latest-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 640px) {
    .latest-blog {
        padding: 50px 15px;
    }

    .latest-blog-grid {
        grid-template-columns: 1fr;
    }

    .latest-blog-title {
        font-size: 1.6rem;
    }

    .latest-blog-card-image {
        height: 180px;
    }
}

/* Latest Products Section - Slider */
.latest-products {
    padding: 50px 20px;
    background: #f8fafc;
    overflow: hidden;
}

.latest-products .container {
    max-width: 1400px;
    margin: 0 auto;
}

.latest-products-header {
    text-align: center;
    margin-bottom: 30px;
}

.latest-products-title {
    font-size: 1.6rem;
    color: #1e293b;
    margin-bottom: 8px;
    font-weight: 700;
}

.latest-products-desc {
    font-size: 0.95rem;
    color: #64748b;
}

.latest-products-slider {
    position: relative;
    overflow: hidden;
}

.latest-products-track {
    display: flex;
    gap: 20px;
    animation: slideLeft 30s linear infinite;
    width: max-content;
}

@keyframes slideLeft {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.latest-products-track:hover {
    animation-play-state: paused;
}

.latest-slider-card {
    flex: 0 0 280px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    display: block;
}

.latest-slider-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.latest-slider-card .card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
    position: relative;
}

.latest-slider-card .card-image img {
    max-height: 150px;
    max-width: 100%;
    object-fit: contain;
}

.img-placeholder {
    font-size: 4rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.latest-slider-card .card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #ff6b35;
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.latest-slider-card .card-favorite {
    position: absolute;
    top: 10px;
    right: 10px;
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.latest-slider-card .card-info {
    padding: 15px;
}

.latest-slider-card .card-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.3;
}

.latest-slider-card .card-meta {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 10px;
}

.latest-slider-card .card-price {
    display: flex;
    flex-direction: column;
}

.latest-slider-card .card-price-amount {
    font-size: 1.2rem;
    font-weight: 800;
    color: #7c3aed;
}

.latest-slider-card .card-price-store {
    font-size: 0.75rem;
    color: #64748b;
}

.latest-products-cta {
    text-align: center;
    margin-top: 30px;
}

/* Reviews Section */
.reviews-section {
    padding: 60px 20px;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    overflow: hidden;
}

.reviews-section .container {
    max-width: 1400px;
    margin: 0 auto;
}

.reviews-header {
    text-align: center;
    margin-bottom: 40px;
}

.reviews-title {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
    font-weight: 700;
}

.reviews-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.reviews-slider {
    position: relative;
    overflow: hidden;
}

.reviews-track {
    display: flex;
    gap: 20px;
    animation: slideUp 40s linear infinite;
    width: max-content;
}

@keyframes slideUp {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.reviews-track:hover {
    animation-play-state: paused;
}

.review-card {
    flex: 0 0 350px;
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0, #cbd5e1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
}

.review-user {
    flex: 1;
}

.review-name {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.review-date {
    font-size: 0.75rem;
    color: #94a3b8;
}

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

.review-stars {
    color: #f59e0b;
    font-size: 1rem;
    letter-spacing: 2px;
}

.review-score {
    background: #7c3aed;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.review-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.review-product {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
    font-size: 0.85rem;
    color: #64748b;
}

.review-product strong {
    color: #7c3aed;
}

@media (max-width: 768px) {
    .review-card {
        flex: 0 0 300px;
    }
}

.btn-secondary {
    display: inline-block;
    background: #7c3aed;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-secondary:hover {
    background: #5b21b6;
}

@media (max-width: 768px) {
    .latest-slider-card {
        flex: 0 0 240px;
    }

    .latest-slider-card .card-image {
        height: 150px;
    }
}

.hero .hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.hero .hero-btn {
    display: inline-block;
    background: #ff6b35;
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.hero .hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.hero .slide-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 20px;
}

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

.hero .stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.hero .stat-label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Main Layout */
.main-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    padding: 30px 20px;
    max-width: 1600px;
    margin: 0 auto;
    justify-content: center;
}

/* Grid responsive para productos */
.products-grid.catalog-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* 3 base para desktop */
    gap: 25px;
    width: 100%;
}

@media (min-width: 1500px) {
    .products-grid.catalog-products {
        grid-template-columns: repeat(4, 1fr);
        /* 4 para pantallas muy anchas */
    }
}

@media (max-width: 1024px) {
    .products-grid.catalog-products {
        grid-template-columns: repeat(2, 1fr);
        /* 2 para tablets y laptops pequeñas */
        gap: 20px;
    }
}

@media (max-width: 580px) {
    .products-grid.catalog-products {
        grid-template-columns: repeat(1, 1fr);
        /* 1 para móviles pequeños */
        gap: 15px;
    }
}

.show-more-container {
    grid-column: 1 / -1;
    text-align: center;
    padding: 20px 0;
}

.show-more-btn {
    display: inline-block;
    background: #7c3aed;
    color: white;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s;
}

.show-more-btn:hover {
    background: #5b21b6;
}

/* Quick Categories Section */
/* Quick Categories Section */
.quick-categories {
    padding: 60px 20px !important;
    background: #1e293b !important;
    text-align: center;
}

.quick-categories .container {
    max-width: 1200px;
    margin: 0 auto;
}

.quick-categories-header {
    margin-bottom: 40px;
}

.quick-categories-title {
    font-size: 2.2rem !important;
    color: white !important;
    margin-bottom: 12px !important;
    font-weight: 700 !important;
    letter-spacing: -0.5px;
}

.quick-categories-desc {
    font-size: 1.1rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    max-width: 800px;
    margin: 0 auto !important;
    line-height: 1.5;
}

.quick-categories-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.quick-category-card {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: white !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    text-decoration: none;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-category-card:hover {
    background: white !important;
    color: #1e293b !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    border-color: white !important;
}

.quick-cat-highlight {
    background: #ff6b35 !important;
    border-color: #ff6b35 !important;
}

.quick-cat-highlight:hover {
    background: #e85a24 !important;
    border-color: #e85a24 !important;
    color: white !important;
}

/* Responsive Quick Categories - Compact for Mobile */
@media (max-width: 768px) {
    .quick-categories {
        padding: 25px 15px !important;
        /* Más compacto */
    }

    .quick-categories-title {
        font-size: 1.3rem !important;
        /* Título más acorde a móvil */
        margin-bottom: 8px !important;
    }

    .quick-categories-desc {
        font-size: 0.8rem !important;
        /* Texto de apoyo discreto */
    }

    .quick-categories-grid {
        gap: 8px;
        /* Menos espacio entre botones */
        margin-top: 15px;
    }

    .quick-category-card {
        padding: 6px 14px !important;
        /* Botones más pequeños estilo pill */
        font-size: 0.75rem !important;
    }
}

/* Sidebar y Content Layout */
.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.content-area {
    width: calc(100% - 280px);
    flex: 1;
    min-width: 0;
}

/* Estilo base para el botón de filtros móviles (oculto en escritorio) */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mobile-filter-toggle:hover {
    background: #e2e8f0;
}

.mobile-filter-toggle.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

@media (max-width: 992px) {

    /* Ocultar los filtros en móvil SOLO en la página principal (Home) */
    .hero+.main-layout .sidebar,
    .hero~.main-layout .sidebar {
        display: none !important;
    }

    /* En el Home, el contenido ocupa el 100% */
    .hero~.main-layout .content-area {
        width: 100% !important;
    }

    /* En el CATÁLOGO */
    .catalog-page .mobile-filter-toggle {
        display: flex;
        /* Mostramos el botón en móvil */
        margin-bottom: 15px;
    }

    .catalog-page .sidebar {
        display: none !important;
        /* Oculto por defecto en móvil */
        width: 100% !important;
        background: #f8fafc;
        padding: 20px;
        border-radius: 12px;
        margin-bottom: 20px;
        border: 1px solid #e2e8f0;
    }

    .catalog-page .sidebar.active {
        display: block !important;
        /* Se muestra al activar el botón */
        animation: slideDown 0.3s ease-out;
    }

    .catalog-page .content-area {
        width: 100% !important;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Slider */
.hero-slider {
    position: relative;
    height: auto;
    min-height: 320px;
    max-height: 420px;
    overflow: hidden;
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 50%, #4c1d95 100%);
    padding: 25px 0;
}

.slider-container {
    display: flex;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
    position: relative;
}

.slide-content {
    max-width: 900px;
    text-align: center;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
    padding: 20px;
}

.slide::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.slide.active .slide-content {
    opacity: 1;
    transform: translateY(0);
}

.slide-content {
    max-width: 800px;
    text-align: center;
    z-index: 1;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.slide-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.slide h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 12px;
    line-height: 1.2;
}

.slide p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.slide-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Slide Thematic Specific Styles */
.slide-thematic {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.slide-content-split {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    width: 100%;
    margin: 0 auto;
    gap: 40px;
    text-align: left;
}

.slide-content-split .slide-text {
    flex: 1;
}

.slide-content-split .slide-text p {
    margin-left: 0;
    margin-right: 0;
}

.slide-badge-alt {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.slide-features {
    list-style: none;
    padding: 0;
    margin-bottom: 25px;
    color: white;
}

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

.slide-btn-primary {
    display: inline-block;
    padding: 12px 24px;
    background: white;
    color: #059669;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.slide-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #047857;
}

.slide-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.slide-dog-image {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
    max-height: 280px;
    object-fit: contain;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .slide-content-split {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .slide-content-split .slide-text p {
        margin-left: auto;
        margin-right: auto;
    }

    .slide-features {
        text-align: left;
        display: inline-block;
    }

    .slide-image {
        display: none;
    }
}

/* Slide Advertisement */
.slide-ad {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
}

.ad-content {
    text-align: center;
}

.ad-label {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-bottom: 10px;
}

.slide-ad h2 {
    font-size: 1.8rem;
    color: white;
    margin-bottom: 10px;
}

.slide-ad p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.ad-btn {
    display: inline-block;
    padding: 10px 24px;
    background: white;
    color: #6366f1;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: transform 0.3s;
}

.ad-btn:hover {
    transform: scale(1.05);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 10;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.slider-nav.prev {
    left: 15px;
}

.slider-nav.next {
    right: 15px;
}

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

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: white;
}

/* Value Proposition */
.value-proposition {
    background: white;
    padding: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.value-items {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.value-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.value-item h3 {
    font-size: 0.95rem;
    color: #1e293b;
    margin: 0;
    font-weight: 600;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

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

.hero-content {
    max-width: 700px;
    z-index: 1;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.hero h1 {
    font-size: 2.2rem;
    color: white;
    margin-bottom: 15px;
    line-height: 1.3;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 25px;
    max-width: 600px;
}

.hero-stats {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    justify-content: center;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.sidebar {
    width: 260px;
    flex-shrink: 0;
    padding: 0 20px;
}

.sidebar-section {
    background: #ffffff;
    border-radius: 10px;
    padding: 18px;
    margin-bottom: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.sidebar-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Popular Categories in Sidebar */
.sidebar-categories-popular {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9ff 100%);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #e2e8f0;
}

.sidebar-categories-popular .sidebar-title {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.sidebar-categories-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.sidebar-category-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: var(--white);
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.sidebar-category-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.sidebar-category-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.sidebar-cat-icon {
    font-size: 1rem;
}

.sidebar-cat-offer {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #ea580c;
}

.sidebar-cat-offer:hover {
    background: #ffedd5;
    border-color: #f97316;
    color: #ea580c;
}

.popular-category-btn {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    transition: all 0.2s ease;
}

.popular-category-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.popular-category-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.popular-cat-icon {
    font-size: 1rem;
}

.popular-cat-offer {
    background: #fff7ed;
    border-color: #fed7aa;
    color: #ea580c;
}

.popular-cat-offer:hover {
    background: #ffedd5;
    border-color: #f97316;
    color: #ea580c;
}

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

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text);
    transition: var(--transition);
}

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

.filter-checkbox input {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.filter-checkbox input:checked+.checkmark {
    background: var(--primary);
    border-color: var(--primary);
}

.filter-checkbox input:checked+.checkmark::after {
    content: '✓';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

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

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

.category-link {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: var(--text);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

.category-link:hover {
    background: var(--bg);
    color: var(--primary);
}

.category-link.active {
    background: #7c3aed;
    color: white;
    font-weight: 500;
}

.sidebar-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: white;
    cursor: pointer;
    transition: all 0.2s;
}

.sidebar-select:focus {
    border-color: #7c3aed;
    outline: none;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.content-area {
    flex: 1;
    min-width: 0;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.catalog-toolbar .results-info {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.catalog-toolbar .sort-options {
    display: flex;
    align-items: center;
    gap: 12px;
}

.catalog-toolbar .sort-options label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    white-space: nowrap;
}

.catalog-toolbar .sort-options .sidebar-select {
    width: auto;
    min-width: 200px;
    padding: 8px 12px;
}

@media (max-width: 768px) {
    .catalog-toolbar {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .catalog-toolbar .sort-options {
        width: 100%;
        justify-content: space-between;
    }

    .catalog-toolbar .sort-options .sidebar-select {
        flex: 1;
        min-width: auto;
    }
}

/* Product Search Bar */
.product-search {
    margin-bottom: 20px;
}

.search-wrapper {
    display: flex;
    align-items: center;
    background: var(--white);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 4px;
    transition: var(--transition);
}

.search-wrapper:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

.search-icon {
    padding: 12px;
    font-size: 1.2rem;
}

.product-search-input {
    flex: 1;
    padding: 14px 10px;
    border: none;
    background: transparent;
    font-size: 1rem;
    outline: none;
}

.search-clear {
    padding: 10px 15px;
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
}

.search-clear:hover {
    color: var(--text);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 150px;
}

.filter-group label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-light);
}

.filter-group select {
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    background: var(--white);
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.filter-group select:focus {
    border-color: var(--primary);
}

.filter-reset {
    padding: 12px 25px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-reset:hover {
    background: var(--primary);
    color: var(--white);
}

/* ================== PRODUCT CARDS (NEW UI) ================== */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    padding: 20px 0 50px;
}

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

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
    border-color: #e2e8f0;
}

.product-image {
    position: relative;
    height: 200px;
    background: #ffffff;
    border-radius: 16px 16px 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
    border-bottom: 1px solid #f1f5f9;
}

.product-image a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #10b981;
    color: white;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(16, 185, 129, 0.3);
}

.discount-badge {
    background: #ef4444;
    box-shadow: 0 2px 5px rgba(239, 68, 68, 0.4);
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    background: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    font-size: 1rem;
    z-index: 10;
}

.favorite-btn.active {
    background: #fe9800;
    color: white;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.product-info {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-brand-tag {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
    display: block;
}

.product-name {
    font-size: 0.9rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.5rem;
}

.product-name a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.product-name a:hover {
    color: #7c3aed;
}

.product-tags {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-bottom: 15px;
    overflow-x: auto;
    padding-bottom: 4px;
    /* for scrollbar */
    scrollbar-width: none;
    /* Firefox */
}

.product-tags::-webkit-scrollbar {
    display: none;
    /* Safari and Chrome */
}

.product-tags .tag {
    font-size: 0.65rem;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.tag-weight {
    background: #f1f5f9;
    color: #475569;
}

.tag-type {
    background: #ede9fe;
    color: #7c3aed;
}

.tag-category {
    background: #dcfce7;
    color: #16a34a;
}

.tag-flavor {
    background: #fef3c7;
    color: #d97706;
}

.tag-age {
    background: #e0f2fe;
    color: #0284c7;
}

.tag-condition {
    background: #fdf2f8;
    color: #db2777;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 0.8rem;
}

.stars {
    color: #fbbf24;
    letter-spacing: 1px;
}

.rating-text {
    color: #64748b;
    font-weight: 500;
}

.product-price-section {
    margin-top: auto;
    padding-top: 15px;
    /* border-top removed to match clean UI */
}

.price-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center horizontally */
    margin-bottom: 8px;
}

.price-label {
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.price-value {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    /* darker color */
    line-height: 1.1;
    margin-top: 2px;
}

.discount-price-value {
    color: #ef4444;
}

.regular-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-right: 6px;
}

.price-savings {
    font-size: 0.65rem;
    background: #fef2f2;
    color: #ef4444;
    padding: 3px 6px;
    border-radius: 4px;
    font-weight: 600;
    display: flex;
    align-self: center;
    justify-content: center;
    margin: 0 auto 10px auto;
}

.show-stores-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    color: #475569;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    margin-top: 8px;
}

.show-stores-btn:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
    color: #1e293b;
}

.store-prices-list {
    margin-top: 10px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.store-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    background: #f8fafc;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    margin-bottom: 4px;
    border: none;
    font-size: 12px;
    gap: 12px;
}

.store-price:hover {
    background: #f1f5f9;
}

.store-price.best-price {
    background: #f3e8ff;
}

.store-price.best-price:hover {
    background: #e9d5ff;
}

.store-icon {
    font-size: 0.9rem;
    margin-right: 10px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.store-icon img.store-logo {
    height: 10px !important;
    width: auto;
    max-width: 10px !important;
}

.store-name {
    font-size: 12px;
    font-weight: 600;
    color: #334155;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.best-price .store-name {
    color: #6d28d9;
}

.store-price-value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin-left: 10px;
}

.best-price .store-price-value {
    color: #7c3aed;
}

.store-regular-price {
    font-size: 0.75rem;
    color: #94a3b8;
    text-decoration: line-through;
    margin-left: 6px;
}

.savings-badge {
    font-size: 0.6rem;
    color: #ef4444;
    font-weight: 700;
    margin-left: 6px;
}

/* No Results */
.no-results {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    width: 100%;
}

.no-results p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

/* FAQ Page */
.faq-page {
    padding: 40px 0 60px;
    min-height: calc(100vh - 300px);
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.faq-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-lg);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg);
}

.faq-icon {
    font-size: 1.2rem;
}

.faq-answer {
    padding: 0 25px 0 60px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 25px 20px 60px;
    max-height: 500px;
}

.faq-answer p {
    color: var(--text-light);
    margin-bottom: 12px;
    line-height: 1.7;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 10px 0 15px 20px;
    color: var(--text-light);
}

.faq-answer ul li {
    margin-bottom: 6px;
}

.faq-item.active .faq-question {
    color: var(--primary);
}

.faq-contact {
    max-width: 600px;
    margin: 50px auto 0;
    text-align: center;
    padding: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    color: var(--white);
}

.faq-contact h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.faq-contact p {
    opacity: 0.9;
    margin-bottom: 20px;
}

.faq-contact-btn {
    display: inline-block;
    padding: 12px 30px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.faq-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* How To Compare Page */
.howto-page {
    padding: 40px 0 60px;
    min-height: calc(100vh - 300px);
}

.howto-header {
    text-align: center;
    margin-bottom: 50px;
}

.howto-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.howto-header p {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.steps-section {
    margin-bottom: 60px;
}

.steps-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.steps-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 40px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.step-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px 25px;
    text-align: center;
    box-shadow: var(--shadow);
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 35px;
    height: 35px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.step-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefits-section {
    margin-bottom: 60px;
}

.benefits-section h2 {
    text-align: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 40px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.benefit-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.benefit-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

.cta-section {
    text-align: center;
    padding: 50px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    color: var(--white);
}

.cta-section h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.cta-section p {
    opacity: 0.9;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: var(--white);
    color: var(--primary);
    font-weight: 600;
    font-size: 1.05rem;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* About Page - Updated */
.about-page {
    padding: 40px 0 60px;
    min-height: calc(100vh - 300px);
}

.about-hero {
    text-align: center;
    margin-bottom: 50px;
}

.about-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.about-intro p {
    font-size: 1.1rem;
    color: var(--text);
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-intro strong {
    color: var(--primary);
}

.about-section {
    max-width: 900px;
    margin: 0 auto 50px;
}

.about-section h2 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 20px;
    text-align: center;
}

.about-section>p {
    color: var(--text-light);
    line-height: 1.7;
    text-align: center;
    font-size: 1.05rem;
}

.mission-note {
    margin-top: 15px !important;
    font-style: italic;
    color: var(--text) !important;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.process-step {
    text-align: center;
    padding: 30px 20px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.process-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.process-step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.process-step p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.about-transparency {
    background: #f8f9fa;
    border-radius: var(--radius);
    padding: 50px;
    max-width: 1000px;
    margin: 60px auto;
}

.transparency-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

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

.transparency-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 15px;
}

.transparency-item h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
    text-transform: capitalize;
}

.transparency-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
}

.about-disclaimer {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
    max-width: 900px;
    margin: 50px auto;
}

.disclaimer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 25px;
}

.disclaimer-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    padding: 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.disclaimer-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.disclaimer-item strong {
    display: block;
    color: var(--text);
    font-size: 1rem;
    margin-bottom: 4px;
}

.disclaimer-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

.about-cta {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius);
    color: var(--white);
    max-width: 800px;
    margin: 60px auto;
}

.about-cta h2 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 15px;
}

.about-cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button-secondary {
    display: inline-block;
    padding: 14px 30px;
    background: transparent;
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--white);
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.cta-button-secondary:hover {
    background: var(--white);
    color: var(--primary);
}

/* Contact Page */
.contact-page {
    padding: 40px 0 60px;
    min-height: calc(100vh - 300px);
}

.contact-hero {
    text-align: center;
    margin-bottom: 50px;
}

.contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.contact-hero .hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.contact-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 10px;
}

.contact-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 15px;
}

.contact-email {
    display: inline-block;
    padding: 10px 20px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.contact-email:hover {
    background: var(--primary-dark);
}

.contact-form-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.form-container {
    background: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
}

.form-container>p {
    color: var(--text-light);
    margin-bottom: 25px;
}

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: #f8fafc;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.submit-btn:hover {
    background: var(--primary-dark);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.info-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.info-block h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}

.info-block p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 8px;
}

.info-block a {
    color: var(--primary);
    text-decoration: none;
}

.info-block a:hover {
    text-decoration: underline;
}

.info-note {
    font-size: 0.85rem;
    color: var(--primary) !important;
    font-weight: 500;
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 44px;
    height: 44px;
    background: #f1f5f9;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
    color: var(--white);
}

.faq-shortcut {
    text-align: center;
    background: #f8f9fa;
    border-radius: var(--radius);
    padding: 40px;
}

.faq-shortcut h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.faq-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.faq-link-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    background: var(--white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.faq-link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    color: var(--primary);
}

.faq-link-icon {
    font-size: 1.2rem;
}

@media (max-width: 992px) {
    .contact-options {
        grid-template-columns: 1fr;
    }

    .contact-form-section {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .contact-hero h1 {
        font-size: 2rem;
    }

    .form-container {
        padding: 25px;
    }

    .contact-form .form-row {
        grid-template-columns: 1fr;
    }

    .faq-links {
        flex-direction: column;
    }
}

@media (max-width: 992px) {

    .process-steps,
    .transparency-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    .about-transparency {
        padding: 30px 20px;
    }
}

@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .about-section h2 {
        font-size: 1.4rem;
    }

    .disclaimer-grid {
        grid-template-columns: 1fr;
    }

    .about-cta {
        padding: 40px 20px;
    }

    .about-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 992px) {

    .steps-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .howto-header h1 {
        font-size: 1.8rem;
    }

    .steps-section h2,
    .benefits-section h2 {
        font-size: 1.5rem;
    }

    .cta-section {
        padding: 40px 20px;
    }

    .cta-section h2 {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .faq-header h1 {
        font-size: 1.8rem;
    }

    .faq-question {
        font-size: 0.95rem;
        padding: 15px 20px;
    }

    .faq-answer,
    .faq-item.active .faq-answer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .faq-contact {
        padding: 30px 20px;
    }
}

/* Categories Bar - Before Hero */
.categories-bar {
    background: var(--white);
    padding: 12px 0;
    border-bottom: 1px solid #e2e8f0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    display: none;
    /* Replaced by popular-categories-section */
}

.categories-bar::-webkit-scrollbar {
    display: none;
}

.categories-bar .container {
    max-width: 1200px;
    display: flex;
    align-items: center;
}

.categories-bar-title {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    margin-right: 16px;
    flex-shrink: 0;
}

.categories-bar-grid {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
}

.category-quick-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
}

.category-quick-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.category-quick-link:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.category-quick-link .category-icon {
    font-size: 1.1rem;
}

/* Featured Categories Banner Section */
.popular-categories-section {
    background: var(--white);
    padding: 30px 0;
}

.popular-categories-section .container {
    max-width: 1200px;
}

.popular-categories-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    text-align: center;
    margin-bottom: 24px;
}

.popular-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.popular-category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 20px;
    background: var(--white);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.25s ease;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.popular-category-card:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
}

.popular-cat-icon {
    font-size: 2rem;
}

.popular-cat-highlight {
    background: #fff7ed;
    color: #ea580c;
    border-color: #fed7aa;
}

.popular-cat-highlight:hover {
    background: #ffedd5;
    border-color: #f97316;
    color: #ea580c;
}

@media (max-width: 768px) {
    .popular-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .popular-categories-title {
        font-size: 1.25rem;
    }
}

.featured-categories {
    background: var(--white);
    padding: 40px 0 20px;
}

.featured-categories .container {
    max-width: 1200px;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-title svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary);
}

.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.featured-category-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.featured-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.featured-category-card.featured-perro {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.featured-category-card.featured-gato {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.featured-category-card.featured-ofertas {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.featured-category-card.featured-marcas {
    background: linear-gradient(135deg, #30cfd0 0%, #330867 100%);
}

.featured-category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.featured-category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.featured-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
    z-index: 1;
}

.featured-category-card:hover .featured-category-image img {
    transform: scale(1.1);
}

.featured-category-content {
    position: absolute;
    inset: 0;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    z-index: 2;
}

.featured-category-title {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.featured-category-subtitle {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.9;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

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

    .featured-category-title {
        font-size: 1.1rem;
    }

    .featured-category-subtitle {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .featured-category-card {
        aspect-ratio: 1/1;
    }
}



/* SEO Section - Antes del Footer */
.seo-section {
    background: linear-gradient(135deg, var(--primary-light) 0%, #f0e7ff 100%);
    padding: 60px 0;
    margin-top: 0;
}

.seo-section .container {
    max-width: 1100px;
}

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

.seo-section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.seo-section-title span {
    color: var(--primary);
}

.seo-section-text {
    font-size: 1rem;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 20px;
}

.seo-section-stats {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}

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

.seo-stat-number {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.seo-stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.seo-section-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.seo-section-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.95rem;
    color: var(--text);
}

.seo-section-features li svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.seo-section-right {
    background: var(--white);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-lg);
}

.seo-section-right h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
}

.seo-comparison-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.seo-comparison-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg);
    border-radius: 10px;
}

.seo-comparison-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-light);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.seo-comparison-text {
    flex: 1;
}

.seo-comparison-text strong {
    display: block;
    font-size: 0.95rem;
    color: var(--secondary);
}

.seo-comparison-text span {
    font-size: 0.85rem;
    color: var(--text-light);
}

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

    .seo-section-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .seo-section-stats {
        justify-content: center;
    }
}

/* Footer */
.footer {
    background: #1a1d23;
    color: var(--white);
    padding: 50px 0 20px;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo img {
    height: 32px;
    width: auto;
}

.footer-brand p {
    color: #94a3b8;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 280px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: #2d3139;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

.footer-section h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
    margin-bottom: 18px;
}

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

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

.footer-section ul a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-section ul a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-newsletter p {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

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

.newsletter-form input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #3d424b;
    border-radius: 8px;
    background: #2d3139;
    color: var(--white);
    font-size: 0.9rem;
}

.newsletter-form input::placeholder {
    color: #6b7280;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-form button {
    padding: 10px 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: #e85d04;
}

.footer-bottom {
    border-top: 1px solid #2d3139;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    color: #6b7280;
    font-size: 0.85rem;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #6b7280;
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition);
}

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

.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #6b7280;
    font-size: 0.8rem;
}

.payment-methods span {
    display: flex;
    gap: 6px;
}

.payment-methods svg {
    height: 24px;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }
}

/* Slider Responsive */
@media (max-width: 768px) {
    .hero-slider {
        height: 35vh;
        min-height: 280px;
    }

    .slide h1 {
        font-size: 1.5rem;
    }

    .slide p {
        font-size: 0.9rem;
    }

    .slide-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .hero-slider {
        height: 30vh;
        min-height: 220px;
    }

    .slide h1 {
        font-size: 1.2rem;
    }

    .slide p {
        font-size: 0.8rem;
    }

    .slide-stats {
        gap: 15px;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.7rem;
    }

    .slider-nav {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {

    /* Header Mobile - mostrar versión responsive del header original */
    .header-content {
        flex-wrap: wrap;
        padding: 10px 15px;
        gap: 5px;
        justify-content: space-between;
    }

    .header-content .logo {
        flex: 0 0 auto;
        max-width: 140px;
    }

    .header-content .logo-img {
        width: 100%;
        height: auto;
        max-height: 28px;
    }

    .header-content .search-box {
        order: 3;
        flex: 1 0 100%;
        width: 100%;
        margin-top: 5px;
    }

    .header-content .header-actions {
        order: 2;
        flex: 0 0 auto;
        display: flex;
        gap: 2px;
    }

    .header-content .icon-btn {
        padding: 6px;
    }

    .header-content .icon-btn span {
        display: none;
    }

    .header-content .icon-btn svg {
        width: 20px;
        height: 20px;
    }

    .nav {
        display: none;
    }

    .header-separator {
        display: none;
    }

    /* Mobile Menu Button */
    .mobile-menu-btn {
        display: flex;
    }

    /* Header Mobile Top - solo para index.html */
    .header-mobile-top {
        display: none;
    }

    .hero {
        padding: 40px 20px;
    }

    .header-mobile-top {
        display: flex;
    }

    .header {
        padding: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .header-actions {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .header-actions .icon-btn {
        padding: 8px;
    }

    .header-actions .icon-btn span {
        display: none;
    }

    .header-actions .icon-btn svg {
        width: 22px;
        height: 22px;
    }

    .header-search-row {
        display: block;
    }

    .search-box {
        width: 100%;
    }

    .search-box input {
        font-size: 1rem;
    }

    .nav {
        display: none;
    }

    .header-separator {
        display: none;
    }

    .hero {
        padding: 40px 20px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .hero p {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .main-layout {
        flex-direction: column;
        padding: 20px;
    }

    .sidebar {
        width: 100%;
        padding: 0;
    }

    .products-grid {
        padding: 0 10px 50px;
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav {
        display: none;
    }

    /* Favorites Dropdown Mobile */
    .header-actions .favorites-dropdown {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 320px;
        padding: 20px;
        right: auto;
    }

    .header-actions .favorites-dropdown::before {
        display: none;
    }

    .header-actions .favorites-btn-wrapper:hover .favorites-dropdown,
    .header-actions .favorites-btn-wrapper:focus-within .favorites-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translate(-50%, -50%);
    }

    .favorites-dropdown .favorites-modal-icon {
        width: 40px;
        height: 40px;
        margin: 0 auto 12px;
    }

    .favorites-dropdown h3 {
        font-size: 0.9rem;
        margin-bottom: 12px;
    }

    .favorites-dropdown .favorites-modal-list {
        margin-bottom: 16px;
    }

    .favorites-dropdown .favorites-modal-list li {
        font-size: 0.8rem;
        margin-bottom: 8px;
    }

    .favorites-dropdown .favorites-modal-btn {
        width: 100%;
        padding: 10px;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.3rem;
    }

    .hero-stats {
        gap: 20px;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* Catalog Product Card Styles */
.catalog-products .product-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

.catalog-products .product-card:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.catalog-products.products-grid .product-image,
.catalog-products .product-image {
    height: 180px !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    padding: 15px !important;
    overflow: hidden !important;
    border-radius: 0 !important;
}

.catalog-products.products-grid .product-image img,
.catalog-products .product-image img {
    max-width: 100% !important;
    max-height: 150px !important;
    object-fit: contain !important;
}

.catalog-products .product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    text-align: left;
    background: transparent !important;
}

.catalog-products .product-brand-tag {
    text-align: left;
    font-size: 15px;
    font-weight: 800;
}

/* Removed product-name override */

/* Removed product-name a override */

/* Removed product-name a hover override */

.catalog-products .favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.catalog-products .favorite-btn:hover {
    transform: scale(1.1);
}

.favorite-btn {
    position: absolute;
    top: 8px;
    right: 8px;
    background: white;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

.favorite-btn:hover {
    transform: scale(1.1);
}

.catalog-products .product-emoji {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
}

.catalog-products .product-info {
    padding: 15px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.catalog-products .product-category {
    font-size: 0.65rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
    background: transparent !important;
}

.product-brand-tag {
    font-size: 0.62rem;
    font-weight: 800;
    color: #7c3aed;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
    display: block;
}

.product-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    justify-content: center;
    margin-bottom: 8px;
}

.product-tags .tag {
    font-size: 0.7rem;
    padding: 4px 8px;
    border-radius: 20px;
    white-space: nowrap;
}

.product-tags .tag-weight {
    background: #f1f5f9;
    color: #475569;
}

.product-tags .tag-type {
    background: #ede9fe;
    color: #7c3aed;
}

.product-tags .tag-category {
    background: #dcfce7;
    color: #16a34a;
}

.product-tags .tag-flavor {
    background: #fef3c7;
    color: #92400e;
}

.product-tags .tag-age {
    background: #e0f2fe;
    color: #0369a1;
}

/* Removed product-name override */

/* Removed product-name a override */

/* Removed product-name a hover override */

/* Removed product-image a override */

/* Removed product-image a hover override */

.catalog-products .product-weight-display {
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 4px;
    padding: 2px 8px;
    background: #f1f5f9;
    border-radius: 4px;
    display: inline-block;
}

.catalog-products .product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 6px;
    justify-content: center;
}

.catalog-products .stars {
    color: #fbbf24;
    font-size: 0.75rem;
}

.catalog-products .rating-text {
    font-size: 0.65rem;
    color: #64748b;
}

/* Removed product-price-section override */

/* Removed price-value override */

/* Removed show-stores-btn override */

/* Removed show-stores-btn hover override */

/* Removed product-brand override */

/* Removed product-name override */

/* Removed product-name a override */

/* Removed product-name a hover override */

/* Removed product-image a override */

/* Override for catalog product images */
.REMOVED_IMAGE,
.REMOVED_IMAGE_CAT {
    height: 140px !important;
    background: #ffffff !important;
    border-radius: 0 !important;
}

.REMOVED_IMAGE img {
    max-width: 100% !important;
    max-height: 140px !important;
    object-fit: contain !important;
}

/* Favoritos page grid */
#favoritesGrid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 20px !important;
    padding: 0 20px 50px !important;
    width: 100% !important;
}

#favoritesGrid .product-card {
    display: flex !important;
    flex-direction: column !important;
}

/* Single Product Page - Nuevo diseño */
.single-product-layout {
    display: grid;
    grid-template-columns: 320px 1fr 550px;
    gap: 30px;
    margin-bottom: 50px;
    width: 100%;
}

.single-product-image {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.sp-image-main {
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 20px;
}

.sp-image-main img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.sp-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sp-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.sp-action-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.sp-action-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.sp-action-alert {
    background: #fffbeb;
    border-color: #fcd34d;
}

.sp-login-prompt {
    margin-top: 15px;
    padding: 15px;
    background: #f0f9ff;
    border-radius: 10px;
    text-align: center;
    font-size: 0.85rem;
}

.sp-login-prompt p {
    color: var(--text-light);
    margin: 0;
}

.sp-login-prompt a {
    color: var(--primary);
    font-weight: 600;
}

.single-product-info {
    padding: 10px 0;
}

.sp-brand {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.sp-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    line-height: 1.4;
}

.sp-rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: opacity 0.2s;
}

.sp-rating:hover {
    opacity: 0.8;
}

.sp-stars {
    color: #fbbf24;
    font-size: 1.1rem;
}

.sp-rating-text {
    color: var(--text-light);
    font-size: 0.9rem;
    text-decoration: underline;
}

.sp-short-desc {
    margin-bottom: 20px;
}

.sp-short-desc p {
    color: var(--text);
    line-height: 1.6;
    font-size: 0.95rem;
}

.sp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 25px;
}

.sp-tag {
    display: inline-block;
    padding: 5px 12px;
    background: #f1f5f9;
    color: var(--text-light);
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.sp-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
}

.sp-spec {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.sp-spec-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

.sp-spec-value {
    font-weight: 600;
    color: var(--secondary);
}

.single-product-prices {
    background: white;
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.sp-prices-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 20px;
    text-align: center;
}

.sp-prices-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.sp-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: #f8fafc;
    border-radius: 12px;
    transition: all 0.2s;
    gap: 15px;
    flex-wrap: nowrap;
    min-width: 0;
}

.sp-price-row>* {
    min-width: 0;
}

.sp-price-row:hover {
    background: var(--primary-light);
}

.sp-price-row.best {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid #22c55e;
}

.sp-store-info {
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 160px;
}

.sp-store-icon {
    font-size: 1.5rem;
}

.sp-store-icon img.store-logo {
    height: 24px !important;
    width: auto;
    max-width: 70px !important;
    object-fit: contain;
}

.sp-store-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 1rem;
}

.sp-store-price {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    justify-content: flex-end;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.sp-price-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--secondary);
}

.sp-price-value.discounted {
    color: #ef4444;
}

.sp-regular-price {
    font-size: 0.85rem;
    color: #94a3b8;
    text-decoration: line-through;
}

.sp-discount-badge,
.sp-savings-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: white;
    background: #ef4444;
    padding: 3px 8px;
    border-radius: 12px;
}

.sp-best-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: #15803d;
    background: #bbf7d0;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.sp-store-btn {
    padding: 12px 24px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: background 0.2s;
    white-space: nowrap;
    min-width: 100px;
    text-align: center;
}

.sp-store-btn:hover {
    background: var(--primary-dark);
}

.sp-price-disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
}

/* Price History */
.price-history {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e2e8f0;
}

.price-history-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 15px;
    text-align: center;
}

.price-history-chart {
    height: 180px;
    background: #fafafa;
    border-radius: 12px;
    margin-bottom: 15px;
    position: relative;
    padding: 15px;
}

.chart-y-axis {
    position: absolute;
    left: 10px;
    top: 15px;
    bottom: 35px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #94a3b8;
}

.chart-area {
    position: absolute;
    left: 45px;
    right: 15px;
    top: 15px;
    bottom: 35px;
}

.chart-line-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.simple-chart-line {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(to top, rgba(124, 58, 237, 0.1) 0%, rgba(124, 58, 237, 0.05) 50%, transparent 100%);
    border-radius: 8px;
}

.simple-chart-svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.chart-data-point {
    position: absolute;
    width: 12px;
    height: 12px;
    background: #7c3aed;
    border: 3px solid white;
    border-radius: 50%;
    transform: translate(-50%, 50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    z-index: 5;
}

.chart-data-point.current {
    background: #22c55e;
    width: 14px;
    height: 14px;
}

.chart-tooltip {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #1e293b;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
}

.chart-data-point:hover .chart-tooltip,
.chart-data-point.current .chart-tooltip {
    opacity: 1;
}

.chart-x-axis {
    position: absolute;
    left: 45px;
    right: 15px;
    bottom: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #64748b;
    font-weight: 500;
}

.price-history-summary {
    display: flex;
    justify-content: space-around;
    gap: 10px;
}

.history-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 10px 15px;
    background: #f8fafc;
    border-radius: 8px;
    flex: 1;
}

.history-label {
    font-size: 0.7rem;
    color: var(--text-light);
    text-transform: uppercase;
    font-weight: 500;
}

.history-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--secondary);
}

.history-value.low {
    color: #16a34a;
}

.history-value.high {
    color: #dc2626;
}

/* Reviews Section */
.product-reviews-section {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.product-reviews-section h2 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.reviews-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 30px;
}

/* Columna izquierda - Valoración general */
.reviews-left {
    padding-right: 20px;
    border-right: 1px solid #e2e8f0;
}

.reviews-overview {
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.overview-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.overview-score {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1;
}

.overview-stars {
    color: #fbbf24;
    font-size: 1.3rem;
    letter-spacing: 2px;
}

.overview-count {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 5px;
}

/* Barras de breakdown */
.reviews-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breakdown-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.breakdown-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    color: var(--secondary);
    min-width: 70px;
}

.breakdown-label .star {
    color: #fbbf24;
}

.breakdown-bar {
    flex: 1;
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
}

.breakdown-bar-fill {
    height: 100%;
    background: #fbbf24;
    border-radius: 4px;
    transition: width 0.3s ease;
}

.breakdown-count {
    font-size: 0.8rem;
    color: var(--text-light);
    min-width: 30px;
    text-align: right;
}

/* Columna derecha */
.reviews-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.reviews-form {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
}

.reviews-form h3 {
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 60px;
    resize: vertical;
}

.star-rating-input {
    display: flex;
    gap: 3px;
    font-size: 1.4rem;
    cursor: pointer;
}

.star-rating-input .star {
    color: #e2e8f0;
    transition: color 0.2s;
}

.star-rating-input .star.active,
.star-rating-input .star:hover {
    color: #fbbf24;
}

.submit-review-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-review-btn:hover {
    background: var(--primary-dark);
}

.reviews-login-prompt {
    text-align: center;
    color: var(--text-light);
    padding: 15px;
    background: #f0f9ff;
    border-radius: 8px;
    font-size: 0.9rem;
}

.reviews-login-prompt p {
    margin: 0;
}

.reviews-login-prompt a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.reviews-login-prompt a:hover {
    text-decoration: underline;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-item {
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.8rem;
}

.review-text {
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.7rem;
    color: var(--text-light);
}

.no-reviews {
    text-align: center;
    color: var(--text-light);
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .reviews-layout {
        grid-template-columns: 1fr;
    }

    .reviews-left {
        padding-right: 0;
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
        padding-bottom: 20px;
        margin-bottom: 20px;
    }
}

.product-reviews-section h2 {
    font-size: 1.1rem;
    color: var(--secondary);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.reviews-summary {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 15px;
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.reviews-average {
    display: flex;
    align-items: center;
    gap: 8px;
}

.average-score {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--secondary);
}

.average-stars {
    color: #fbbf24;
    font-size: 1rem;
}

.average-count {
    color: var(--text-light);
    font-size: 0.8rem;
}

.reviews-form {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

.reviews-form h3 {
    font-size: 0.95rem;
    color: var(--secondary);
    margin-bottom: 12px;
}

.form-group {
    margin-bottom: 10px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 5px;
    font-size: 0.85rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.85rem;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 60px;
    resize: vertical;
}

.star-rating-input {
    display: flex;
    gap: 3px;
    font-size: 1.4rem;
    cursor: pointer;
}

.star-rating-input .star {
    color: #e2e8f0;
    transition: color 0.2s;
}

.star-rating-input .star.active,
.star-rating-input .star:hover {
    color: #fbbf24;
}

.submit-review-btn {
    padding: 10px 20px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.submit-review-btn:hover {
    background: var(--primary-dark);
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.review-item {
    padding: 12px 15px;
    background: #f8fafc;
    border-radius: 8px;
}

.review-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.review-name {
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.9rem;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.8rem;
}

.review-text {
    color: var(--text);
    line-height: 1.5;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.review-date {
    font-size: 0.7rem;
    color: var(--text-light);
}

.no-reviews {
    text-align: center;
    color: var(--text-light);
    padding: 20px;
    font-size: 0.9rem;
}

.reviews-login-prompt {
    text-align: center;
    color: var(--text-light);
    padding: 15px;
    background: #f0f9ff;
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.reviews-login-prompt p {
    margin: 0;
}

.reviews-login-prompt a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.reviews-login-prompt a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1400px) {
    .single-product-layout {
        grid-template-columns: 300px 1fr 500px;
        gap: 25px;
    }
}

@media (max-width: 1200px) {
    .single-product-layout {
        grid-template-columns: 260px 1fr 450px;
        gap: 20px;
    }
}

@media (max-width: 992px) {
    .product-page {
        padding: 0 10px;
    }

    .single-product-layout {
        grid-template-columns: 1fr;
        /* Una sola columna en tablet/móvil */
        gap: 20px;
        margin-bottom: 30px;
    }

    .single-product-image,
    .single-product-prices {
        position: static;
        /* Quitamos el sticky en móvil */
        width: 100%;
    }

    .sp-image-main {
        max-width: 350px;
        margin-left: auto;
        margin-right: auto;
        padding: 15px;
    }

    .sp-specs-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .sp-price-row {
        padding: 15px;
    }

    .container-wide {
        padding: 0 10px;
    }
}

@media (max-width: 768px) {
    .sp-title {
        font-size: 1.4rem;
        text-align: center;
        padding: 0 10px;
    }

    .sp-brand {
        display: block;
        width: fit-content;
        margin: 0 auto 12px;
    }

    .sp-rating {
        justify-content: center;
    }

    .sp-short-desc {
        text-align: center;
        padding: 0 15px;
    }

    .sp-tags {
        justify-content: center;
    }

    /* Especificaciones superiores */
    .sp-specs-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 15px;
        margin: 10px;
    }

    /* Tiendas y Precios - CORRECCIÓN DE SOLAPAMIENTO */
    .sp-price-row {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 15px;
        width: 100%;
    }

    .sp-store-info {
        justify-content: center;
        width: 100%;
        min-width: 0;
        flex-direction: column;
        gap: 8px;
    }

    .sp-store-price {
        justify-content: center;
        width: 100%;
        font-size: 1.15rem;
        flex-direction: column;
        gap: 5px;
    }

    .sp-price-value {
        font-size: 1.4rem;
        display: block;
    }

    .sp-store-btn {
        width: 100%;
        padding: 15px;
        font-size: 1.1rem;
        display: block;
        margin-top: 5px;
    }

    /* Tabla de Especificaciones Técnicas (inferior) */
    .specs-table {
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        overflow: hidden;
    }

    .spec-row {
        display: flex;
        flex-direction: column;
        padding: 12px 15px;
        border-bottom: 1px solid #f1f5f9;
        text-align: left;
    }

    .spec-row:last-child {
        border-bottom: none;
    }

    .spec-name {
        font-weight: 700;
        color: var(--secondary);
        font-size: 0.8rem;
        text-transform: uppercase;
        margin-bottom: 4px;
    }

    .spec-data {
        color: var(--text);
        font-size: 1rem;
    }

    /* Reviews */
    .reviews-summary {
        flex-direction: column;
        text-align: center;
    }
}

/* Medium screens - laptop 15" */
@media (max-width: 1200px) {
    .sp-price-row {
        padding: 12px 15px;
        gap: 10px;
    }

    .sp-store-info {
        min-width: 120px;
        gap: 10px;
    }

    .sp-store-price {
        gap: 6px;
    }

    .sp-price-value {
        font-size: 1.1rem;
    }

    .sp-regular-price {
        font-size: 0.75rem;
    }

    .sp-store-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
}

/* Report Error Page */
.report-page {
    padding: 40px 0 60px;
    min-height: calc(100vh - 300px);
}

.report-hero {
    text-align: center;
    margin-bottom: 50px;
}

.report-hero-icon {
    font-size: 4rem;
    margin-bottom: 15px;
}

.report-hero h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.report-hero .hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.report-categories {
    margin-bottom: 50px;
}

.report-categories h2 {
    text-align: center;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 25px;
}

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

.category-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    text-align: center;
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.category-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 8px;
}

.category-card p {
    font-size: 0.85rem;
    color: var(--text-light);
    margin: 0;
}

.report-form-section {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.report-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.report-form .form-group {
    margin-bottom: 20px;
}

.report-form .form-group label {
    display: block;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.report-form .form-group input,
.report-form .form-group textarea,
.report-form .form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text);
    background: #f8fafc;
    transition: var(--transition);
}

.report-form .form-group input:focus,
.report-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.file-upload {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
}

.file-upload:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.file-upload input {
    display: none;
}

.file-upload p {
    color: var(--text);
    font-weight: 500;
    margin-bottom: 5px;
}

.file-upload span {
    font-size: 0.8rem;
    color: var(--text-light);
}

.form-check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
}

.form-check input {
    margin-top: 3px;
}

.form-check label {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
}

.report-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.report-info .info-block {
    background: var(--white);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
}

.report-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}

.report-info ol,
.report-info ul {
    margin: 0;
    padding-left: 20px;
}

.report-info li {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.8;
}

.report-info strong {
    color: var(--text);
}

.info-urgent {
    background: #fef3c7 !important;
    border: 1px solid #f59e0b;
}

.info-urgent p {
    color: #92400e;
    font-size: 0.9rem;
    line-height: 1.6;
}

.info-urgent a {
    color: var(--primary);
    font-weight: 600;
}

.report-tips {
    background: #f8fafc;
    border-radius: var(--radius);
    padding: 40px;
    margin-bottom: 40px;
}

.report-tips h3 {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 25px;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.tip-card {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.tip-number {
    width: 30px;
    height: 30px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.tip-card strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.tip-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.5;
}

.report-alternatives {
    text-align: center;
}

.report-alternatives h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 20px;
}

.alternatives-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.alternative-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px 30px;
    background: var(--white);
    border-radius: var(--radius);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.alternative-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.alternative-card span {
    font-size: 2rem;
}

.alternative-card strong {
    display: block;
    color: var(--text);
    font-size: 0.95rem;
}

.alternative-card p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin: 0;
}

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

    .report-form-section {
        grid-template-columns: 1fr;
    }

    .tips-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .report-hero h1 {
        font-size: 2rem;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .report-form .form-row {
        grid-template-columns: 1fr;
    }

    .alternatives-grid {
        flex-direction: column;
    }
}

/* Legal Pages (Terms, Privacy, Cookies) */
.legal-page {
    padding: 40px 0 60px;
    min-height: calc(100vh - 300px);
}

.legal-header {
    text-align: center;
    margin-bottom: 50px;
}

.legal-header h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
}

.last-update {
    color: var(--text-light);
    font-size: 0.95rem;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    background: var(--white);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow);
}

.legal-section h2 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary);
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 15px;
}

.legal-section strong {
    color: var(--text);
}

.legal-section ul {
    margin: 10px 0 15px 20px;
    color: var(--text-light);
}

.legal-section ul li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.legal-section a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.legal-section a:hover {
    text-decoration: underline;
}

.contact-info {
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.legal-nav {
    max-width: 800px;
    margin: 40px auto;
    text-align: center;
}

.legal-nav h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 15px;
}

.legal-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-links a {
    padding: 10px 20px;
    background: var(--white);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    font-weight: 500;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .legal-header h1 {
        font-size: 2rem;
    }

    .legal-section {
        padding: 20px;
    }

    .legal-section h2 {
        font-size: 1.1rem;
    }

    .legal-links {
        flex-direction: column;
    }
}

/* Feedback Widget - Like Idealo */
.feedback-widget {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
}

.feedback-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 0 8px 8px 0;
    /* Invertido para que al rotar quede curvo hacia adentro */
    cursor: pointer;
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    box-shadow: 2px -2px 10px rgba(0, 0, 0, 0.2);
    /* Sombra ajustada a la derecha */
    transition: var(--transition);
}

@media (max-width: 768px) {
    .feedback-toggle {
        padding: 8px 6px;
        font-size: 0.75rem;
        gap: 4px;
    }

    .feedback-toggle svg {
        width: 18px;
        height: 18px;
    }
}

.feedback-toggle:hover {
    padding-right: 20px;
    background: var(--primary-dark);
}

.feedback-toggle span {
    margin: 8px 0;
}

.feedback-popup {
    position: fixed;
    right: -380px;
    top: 50%;
    transform: translateY(-50%);
    width: 360px;
    max-height: 80vh;
    background: var(--white);
    border-radius: 12px 0 0 12px;
    /* Curvas hacia el centro, recto hacia el borde */
    box-shadow: -5px 0 30px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: right 0.3s ease;
    overflow: hidden;
}

.feedback-popup.active {
    right: 20px;
}

.feedback-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: var(--primary);
    color: var(--white);
}

.feedback-popup-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.feedback-close {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: var(--transition);
}

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

.feedback-popup-content {
    padding: 20px;
    max-height: auto;
    overflow-y: auto;
}

.feedback-option {
    display: flex;
    gap: 15px;
    padding: 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: var(--transition);
}

.feedback-option:last-child {
    margin-bottom: 0;
}

.feedback-option:hover {
    border-color: var(--primary);
    background: #f8fafc;
}

.feedback-option-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.feedback-option-text h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.feedback-option-text p {
    font-size: 0.8rem;
    color: var(--text-light);
    line-height: 1.4;
    margin: 0;
}

.feedback-form {
    padding: 20px;
}

.feedback-form-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.feedback-back {
    background: none;
    border: none;
    color: var(--primary);
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feedback-back:hover {
    color: var(--primary-dark);
}

.feedback-form-header h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
}

.feedback-form .form-group {
    margin-bottom: 15px;
}

.feedback-form .form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 6px;
}

.feedback-form .form-group input,
.feedback-form .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text);
    background: #f8fafc;
    transition: var(--transition);
}

.feedback-form .form-group input:focus,
.feedback-form .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
}

.feedback-form .form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.feedback-submit-btn {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
}

.feedback-submit-btn:hover {
    background: var(--primary-dark);
}

.feedback-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

@media (max-width: 480px) {
    .feedback-popup {
        right: -320px;
        width: 300px;
        /* Tamaño reducido estilo panel lateral */
        max-height: 90vh;
        top: 50%;
        transform: translateY(-50%);
        border-radius: 12px 0 0 12px;
    }

    .feedback-popup.active {
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .feedback-popup-header {
        padding: 15px;
    }

    .feedback-popup-header h3 {
        font-size: 1rem;
    }

    .feedback-popup-content,
    .feedback-form {
        padding: 15px;
    }

    .feedback-option {
        padding: 12px;
        gap: 10px;
    }

    .feedback-option-icon {
        font-size: 1.4rem;
    }

    .feedback-option-text h4 {
        font-size: 0.85rem;
    }

    .feedback-submit-btn {
        padding: 10px;
        font-size: 0.9rem;
    }
}

.favorites-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.favorites-modal {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    transform: scale(0.9);
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

.favorites-modal-overlay.active .favorites-modal {
    transform: scale(1);
}

.favorites-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.favorites-modal-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary);
}

.favorites-modal h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--secondary);
    margin-bottom: 20px;
}

.favorites-modal-list {
    text-align: left;
    margin-bottom: 24px;
}

.favorites-modal-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text);
    margin-bottom: 12px;
}

.favorites-modal-list .check-icon {
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.favorites-modal-list .check-icon svg {
    width: 12px;
    height: 12px;
    stroke: white;
    stroke-width: 3;
}

.favorites-modal-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    margin-bottom: 16px;
}

.favorites-modal-btn:hover {
    background: var(--primary-dark);
}

.favorites-modal-footer {
    font-size: 0.85rem;
    color: var(--text-light);
}

.favorites-modal-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.favorites-modal-footer a:hover {
    text-decoration: underline;
}

.favorites-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.favorites-modal-close:hover {
    background: var(--bg);
}

.favorites-modal-close svg {
    width: 20px;
    height: 20px;
    stroke: var(--text-light);
}

.favorites-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--secondary);
    color: white;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 90%;
}

.favorites-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.favorites-toast-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.favorites-toast-text {
    flex: 1;
}

.favorites-toast-link {
    color: #ffd700;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.favorites-toast-link:hover {
    text-decoration: underline;
}

/* Auth Modal Styles */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal {
    background: white;
    border-radius: 16px;
    padding: 32px;
    width: 90%;
    max-width: 420px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.auth-modal-overlay.active .auth-modal {
    transform: translateY(0) scale(1);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #f5f5f5;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.auth-modal-close:hover {
    background: #e0e0e0;
}

.auth-modal-close svg {
    width: 18px;
    height: 18px;
    stroke: #666;
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 28px;
}

.auth-modal-icon {
    font-size: 48px;
    margin-bottom: 12px;
}

.auth-modal-header h3 {
    font-size: 1.5rem;
    color: var(--text-dark);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.auth-modal-header p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.auth-modal form {
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.auth-submit-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.auth-submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.auth-modal-footer {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

.auth-modal-footer a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
}

.auth-modal-footer a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .auth-modal {
        padding: 24px;
        margin: 16px;
    }

    .auth-modal-header h3 {
        font-size: 1.3rem;
    }
}

.password-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.password-input-wrapper input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.password-toggle svg {
    width: 22px;
    height: 22px;
    stroke: #888;
}

.password-toggle:hover svg {
    stroke: var(--primary);
}

/* User Profile Styles */
.user-profile-wrapper {
    position: relative;
}

.user-profile-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: var(--primary-light);
    border-radius: 50px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.2s ease;
    cursor: pointer;
}

.user-profile-btn:hover {
    background: var(--primary);
    color: white;
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
}

.user-profile-btn:hover .user-avatar {
    background: white;
    color: var(--primary);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
    overflow: hidden;
}

.user-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: block;
    padding: 14px 20px;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.15s ease;
}

.user-dropdown a:first-child {
    border-bottom: 1px solid #eee;
}

.user-dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.user-dropdown a:last-child {
    color: #e74c3c;
}

.user-dropdown a:last-child:hover {
    background: #fee;
    color: #e74c3c;
}

@media (max-width: 768px) {
    .user-profile-btn span {
        display: none;
    }

    .user-profile-btn {
        padding: 8px;
    }

    .user-avatar {
        width: 32px;
        height: 32px;
    }
}

.favorites-view-all {
    display: block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 10px;
}

.favorites-view-all:hover {
    text-decoration: underline;
}

.favorites-count-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
}

.favorites-btn-wrapper {
    position: relative;
}

.favorites-btn-wrapper .icon-btn {
    position: relative;
}

/* Productos Relacionados */
.related-products {
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 40px;
}

.related-products h2 {
    font-size: 1.5rem;
    color: var(--secondary);
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.related-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

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

.related-image {
    width: 100%;
    height: 140px;
    object-fit: contain;
    padding: 12px;
    background: #f8fafc;
}

.related-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.related-info {
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.related-brand {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.related-name {
    font-size: 0.85rem;
    color: #1e293b;
    line-height: 1.3;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.related-price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--secondary);
}

.related-price span {
    font-weight: 400;
    color: #64748b;
    font-size: 0.75rem;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 40px;
    padding: 24px 0;
    flex-wrap: wrap;
}

.pagination-container {
    background: white;
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    margin-top: 20px;
}

.page-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border: 2px solid #e2e8f0;
    background: white;
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.15);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.page-btn.active:hover {
    background: #6d28d9;
    border-color: #6d28d9;
    transform: translateY(-2px);
}



.page-ellipsis {
    color: #94a3b8;
    font-weight: 600;
    padding: 0 4px;
}

.pagination .page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.pagination .page-btn:disabled:hover {
    border-color: #e2e8f0;
    color: #475569;
    box-shadow: none;
}

/* Responsive pagination */
@media (max-width: 480px) {
    .pagination {
        gap: 6px;
    }

    .page-btn {
        min-width: 36px;
        height: 36px;
        font-size: 0.8rem;
        padding: 0 8px;
    }
}

/* Responsive */
@media (max-width: 1024px) {
    .related-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .related-grid {
        grid-template-columns: 1fr;
    }
}


/* ─── Admin Floating Edit Button (superadmin only, product page) ─── */
.admin-floating-edit-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: white;
    padding: 12px 22px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Inter', 'Poppins', sans-serif;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(124, 58, 237, 0.4);
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    animation: adminBtnFadeIn 0.4s ease-out;
}

.admin-floating-edit-btn:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 32px rgba(124, 58, 237, 0.5);
    background: linear-gradient(135deg, #6d28d9, #9333ea);
    color: white;
}

.admin-floating-edit-btn:active {
    transform: translateY(0) scale(0.98);
}

@keyframes adminBtnFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 480px) {
    .admin-floating-edit-btn {
        bottom: 16px;
        right: 16px;
        padding: 10px 18px;
        font-size: 0.82rem;
    }
}

/* Newsletter Popup */
.newsletter-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.newsletter-popup-overlay.active {
    display: flex;
}

.newsletter-popup {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: newsletterPopupSlide 0.4s ease;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@keyframes newsletterPopupSlide {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.newsletter-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    color: #64748b;
}

.newsletter-popup-close:hover {
    background: #e2e8f0;
    color: #334155;
}

.newsletter-popup-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.newsletter-popup h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
}

.newsletter-popup p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 25px;
}

.newsletter-popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-popup-form input {
    padding: 14px 18px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.newsletter-popup-form input:focus {
    outline: none;
    border-color: #7c3aed;
}

.newsletter-popup-form button {
    padding: 14px 24px;
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.newsletter-popup-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.4);
}

.newsletter-popup-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

#newsletterPopupMsg {
    margin-top: 12px;
    font-size: 0.9rem;
    min-height: 20px;
}

#newsletterPopupMsg.success {
    color: #16a34a;
}

#newsletterPopupMsg.error {
    color: #dc2626;
}

.newsletter-popup-skip {
    margin-top: 15px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.2s;
}

.newsletter-popup-skip:hover {
    color: #64748b;
}

@media (max-width: 480px) {
    .newsletter-popup {
        padding: 30px 25px;
    }

    .newsletter-popup h3 {
        font-size: 1.2rem;
    }
}

/* Thematic Slide Layout */
.slide-thematic {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
}

.slide-content-split {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1200px !important;
    width: 90%;
    margin: 0 auto;
    text-align: left !important;
}

.slide-text {
    flex: 1;
    color: white;
}

.slide-text h2 {
    font-size: 2.2rem !important;
    margin-bottom: 15px !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    color: white !important;
}

.slide-text p {
    font-size: 1.1rem !important;
    margin-bottom: 20px !important;
    max-width: none !important;
    margin-left: 0 !important;
    color: rgba(255, 255, 255, 0.9) !important;
}

.slide-badge-alt {
    display: inline-block;
    background: #fbbf24;
    color: #1e293b;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.slide-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
}

.slide-features li {
    margin-bottom: 8px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
}

.slide-btn-primary {
    display: inline-block;
    padding: 12px 28px;
    background: white;
    color: #7c3aed;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.slide-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Slide Products Grid */
.slide-products-grid {
    flex: 1.2;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    align-items: center;
    max-width: 500px;
}

.slide-mini-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none;
    color: #1e293b;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    height: 100%;
    min-height: 220px;
    justify-content: space-between;
}

.slide-mini-card:hover {
    transform: translateY(-5px);
    background: white;
}

.slide-mini-img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 12px;
}

.slide-mini-name {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
    color: #1e293b;
}

.slide-mini-price {
    color: #7c3aed;
    font-weight: 800;
    font-size: 1.25rem;
    margin-top: 10px;
}

.slide-mini-tag {
    font-size: 0.75rem;
    background: #f1f5f9;
    padding: 4px 12px;
    border-radius: 12px;
    margin-top: 10px;
    color: #64748b;
}

/* Mobile adjustments */
@media (max-width: 992px) {
    .slide-content-split {
        flex-direction: column;
        text-align: center !important;
        padding: 40px 20px;
        gap: 20px;
    }

    .slide-text p {
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .slide-features {
        display: none;
    }

    .slide-products-grid {
        width: 100%;
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .slide-text h2 {
        font-size: 1.6rem !important;
    }

    .slide-text p {
        font-size: 0.9rem !important;
    }

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

    .slide-mini-card {
        padding: 12px;
        min-height: 160px;
    }

    .slide-mini-img {
        width: 60px;
        height: 60px;
    }

    .slide-mini-name {
        font-size: 0.75rem;
    }

    .slide-mini-price {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .slide-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}