/* ========================================
   TEMPLATE MODERN - Diseño Premium 2025
   v2025-02-producto-2col (desktop: imagen izq, info der)
======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Colores principales */
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #A5B4FC;
    --secondary: #EC4899;

    /* Backgrounds */
    --bg: #FAFAFA;
    --bg-card: #FFFFFF;
    --bg-dark: #0F172A;

    /* Textos */
    --text: #1E293B;
    --text-muted: #64748B;
    --text-light: #94A3B8;

    /* Bordes y sombras */
    --border: #E2E8F0;
    --border-light: #F1F5F9;

    /* Radios */
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Sombras */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);

    /* Utils */
    --light-gray: #f3f4f6;

    /* TipografÃƒÂ­a */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Container */
    --container-width: 1280px;

    /* Transitions */
    --transition: all 0.2s ease;
    --transition-slow: all 0.3s ease;
}

/* ========== IDENTIDAD NATURAL: tierra, marrón y verde, cálido ========== */
body.theme-natural {
    background: #faf8f5 !important;
    color: #3a372e !important;
    font-family: 'Inter', sans-serif !important;
}
body.theme-natural .site-header.store-header {
    background: var(--primary) !important;
    border-bottom: none !important;
    padding: 14px 0 !important;
}
/* Contraste menú: evitar barra blanca con texto claro; nav integrado al header con texto legible */
body.theme-natural .site-header.store-header .desktop-nav {
    background: rgba(255,255,255,0.15) !important;
    border-color: rgba(255,255,255,0.35) !important;
}
body.theme-natural .site-header.store-header .logo a,
body.theme-natural .site-header.store-header .desktop-nav a,
body.theme-natural .site-header.store-header .icon-link {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.15) !important;
}
body.theme-natural .site-header.store-header .desktop-nav a:hover,
body.theme-natural .site-header.store-header .logo a:hover {
    color: #fff !important;
    background: rgba(255,255,255,0.25) !important;
}
body.theme-natural .site-header.store-header .desktop-nav a.active {
    color: var(--primary) !important;
    background: #fff !important;
}
body.theme-natural .site-header.store-header .icon-link:hover {
    color: #fff !important;
    opacity: 0.9;
}
body.theme-natural .btn,
body.theme-natural button[type="submit"],
body.theme-natural .product-card .btn {
    background: var(--primary) !important;
    color: #fff !important;
    border: none !important;
    font-weight: 600 !important;
    border-radius: 12px !important;
    padding: 12px 24px !important;
}
body.theme-natural .btn:hover,
body.theme-natural button[type="submit"]:hover {
    background: var(--secondary) !important;
    color: #fff !important;
}
body.theme-natural .section-title,
body.theme-natural .hero-title,
body.theme-natural h1, body.theme-natural h2 {
    color: var(--primary) !important;
}
body.theme-natural .product-card {
    border: 1px solid #e0ddd8 !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}
body.theme-natural .product-card:hover {
    border-color: var(--secondary) !important;
    box-shadow: 0 8px 28px rgba(0,0,0,0.12) !important;
}
/* La config del cliente (colores/barra) sobrescribe: sin !important para que los estilos inline ganen */
body.theme-natural .announcement-bar {
    background: var(--primary);
    color: #fff;
}
/* Secciones, features, iconos - identidad Natural */
body.theme-natural .section {
    padding: 3.5rem 0 !important;
}
body.theme-natural .section:nth-of-type(even) {
    background: rgba(0,0,0,0.02) !important;
}
body.theme-natural .section-title {
    color: var(--primary) !important;
}
body.theme-natural .section-subtitle {
    color: #5c5c5c !important;
}
body.theme-natural .section-tag {
    color: var(--secondary) !important;
    font-weight: 600 !important;
}
body.theme-natural .features-section {
    background: rgba(0,0,0,0.03) !important;
    padding: 3.5rem 0 !important;
}
body.theme-natural .feature-card {
    background: #fff !important;
    border: 1px solid #e0ddd8 !important;
    border-radius: 16px !important;
    padding: 1.75rem !important;
}
body.theme-natural .feature-card:hover {
    border-color: var(--secondary) !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12) !important;
}
body.theme-natural .feature-card .icon-box {
    background: var(--primary) !important;
    color: #fff !important;
    width: 52px !important;
    height: 52px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 1.25rem !important;
}
body.theme-natural .feature-card h4 {
    color: var(--primary) !important;
    font-weight: 600 !important;
}
body.theme-natural .feature-card p {
    color: #5c5c5c !important;
}
body.theme-natural .cat-card-img {
    border-color: #e0ddd8 !important;
}
body.theme-natural .cat-card-item:hover .cat-card-img {
    border-color: var(--secondary) !important;
}
body.theme-natural .product-detail-title {
    color: var(--primary) !important;
}
body.theme-natural .product-detail-price {
    color: var(--primary) !important;
    font-weight: 700 !important;
}

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

/* Accesibilidad: focus visible para teclado */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary, #6366F1);
    outline-offset: 2px;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* SecciÃƒÂ³n productos: mÃƒÂ¡ximo ancho, mÃƒÂ­nimos mÃƒÂ¡rgenes (Destacados, carrusel, grid) */
.container-wide {
    max-width: 100%;
    padding: 0 8px;
}
@media (min-width: 1200px) {
    .container-wide { padding: 0 12px; max-width: 100%; }
}

/* ========================================
   HEADER / NAVIGATION
======================================== */
.store-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 16px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.logo {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

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

/* Main Navigation - Base Style with Overflow Protection */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    background: var(--bg);
    padding: 6px;
    border-radius: var(--radius-full);
    border: 1px solid var(--border);
    flex-wrap: nowrap;
    /* overflow-x: auto;  REMOVED for Dropdown visibility */
    /* overflow-y: hidden; REMOVED for Dropdown visibility */
    overflow: visible;
    max-width: 100%;
    /* scrollbar-width: none; Not needed with visible overflow */
    flex-shrink: 1;
    min-width: 0;
}

/* Scrollbar hiding removed as overflow is visible */


.desktop-nav li {
    flex-shrink: 0;
    list-style: none;
}

.desktop-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    /* Reduced from 0.9rem */
    padding: 8px 12px;
    /* Reduced from 10px 18px */
    border-radius: var(--radius-full);
    transition: var(--transition);
    white-space: nowrap;
    display: inline-block;
    flex-shrink: 0;
}

.desktop-nav a:hover {
    color: var(--text);
    background: var(--bg-card);
}

.desktop-nav a.active {
    color: var(--bg-card);
    background: var(--text);
}

/* Priority Plus Dropdown */
.more-menu-item {
    position: relative;
}

.more-trigger {
    display: inline-flex !important;
    align-items: center;
    gap: 4px;
    height: 100%;
}

.more-trigger i {
    font-size: 0.8em;
    margin-top: 1px;
    /* Optical alignment */
}

.more-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    display: none !important;
    flex-direction: column;
    z-index: 2000;
    /* Increased */
    padding: 8px 0;
}

.more-menu-item.active .more-dropdown {
    display: flex !important;
}

.more-dropdown li {
    display: block;
    width: 100%;
}

.more-dropdown a {
    display: block;
    padding: 10px 16px;
    white-space: nowrap;
    border-radius: 0;
}

.more-dropdown a:hover {
    background: var(--bg-card);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown>a {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-dropdown>a::after {
    content: '';
    border: solid currentColor;
    border-width: 0 1.5px 1.5px 0;
    padding: 2px;
    transform: rotate(45deg);
    margin-top: -2px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.dropdown-menu a:hover {
    background: var(--bg);
    color: var(--primary);
}

/* Dropdown de categorías (header.php genera .has-dropdown y .dropdown). Menú centrado aplicado en shared/includes/header.php */
.site-header.store-header,
.header-wrapper {
    overflow: visible;
}

.desktop-nav li.has-dropdown {
    position: relative;
}

.desktop-nav .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 4px;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 8px 0;
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 1100;
    display: block;
}

.desktop-nav li.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
}

.desktop-nav .dropdown li {
    margin: 0;
}

.desktop-nav .dropdown a {
    display: block;
    padding: 10px 16px;
    color: var(--text);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.desktop-nav .dropdown a:hover {
    background: var(--bg);
    color: var(--primary);
}

/* Mobile: dropdowns colapsables (oculto por defecto, visible con .expanded) */
.mobile-nav-links .has-dropdown .dropdown {
    display: none !important;
    padding-left: 16px;
    margin-top: 8px;
    margin-bottom: 8px;
    border-left: 2px solid var(--border);
    list-style: none;
}
.mobile-nav-links .has-dropdown.expanded .dropdown {
    display: block !important;
}
.mobile-nav-links .has-dropdown.expanded > a .dropdown-chevron,
.mobile-nav-links .has-dropdown.expanded > a .fa-chevron-down {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}
.mobile-nav-links .has-dropdown > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.mobile-nav-links .has-dropdown > a .fa-chevron-down {
    transition: transform 0.3s ease;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.cart-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
    color: var(--text);
    font-size: 1.1rem;
}

.cart-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--bg-card);
}

.cart-count:empty,
.cart-count[data-count="0"] {
    display: none;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    padding: 10px;
    border-radius: var(--radius);
    color: var(--text);
    font-size: 1.25rem;
    cursor: pointer;
}

/* ========================================
   HERO SECTION
======================================== */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 80px 24px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: -2;
}

/* Hero Carousel */
.hero-carousel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
}

.hero-carousel .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-carousel .carousel-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
    pointer-events: none;
}

/* Hero con imagen */
.hero.has-image .hero-overlay {
    background: rgba(0, 0, 0, 0.35);
}

.hero.has-image h1,
.hero.has-image p {
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -2px;
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Height Variants - use !important to override base .hero min-height */
.hero.hero-small {
    min-height: 50vh !important;
}

.hero.hero-medium {
    min-height: 70vh !important;
}

.hero.hero-large {
    min-height: 85vh !important;
}

.hero.hero-fullscreen {
    min-height: 100vh !important;
}

/* No Overlay Mode - hide all overlay elements */
.hero.hero-no-overlay .hero-overlay,
.hero.hero-no-overlay::before,
.hero.hero-no-overlay::after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    background: none !important;
}

.hero-no-overlay.has-image h1,
.hero-no-overlay.has-image p {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* Hero indicators (cÃƒÂ­rculos de paginaciÃƒÂ³n) Ã¢â‚¬â€œ abajo centro */
.hero-indicators {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    gap: 10px;
    z-index: 5;
}
.hero-indicators .hero-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    background: transparent;
    cursor: pointer;
    padding: 0;
    transition: background 0.2s ease;
}
.hero-indicators .hero-indicator.active {
    background: rgba(255,255,255,0.95);
}

/* Mobile Image Support */
@media (max-width: 768px) {
    .hero[data-mobile-bg] {
        background-image: var(--mobile-bg) !important;
    }

    .carousel-slide[data-mobile-bg] {
        background-image: var(--mobile-bg) !important;
    }

    .hero.hero-small {
        min-height: 40vh !important;
    }

    .hero.hero-medium {
        min-height: 55vh !important;
    }

    .hero.hero-large {
        min-height: 70vh !important;
    }

    .hero.hero-fullscreen {
        min-height: 100vh !important;
    }
}

/* ========================================
   BUTTONS
======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-slow);
    font-family: inherit;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.5);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.btn-secondary {
    background: var(--bg);
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: var(--bg-card);
    border-color: var(--primary);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius);
}

/* ========================================
   FEATURES SECTION (Beneficios/Iconos)
   Margen/centrado: ver estilos globales en shared/includes/header.php
======================================== */
.features {
    padding: 60px 0;
    position: relative;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04), 0 1px 3px rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: var(--transition-slow);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: var(--primary);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 18px;
    transition: var(--transition-slow);
}

.feature-card:hover .icon-box {
    background: var(--primary);
    color: #fff;
    transform: scale(1.05);
}

.feature-card h3,
.feature-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.feature-card p,
.feature-card .feature-card-content {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.feature-card .feature-card-content ul {
    padding-left: 1.2em;
    margin: 0.5em 0;
    text-align: left;
}

/* ========================================
   ABOUT SECTION
======================================== */
.about-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-content {
    max-width: 600px;
}

.about-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 40px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
    padding: 24px;
    background: var(--bg);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.about-image {
    position: relative;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 5rem;
    opacity: 0.1;
}

/* ========================================
   CATEGORIES PREVIEW
======================================== */
.categories-preview {
    padding: 80px 0;
    background: var(--bg);
}

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

.category-card-preview {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: var(--transition-slow);
    text-decoration: none;
    color: inherit;
    display: block;
}

.category-card-preview:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.category-card-preview i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 16px;
}

.category-card-preview h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.category-card-preview p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   TESTIMONIALS
======================================== */
.testimonials-section {
    padding: 100px 0;
    background: var(--bg-card);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background: var(--bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
}

.testimonial-stars {
    color: #FBBF24;
    margin-bottom: 16px;
    font-size: 1.125rem;
}

.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text);
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
}

.testimonial-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ========================================
   NEWSLETTER
======================================== */
.newsletter-section {
    padding: 80px 20px;
    background: var(--primary);
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.newsletter-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

.newsletter-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    color: white;
}

.newsletter-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.newsletter-content p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 32px;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 16px 32px;
    white-space: nowrap;
    background: white !important;
    color: var(--primary) !important;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: rgba(255, 255, 255, 0.9) !important;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }
}

/* ========================================
   SECTION: FEATURES / TRUST BAR (Base) - Premium
   ======================================== */
.features-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #fff, var(--bg, #f8fafc));
    position: relative;
}

.features-section .features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.features-section .feature-card {
    background: var(--bg-card);
    padding: 36px 28px;
    border-radius: var(--radius);
    text-align: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid var(--border, rgba(0, 0, 0, 0.06));
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.features-section .feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
    border-color: var(--primary);
}

.features-section .feature-card .icon-box {
    width: 64px;
    height: 64px;
    background: rgba(var(--primary-rgb, 99, 102, 241), 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.35s ease;
}

.features-section .feature-card:hover .icon-box {
    background: var(--primary);
    color: #fff;
    transform: scale(1.08);
}

.features-section .feature-card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--text);
    font-family: var(--font-heading);
    font-weight: 700;
}

.features-section .feature-card p,
.features-section .feature-card .feature-card-content {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.features-section .feature-card .feature-card-content ul {
    padding-left: 1.2em;
    margin: 0.5em 0;
    text-align: left;
}

.features-section.product-page-extra-section {
    border-top: 1px solid var(--border-light, #eee);
}

/* ========================================
   SECTION HEADERS
======================================== */
.section-header-wrap {
    text-align: center;
    margin-bottom: 48px;
}

.section-tag {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-line {
    width: 50px;
    height: 4px;
    background: var(--primary);
    margin: 16px auto 0;
    border-radius: 2px;
}

/* ========================================
   PRODUCTS SECTION
======================================== */
.products-section {
    padding: 80px 0;
}

.products-section-alt {
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.02));
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
    gap: 28px;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-slow);
    border: 1px solid var(--border-light);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.product-img-wrap {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    background: var(--bg, #f8fafc);
}

.product-img-wrap img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition-slow);
}

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

/* Product Badges - z-index alto para que queden SOBRE las fotos */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
}

.badge-sale {
    background: var(--secondary);
    color: #fff;
}

.badge-new {
    background: var(--primary);
    color: #fff;
}

/* Quick Add Button */
.quick-add {
    position: absolute;
    bottom: 12px;
    right: 12px;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--transition);
}

.product-card:hover .quick-add {
    opacity: 1;
    transform: translateY(0);
}

.quick-add-btn {
    background: var(--text);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
}

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

/* Product Info */
.product-info {
    padding: 20px;
}

.product-category {
    font-size: 0.75rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text);
    line-height: 1.4;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

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

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

.product-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.product-price-old {
    font-size: 0.95rem;
    color: var(--text-light);
    text-decoration: line-through;
    opacity: 0.7;
}

/* When there's a discount, make the sale price stand out */
.product-price-wrap .product-price {
    color: var(--primary);
}

.product-compare-price {
    font-size: 0.95rem;
    color: var(--text-light);
    text-decoration: line-through;
}

/* Additional badge styles */
.badge-bestseller {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.badge-eco {
    background: #10b981;
    color: #fff;
}

.view-all-wrap {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   CONTACT SECTION
======================================== */
.contact-section {
    padding: 80px 0;
}

.contact-box {
    background: var(--primary);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.05);
    pointer-events: none;
}

.contact-box h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
}

.contact-box p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 32px;
    position: relative;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
}

.btn-whatsapp {
    background: #fff;
    color: #25D366;
}

.btn-whatsapp:hover {
    background: #25D366;
    color: #fff;
}

.btn-instagram {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-instagram:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    background-color: #111;
    color: #fff;
    padding: 80px 0 40px;
    border-top: none;
}

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

.footer-logo {
    font-size: 1.75rem;
    color: #fff;
    margin-bottom: 16px;
    font-family: 'Playfair Display', serif;
}

.footer-desc {
    color: #fff;
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 300px;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 24px;
    font-weight: 600;
}

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

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col a {
    color: #fff;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.contact-list li {
    display: flex;
    gap: 12px;
    color: #fff;
    font-size: 0.95rem;
    align-items: flex-start;
}

.contact-list i {
    color: var(--primary);
    margin-top: 4px;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: #222;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
    padding: 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid #222;
    color: #fff;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: #fff;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

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

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

/* ========================================
   PRODUCTS CAROUSEL / FAVORITOS
======================================== */
.products-carousel-wrapper {
    position: relative;
    padding: 0 8px;
}
@media (min-width: 1200px) {
    .products-carousel-wrapper { padding: 0 12px; }
}

.products-carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 12px;
    padding: 10px 0 30px;
    /* Padding for shadow */
    scrollbar-width: none;
}

.products-carousel::-webkit-scrollbar {
    display: none;
}

.products-carousel .product-card {
    flex: 0 0 280px;
    width: 280px;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    color: var(--text);
}

.carousel-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.store-footer {
    background: var(--bg-card);
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
}

.footer-top {
    margin-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}

.footer-col-main {
    max-width: 320px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 280px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    color: var(--text);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-links li a i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
}

.footer-col h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.footer-middle {
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 40px 0;
    margin-bottom: 30px;
}

.footer-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.footer-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.footer-feature i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 4px;
    min-width: 24px;
}

.footer-feature div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-feature strong {
    font-size: 0.95rem;
    color: var(--text);
    font-weight: 600;
}

.footer-feature span {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-contact-list li {
    margin-bottom: 10px;
}

.footer-contact-list a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.875rem;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-legal-links {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.8rem;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

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

.footer-bottom-right {
    text-align: right;
}

.powered-by a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

/* ========================================
   CART SIDEBAR
======================================== */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 2000;
    box-shadow: var(--shadow-xl);
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active {
    right: 0;
}

.cart-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.close-cart {
    background: var(--bg);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
}

.close-cart:hover {
    background: var(--border);
    color: var(--text);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-item {
    display: flex;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    object-fit: cover;
    background: var(--bg);
}

.cart-item-info {
    flex: 1;
}

.cart-item-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.cart-item-price {
    color: var(--primary);
    font-weight: 600;
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.cart-item-qty button {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--bg-card);
    cursor: pointer;
    transition: var(--transition);
}

.cart-item-qty button:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.empty-cart-msg {
    text-align: center;
    padding: 48px 24px;
    color: var(--text-muted);
}

.empty-cart-msg i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    opacity: 0.3;
}

.cart-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--border);
    background: var(--bg);
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.cart-total-row span:last-child {
    font-weight: 700;
    font-size: 1.25rem;
}

.btn-checkout {
    width: 100%;
    background: var(--text);
    color: #fff;
    padding: 16px;
    font-size: 1rem;
}

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

/* ========================================
   LOADING STATES
======================================== */
.loading-products {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px;
    color: var(--text-muted);
}

.loading-products i {
    font-size: 2rem;
    margin-bottom: 16px;
    display: block;
    color: var(--primary);
}

/* ========================================
   RESPONSIVE
======================================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        margin: 8px 16px;
        padding: 16px;
        flex-direction: column;
        box-shadow: var(--shadow-lg);
    }

    .main-nav.active {
        display: flex;
    }

    .main-nav a {
        padding: 12px 16px;
        border-radius: var(--radius);
    }

    .mobile-toggle {
        display: flex;
    }

    .hero {
        min-height: 70vh;
        padding: 60px 20px;
    }

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

    .features,
    .features-section {
        padding: 36px 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .feature-card {
        padding: 20px 14px;
    }

    .feature-card .icon-box {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin-bottom: 10px;
    }

    .feature-card h3,
    .feature-card h4 {
        font-size: 0.95rem;
    }

    .feature-card p {
        font-size: 0.8rem;
    }

    /* Stats counter: tablet */
    .stats-counter-section {
        padding: 50px 20px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px 20px;
    }

    .stat-counter i {
        font-size: 2rem;
    }

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

    .stat-label {
        font-size: 0.8rem;
        color: var(--text-muted, #555);
    }

    .products-section {
        padding: 60px 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .contact-box {
        padding: 40px 24px;
    }

    .contact-buttons {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-features {
        grid-template-columns: 1fr;
        gap: 24px;
    }

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

    .footer-bottom-right {
        text-align: center;
    }

    .cart-sidebar {
        max-width: 100%;
    }
}

/* ========================================
   PÃƒÂGINA PRODUCTO - Imagen + contenido, descripciÃƒÂ³n abajo
   ======================================== */
.product-detail-wrapper {
    padding: 24px 0 48px;
}
@media (max-width: 768px) {
    .product-detail-wrapper {
        padding: 16px 12px 120px;
    }
}

.product-breadcrumb {
    font-size: 0.9rem;
    color: var(--text-muted, #64748b);
    margin-bottom: 16px;
}

.product-breadcrumb a {
    color: inherit;
    text-decoration: none;
}

.product-breadcrumb a:hover,
.product-breadcrumb .product-category {
    color: var(--primary-color, var(--primary));
}

/* Mobile first: una columna (imagen arriba, info abajo) */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 48px;
}

/* GalerÃƒÂ­a de imÃƒÂ¡genes */
.product-gallery {
    width: 100%;
}

.product-detail-image-col .main-image-frame {
    aspect-ratio: 1;
    min-height: 280px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg, #f8fafc);
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.product-detail-image-col .main-image-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
}

/* Zoom imagen producto (hover desktop, click mÃƒÂ³vil) */
.product-image-zoom {
    cursor: zoom-in;
}
.product-image-zoom.zoomed {
    cursor: zoom-out;
}
.product-image-zoom img {
    transition: transform 0.3s ease;
}
.product-image-zoom:hover img,
.product-image-zoom.zoomed img {
    transform: scale(1.5);
}
.product-image-zoom:active img {
    transform: scale(1.8);
}
@media (max-width: 768px) {
    .product-image-zoom:not(.zoomed):hover img { transform: none; }
    .product-image-zoom.zoomed img { transform: scale(2); }
}

.product-detail-image-col .product-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.product-detail-image-col .product-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: var(--bg, #f3f4f6);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.product-detail-image-col .product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-image-col .product-thumb:hover,
.product-detail-image-col .product-thumb.active {
    border-color: var(--primary-color, var(--primary));
    box-shadow: 0 0 0 1px var(--primary-color, var(--primary));
}
@media (max-width: 768px) {
    .product-detail-image-col .product-thumbs {
        gap: 12px;
        padding: 8px 0 12px;
        -webkit-overflow-scrolling: touch;
    }
    .product-detail-image-col .product-thumb {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
        min-width: 72px;
    }
}

/* Sticky add-to-cart mÃƒÂ³vil */
.product-sticky-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 900;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    border-top: 1px solid var(--border-light);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.product-sticky-bar.visible {
    display: flex;
}
.product-sticky-price {
    font-size: 1.25rem;
    font-weight: 700;
}
.product-sticky-btn {
    flex: 1;
    max-width: 200px;
    padding: 14px 20px;
}
@media (min-width: 769px) {
    .product-sticky-bar { display: none !important; }
}

/* Contenido (título, precio, etc.) */
.product-detail-title {
    font-size: 1.75rem;
    line-height: 1.3;
    margin-bottom: 16px;
    color: var(--text, #1f2937);
}
/* Móvil: título arriba del grid (primero). Desktop: título dentro de la columna derecha. */
.product-detail-title-mobile {
    display: block;
}
.product-detail-title-desktop {
    display: none;
}
@media (min-width: 992px) {
    .product-detail-title-mobile { display: none !important; }
    .product-detail-title-desktop { display: block !important; }
}

.price-block {
    display: flex;
    align-items: baseline;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.product-detail-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text, #1f2937);
}

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

.discount-badge {
    background: var(--secondary-color, var(--primary));
    color: #fff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}

.product-compare-price-old {
    text-decoration: line-through;
    color: var(--text-muted, #94a3b8);
    font-size: 1.1rem;
}

.product-installments-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.04));
    border: 1px solid rgba(37, 99, 235, 0.2);
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text, #1f2937);
}

.product-installments-box i {
    font-size: 1.25rem;
    color: var(--primary-color, var(--primary));
    flex-shrink: 0;
}

.product-variant-block { margin-bottom: 24px; }

.variant-label {
    display: block;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.product-variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.product-variant-btn {
    padding: 10px 18px;
    border: 2px solid var(--border, #e2e8f0);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s;
}

.product-variant-btn:hover,
.product-variant-btn.selected {
    border-color: var(--primary-color, var(--primary));
    background: var(--bg, #f8fafc);
}

.cart-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

/* Selector cantidad +/- */
.product-qty-wrap { flex-shrink: 0; }
.qty-selector {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
}
.qty-btn {
    width: 40px;
    height: 44px;
    border: none;
    background: var(--bg, #f8fafc);
    color: var(--text, #1e293b);
    font-size: 1.25rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.qty-btn:hover { background: var(--border-light, #f1f5f9); color: var(--primary); }
.qty-selector input[type="number"] {
    width: 52px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border);
    border-right: 1px solid var(--border);
    font-size: 1rem;
    padding: 10px;
    -moz-appearance: textfield;
}
.qty-selector input::-webkit-outer-spin-button,
.qty-selector input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Botones +/- en carrito (pÃƒÂ¡gina carrito.php) */
.btn-qty {
    min-width: 40px;
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 8px;
    background: var(--bg, #f8fafc);
    color: var(--text);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.btn-qty:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.product-out-of-stock-msg {
    padding: 16px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    color: #991b1b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Toast feedback agregar al carrito */
.cart-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: #10b981;
    color: #fff;
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    pointer-events: none;
}
.cart-toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* AnimaciÃƒÂ³n icono carrito al agregar */
.cart-link.just-added {
    animation: cartBounce 0.5s ease;
}
@keyframes cartBounce {
    0%, 100% { transform: scale(1); }
    30% { transform: scale(1.2); }
    60% { transform: scale(0.95); }
}

/* PÃƒÂ¡gina carrito */
.cart-page-title {
    margin-bottom: 24px;
}

/* Tabla carrito: desktop y mÃƒÂ³vil responsive (sin scroll horizontal) */
.cart-table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.cart-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 520px;
}
.cart-table thead th {
    padding: 15px;
    text-align: left;
    border-bottom: 2px solid var(--border-color, #e5e7eb);
}
.cart-table tbody tr {
    border-bottom: 1px solid var(--border-color, #e5e7eb);
}
.cart-table tbody td {
    padding: 15px;
    vertical-align: middle;
}
.cart-td-producto {
    display: flex;
    align-items: center;
    gap: 15px;
}
.cart-td-producto img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}
.cart-td-qty {
    white-space: nowrap;
}
.cart-td-qty .btn-qty {
    min-width: 44px;
    min-height: 44px;
}
.cart-td-qty span {
    margin: 0 10px;
    font-weight: 500;
    min-width: 1.5rem;
    display: inline-block;
    text-align: center;
}
.btn-remove-cart {
    color: #dc2626;
    border: none;
    background: none;
    cursor: pointer;
    padding: 8px;
    min-width: 44px;
    min-height: 44px;
    border-radius: 8px;
    transition: background 0.2s;
}
.btn-remove-cart:hover {
    background: #fef2f2;
}

@media (max-width: 768px) {
    .cart-page-title {
        font-size: 1.35rem;
        margin-bottom: 16px;
    }
    .cart-table-responsive {
        overflow-x: visible;
    }
    .cart-table {
        min-width: 0;
        display: block;
    }
    .cart-table thead {
        display: none;
    }
    .cart-table tbody {
        display: block;
    }
    .cart-table tbody tr {
        display: block;
        border: 1px solid var(--border-color, #e5e7eb);
        border-radius: 10px;
        margin-bottom: 10px;
        padding: 12px;
        background: var(--bg, #fff);
        box-shadow: 0 1px 2px rgba(0,0,0,0.05);
    }
    .cart-table tbody td {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 6px 0;
        border: none;
    }
    .cart-table tbody td::before {
        content: attr(data-label);
        font-weight: 600;
        font-size: 0.8rem;
        color: #6b7280;
        flex-shrink: 0;
        margin-right: 10px;
    }
    .cart-table tbody td[data-label=""]::before {
        display: none;
    }
    .cart-td-producto {
        flex-wrap: wrap;
    }
    .cart-td-producto::before {
        display: none;
    }
    .cart-td-producto img {
        width: 48px;
        height: 48px;
    }
    .cart-td-producto strong {
        font-size: 0.9rem;
    }
    .cart-td-qty .btn-qty {
        min-width: 36px;
        min-height: 36px;
        padding: 6px 10px;
        font-size: 1rem;
    }
    .cart-td-qty {
        gap: 4px;
    }
    .cart-td-qty span {
        margin: 0 6px;
        font-size: 0.95rem;
    }
    .cart-td-remove {
        justify-content: flex-end;
        padding-top: 8px;
        margin-top: 4px;
        border-top: 1px solid var(--border-color, #e5e7eb);
    }
    .btn-remove-cart {
        min-width: 36px;
        min-height: 36px;
        padding: 6px;
    }
}

/* product-shipping-calculator, shipping-title, product-features: en themes/base.css para todos los temas */

/* DescripciÃƒÂ³n abajo de todo - espacio amplio, se adapta al largo del cliente */
/* Descripción del producto: abajo de todo, ancho completo */
.product-description-block {
    margin-top: 48px;
    padding: 40px 0 48px;
    border-top: 1px solid var(--border, #e5e7eb);
    width: 100%;
    max-width: 100%;
    clear: both;
}

.product-description-title {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--text, #1f2937);
}

.product-description-content {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-muted, #64748b);
    max-width: 720px; /* Legibilidad en textos largos */
    min-height: 60px;
    /* Sin max-height ni overflow: se adapta al largo que ponga el cliente */
    word-wrap: break-word;
}

.product-description-content p {
    margin-bottom: 1em;
}

.product-description-content p:last-child {
    margin-bottom: 0;
}

/* GuÃƒÂ­a de talles */
.product-size-chart-block { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); }
.size-chart-details { cursor: pointer; }
.size-chart-details summary {
    font-weight: 600;
    font-size: 1rem;
    padding: 12px 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}
.size-chart-details summary::-webkit-details-marker { display: none; }
.size-chart-details summary::after { content: ' Ã¢â€“Â¼'; font-size: 0.8em; opacity: 0.7; }
.size-chart-details[open] summary::after { content: ' Ã¢â€“Â²'; }
.size-chart-table-wrap { overflow-x: auto; margin-top: 12px; }
.size-chart-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.size-chart-table th,
.size-chart-table td {
    padding: 10px 14px;
    border: 1px solid var(--border);
    text-align: left;
}
.size-chart-table th { background: var(--bg, #f8fafc); font-weight: 600; }

/* Desktop (web): imagen izquierda, info derecha — dos columnas */
@media (min-width: 992px) {
    .product-detail-wrapper { max-width: 1120px; margin: 0 auto; }
    .product-detail-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 48px;
        align-items: start;
        margin-bottom: 48px;
    }
    .product-detail-image-col {
        position: sticky;
        top: 100px;
        max-width: 100%;
        min-width: 0;
    }
    .product-detail-content-col {
        min-width: 0;
        padding-left: 0;
    }
    .product-detail-image-col .main-image-frame {
        min-height: 400px;
    }
    .product-detail-image-col .product-thumb {
        flex: 0 0 72px;
        width: 72px;
        height: 72px;
    }
    .product-detail-title { font-size: 2rem; }
    .product-detail-price { font-size: 2rem; }
}

@media (max-width: 768px) {
    /* Fotos primero: tÃƒÂ­tulo dentro del grid, no duplicado arriba */
    .product-detail-title-mobile {
        display: block !important;
        font-size: 1.35rem;
        line-height: 1.3;
        margin: 0 0 16px 0;
        padding: 0 4px;
        font-weight: 700;
        color: var(--text, #1f2937);
    }
    .product-detail-title-desktop {
        display: none !important;
    }
    /* Orden mÃƒÂ³vil: tÃƒÂ­tulo (arriba) Ã¢â€ â€™ fotos Ã¢â€ â€™ resto. Grid: fotos primero, luego contenido */
    .product-detail-grid {
        display: flex;
        flex-direction: column;
        gap: 32px;
        min-width: 0;
    }
    .product-detail-image-col {
        order: 1;
        min-width: 0;
        max-width: 100%;
        flex-shrink: 0;
    }
    .product-detail-content-col {
        order: 2;
        padding: 0 4px;
        min-width: 0;
        max-width: 100%;
    }
    .product-detail-content-col .price-block { margin-bottom: 16px; }
    .product-detail-content-col .product-detail-price { font-size: 1.5rem; }
    .product-gallery {
        max-width: 100%;
        min-width: 0;
    }
    .product-detail-image-col .main-image-frame {
        min-height: 320px;
        aspect-ratio: 1;
        max-width: 100%;
    }
    .product-detail-image-col .product-thumbs {
        max-width: 100%;
    }
    .product-detail-image-col .product-thumb {
        flex: 0 0 56px;
        width: 56px;
        height: 56px;
    }
    /* Variantes (colores): wrap, no recortar */
    .product-variant-options {
        flex-wrap: wrap;
        max-width: 100%;
    }
    .product-variant-btn {
        flex-shrink: 0;
    }
    .product-features-list {
        flex-wrap: nowrap;
        gap: 10px;
        font-size: 0.8rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }
    .product-features-list li { white-space: nowrap; flex-shrink: 0; }
    /* Botones Comprar/Agregar al carrito: full width */
    .cart-buttons-row {
        flex-direction: column;
        align-items: stretch;
    }
    .cart-buttons-row .product-cart-btn {
        width: 100%;
        max-width: 100%;
        min-height: 48px;
        justify-content: center;
    }
}

/* ========================================
   PRODUCT ENHANCEMENTS (HOVER & STOCK)
   ======================================== */
.product-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--bg, #f8fafc);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.6s ease;
}

.product-image .hover-img {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    z-index: 1;
}

.product-image .main-img {
    position: relative;
    z-index: 1;
}

/* Hover Effect: Image Swap */
.product-image.has-hover:hover .main-img {
    opacity: 0;
}

.product-image.has-hover:hover .hover-img {
    opacity: 1;
    transform: scale(1.08);
}

/* Hover Effect: Zoom (fallback) */
.product-image.no-hover:hover img {
    transform: scale(1.1);
}

/* Out of stock y empty-state: estilos base en themes/base.css */

/* Barra de filtros: categorías + orden */
.filters-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 24px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border, #e2e8f0);
}
.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}
.filter-btn {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border, #e2e8f0);
    background: var(--bg, #fff);
    color: var(--text, #1e293b);
    text-decoration: none;
    font-size: 0.9rem;
    transition: background 0.2s, border-color 0.2s;
}
.filter-btn:hover,
.filter-btn.active {
    background: var(--primary, #3b82f6);
    border-color: var(--primary, #3b82f6);
    color: #fff;
}

/* Selector orden móvil - área táctil 44px */
.filter-sort-label { margin-right: 8px; font-size: 0.9rem; }
.filter-sort-select {
    padding: 12px 16px;
    min-height: 44px;
    min-width: 160px;
    border-radius: 8px;
    border: 1px solid var(--border, #e2e8f0);
    font-size: 1rem;
}
@media (max-width: 768px) {
    .filters-bar { flex-direction: column; align-items: stretch; }
    .filter-categories { justify-content: flex-start; }
    .filter-sort { width: 100%; margin-left: 0; margin-top: 4px; }
    .filter-sort-select { min-width: 100%; }
}

/* Hover suave en tarjetas producto */
.product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.product-card:hover {
    transform: translateY(-4px);
}
.product-card .product-image img {
    transition: transform 0.4s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Variantes mÃƒÂ¡s grandes en mÃƒÂ³vil */
@media (max-width: 768px) {
    .product-variant-btn {
        min-height: 44px;
        min-width: 48px;
        padding: 12px 20px;
        font-size: 1rem;
    }
}

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg, #f1f5f9) 25%, var(--border-light, #e2e8f0) 50%, var(--bg) 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
    border-radius: 8px;
}
@keyframes skeleton {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.product-card-skeleton .product-image {
    aspect-ratio: 1;
}
.product-card-skeleton .product-image::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
    background-size: 200% 100%;
    animation: skeleton 1.5s infinite;
}

@media (max-width: 480px) {
    /* Features: 2x2 en mÃƒÂ³vil (dos arriba, dos abajo) */
    .features-grid,
    .features-section .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .feature-card {
        padding: 14px 10px;
    }

    .feature-card .icon-box {
        width: 36px;
        height: 36px;
        font-size: 14px;
        margin-bottom: 6px;
    }

    .feature-card h3,
    .feature-card h4 {
        font-size: 0.8rem;
    }

    .feature-card p {
        font-size: 0.7rem;
        line-height: 1.35;
    }

    .stats-counter-section {
        padding: 40px 16px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px 12px;
    }

    .stat-counter i {
        font-size: 1.75rem;
        margin-bottom: 10px;
    }

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

    .stat-label {
        font-size: 0.75rem;
        color: var(--text-muted, #555);
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

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

    .product-info {
        padding: 16px;
    }

    .product-title {
        font-size: 1rem;
    }
}

/* ========================================
   WHATSAPP FLOAT
======================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white !important;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 99999999 !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    transition: all 0.3s ease;
    visibility: visible !important;
    opacity: 1 !important;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    color: white !important;
}

.whatsapp-float i {
    margin-top: 0;
}

@media (max-width: 768px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* ========================================
   SECTION: FAQ ACCORDION (Base)
   ======================================== */
.faq-accordion-section {
    padding: 80px 0;
    background-color: var(--bg);
}

.page-content .faq-accordion-section {
    padding: 32px 0 48px;
}

.faq-accordion-section .faq-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.faq-list {
    max-width: 800px;
    margin: 40px auto 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-item {
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.15rem;
    font-weight: 600;
    text-align: left;
    color: var(--text);
    transition: var(--transition);
    gap: 20px;
}

.faq-item:hover {
    background-color: rgba(0, 0, 0, 0.01);
}

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

.faq-question i {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i,
.faq-question[aria-expanded="true"] i {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--bg-card);
}

.faq-item.active .faq-answer,
.faq-question[aria-expanded="true"]+.faq-answer {
    max-height: 500px;
}

.faq-answer-inner {
    padding: 0 30px 30px;
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* Image carousel, logo carousel, CTA fullwidth: estilos base en themes/base.css; Natural solo aporta identidad via body.theme-natural */

/* ========================================
   INTERNAL PAGES (Dynamic Pages)
   Barra de tÃƒÂ­tulo punta a punta, simple y directa
   ======================================== */
.page-title-bar {
    width: 100%;
    background: var(--primary-color, var(--primary));
    color: #fff;
    padding: 14px 0;
    margin-bottom: 0;
    border: none;
}

.page-title-bar-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.page-title-bar-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.page-title-bar-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.page-title-bar-breadcrumb a {
    color: rgba(255, 255, 255, 0.95);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.page-title-bar-breadcrumb a:hover {
    opacity: 0.85;
    text-decoration: underline;
}

.page-title-bar-breadcrumb .separator {
    opacity: 0.6;
    font-size: 0.7rem;
}

/* Legacy: mantener .page-hero por compatibilidad si se usa en algÃƒÂºn template */
.page-hero {
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--border-light) 100%);
    padding: 48px 0 32px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 0;
    position: relative;
}

.page-hero-content {
    text-align: center;
}

.page-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 8px;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.breadcrumb a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

.breadcrumb .separator {
    opacity: 0.4;
    font-size: 0.75rem;
}

/* Primera secciÃƒÂ³n de contenido mÃƒÂ¡s pegada al hero */
.page-content .section.text-section:first-of-type,
.page-content .section.faq-accordion-section:first-of-type {
    padding-top: 24px;
}

/* Text Section: menos padding para que la info no quede muy abajo */
.text-section {
    padding: 40px 0 48px;
    background-color: #fff;
}

/* Bloques de texto de pÃƒÂ¡ginas (envÃƒÂ­os, pagos, tÃƒÂ©rminos, etc.) */
.page-text-block,
.rich-text-content .page-text-block {
    max-width: 720px;
    margin: 0 auto;
}

.page-text-block h3,
.rich-text-content .page-text-block h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text);
    margin: 1.5em 0 0.5em;
}

.page-text-block h3:first-child,
.rich-text-content .page-text-block h3:first-child {
    margin-top: 0;
}

.page-text-block p,
.rich-text-content .page-text-block p {
    margin: 0.75em 0;
    line-height: 1.75;
}

.page-text-block ul,
.rich-text-content .page-text-block ul {
    margin: 0.5em 0 1em;
    padding-left: 1.5em;
}

.page-text-block li,
.rich-text-content .page-text-block li {
    margin: 0.35em 0;
}

.text-section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.4rem;
    margin-bottom: 35px;
    color: var(--text);
    position: relative;
    display: inline-block;
}

.text-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
}

.text-content-wrapper[style*="text-align: center"] .text-section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.rich-text-content {
    font-size: 1.15rem;
    line-height: 1.9;
    color: #374151;
    /* Default dark gray for white background */
}

/* Theme overrides for content readability */
body.theme-urban .rich-text-content {
    color: #e5e7eb;
    /* Light gray for black background */
}

body.theme-urban .rich-text-content h1,
body.theme-urban .rich-text-content h2,
body.theme-urban .rich-text-content h3 {
    color: var(--primary);
}

body.theme-minimal .rich-text-content {
    color: #000;
}

.rich-text-content p {
    margin-bottom: 30px;
}

.rich-text-content h1,
.rich-text-content h2,
.rich-text-content h3 {
    color: var(--text);
    margin-top: 50px;
    margin-bottom: 20px;
    font-family: 'Playfair Display', serif;
}

.rich-text-content ul,
.rich-text-content ol {
    margin-bottom: 30px;
    padding-left: 25px;
}

.rich-text-content li {
    margin-bottom: 12px;
}

/* Theme specifics for Internal Pages */

/* URBAN THEME OVERRIDES - page title bar */
body.theme-urban .page-title-bar {
    background: #000;
    border-bottom: 4px solid var(--primary);
    padding: 12px 0;
}

body.theme-urban .page-title-bar-title {
    font-family: 'Arial Black', Gadget, sans-serif;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -1px;
    font-size: 1.1rem;
}

body.theme-urban .page-title-bar-breadcrumb,
body.theme-urban .page-title-bar-breadcrumb a {
    color: rgba(255, 255, 255, 0.85);
}

body.theme-urban .page-hero {
    background: #000;
    border-bottom: 8px solid var(--primary);
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
    padding: 140px 0 100px;
}

body.theme-urban .page-tag {
    background: var(--primary);
    color: #000;
    padding: 4px 12px;
    clip-path: polygon(5% 0, 100% 0, 95% 100%, 0 100%);
}

body.theme-urban .page-title {
    font-family: 'Arial Black', Gadget, sans-serif;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 900;
    letter-spacing: -3px;
}

body.theme-urban .breadcrumb {
    color: #fff;
    opacity: 0.8;
}

body.theme-urban .text-section-title {
    font-family: 'Arial Black', Gadget, sans-serif;
    text-transform: uppercase;
    letter-spacing: -1px;
}

/* MINIMAL THEME OVERRIDES - page title bar */
body.theme-minimal .page-title-bar {
    background: #000;
    color: #fff;
    border-bottom: 2px solid #000;
    padding: 12px 0;
}

body.theme-minimal .page-title-bar-title {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 300;
    font-size: 1.1rem;
}

body.theme-minimal .page-hero {
    background: #fff;
    border-bottom: 1px solid #000;
    padding: 150px 0 80px;
}

body.theme-minimal .page-tag {
    color: #000;
    border-bottom: 1px solid #000;
}

body.theme-minimal .page-title {
    font-family: 'Playfair Display', serif;
    text-transform: uppercase;
    letter-spacing: 8px;
    font-weight: 300;
}

body.theme-minimal .text-section-title {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
}

body.theme-minimal .text-section-title::after {
    display: none;
}

/* ========================================
   GLOBAL FOOTER STANDARDIZATION
   Apply to ALL stores (incl. Tienda AM) - mismo pie en blanco en todas
======================================== */
.site-footer.footer-force-white {
    background-color: var(--primary) !important;
    color: #ffffff !important;
}

/* Force ALL text elements to be white */
.site-footer.footer-force-white h1,
.site-footer.footer-force-white h2,
.site-footer.footer-force-white h3,
.site-footer.footer-force-white h4,
.site-footer.footer-force-white h5,
.site-footer.footer-force-white h6,
.site-footer.footer-force-white p,
.site-footer.footer-force-white span,
.site-footer.footer-force-white div,
.site-footer.footer-force-white li,
.site-footer.footer-force-white .footer-desc,
.site-footer.footer-force-white .footer-logo {
    color: #ffffff !important;
}

/* Force Links to be White */
.site-footer.footer-force-white a,
.site-footer.footer-force-white a:link,
.site-footer.footer-force-white a:visited {
    color: rgba(255, 255, 255, 0.95) !important;
    text-decoration: none !important;
}

.site-footer.footer-force-white a:hover,
.site-footer.footer-force-white a:active,
.site-footer.footer-force-white a:focus {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Icons - secondary or white */
.site-footer.footer-force-white i,
.site-footer.footer-force-white .fas,
.site-footer.footer-force-white .fab,
.site-footer.footer-force-white .far,
.site-footer.footer-force-white .social-links a i,
.site-footer.footer-force-white .contact-list i,
.site-footer.footer-force-white .shipping-badge i,
.site-footer.footer-force-white .regret-button i {
    color: var(--secondary) !important;
}

.site-footer.footer-force-white .footer-extra-section {
    border-color: rgba(255, 255, 255, 0.15) !important;
}

.site-footer.footer-force-white .regret-button {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.site-footer.footer-force-white .regret-button:hover {
    background: var(--secondary) !important;
    color: #ffffff !important;
    border-color: var(--secondary) !important;
}

.site-footer.footer-force-white .shipping-badge {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

.site-footer.footer-force-white .footer-bottom,
.site-footer.footer-force-white .footer-bottom p,
.site-footer.footer-force-white .footer-bottom .credit,
.site-footer.footer-force-white .footer-bottom .credit a,
.site-footer.footer-force-white .footer-legal-links,
.site-footer.footer-force-white .footer-legal-links a {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* ========================================
   MEJORAS UX 2025 - Transiciones y Efectos
======================================== */

html { scroll-behavior: smooth; }
body { text-rendering: optimizeLegibility; -moz-osx-font-smoothing: grayscale; }

.product-card, .feature-card, .review-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.btn, button[type="submit"], .add-to-cart {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; overflow: hidden;
}

.btn:active, button[type="submit"]:active, .add-to-cart:active { transform: scale(0.97); }

a { transition: color 0.2s ease, opacity 0.2s ease; }

:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--primary); color: white; }

.product-image { overflow: hidden; border-radius: var(--radius, 12px); }
.product-card .product-image img { transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1); }

.newsletter-section input[type="email"] { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.newsletter-section input[type="email"]:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15); }

@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.skeleton, .loading-placeholder { background: linear-gradient(110deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%); background-size: 200% 100%; animation: shimmer 1.5s ease-in-out infinite; }

.scroll-to-top {
    position: fixed; bottom: 90px; right: 24px; width: 44px; height: 44px;
    background: var(--primary); color: white; border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    opacity: 0; visibility: hidden; transition: all 0.3s ease; z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.scroll-to-top.visible { opacity: 1; visibility: visible; }
.scroll-to-top:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,0.2); }

@media (max-width: 768px) {
    .contact-map-layout { display: block !important; }
    .brands-section [style*="grid-template-columns"] { grid-template-columns: repeat(3, 1fr) !important; }
    .countdown-section .cd-unit { min-width: 70px !important; padding: 14px 16px !important; }
}
@media (max-width: 480px) {
    .brands-section [style*="grid-template-columns"] { grid-template-columns: repeat(2, 1fr) !important; }
}
@media print {
    .whatsapp-float, .scroll-to-top, .announcement-bar, .store-header { display: none !important; }
    .section { break-inside: avoid; }
}

/* ========================================
   FIX: Overflow horizontal en movil
======================================== */
html, body {
    overflow-x: hidden !important;
    max-width: 100vw;
}

.product-detail-wrapper {
    overflow-x: hidden;
    max-width: 100%;
}

.product-detail-grid {
    overflow: hidden;
    max-width: 100%;
}

.product-detail-content-col {
    overflow-x: hidden;
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.product-detail-image-col {
    overflow: hidden;
    max-width: 100%;
}

.product-detail-wrapper.section {
    opacity: 1 !important;
    transform: none !important;
}

.product-detail-wrapper img {
    max-width: 100%;
    height: auto;
}

.product-detail-wrapper .container {
    max-width: 100%;
    overflow-x: hidden;
}

.product-description,
.product-description * {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

.product-description img {
    max-width: 100%;
    height: auto;
}

.product-description table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

@media (max-width: 768px) {
    .product-features-list {
        max-width: 100%;
        overflow-x: auto;
    }
    .cart-buttons-row {
        max-width: 100%;
    }
    .cart-buttons-row .product-cart-btn {
        max-width: 100%;
        box-sizing: border-box;
    }
    .product-shipping-calculator {
        max-width: 100%;
        box-sizing: border-box;
    }
    .size-chart-table-wrap {
        max-width: 100%;
        overflow-x: auto;
    }
    .product-variants {
        max-width: 100%;
        overflow-x: auto;
    }
    .product-variant-options {
        max-width: 100%;
        flex-wrap: wrap;
    }
}

/* Sobre Nosotros: en móvil foto arriba, texto abajo (no apretado) */
@media (max-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .about-image {
        order: 1;
        max-height: 40vh;
    }
    .about-image img,
    .about-image .about-image-placeholder {
        max-height: 40vh;
        object-fit: cover;
    }
    .about-content {
        order: 2;
        padding: 0;
    }
}