/*
Theme Name: TiendaPy Theme
Theme URI: https://tiendapyonline.com
Author: TiendaPy
Author URI: https://tiendapyonline.com
Description: Tema personalizado para TiendaPy - Tienda de electrónica en Paraguay. Diseño moderno, responsive y compatible con WooCommerce.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tiendapy
Tags: e-commerce, woocommerce, responsive, modern, electronics
WooCommerce tested up to: 8.5
*/

/* ============================================
   CSS VARIABLES & DESIGN TOKENS
   ============================================ */
:root {
    /* Colores principales */
    --tp-primary: #3B82F6;
    --tp-primary-dark: #2563EB;
    --tp-primary-light: #DBEAFE;
    --tp-secondary: #10B981;
    --tp-secondary-dark: #059669;
    --tp-accent: #F59E0B;
    --tp-danger: #F44336;

    /* Colores de fondo */
    --tp-bg-primary: #FFFFFF;
    --tp-bg-secondary: #F5F7FA;
    --tp-bg-tertiary: #E8EDF2;
    --tp-bg-card: #FFFFFF;

    /* Colores de texto */
    --tp-text-primary: #1A1A2E;
    --tp-text-secondary: #555555;
    --tp-text-muted: #888888;
    --tp-text-inverse: #FFFFFF;

    /* Bordes */
    --tp-border: #E0E0E0;
    --tp-border-light: #F0F0F0;

    /* Sombras */
    --tp-shadow-sm: 0 1px 2px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.06);
    --tp-shadow-md: 0 2px 4px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.08);
    --tp-shadow-lg: 0 4px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.1);
    --tp-shadow-hover: 0 8px 25px rgba(59, 130, 246, 0.2);
    --tp-shadow-card: 0 1px 3px rgba(0,0,0,0.06), 0 4px 16px rgba(0,0,0,0.06);
    --tp-shadow-card-hover: 0 4px 8px rgba(0,0,0,0.06), 0 8px 28px rgba(0,0,0,0.1);

    /* Tipografía */
    --tp-font-primary: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    --tp-font-size-xs: 0.75rem;
    --tp-font-size-sm: 0.875rem;
    --tp-font-size-base: 1rem;
    --tp-font-size-lg: 1.125rem;
    --tp-font-size-xl: 1.25rem;
    --tp-font-size-2xl: 1.5rem;
    --tp-font-size-3xl: 2rem;
    --tp-font-size-4xl: 2.5rem;

    /* Espaciado */
    --tp-space-xs: 0.25rem;
    --tp-space-sm: 0.5rem;
    --tp-space-md: 1rem;
    --tp-space-lg: 1.5rem;
    --tp-space-xl: 2rem;
    --tp-space-2xl: 3rem;
    --tp-space-3xl: 4rem;
    --tp-space-section: 5rem;

    /* Bordes redondeados */
    --tp-radius-sm: 8px;
    --tp-radius-md: 10px;
    --tp-radius-lg: 14px;
    --tp-radius-xl: 24px;
    --tp-radius-full: 50px;

    /* Transiciones */
    --tp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --tp-transition-fast: all 0.15s ease;
    --tp-transition-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Header */
    --tp-header-height: 80px;
    --tp-topbar-height: 40px;

    /* Container */
    --tp-container-max: 1200px;
    --tp-container-padding: 1.5rem;

    /* Gradientes */
    --tp-gradient-primary: linear-gradient(135deg, #3B82F6 0%, #2563EB 100%);
    --tp-gradient-header: linear-gradient(135deg, #1A1A2E 0%, #16213E 100%);
    --tp-gradient-footer: linear-gradient(135deg, #1A1A2E 0%, #0F3460 100%);
    --tp-gradient-hero: linear-gradient(135deg, #1E3A5F 0%, #3B82F6 100%);
}

/* Modo Oscuro */
[data-theme="dark"] {
    --tp-bg-primary: #1A1A2E;
    --tp-bg-secondary: #16213E;
    --tp-bg-tertiary: #0F3460;
    --tp-bg-card: #16213E;
    --tp-text-primary: #E8E8E8;
    --tp-text-secondary: #B0B0B0;
    --tp-text-muted: #777777;
    --tp-border: #2A2A4A;
    --tp-border-light: #222244;
    --tp-shadow-sm: 0 1px 2px rgba(0,0,0,0.15), 0 1px 3px rgba(0,0,0,0.2);
    --tp-shadow-md: 0 2px 4px rgba(0,0,0,0.15), 0 4px 12px rgba(0,0,0,0.25);
    --tp-shadow-lg: 0 4px 8px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.3);
    --tp-shadow-hover: 0 8px 25px rgba(59, 130, 246, 0.3);
    --tp-shadow-card: 0 1px 3px rgba(0,0,0,0.2), 0 4px 16px rgba(0,0,0,0.15);
    --tp-shadow-card-hover: 0 4px 8px rgba(0,0,0,0.2), 0 8px 28px rgba(0,0,0,0.25);
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--tp-font-primary);
    font-size: var(--tp-font-size-base);
    line-height: 1.6;
    color: var(--tp-text-primary);
    background-color: var(--tp-bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: var(--tp-primary);
    text-decoration: none;
    transition: var(--tp-transition-fast);
}

a:hover {
    color: var(--tp-primary-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    color: var(--tp-text-primary);
}

h1 { font-size: var(--tp-font-size-4xl); }
h2 { font-size: var(--tp-font-size-3xl); }
h3 { font-size: var(--tp-font-size-2xl); }
h4 { font-size: var(--tp-font-size-xl); }

p {
    color: var(--tp-text-secondary);
    margin-bottom: var(--tp-space-md);
}

button {
    cursor: pointer;
    font-family: var(--tp-font-primary);
    border: none;
    outline: none;
}

input, textarea, select {
    font-family: var(--tp-font-primary);
    font-size: var(--tp-font-size-base);
}

/* ============================================
   UTILIDADES
   ============================================ */
.container {
    width: 100%;
    max-width: var(--tp-container-max);
    margin: 0 auto;
    padding: 0 var(--tp-container-padding);
}

.section {
    padding: var(--tp-space-section) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--tp-space-3xl);
}

.section-header h2 {
    margin-bottom: var(--tp-space-sm);
    position: relative;
    display: inline-block;
    letter-spacing: 0;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--tp-gradient-hero);
    border-radius: 2px;
}

.section-header p {
    font-size: var(--tp-font-size-lg);
    color: var(--tp-text-muted);
    margin-top: var(--tp-space-md);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* ============================================
   BOTONES
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--tp-space-sm);
    padding: 12px 28px;
    font-size: var(--tp-font-size-sm);
    font-weight: 600;
    border-radius: var(--tp-radius-full);
    transition: all 0.2s var(--tp-transition-bounce);
    border: 2px solid transparent;
    white-space: nowrap;
}

.btn-primary {
    background: var(--tp-gradient-primary);
    color: var(--tp-text-inverse);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
    color: var(--tp-text-inverse);
}

.btn-secondary {
    background: var(--tp-secondary);
    color: var(--tp-text-inverse);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-secondary:hover {
    background: var(--tp-secondary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    color: var(--tp-text-inverse);
}

.btn-outline {
    background: transparent;
    color: var(--tp-primary);
    border-color: var(--tp-primary);
}

.btn-outline:hover {
    background: var(--tp-primary);
    color: var(--tp-text-inverse);
    transform: translateY(-1px);
}

.btn-whatsapp {
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    color: #FFFFFF;
}

.btn-sm {
    padding: 8px 20px;
    font-size: var(--tp-font-size-xs);
}

.btn-lg {
    padding: 16px 36px;
    font-size: var(--tp-font-size-base);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 50%;
    font-size: var(--tp-font-size-lg);
}

/* ============================================
   TOP BAR
   ============================================ */
.topbar {
    background: var(--tp-gradient-header);
    color: var(--tp-text-inverse);
    height: var(--tp-topbar-height);
    display: flex;
    align-items: center;
    font-size: var(--tp-font-size-sm);
}

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

.topbar-left {
    display: flex;
    align-items: center;
    gap: var(--tp-space-lg);
}

.topbar-left a {
    color: var(--tp-text-inverse);
    display: flex;
    align-items: center;
    gap: var(--tp-space-xs);
    opacity: 0.9;
}

.topbar-left a:hover {
    opacity: 1;
    color: var(--tp-text-inverse);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: var(--tp-space-md);
}

.topbar-social a {
    color: var(--tp-text-inverse);
    font-size: var(--tp-font-size-base);
    opacity: 0.8;
    transition: var(--tp-transition-fast);
}

.topbar-social a:hover {
    opacity: 1;
    color: var(--tp-secondary);
}

/* ============================================
   HEADER PRINCIPAL
   ============================================ */
.site-header {
    background: var(--tp-bg-primary);
    height: var(--tp-header-height);
    display: flex;
    align-items: center;
    box-shadow: var(--tp-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1050;
    transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled {
    height: 60px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.site-header.scrolled .logo-icon {
    width: 34px;
    height: 34px;
    font-size: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled .site-logo a {
    font-size: var(--tp-font-size-xl);
    transition: font-size 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-xl);
    width: 100%;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo a {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    font-size: var(--tp-font-size-2xl);
    font-weight: 700;
    color: var(--tp-text-primary);
}

.site-logo a:hover {
    color: var(--tp-text-primary);
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: var(--tp-gradient-hero);
    border-radius: var(--tp-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
}

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

.logo-text em {
    color: var(--tp-secondary);
    font-style: normal;
}

/* Búsqueda */
.header-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.header-search form {
    display: flex;
    align-items: center;
    background: var(--tp-bg-secondary);
    border-radius: var(--tp-radius-full);
    border: 2px solid var(--tp-border-light);
    transition: var(--tp-transition);
    overflow: hidden;
}

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

.header-search input {
    flex: 1;
    padding: 10px 20px;
    border: none;
    background: transparent;
    color: var(--tp-text-primary);
    outline: none;
}

.header-search input::placeholder {
    color: var(--tp-text-muted);
}

.header-search button {
    padding: 10px 18px;
    background: transparent;
    color: var(--tp-text-muted);
    transition: var(--tp-transition-fast);
}

.header-search button:hover {
    color: var(--tp-primary);
}

/* Búsqueda en vivo - resultados dropdown */
.header-search {
    position: relative;
}
.header-search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--tp-bg-primary);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-md);
    box-shadow: var(--tp-shadow-lg);
    z-index: 1000;
    max-height: 400px;
    overflow-y: auto;
    margin-top: 4px;
}
.header-search-results.active {
    display: block;
}
.header-search-results .search-result-item {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    padding: var(--tp-space-sm) var(--tp-space-md);
    border-bottom: 1px solid var(--tp-border);
    text-decoration: none;
    color: var(--tp-text-primary);
    transition: var(--tp-transition);
}
.header-search-results .search-result-item:hover {
    background: var(--tp-bg-secondary);
}
.header-search-results .search-result-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: var(--tp-radius-sm);
}
.header-search-results .search-result-item .result-info {
    flex: 1;
}
.header-search-results .search-result-item .result-name {
    font-size: var(--tp-font-size-sm);
    font-weight: 600;
}
.header-search-results .search-result-item .result-price {
    font-size: var(--tp-font-size-xs);
    color: var(--tp-primary);
    font-weight: 700;
}
.header-search-results .search-no-results {
    padding: var(--tp-space-lg);
    text-align: center;
    color: var(--tp-text-muted);
    font-size: var(--tp-font-size-sm);
}
.header-search-results .search-view-all {
    display: block;
    text-align: center;
    padding: var(--tp-space-sm);
    color: var(--tp-primary);
    font-weight: 600;
    font-size: var(--tp-font-size-sm);
    text-decoration: none;
    border-top: 1px solid var(--tp-border);
}
.header-search-results .search-view-all:hover {
    background: var(--tp-bg-secondary);
}

/* Header acciones */
.header-actions {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    flex-shrink: 0;
}

/* Header Social Icons */
.header-social {
    display: flex;
    align-items: center;
    gap: 6px;
}

.header-social a {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    color: white;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.header-social a:hover {
    transform: scale(1.1);
    opacity: 0.9;
}

.header-social-facebook {
    background: #1877F2;
}

.header-social-instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.header-social-whatsapp {
    background: #25D366;
}

.header-social-tiktok {
    background: #000000;
}

/* Modo Oscuro Toggle */
.dark-mode-toggle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tp-bg-secondary);
    color: var(--tp-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--tp-font-size-lg);
    transition: var(--tp-transition);
    border: none;
    cursor: pointer;
}

.dark-mode-toggle:hover {
    background: var(--tp-primary);
    color: white;
}

.dark-mode-toggle .fa-sun {
    display: none;
}

[data-theme="dark"] .dark-mode-toggle .fa-sun {
    display: inline;
}

[data-theme="dark"] .dark-mode-toggle .fa-moon {
    display: none;
}

/* Carrito */
.header-cart {
    position: relative;
}

.header-cart a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tp-bg-secondary);
    color: var(--tp-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--tp-font-size-lg);
    transition: var(--tp-transition);
}

.header-cart a:hover {
    background: var(--tp-primary);
    color: white;
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: var(--tp-danger);
    color: white;
    font-size: 11px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--tp-bg-primary);
}

/* Menú Hamburguesa */
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tp-bg-secondary);
    color: var(--tp-text-secondary);
    align-items: center;
    justify-content: center;
    font-size: var(--tp-font-size-xl);
    border: none;
    cursor: pointer;
}

/* ============================================
   NAVEGACIÓN PRINCIPAL
   ============================================ */
.main-nav {
    background: var(--tp-bg-primary);
    border-bottom: 1px solid var(--tp-border-light);
    position: sticky;
    top: var(--tp-header-height);
    z-index: 1040;
    transition: top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.site-header.scrolled ~ .main-nav {
    top: 60px;
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    padding: 14px 20px;
    color: var(--tp-text-secondary);
    font-weight: 500;
    font-size: var(--tp-font-size-sm);
    transition: var(--tp-transition);
    position: relative;
}

.nav-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: var(--tp-primary);
    border-radius: 3px 3px 0 0;
    transition: var(--tp-transition);
}

.nav-menu li a:hover,
.nav-menu li.current-menu-item a {
    color: var(--tp-primary);
}

.nav-menu li a:hover::after,
.nav-menu li.current-menu-item a::after {
    width: 100%;
}

/* Sub-menú */
.nav-menu li .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--tp-bg-card);
    border-radius: 0 0 var(--tp-radius-md) var(--tp-radius-md);
    box-shadow: var(--tp-shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--tp-transition);
    z-index: 100;
    border: 1px solid var(--tp-border-light);
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu li .sub-menu li a {
    padding: 10px 20px;
    text-transform: none;
    font-size: var(--tp-font-size-sm);
}

.nav-menu li .sub-menu li a::after {
    display: none;
}

.nav-menu li .sub-menu li a:hover {
    background: var(--tp-bg-secondary);
    padding-left: 25px;
}

.nav-whatsapp {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    color: #25D366;
    font-weight: 600;
    font-size: var(--tp-font-size-sm);
}

.nav-whatsapp i {
    font-size: var(--tp-font-size-xl);
}

/* ============================================
   HERO / SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
    background: var(--tp-gradient-hero);
    min-height: 500px;
}

.hero-slides {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    padding: var(--tp-space-3xl) 0;
}

.hero-slide .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-3xl);
}

.hero-content {
    flex: 1;
    color: white;
    max-width: 550px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--tp-space-sm);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: var(--tp-radius-full);
    font-size: var(--tp-font-size-sm);
    font-weight: 500;
    margin-bottom: var(--tp-space-lg);
}

.hero-content h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: var(--tp-space-md);
    line-height: 1.2;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--tp-font-size-lg);
    margin-bottom: var(--tp-space-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--tp-space-md);
    flex-wrap: wrap;
}

.hero-buttons .btn-primary {
    background: white;
    color: var(--tp-primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-buttons .btn-primary:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.hero-buttons .btn-outline {
    border-color: white;
    color: white;
}

.hero-buttons .btn-outline:hover {
    background: white;
    color: var(--tp-primary);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 500px;
}

.hero-image img {
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
    animation: heroFloat 6s ease-in-out infinite;
}

@keyframes heroFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* Hero slide content enter animation */
.hero-slide .slide-content {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease 0.15s, transform 0.6s ease 0.15s;
}

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

.hero-price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: var(--tp-space-xs);
    background: var(--tp-accent);
    color: white;
    padding: 10px 24px;
    border-radius: var(--tp-radius-full);
    font-weight: 700;
    font-size: var(--tp-font-size-xl);
    margin-top: var(--tp-space-md);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.4);
}

.hero-price-tag small {
    font-size: var(--tp-font-size-sm);
    font-weight: 400;
    opacity: 0.9;
}

/* Slider controles */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--tp-space-sm);
    z-index: 10;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: var(--tp-transition);
}

.slider-dot.active {
    background: white;
    width: 36px;
    border-radius: 6px;
}

.slider-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
    pointer-events: none;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    transition: var(--tp-transition);
    pointer-events: all;
    font-size: var(--tp-font-size-lg);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* ============================================
   CATEGORÍAS
   ============================================ */
.categories-section {
    background: var(--tp-bg-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tp-space-xl);
}

.category-card {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    padding: var(--tp-space-2xl) var(--tp-space-lg);
    text-align: center;
    transition: var(--tp-transition);
    box-shadow: var(--tp-shadow-sm);
    border: 1px solid var(--tp-border-light);
}

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

.category-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--tp-space-lg);
    background: var(--tp-primary-light);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--tp-primary);
    transition: var(--tp-transition);
}

.category-card:hover .category-icon {
    background: var(--tp-primary);
    color: white;
}

.category-card h3 {
    font-size: var(--tp-font-size-lg);
    margin-bottom: var(--tp-space-xs);
}

.category-card p {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
    margin-bottom: 0;
}

/* ============================================
   TARJETAS DE PRODUCTO
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tp-space-xl);
}

.product-card {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    overflow: hidden;
    box-shadow: var(--tp-shadow-card);
    transition: var(--tp-transition);
    border: 1px solid var(--tp-border-light);
    position: relative;
}

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

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
    background: var(--tp-bg-secondary);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Badges */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-xs);
    z-index: 2;
}

.badge {
    display: inline-flex;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: var(--tp-font-size-xs);
    font-weight: 600;
}

.badge-sale {
    background: var(--tp-danger);
    color: white;
}

.badge-new {
    background: var(--tp-secondary);
    color: white;
}

.badge-hot {
    background: var(--tp-accent);
    color: white;
}

/* Acciones rápidas */
.product-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-xs);
    opacity: 0;
    transform: translateX(10px);
    transition: var(--tp-transition);
    z-index: 2;
}

.product-card:hover .product-actions {
    opacity: 1;
    transform: translateX(0);
}

.product-action-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tp-bg-card);
    color: var(--tp-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--tp-font-size-sm);
    box-shadow: var(--tp-shadow-sm);
    transition: var(--tp-transition);
    border: none;
    cursor: pointer;
}

.product-action-btn:hover {
    background: var(--tp-primary);
    color: white;
}

/* Info del producto */
.product-card-info {
    padding: var(--tp-space-lg);
}

.product-category {
    font-size: var(--tp-font-size-xs);
    color: var(--tp-primary);
    font-weight: 600;
    margin-bottom: var(--tp-space-xs);
}

.product-card-info h3 {
    font-size: var(--tp-font-size-base);
    font-weight: 600;
    margin-bottom: var(--tp-space-sm);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-info h3 a {
    color: var(--tp-text-primary);
}

.product-card-info h3 a:hover {
    color: var(--tp-primary);
}

/* Rating */
.product-rating {
    display: flex;
    align-items: center;
    gap: var(--tp-space-xs);
    margin-bottom: var(--tp-space-sm);
}

.product-rating .stars {
    color: #FFC107;
    font-size: var(--tp-font-size-sm);
}

.product-rating .count {
    font-size: var(--tp-font-size-xs);
    color: var(--tp-text-muted);
}

/* Precios */
.product-price {
    display: flex;
    align-items: baseline;
    gap: var(--tp-space-sm);
    margin-bottom: var(--tp-space-sm);
}

.price-current {
    font-size: var(--tp-font-size-xl);
    font-weight: 700;
    color: var(--tp-primary);
}

.price-old {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
    text-decoration: line-through;
}

.product-installment {
    font-size: var(--tp-font-size-xs);
    color: var(--tp-secondary);
    font-weight: 500;
    margin-bottom: var(--tp-space-md);
}

.product-installment i {
    margin-right: 4px;
}

/* Botones del producto */
.product-card-buttons {
    display: flex;
    gap: var(--tp-space-sm);
}

.product-card-buttons .btn {
    flex: 1;
    padding: 10px 12px;
    font-size: var(--tp-font-size-xs);
}

/* ============================================
   OFERTAS BANNER
   ============================================ */
.offers-banner {
    background: var(--tp-gradient-hero);
    padding: var(--tp-space-3xl) 0;
    position: relative;
    overflow: hidden;
}

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

.offers-banner .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.offers-content {
    color: white;
    max-width: 550px;
}

.offers-content h2 {
    color: white;
    font-size: var(--tp-font-size-3xl);
    margin-bottom: var(--tp-space-md);
}

.offers-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--tp-font-size-lg);
    margin-bottom: var(--tp-space-xl);
}

.offers-timer {
    display: flex;
    gap: var(--tp-space-md);
    margin-bottom: var(--tp-space-xl);
}

.timer-block {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: var(--tp-space-md) var(--tp-space-lg);
    border-radius: var(--tp-radius-md);
    text-align: center;
    min-width: 80px;
}

.timer-block .number {
    display: block;
    font-size: var(--tp-font-size-3xl);
    font-weight: 700;
    line-height: 1;
}

.timer-block .label {
    font-size: var(--tp-font-size-xs);
    opacity: 0.8;
    text-transform: uppercase;
}

/* ============================================
   VENTAJAS / POR QUÉ ELEGIRNOS
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tp-space-xl);
}

.feature-card {
    text-align: center;
    padding: var(--tp-space-xl);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--tp-space-lg);
    background: var(--tp-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--tp-primary);
    transition: var(--tp-transition);
}

.feature-card:hover .feature-icon {
    background: var(--tp-primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
}

.feature-card h4 {
    margin-bottom: var(--tp-space-sm);
}

.feature-card p {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
    margin-bottom: 0;
}

/* ============================================
   PÁGINA DE PRODUCTO INDIVIDUAL
   ============================================ */
.single-product-section {
    padding: var(--tp-space-3xl) 0;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tp-space-3xl);
    align-items: start;
}

/* Galería */
.product-gallery {
    position: sticky;
    top: calc(var(--tp-header-height) + 20px);
}

.gallery-main {
    border-radius: var(--tp-radius-lg);
    overflow: hidden;
    background: var(--tp-bg-secondary);
    margin-bottom: var(--tp-space-md);
    aspect-ratio: 1;
    cursor: zoom-in;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-main:hover img {
    transform: scale(1.08);
}

.gallery-thumbs {
    display: flex;
    gap: var(--tp-space-sm);
}

.gallery-thumb {
    width: 80px;
    height: 80px;
    border-radius: var(--tp-radius-sm);
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--tp-transition);
    background: var(--tp-bg-secondary);
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--tp-primary);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Info del producto */
.product-info {
    padding: var(--tp-space-md) 0;
}

.product-info .product-category {
    font-size: var(--tp-font-size-sm);
    margin-bottom: var(--tp-space-sm);
}

.product-info h1 {
    font-size: var(--tp-font-size-3xl);
    margin-bottom: var(--tp-space-md);
}

.product-info .product-rating {
    margin-bottom: var(--tp-space-lg);
}

.product-short-description {
    font-size: var(--tp-font-size-base);
    color: var(--tp-text-secondary);
    margin-bottom: var(--tp-space-xl);
    padding-bottom: var(--tp-space-xl);
    border-bottom: 1px solid var(--tp-border-light);
}

/* Precio grande */
.product-price-box {
    background: var(--tp-bg-secondary);
    border-radius: var(--tp-radius-md);
    padding: var(--tp-space-xl);
    margin-bottom: var(--tp-space-xl);
}

.price-label {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
    margin-bottom: var(--tp-space-xs);
}

.price-main {
    font-size: var(--tp-font-size-4xl);
    font-weight: 700;
    color: var(--tp-primary);
}

.price-old-detail {
    font-size: var(--tp-font-size-lg);
    color: var(--tp-text-muted);
    text-decoration: line-through;
    margin-left: var(--tp-space-md);
}

/* ============================================
   CALCULADORA DE CUOTAS
   ============================================ */
.installment-calculator {
    background: var(--tp-bg-card);
    border: 2px solid var(--tp-border);
    border-radius: var(--tp-radius-lg);
    padding: var(--tp-space-xl);
    margin-bottom: var(--tp-space-xl);
}

.calculator-header {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    margin-bottom: var(--tp-space-lg);
}

.calculator-header i {
    font-size: var(--tp-font-size-xl);
    color: var(--tp-secondary);
}

.calculator-header h3 {
    font-size: var(--tp-font-size-lg);
    margin: 0;
}

/* Tabs de cuotas */
.installment-tabs {
    display: flex;
    gap: var(--tp-space-sm);
    margin-bottom: var(--tp-space-xl);
}

.installment-tab {
    flex: 1;
    padding: 12px;
    border: 2px solid var(--tp-border);
    border-radius: var(--tp-radius-md);
    background: var(--tp-bg-secondary);
    text-align: center;
    cursor: pointer;
    transition: var(--tp-transition);
    font-weight: 500;
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-secondary);
}

.installment-tab:hover {
    border-color: var(--tp-primary);
    color: var(--tp-primary);
}

.installment-tab.active {
    background: var(--tp-primary);
    border-color: var(--tp-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(33, 150, 243, 0.3);
}

.installment-tab .months {
    display: block;
    font-size: var(--tp-font-size-2xl);
    font-weight: 700;
    line-height: 1.2;
}

.installment-tab .label {
    font-size: var(--tp-font-size-xs);
    opacity: 0.8;
}

/* Resultado calculadora */
.calculator-result {
    text-align: center;
    background: var(--tp-bg-secondary);
    border-radius: var(--tp-radius-md);
    padding: var(--tp-space-xl);
}

.monthly-payment {
    margin-bottom: var(--tp-space-md);
}

.monthly-payment .label {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
    margin-bottom: var(--tp-space-xs);
}

.monthly-payment .amount {
    font-size: var(--tp-font-size-4xl);
    font-weight: 700;
    color: var(--tp-secondary);
}

.monthly-payment .per-month {
    font-size: var(--tp-font-size-base);
    color: var(--tp-text-muted);
}

.calculator-details {
    display: flex;
    justify-content: center;
    gap: var(--tp-space-2xl);
    padding-top: var(--tp-space-md);
    border-top: 1px solid var(--tp-border);
}

.calc-detail {
    text-align: center;
}

.calc-detail .label {
    font-size: var(--tp-font-size-xs);
    color: var(--tp-text-muted);
    display: block;
    margin-bottom: 2px;
}

.calc-detail .value {
    font-size: var(--tp-font-size-base);
    font-weight: 600;
    color: var(--tp-text-primary);
}

.calculator-note {
    text-align: center;
    font-size: var(--tp-font-size-xs);
    color: var(--tp-text-muted);
    margin-top: var(--tp-space-md);
    font-style: italic;
}

/* Caja de compra del producto */
.product-buy-box {
    background: var(--tp-bg-secondary);
    border: 2px solid var(--tp-border-light);
    border-radius: var(--tp-radius-lg);
    padding: var(--tp-space-lg);
    margin-bottom: var(--tp-space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-md);
}

.buy-box-row {
    display: flex;
    align-items: center;
    gap: var(--tp-space-md);
}

.buy-box-label {
    font-weight: 600;
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-secondary);
    min-width: 80px;
}

.product-buy-box .btn-add-to-cart {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: var(--tp-font-size-lg);
}

.btn-whatsapp-alt {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px;
    background: transparent;
    color: #25D366;
    border: 2px solid #25D366;
    border-radius: 30px;
    font-size: var(--tp-font-size-base);
    font-weight: 600;
    font-family: var(--tp-font-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

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

/* Legacy support */
.product-actions-main {
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-md);
    margin-bottom: var(--tp-space-xl);
    padding: var(--tp-space-lg);
    background: var(--tp-bg-secondary);
    border-radius: var(--tp-radius-lg);
}

.product-actions-main .btn {
    width: 100%;
    padding: 18px;
    font-size: var(--tp-font-size-lg);
}

.product-actions-main .btn-primary {
    font-size: var(--tp-font-size-lg);
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.35);
}

.product-quantity {
    display: flex;
    align-items: center;
    gap: var(--tp-space-md);
    margin-bottom: var(--tp-space-xl);
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 2px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    overflow: hidden;
}

.quantity-btn {
    width: 44px;
    height: 44px;
    background: var(--tp-bg-secondary);
    border: none;
    color: var(--tp-text-primary);
    font-size: var(--tp-font-size-lg);
    cursor: pointer;
    transition: var(--tp-transition-fast);
}

.quantity-btn:hover {
    background: var(--tp-primary);
    color: white;
}

.quantity-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--tp-border);
    border-right: 1px solid var(--tp-border);
    font-weight: 600;
    background: var(--tp-bg-primary);
    color: var(--tp-text-primary);
}

/* Meta del producto */
.product-meta {
    padding-top: var(--tp-space-lg);
    border-top: 1px solid var(--tp-border-light);
}

.product-meta-item {
    display: flex;
    gap: var(--tp-space-sm);
    margin-bottom: var(--tp-space-sm);
    font-size: var(--tp-font-size-sm);
}

.product-meta-item strong {
    color: var(--tp-text-primary);
    min-width: 100px;
}

/* Tabs de producto (Descripción, Info adicional, etc.) */
.product-tabs {
    margin-top: var(--tp-space-3xl);
}

.product-tabs-nav {
    display: flex;
    border-bottom: 2px solid var(--tp-border-light);
    margin-bottom: var(--tp-space-xl);
}

.product-tabs-nav button {
    padding: 14px 28px;
    background: none;
    border: none;
    color: var(--tp-text-muted);
    font-weight: 500;
    font-size: var(--tp-font-size-base);
    position: relative;
    transition: var(--tp-transition);
    cursor: pointer;
}

.product-tabs-nav button::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--tp-primary);
    transform: scaleX(0);
    transition: var(--tp-transition);
}

.product-tabs-nav button.active,
.product-tabs-nav button:hover {
    color: var(--tp-primary);
}

.product-tabs-nav button.active::after {
    transform: scaleX(1);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Productos relacionados */
.related-products {
    padding: var(--tp-space-section) 0;
    background: var(--tp-bg-secondary);
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
    padding: var(--tp-space-md) 0;
    background: var(--tp-bg-secondary);
    border-bottom: 1px solid var(--tp-border-light);
}

.breadcrumbs-list {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    font-size: var(--tp-font-size-sm);
    flex-wrap: wrap;
}

.breadcrumbs-list li {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
}

.breadcrumbs-list li a {
    color: var(--tp-text-muted);
}

.breadcrumbs-list li a:hover {
    color: var(--tp-primary);
}

.breadcrumbs-list li .separator {
    color: var(--tp-text-muted);
    font-size: var(--tp-font-size-xs);
}

.breadcrumbs-list li:last-child {
    color: var(--tp-text-primary);
    font-weight: 500;
}

/* ============================================
   ARCHIVO DE PRODUCTOS / TIENDA
   ============================================ */
.shop-section {
    padding: var(--tp-space-3xl) 0;
}

.shop-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--tp-space-2xl);
}

/* Sidebar / Filtros */
.shop-sidebar {
    position: sticky;
    top: calc(var(--tp-header-height) + 20px);
    align-self: start;
}

/* Filter toggle button - oculto en desktop */
.filter-toggle-btn {
    display: none;
    width: 100%;
    padding: 12px var(--tp-space-md);
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-md);
    color: var(--tp-text-primary);
    font-size: var(--tp-font-size-sm);
    font-weight: 600;
    align-items: center;
    justify-content: center;
    gap: var(--tp-space-sm);
    cursor: pointer;
    margin-bottom: var(--tp-space-md);
    transition: var(--tp-transition);
}

.filter-toggle-btn:hover {
    background: var(--tp-primary);
    color: white;
    border-color: var(--tp-primary);
}

.filter-toggle-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
    font-size: var(--tp-font-size-xs);
}

.filter-toggle-btn.active .filter-toggle-arrow {
    transform: rotate(180deg);
}

.filter-group {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-md);
    padding: var(--tp-space-lg);
    margin-bottom: var(--tp-space-lg);
    box-shadow: var(--tp-shadow-sm);
    border: 1px solid var(--tp-border-light);
}

.filter-group h4 {
    font-size: var(--tp-font-size-base);
    margin-bottom: var(--tp-space-md);
    padding-bottom: var(--tp-space-sm);
    border-bottom: 1px solid var(--tp-border-light);
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
}

.filter-group h4 i {
    color: var(--tp-primary);
}

.filter-list li {
    margin-bottom: var(--tp-space-sm);
}

.filter-list li a,
.filter-list li label {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    color: var(--tp-text-secondary);
    font-size: var(--tp-font-size-sm);
    padding: 6px 0;
    transition: var(--tp-transition-fast);
    cursor: pointer;
}

.filter-list li a:hover,
.filter-list li label:hover {
    color: var(--tp-primary);
    padding-left: 5px;
}

.filter-list li .count {
    margin-left: auto;
    font-size: var(--tp-font-size-xs);
    color: var(--tp-text-muted);
    background: var(--tp-bg-secondary);
    padding: 2px 8px;
    border-radius: var(--tp-radius-full);
}

/* Price range */
.price-range {
    padding: var(--tp-space-sm) 0;
}

.price-range input[type="range"] {
    width: 100%;
    margin: var(--tp-space-sm) 0;
    accent-color: var(--tp-primary);
}

.price-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: var(--tp-font-size-xs);
    color: var(--tp-text-muted);
}

/* Inputs de precio min/max */
.price-inputs {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    margin-bottom: var(--tp-space-sm);
}

.price-input-group {
    flex: 1;
}

.price-input-group label {
    display: block;
    font-size: var(--tp-font-size-xs);
    color: var(--tp-text-muted);
    margin-bottom: 2px;
}

.price-input-group input {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    font-size: var(--tp-font-size-xs);
    background: var(--tp-bg-primary);
    color: var(--tp-text-primary);
}

.price-separator {
    color: var(--tp-text-muted);
    padding-top: 16px;
}

/* Categoría activa */
.filter-list li.active > a {
    color: var(--tp-primary);
    font-weight: 600;
    padding-left: 5px;
}

/* Filtros activos */
.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: var(--tp-space-xs);
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--tp-space-xs);
    padding: 4px 10px;
    background: var(--tp-primary-light);
    color: var(--tp-primary-dark);
    border-radius: var(--tp-radius-full);
    font-size: var(--tp-font-size-xs);
    font-weight: 500;
    transition: var(--tp-transition-fast);
    text-decoration: none;
}

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

.filter-tag span {
    font-weight: 700;
    font-size: var(--tp-font-size-sm);
}

.filter-clear {
    display: block;
    width: 100%;
    text-align: center;
    margin-top: var(--tp-space-sm);
    font-size: var(--tp-font-size-xs);
    color: var(--tp-text-muted);
    text-decoration: underline;
}

.filter-clear:hover {
    color: var(--tp-danger);
}

/* Vista lista para productos */
.products-grid.list-view {
    grid-template-columns: 1fr !important;
}

.products-grid.list-view .product-card {
    display: grid;
    grid-template-columns: 200px 1fr;
}

.products-grid.list-view .product-card-image {
    aspect-ratio: 1;
}

.products-grid.list-view .product-card-info h3 {
    -webkit-line-clamp: unset;
}

.products-grid.list-view .product-card-buttons {
    flex-direction: row;
}

@media (max-width: 768px) {
    .products-grid.list-view .product-card {
        grid-template-columns: 120px 1fr;
    }
}

@media (max-width: 480px) {
    .products-grid.list-view .product-card {
        grid-template-columns: 1fr;
    }
}

/* Shop toolbar */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--tp-space-xl);
    padding-bottom: var(--tp-space-md);
    border-bottom: 1px solid var(--tp-border-light);
    flex-wrap: wrap;
    gap: var(--tp-space-md);
}

.shop-result-count {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
}

.shop-sort label {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
    white-space: nowrap;
}

.shop-sort select {
    padding: 8px 16px;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    background: var(--tp-bg-card);
    color: var(--tp-text-primary);
    font-size: var(--tp-font-size-sm);
    cursor: pointer;
}

.shop-view-toggle {
    display: flex;
    gap: var(--tp-space-xs);
}

.view-btn {
    width: 36px;
    height: 36px;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    background: var(--tp-bg-card);
    color: var(--tp-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--tp-transition-fast);
}

.view-btn.active,
.view-btn:hover {
    background: var(--tp-primary);
    color: white;
    border-color: var(--tp-primary);
}

/* ============================================
   PAGINACIÓN
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--tp-space-sm);
    margin-top: var(--tp-space-2xl);
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--tp-radius-sm);
    border: 1px solid var(--tp-border);
    color: var(--tp-text-secondary);
    font-weight: 500;
    transition: var(--tp-transition);
}

.pagination a:hover {
    background: var(--tp-primary);
    color: white;
    border-color: var(--tp-primary);
}

.pagination .current {
    background: var(--tp-primary);
    color: white;
    border-color: var(--tp-primary);
}

/* ============================================
   FORMULARIO DE CONTACTO
   ============================================ */
.contact-section {
    padding: var(--tp-space-section) 0;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tp-space-3xl);
}

.contact-info-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tp-space-md);
    margin-bottom: var(--tp-space-xl);
}

.contact-info-card {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-md);
    padding: var(--tp-space-lg);
    text-align: center;
    box-shadow: var(--tp-shadow-sm);
    border: 1px solid var(--tp-border-light);
    transition: var(--tp-transition);
}

.contact-info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-md);
}

.contact-info-card i {
    font-size: 1.5rem;
    color: var(--tp-primary);
    margin-bottom: var(--tp-space-sm);
}

.contact-info-card h4 {
    font-size: var(--tp-font-size-sm);
    margin-bottom: var(--tp-space-xs);
}

.contact-info-card p {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
    margin-bottom: 0;
}

.contact-form {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    padding: var(--tp-space-2xl);
    box-shadow: var(--tp-shadow-sm);
    border: 1px solid var(--tp-border-light);
}

.contact-form h3 {
    margin-bottom: var(--tp-space-xl);
}

.form-group {
    margin-bottom: var(--tp-space-lg);
}

.form-group label {
    display: block;
    font-size: var(--tp-font-size-sm);
    font-weight: 500;
    color: var(--tp-text-primary);
    margin-bottom: var(--tp-space-sm);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    background: var(--tp-bg-primary);
    color: var(--tp-text-primary);
    font-size: var(--tp-font-size-base);
    transition: var(--tp-transition);
}

.form-control:focus {
    border-color: var(--tp-primary);
    box-shadow: 0 0 0 3px var(--tp-primary-light);
    outline: none;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tp-space-md);
}

.contact-map {
    border-radius: var(--tp-radius-lg);
    overflow: hidden;
    box-shadow: var(--tp-shadow-sm);
}

.contact-map iframe {
    width: 100%;
    height: 300px;
    border: none;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--tp-gradient-footer);
    color: rgba(255, 255, 255, 0.8);
}

.footer-main {
    padding: var(--tp-space-section) 0 var(--tp-space-2xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: var(--tp-space-2xl);
}

.footer-col h4 {
    color: white;
    font-size: var(--tp-font-size-lg);
    margin-bottom: var(--tp-space-xl);
    position: relative;
    padding-bottom: var(--tp-space-sm);
}

.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--tp-primary);
    border-radius: 2px;
}

.footer-about p {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--tp-font-size-sm);
    line-height: 1.8;
}

.footer-social {
    display: flex;
    gap: var(--tp-space-sm);
    margin-top: var(--tp-space-lg);
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--tp-transition);
}

.footer-social a:hover {
    background: var(--tp-primary);
    transform: translateY(-3px);
    color: white;
}

.footer-social a.whatsapp:hover {
    background: #25D366;
}

.footer-social a.facebook:hover {
    background: #1877F2;
}

.footer-social a.instagram:hover {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.footer-links li {
    margin-bottom: var(--tp-space-sm);
}

.footer-links li a {
    color: rgba(255, 255, 255, 0.7);
    font-size: var(--tp-font-size-sm);
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    transition: var(--tp-transition-fast);
}

.footer-links li a:hover {
    color: white;
    padding-left: 5px;
}

.footer-links li a i {
    font-size: var(--tp-font-size-xs);
    color: var(--tp-primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: var(--tp-space-sm);
    margin-bottom: var(--tp-space-md);
    font-size: var(--tp-font-size-sm);
}

.footer-contact li i {
    color: var(--tp-primary);
    margin-top: 3px;
    font-size: var(--tp-font-size-base);
}

.footer-map {
    border-radius: var(--tp-radius-md);
    overflow: hidden;
    margin-top: var(--tp-space-md);
}

.footer-map iframe {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: var(--tp-radius-md);
    opacity: 0.8;
}

/* Footer bottom */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: var(--tp-space-lg) 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--tp-space-md);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--tp-font-size-sm);
    margin-bottom: 0;
}

.footer-payments {
    display: flex;
    align-items: center;
    gap: var(--tp-space-md);
}

.footer-payments span {
    font-size: var(--tp-font-size-sm);
    color: rgba(255, 255, 255, 0.5);
}

.footer-payments img {
    height: 24px;
    opacity: 0.6;
}

/* ============================================
   WHATSAPP BOTÓN FLOTANTE
   ============================================ */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
}

.whatsapp-float-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--tp-transition);
    animation: whatsappPulse 2s infinite;
    text-decoration: none;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
    color: white;
}

@keyframes whatsappPulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: #333;
    padding: 8px 16px;
    border-radius: var(--tp-radius-sm);
    font-size: var(--tp-font-size-sm);
    font-weight: 500;
    white-space: nowrap;
    box-shadow: var(--tp-shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--tp-transition);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
    text-align: center;
    padding: var(--tp-space-section) 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.error-404 h1 {
    font-size: 8rem;
    background: var(--tp-gradient-hero);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
    line-height: 1;
    margin-bottom: var(--tp-space-md);
}

.error-404 h2 {
    margin-bottom: var(--tp-space-md);
}

.error-404 p {
    font-size: var(--tp-font-size-lg);
    max-width: 500px;
    margin: 0 auto var(--tp-space-xl);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   SCROLL TO TOP
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 96px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tp-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--tp-font-size-lg);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--tp-transition);
    box-shadow: var(--tp-shadow-md);
    border: none;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--tp-primary-dark);
    transform: translateY(-3px);
}

/* ============================================
   LOADING SKELETON
   ============================================ */
.skeleton {
    background: linear-gradient(90deg, var(--tp-bg-secondary) 25%, var(--tp-bg-tertiary) 50%, var(--tp-bg-secondary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--tp-radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: var(--tp-transition);
}

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

.mobile-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background: var(--tp-bg-primary);
    z-index: 9999;
    transition: var(--tp-transition);
    overflow-y: auto;
    box-shadow: var(--tp-shadow-lg);
}

.mobile-nav.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--tp-space-lg);
    border-bottom: 1px solid var(--tp-border-light);
}

.mobile-nav-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--tp-bg-secondary);
    color: var(--tp-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
}

.mobile-nav-menu {
    padding: var(--tp-space-md);
}

.mobile-nav-menu li a {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    padding: 12px var(--tp-space-md);
    color: var(--tp-text-primary);
    font-weight: 500;
    border-radius: var(--tp-radius-sm);
    transition: var(--tp-transition-fast);
}

.mobile-nav-menu li a:hover {
    background: var(--tp-bg-secondary);
    color: var(--tp-primary);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .products-grid,
    .categories-grid,
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-slide .container {
        flex-direction: column;
        text-align: center;
    }

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

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

    .hero-image {
        max-width: 350px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .product-detail {
        grid-template-columns: 1fr;
    }

    .product-gallery {
        position: relative;
        top: 0;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .shop-sidebar {
        position: relative;
        top: 0;
    }

    .filter-toggle-btn {
        display: flex;
    }

    .filter-content {
        display: none;
    }

    .filter-content.active {
        display: block;
    }

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

    .offers-banner .container {
        flex-direction: column;
        text-align: center;
    }

    .offers-timer {
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    :root {
        --tp-space-section: 3rem;
        --tp-header-height: 65px;
    }

    h1 { font-size: var(--tp-font-size-2xl); }
    h2 { font-size: var(--tp-font-size-xl); }

    .topbar-left span:not(:first-child) {
        display: none;
    }

    .header-search {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--tp-space-md);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--tp-space-md);
    }

    .features-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--tp-space-md);
    }

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

    .hero-slider {
        min-height: 400px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-image {
        max-width: 250px;
    }

    .installment-tabs {
        flex-direction: column;
    }

    .calculator-details {
        flex-direction: column;
        gap: var(--tp-space-md);
    }

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

    .contact-info-cards {
        grid-template-columns: 1fr;
    }

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

    .slider-arrows {
        display: none;
    }

    .product-card-info {
        padding: var(--tp-space-md);
    }

    .product-card-buttons {
        flex-direction: column;
    }

    .price-main {
        font-size: var(--tp-font-size-3xl);
    }

    .monthly-payment .amount {
        font-size: var(--tp-font-size-3xl);
    }
}

/* ============================================
   RESPONSIVE - MOBILE SMALL
   ============================================ */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--tp-space-xs);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--tp-space-xs);
    }

    .topbar {
        display: none;
    }

    .hero-slider {
        min-height: 300px;
    }

    .hero-image {
        max-width: 150px;
    }

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

    .hero-buttons .btn {
        padding: 8px 16px;
        font-size: 11px;
    }

    .hero-price-tag {
        font-size: var(--tp-font-size-sm);
        padding: 6px 12px;
    }

    .offers-timer {
        flex-wrap: wrap;
        gap: var(--tp-space-sm);
    }

    .timer-block {
        min-width: 60px;
        padding: var(--tp-space-xs) var(--tp-space-sm);
    }

    .timer-block .number {
        font-size: var(--tp-font-size-lg);
    }

    /* Benefits 1 column on very small */
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    /* Features 1 column */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Brands 2 columns on very small */
    .brands-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Financing cards horizontal scroll */
    .financing-cards {
        flex-direction: row;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        gap: var(--tp-space-sm);
        padding-bottom: var(--tp-space-sm);
    }

    .financing-card {
        min-width: 120px;
        scroll-snap-align: start;
    }
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
    border-radius: var(--tp-radius-md);
    border-left: 4px solid var(--tp-primary);
    background: var(--tp-bg-secondary);
    padding: var(--tp-space-md) var(--tp-space-lg);
}

.woocommerce .woocommerce-message {
    border-left-color: var(--tp-secondary);
}

.woocommerce .woocommerce-error {
    border-left-color: var(--tp-danger);
}

.woocommerce .button,
.woocommerce button.button {
    background: var(--tp-primary) !important;
    color: white !important;
    border-radius: var(--tp-radius-full) !important;
    padding: 12px 28px !important;
    font-weight: 600 !important;
    transition: var(--tp-transition) !important;
    border: none !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover {
    background: var(--tp-primary-dark) !important;
    transform: translateY(-2px);
}

.woocommerce .button.alt,
.woocommerce button.button.alt {
    background: var(--tp-secondary) !important;
}

.woocommerce .button.alt:hover,
.woocommerce button.button.alt:hover {
    background: var(--tp-secondary-dark) !important;
}

/* ============================================
   BARRA DE BENEFICIOS
   ============================================ */
.benefits-bar {
    background: var(--tp-bg-secondary);
    padding: var(--tp-space-lg) 0;
    border-bottom: 1px solid var(--tp-border-light);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tp-space-lg);
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: var(--tp-space-md);
    padding: var(--tp-space-md);
    border-radius: var(--tp-radius-md);
    transition: var(--tp-transition);
}

.benefit-item:hover {
    background: var(--tp-bg-card);
    box-shadow: var(--tp-shadow-sm);
}

.benefit-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 50%;
    background: var(--tp-primary-light);
    color: var(--tp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: var(--tp-transition);
}

.benefit-item:hover .benefit-icon {
    background: var(--tp-primary);
    color: white;
    transform: scale(1.1);
}

.benefit-text strong {
    display: block;
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-primary);
    margin-bottom: 2px;
}

.benefit-text span {
    font-size: var(--tp-font-size-xs);
    color: var(--tp-text-muted);
}

/* ============================================
   SECCIÓN FINANCIAMIENTO
   ============================================ */
.financing-section {
    background: var(--tp-gradient-hero);
    color: white;
    overflow: hidden;
    position: relative;
}

.financing-section::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 50%;
    pointer-events: none;
}

.financing-section .section-header h2,
.financing-section h2 {
    color: white;
}

.financing-section p {
    color: rgba(255, 255, 255, 0.9);
}

.financing-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--tp-space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.financing-cards {
    display: flex;
    gap: var(--tp-space-md);
    margin: var(--tp-space-xl) 0;
}

.financing-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    border-radius: var(--tp-radius-md);
    padding: var(--tp-space-lg);
    text-align: center;
    transition: var(--tp-transition);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.financing-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px);
}

.financing-card-months {
    font-size: var(--tp-font-size-3xl);
    font-weight: 800;
    line-height: 1;
}

.financing-card-label {
    font-size: var(--tp-font-size-xs);
    opacity: 0.8;
    margin-bottom: var(--tp-space-xs);
}

.financing-card-amount {
    font-size: var(--tp-font-size-xl);
    font-weight: 700;
    color: #FFEB3B;
}

.financing-card-note {
    font-size: var(--tp-font-size-xs);
    opacity: 0.7;
}

.financing-example {
    font-size: var(--tp-font-size-sm) !important;
    opacity: 0.8;
    font-style: italic;
}

/* Calculadora interactiva del home */
.financing-calc-interactive {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--tp-radius-md);
    padding: var(--tp-space-xl);
    margin-top: var(--tp-space-xl);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.financing-calc-interactive label {
    display: block;
    font-size: var(--tp-font-size-sm);
    font-weight: 500;
    margin-bottom: var(--tp-space-md);
}

.financing-calc-interactive input[type="range"] {
    width: 100%;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    outline: none;
}

.financing-calc-interactive input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.financing-calc-interactive input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.financing-slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: var(--tp-font-size-xs);
    opacity: 0.7;
    margin-top: var(--tp-space-xs);
}

.financing-slider-value {
    font-weight: 700;
    font-size: var(--tp-font-size-lg);
    color: #FFEB3B;
    opacity: 1;
}

.financing-calc-results {
    display: flex;
    gap: var(--tp-space-md);
    margin-top: var(--tp-space-lg);
}

.financing-calc-result {
    flex: 1;
    text-align: center;
    background: rgba(255, 255, 255, 0.08);
    padding: var(--tp-space-md);
    border-radius: var(--tp-radius-sm);
}

.fcr-months {
    display: block;
    font-size: var(--tp-font-size-xl);
    font-weight: 700;
    margin-bottom: 2px;
}

.fcr-amount {
    font-size: var(--tp-font-size-sm);
    color: #FFEB3B;
    font-weight: 600;
}

.financing-image {
    display: flex;
    justify-content: center;
}

.financing-image img {
    max-width: 100%;
    border-radius: var(--tp-radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

/* ============================================
   MARCAS
   ============================================ */
.brands-section {
    background: var(--tp-bg-secondary);
}

.brands-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--tp-space-xl);
}

.brand-logo {
    padding: var(--tp-space-lg) var(--tp-space-xl);
    border-radius: var(--tp-radius-md);
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border-light);
    transition: var(--tp-transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-logo img {
    filter: grayscale(100%);
    opacity: 0.5;
    transition: var(--tp-transition);
    max-height: 40px;
    width: auto;
}

.brand-logo:hover {
    border-color: var(--brand-color, var(--tp-primary));
    box-shadow: var(--tp-shadow-md);
    transform: translateY(-4px);
}

.brand-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--tp-space-xl);
}

.testimonial-card {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    padding: var(--tp-space-2xl);
    box-shadow: var(--tp-shadow-card);
    border: 1px solid var(--tp-border-light);
    transition: var(--tp-transition);
    position: relative;
}

.testimonial-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 3rem;
    color: var(--tp-primary-light);
    font-family: Georgia, serif;
    line-height: 1;
    opacity: 0.5;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tp-shadow-card-hover);
}

.testimonial-stars {
    color: #FFC107;
    margin-bottom: var(--tp-space-md);
    font-size: var(--tp-font-size-sm);
}

.testimonial-text {
    font-size: var(--tp-font-size-base);
    color: var(--tp-text-secondary);
    line-height: 1.7;
    margin-bottom: var(--tp-space-lg);
    font-style: italic;
}

.testimonial-product {
    font-size: var(--tp-font-size-xs);
    color: var(--tp-primary);
    font-weight: 500;
    margin-bottom: var(--tp-space-md);
    padding-bottom: var(--tp-space-md);
    border-bottom: 1px solid var(--tp-border-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--tp-space-md);
}

.testimonial-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.testimonial-author strong {
    display: block;
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-primary);
}

.testimonial-author span {
    font-size: var(--tp-font-size-xs);
    color: var(--tp-text-muted);
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-section {
    background: var(--tp-gradient-header);
    padding: var(--tp-space-3xl) 0;
}

.newsletter-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--tp-space-2xl);
}

.newsletter-content h2 {
    color: white;
    font-size: var(--tp-font-size-2xl);
    margin-bottom: var(--tp-space-sm);
}

.newsletter-content p {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0;
}

.newsletter-form {
    flex-shrink: 0;
}

.newsletter-input-group {
    display: flex;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--tp-radius-full);
    border: 2px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: var(--tp-transition);
}

.newsletter-input-group:focus-within {
    border-color: var(--tp-primary);
    background: rgba(255, 255, 255, 0.15);
}

.newsletter-input-group input {
    flex: 1;
    min-width: 260px;
    padding: 14px 24px;
    border: none;
    background: transparent;
    color: white;
    font-size: var(--tp-font-size-base);
    outline: none;
}

.newsletter-input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-input-group .btn {
    border-radius: 0 var(--tp-radius-full) var(--tp-radius-full) 0;
    white-space: nowrap;
}

.newsletter-alt {
    text-align: center;
    margin-top: var(--tp-space-md);
    font-size: var(--tp-font-size-sm);
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-alt a {
    color: #25D366;
    font-weight: 600;
}

.newsletter-alt a:hover {
    color: #4ae07d;
}

/* ============================================
   MINI CARRITO (Dropdown Header)
   ============================================ */
.mini-cart-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 360px;
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    border: 1px solid var(--tp-border-light);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--tp-transition);
    z-index: 200;
    padding: 0;
    overflow: hidden;
}

.header-cart:hover .mini-cart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mini-cart-title {
    font-weight: 600;
    font-size: var(--tp-font-size-base);
    padding: var(--tp-space-md) var(--tp-space-lg);
    background: var(--tp-gradient-primary);
    color: white;
    margin: 0;
}

.mini-cart-items {
    max-height: 260px;
    overflow-y: auto;
    padding: var(--tp-space-sm) var(--tp-space-lg);
}

.mini-cart-item {
    display: flex;
    align-items: center;
    gap: var(--tp-space-md);
    padding: var(--tp-space-sm) 0;
    border-bottom: 1px solid var(--tp-border-light);
}

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

.mini-cart-item img {
    width: 54px;
    height: 54px;
    border-radius: var(--tp-radius-sm);
    object-fit: cover;
    border: 1px solid var(--tp-border-light);
}

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

.mini-cart-item-info h5,
.mini-cart-item-name {
    font-size: var(--tp-font-size-sm);
    margin-bottom: 2px;
    font-weight: 500;
    display: block;
}

.mini-cart-item-info .mini-cart-price,
.mini-cart-item-price {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-primary);
    font-weight: 600;
    display: block;
}

.mini-cart-footer {
    border-top: 2px solid var(--tp-border-light);
    padding: var(--tp-space-md) var(--tp-space-lg);
    background: var(--tp-bg-secondary);
}

.mini-cart-total {
    display: flex;
    justify-content: space-between;
    padding: 0 0 var(--tp-space-sm) 0;
    font-weight: 600;
}

.mini-cart-total .amount {
    color: var(--tp-primary);
    font-size: var(--tp-font-size-lg);
    font-weight: 700;
}

.mini-cart-buttons {
    display: flex;
    gap: var(--tp-space-sm);
}

.mini-cart-buttons .btn {
    flex: 1;
    padding: 10px;
    font-size: var(--tp-font-size-xs);
}

.mini-cart-empty {
    text-align: center;
    padding: var(--tp-space-2xl) var(--tp-space-lg);
    color: var(--tp-text-muted);
}

.mini-cart-empty i {
    font-size: 2.5rem;
    margin-bottom: var(--tp-space-sm);
    display: block;
    color: var(--tp-border);
}

.mini-cart-empty p {
    margin-bottom: var(--tp-space-md);
}

.mini-cart-item-remove {
    background: none;
    border: none;
    color: var(--tp-text-muted);
    font-size: var(--tp-font-size-lg);
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    transition: color 0.2s ease;
}

.mini-cart-item-remove:hover {
    color: var(--tp-danger);
}

/* ============================================
   CART TOAST (Notificación al agregar al carrito)
   ============================================ */
.cart-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--tp-bg-card);
    border: 1px solid var(--tp-border-light);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow-lg);
    padding: var(--tp-space-md) var(--tp-space-lg);
    display: flex;
    align-items: center;
    gap: var(--tp-space-lg);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    max-width: 440px;
    width: 90%;
}

.cart-toast.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.cart-toast-content {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    flex: 1;
    font-weight: 500;
    font-size: var(--tp-font-size-sm);
}

.cart-toast-content i {
    color: var(--tp-secondary);
    font-size: var(--tp-font-size-xl);
}

.cart-toast-actions {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    flex-shrink: 0;
}

.cart-toast-close {
    background: none;
    border: none;
    color: var(--tp-text-muted);
    font-size: var(--tp-font-size-xl);
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.cart-toast-close:hover {
    color: var(--tp-text-primary);
}

/* ============================================
   BADGES DE SEGURIDAD / PAGOS (Footer)
   ============================================ */
.footer-security {
    display: flex;
    justify-content: center;
    gap: var(--tp-space-2xl);
    padding: var(--tp-space-xl) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: var(--tp-space-xl);
}

.security-badge {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--tp-font-size-sm);
}

.security-badge i {
    font-size: 1.1rem;
    color: var(--tp-secondary);
}

.footer-payments-section {
    text-align: center;
    padding: var(--tp-space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-payments-section h5 {
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--tp-font-size-sm);
    font-weight: 400;
    margin-bottom: var(--tp-space-md);
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: var(--tp-space-lg);
    flex-wrap: wrap;
}

.payment-icon {
    display: flex;
    align-items: center;
    gap: var(--tp-space-xs);
    color: rgba(255, 255, 255, 0.5);
    font-size: var(--tp-font-size-sm);
}

.payment-icon i {
    font-size: 1.2rem;
}

/* ============================================
   PÁGINA FINANCIAMIENTO
   ============================================ */
.finance-hero {
    background: var(--tp-gradient-hero);
    padding: var(--tp-space-3xl) 0;
    text-align: center;
    color: white;
}

.finance-hero h1 {
    color: white;
    margin-bottom: var(--tp-space-md);
}

.finance-hero p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--tp-font-size-lg);
    max-width: 600px;
    margin: 0 auto;
}

.finance-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--tp-space-xl);
    counter-reset: step;
}

.finance-step {
    text-align: center;
    position: relative;
    padding: var(--tp-space-xl);
}

.finance-step::before {
    counter-increment: step;
    content: counter(step);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--tp-gradient-primary);
    color: white;
    font-weight: 700;
    font-size: var(--tp-font-size-xl);
    border-radius: 50%;
    margin: 0 auto var(--tp-space-md);
}

.finance-step-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto var(--tp-space-md);
    background: var(--tp-primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--tp-primary);
}

.finance-step h4 {
    margin-bottom: var(--tp-space-sm);
}

.finance-step p {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
    margin-bottom: 0;
}

/* Grande calculadora de financiamiento */
.finance-calculator-big {
    max-width: 700px;
    margin: 0 auto;
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    padding: var(--tp-space-2xl);
    box-shadow: var(--tp-shadow-lg);
    border: 2px solid var(--tp-primary-light);
}

.finance-calculator-big h3 {
    text-align: center;
    margin-bottom: var(--tp-space-xl);
}

.finance-slider-group {
    margin-bottom: var(--tp-space-xl);
}

.finance-slider-group label {
    display: block;
    font-size: var(--tp-font-size-sm);
    font-weight: 500;
    margin-bottom: var(--tp-space-sm);
    color: var(--tp-text-secondary);
}

.finance-price-display {
    text-align: center;
    font-size: var(--tp-font-size-3xl);
    font-weight: 700;
    color: var(--tp-primary);
    margin-bottom: var(--tp-space-md);
}

.finance-slider-group input[type="range"] {
    width: 100%;
    accent-color: var(--tp-primary);
}

.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-md);
    margin-bottom: var(--tp-space-md);
    border: 1px solid var(--tp-border-light);
    overflow: hidden;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--tp-space-lg);
    cursor: pointer;
    font-weight: 500;
    transition: var(--tp-transition-fast);
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    color: var(--tp-text-primary);
    font-size: var(--tp-font-size-base);
    font-family: var(--tp-font-primary);
}

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

.faq-question i {
    transition: var(--tp-transition);
    color: var(--tp-primary);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer-inner {
    padding: 0 var(--tp-space-lg) var(--tp-space-lg);
    color: var(--tp-text-secondary);
    font-size: var(--tp-font-size-sm);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ============================================
   RESPONSIVE ADDITIONS
   ============================================ */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .financing-layout {
        grid-template-columns: 1fr;
    }

    .financing-image {
        display: none;
    }

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

    .newsletter-layout {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-input-group input {
        min-width: 200px;
    }

    .finance-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-security {
        flex-wrap: wrap;
        gap: var(--tp-space-md);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--tp-space-sm);
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        padding: var(--tp-space-sm);
    }

    .financing-cards {
        flex-direction: column;
    }

    .financing-calc-results {
        flex-direction: column;
    }

    .brands-grid {
        gap: var(--tp-space-md);
    }

    .brand-logo {
        padding: var(--tp-space-md);
    }

    .newsletter-input-group {
        flex-direction: column;
        border-radius: var(--tp-radius-md);
    }

    .newsletter-input-group input {
        min-width: auto;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .newsletter-input-group .btn {
        border-radius: 0 0 var(--tp-radius-md) var(--tp-radius-md);
    }

    .mini-cart-dropdown {
        width: 290px;
        right: -40px;
    }

    .finance-steps {
        grid-template-columns: 1fr;
    }

    .footer-security {
        flex-direction: column;
        align-items: center;
    }
}

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

/* ============================================
   RESPONSIVE ENHANCEMENTS - TOUCH & MOBILE
   ============================================ */

/* Touch devices: mostrar acciones de producto siempre (no hay hover en touch) */
@media (hover: none) and (pointer: coarse) {
    .product-actions {
        opacity: 1;
        transform: translateX(0);
    }

    .product-card:hover {
        transform: none;
    }

    .product-card:active {
        transform: scale(0.98);
    }

    .product-action-btn {
        width: 40px;
        height: 40px;
        font-size: var(--tp-font-size-base);
    }

    /* Mini-cart: no funciona hover en touch, ocultar dropdown hover */
    .header-cart:hover .mini-cart-dropdown {
        opacity: 0;
        visibility: hidden;
    }

    .header-cart .mini-cart-dropdown.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Tap targets mínimos 44px */
    .topbar-left a,
    .topbar-social a,
    .footer-links li a,
    .footer-social a,
    .mobile-nav-menu li a,
    .breadcrumbs-list li a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
    }

    /* WhatsApp tooltip nunca en touch */
    .whatsapp-tooltip {
        display: none;
    }

    /* Deshabilitar zoom en imagen con hover */
    .product-card:hover .product-card-image img {
        transform: none;
    }
}

/* ============================================
   RESPONSIVE - TABLET LANDSCAPE (1024px)
   ============================================ */
@media (max-width: 1024px) {
    /* Mobile nav más amplia en tablet */
    .mobile-nav {
        width: 360px;
        left: -360px;
    }

    /* Products grid 3 columnas en tablet */
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--tp-space-md);
    }

    /* Categorías 3 columnas en tablet */
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Product actions visibles en tablet (touch devices) */
    .product-actions {
        opacity: 1;
        transform: translateX(0);
    }

    /* Hero adaptado a tablet */
    .hero-slide .container {
        gap: var(--tp-space-xl);
    }

    .hero-image {
        max-width: 350px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    /* Galería thumbs más pequeña */
    .gallery-thumb {
        width: 65px;
        height: 65px;
    }

    /* Breadcrumbs font */
    .breadcrumbs-list {
        font-size: var(--tp-font-size-xs);
    }

    /* Product price box */
    .product-price-box {
        padding: var(--tp-space-lg);
    }

    /* Offers banner compacto en tablet */
    .offers-banner .container {
        gap: var(--tp-space-xl);
    }

    .offers-banner .hero-image {
        max-width: 250px;
    }
}

/* ============================================
   RESPONSIVE - TABLET PORTRAIT / MOBILE (768px)
   ============================================ */
@media (max-width: 768px) {
    /* Variables ajustadas para mobile */
    :root {
        --tp-container-padding: 1rem;
    }

    /* Topbar: solo icono de teléfono + redes */
    .topbar {
        height: auto;
        padding: 6px 0;
    }

    .topbar .container {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--tp-space-xs);
    }

    .topbar-left {
        gap: var(--tp-space-md);
    }

    .topbar-left a span,
    .topbar-left > span {
        display: none;
    }

    .topbar-left a i {
        font-size: var(--tp-font-size-base);
    }

    .topbar-right {
        display: none;
    }

    /* Header social oculto en mobile */
    .header-social {
        display: none;
    }

    /* Header: logo más compacto */
    .site-header {
        height: 60px;
    }

    .site-header.scrolled {
        height: 56px;
    }

    .header-inner {
        gap: var(--tp-space-sm);
    }

    .site-logo a {
        font-size: var(--tp-font-size-xl);
        gap: var(--tp-space-xs);
    }

    .logo-icon {
        width: 34px;
        height: 34px;
        font-size: var(--tp-font-size-sm);
    }

    /* Header actions compactas */
    .header-actions {
        gap: 6px;
    }

    .header-cart a,
    .header-favorites a,
    .dark-mode-toggle {
        width: 38px !important;
        height: 38px !important;
        font-size: var(--tp-font-size-base) !important;
    }

    .cart-count {
        width: 18px;
        height: 18px;
        font-size: 10px;
        top: -2px;
        right: -2px;
    }

    /* Hero slider mobile */
    .hero-slider {
        min-height: 320px;
    }

    .hero-slide {
        padding: var(--tp-space-xl) 0;
    }

    .hero-badge {
        padding: 6px 14px;
        font-size: var(--tp-font-size-xs);
        margin-bottom: var(--tp-space-md);
    }

    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: var(--tp-space-sm);
    }

    .hero-content p {
        font-size: var(--tp-font-size-sm);
        margin-bottom: var(--tp-space-md);
    }

    .hero-buttons {
        gap: var(--tp-space-sm);
    }

    .hero-buttons .btn {
        padding: 10px 20px;
        font-size: var(--tp-font-size-xs);
    }

    .hero-image {
        max-width: 180px;
    }

    .hero-price-tag {
        font-size: var(--tp-font-size-xs);
        padding: 8px 14px;
    }

    /* Section headers más compactos */
    .section-header {
        margin-bottom: var(--tp-space-xl);
    }

    .section-header p {
        font-size: var(--tp-font-size-sm);
    }

    /* Product cards: 2 columnas compactas */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--tp-space-sm);
    }

    .product-card-image {
        aspect-ratio: 4/3;
    }

    .product-card-info {
        padding: var(--tp-space-sm) var(--tp-space-md) var(--tp-space-md);
    }

    .product-card-info h3 {
        font-size: var(--tp-font-size-sm);
        margin-bottom: var(--tp-space-xs);
        -webkit-line-clamp: 1;
    }

    .product-category {
        font-size: 10px;
        margin-bottom: 2px;
    }

    .product-rating {
        margin-bottom: var(--tp-space-xs);
    }

    .product-rating .stars {
        font-size: var(--tp-font-size-xs);
    }

    .product-rating .count {
        font-size: 10px;
    }

    .price-current {
        font-size: var(--tp-font-size-base);
    }

    .price-old {
        font-size: var(--tp-font-size-xs);
    }

    .product-price {
        margin-bottom: var(--tp-space-xs);
    }

    .product-installment {
        font-size: 10px;
        margin-bottom: var(--tp-space-sm);
    }

    .product-card-buttons {
        gap: var(--tp-space-xs);
    }

    .product-card-buttons .btn {
        padding: 8px 10px;
        font-size: 10px;
    }

    /* Product badges más compactos */
    .product-badge {
        top: 8px;
        left: 8px;
    }

    .badge {
        padding: 3px 8px;
        font-size: 10px;
    }

    /* Product actions SIEMPRE visibles en mobile (no hay hover en touch) */
    .product-actions {
        top: 8px;
        right: 8px;
        opacity: 1;
        transform: translateX(0);
    }

    .product-action-btn {
        width: 32px;
        height: 32px;
        font-size: var(--tp-font-size-xs);
    }

    /* Hero slide stacked en mobile */
    .hero-slide .container {
        flex-direction: column;
        text-align: center;
        gap: var(--tp-space-lg);
    }

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

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

    .hero-price-tag {
        margin: 0 auto;
    }

    /* Categories 2 columnas en mobile */
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--tp-space-sm);
    }

    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: var(--tp-space-sm);
    }

    .category-card h3 {
        font-size: var(--tp-font-size-sm);
    }

    .category-card p {
        font-size: var(--tp-font-size-xs);
    }

    /* Offers banner stacked */
    .offers-banner .container {
        flex-direction: column;
        text-align: center;
        gap: var(--tp-space-xl);
    }

    .offers-content {
        max-width: 100%;
    }

    .offers-timer {
        justify-content: center;
    }

    .timer-block {
        min-width: 65px;
        padding: var(--tp-space-sm) var(--tp-space-md);
    }

    .timer-block .number {
        font-size: var(--tp-font-size-xl);
    }

    /* Brands grid 3 columnas en mobile */
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    /* Testimonials stacked */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: var(--tp-space-lg);
    }

    /* Mini cart full-width en mobile */
    .mini-cart-dropdown {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 80vh;
        border-radius: var(--tp-radius-lg) var(--tp-radius-lg) 0 0;
        overflow-y: auto;
    }

    /* Shop toolbar mobile */
    .shop-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .shop-toolbar > div {
        justify-content: space-between;
    }

    .shop-sort label {
        display: none;
    }

    .shop-sort select {
        width: 100%;
    }

    /* Product detail page */
    .product-detail {
        gap: var(--tp-space-lg);
    }

    .product-info {
        padding: 0;
    }

    .product-info h1 {
        font-size: var(--tp-font-size-xl);
        line-height: 1.3;
    }

    .product-short-description {
        font-size: var(--tp-font-size-sm);
        margin-bottom: var(--tp-space-md);
        padding-bottom: var(--tp-space-md);
    }

    .price-main {
        font-size: var(--tp-font-size-2xl);
    }

    .price-old-detail {
        font-size: var(--tp-font-size-sm);
        display: block;
        margin-left: 0;
        margin-top: var(--tp-space-xs);
    }

    .product-price-box {
        padding: var(--tp-space-md);
        margin-bottom: var(--tp-space-md);
    }

    .gallery-main {
        border-radius: var(--tp-radius-md);
    }

    .gallery-thumbs {
        gap: var(--tp-space-xs);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        padding-bottom: var(--tp-space-xs);
    }

    .gallery-thumb {
        width: 55px;
        height: 55px;
        flex-shrink: 0;
    }

    /* Calculadora cuotas */
    .installment-calculator {
        padding: var(--tp-space-md);
        margin-bottom: var(--tp-space-md);
    }

    .installment-tabs {
        gap: var(--tp-space-xs);
        margin-bottom: var(--tp-space-md);
    }

    .installment-tab {
        padding: 10px 8px;
    }

    .installment-tab .months {
        font-size: var(--tp-font-size-xl);
    }

    .calculator-result {
        padding: var(--tp-space-md);
    }

    .monthly-payment .amount {
        font-size: var(--tp-font-size-2xl);
    }

    .calculator-details {
        flex-direction: column;
        gap: var(--tp-space-sm);
    }

    /* Buy box */
    .product-buy-box {
        padding: var(--tp-space-md);
        margin-bottom: var(--tp-space-md);
    }

    .btn-add-to-cart,
    .tp-add-to-cart-form .btn-add-to-cart {
        padding: 14px 20px;
        font-size: var(--tp-font-size-base);
    }

    .btn-whatsapp-alt {
        padding: 12px;
        font-size: var(--tp-font-size-sm);
    }

    /* Garantías */
    .tp-product-guarantees {
        padding: var(--tp-space-md);
        gap: var(--tp-space-sm);
        margin-bottom: var(--tp-space-md);
    }

    .tp-product-guarantee i {
        font-size: var(--tp-font-size-base);
    }

    .tp-product-guarantee span {
        font-size: 10px;
    }

    /* Meta */
    .product-meta {
        padding-top: var(--tp-space-md);
    }

    .product-meta-item {
        font-size: var(--tp-font-size-xs);
    }

    .product-meta-item strong {
        min-width: 85px;
    }

    /* Tabs */
    .product-tabs {
        margin-top: var(--tp-space-xl);
    }

    .product-tabs-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
    }

    .product-tabs-nav button {
        padding: 12px 16px;
        font-size: var(--tp-font-size-sm);
        white-space: nowrap;
    }

    /* Specs table */
    .tp-specs-table td {
        padding: 10px 12px;
        font-size: var(--tp-font-size-xs);
    }

    .tp-specs-table .spec-label {
        width: 40%;
    }

    /* Related products */
    .related-products {
        padding: var(--tp-space-2xl) 0;
    }

    .related-products .section-header {
        margin-bottom: var(--tp-space-lg);
    }

    /* Financing page */
    .finance-hero {
        padding: var(--tp-space-2xl) 0;
    }

    .finance-hero h1 {
        font-size: var(--tp-font-size-xl);
    }

    .finance-hero p {
        font-size: var(--tp-font-size-sm);
    }

    .finance-calculator-big {
        padding: var(--tp-space-lg);
    }

    /* FAQ items */
    .faq-question {
        padding: var(--tp-space-md);
        font-size: var(--tp-font-size-sm);
    }

    /* Footer mobile */
    .footer-main {
        padding: var(--tp-space-2xl) 0 var(--tp-space-lg);
    }

    .footer-col h4 {
        margin-bottom: var(--tp-space-md);
        font-size: var(--tp-font-size-base);
    }

    .footer-grid {
        gap: var(--tp-space-xl);
    }

    .footer-map iframe {
        height: 150px;
    }

    /* Footer security badges en scroll horizontal */
    .footer-security {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        flex-wrap: nowrap;
        gap: var(--tp-space-md);
        padding-bottom: var(--tp-space-sm);
        scrollbar-width: none;
    }

    .footer-security::-webkit-scrollbar {
        display: none;
    }

    .security-badge {
        flex-shrink: 0;
        font-size: var(--tp-font-size-xs);
    }

    /* Payment icons */
    .payment-icons {
        gap: var(--tp-space-md);
    }

    .payment-icon {
        font-size: var(--tp-font-size-xs);
    }

    .payment-icon i {
        font-size: 1.2rem;
    }

    /* WhatsApp float más chico */
    .whatsapp-float {
        bottom: 16px;
        right: 16px;
    }

    .whatsapp-float-btn {
        width: 52px;
        height: 52px;
        font-size: 1.5rem;
    }

    /* Scroll top */
    .scroll-top {
        bottom: 80px;
        right: 16px;
        width: 40px;
        height: 40px;
    }

    /* Breadcrumbs */
    .breadcrumbs {
        padding: var(--tp-space-sm) 0;
    }

    .breadcrumbs-list {
        font-size: var(--tp-font-size-xs);
        flex-wrap: wrap;
    }

    /* Offers banner */
    .offers-banner {
        padding: var(--tp-space-xl) 0;
    }

    .offers-banner h2 {
        font-size: var(--tp-font-size-xl);
    }

    /* Newsletter */
    .newsletter-section {
        padding: var(--tp-space-xl) 0;
    }

    /* Categorias grid compacta */
    .categories-grid {
        gap: var(--tp-space-sm);
    }

    .category-card {
        padding: var(--tp-space-md);
    }

    /* Features grid */
    .features-grid {
        gap: var(--tp-space-sm);
    }

    .feature-card {
        padding: var(--tp-space-md);
    }

    /* Contact page */
    .contact-info-card {
        padding: var(--tp-space-md);
    }

    /* Shop category pills scrollable en mobile */
    .shop-category-pills {
        overflow-x: auto;
        flex-wrap: nowrap !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: var(--tp-space-xs);
    }

    .shop-category-pills::-webkit-scrollbar {
        display: none;
    }

    .shop-category-pills .btn {
        flex-shrink: 0;
    }
}

/* ============================================
   RESPONSIVE - MOBILE SMALL (480px)
   ============================================ */
@media (max-width: 480px) {
    :root {
        --tp-container-padding: 0.75rem;
        --tp-space-section: 2rem;
    }

    /* Hero aún más compacto */
    .hero-slider {
        min-height: 280px;
    }

    .hero-content h1 {
        font-size: 1.25rem;
    }

    .hero-content p {
        font-size: var(--tp-font-size-xs);
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .hero-image {
        max-width: 140px;
    }

    .hero-buttons .btn {
        padding: 8px 14px;
        font-size: 10px;
    }

    /* Product cards: 1 columna pero tipo lista compacta */
    .product-card-image {
        aspect-ratio: 16/10;
    }

    .product-card-info {
        padding: var(--tp-space-md);
    }

    .product-card-info h3 {
        font-size: var(--tp-font-size-base);
        -webkit-line-clamp: 2;
    }

    .price-current {
        font-size: var(--tp-font-size-lg);
    }

    .product-installment {
        font-size: var(--tp-font-size-xs);
    }

    .product-card-buttons {
        flex-direction: row;
    }

    .product-card-buttons .btn {
        padding: 10px 14px;
        font-size: var(--tp-font-size-xs);
    }

    /* Financing page */
    .finance-calculator-big {
        padding: var(--tp-space-md);
    }

    .installment-tabs {
        gap: var(--tp-space-xs);
    }

    .calculator-result {
        padding: var(--tp-space-md);
    }

    .monthly-payment .amount {
        font-size: var(--tp-font-size-xl);
    }

    /* Footer */
    .footer-grid {
        gap: var(--tp-space-lg);
    }

    .footer-social a {
        width: 36px;
        height: 36px;
    }

    .footer-bottom p {
        font-size: var(--tp-font-size-xs);
    }

    /* Timer blocks */
    .timer-block {
        min-width: 55px;
        padding: var(--tp-space-sm);
    }

    .timer-block .number {
        font-size: var(--tp-font-size-xl);
    }

    /* Section headers */
    .section-header h2::after {
        width: 40px;
        height: 3px;
    }

    /* Buttons more compact */
    .btn-lg {
        padding: 12px 24px;
        font-size: var(--tp-font-size-sm);
    }

    /* Contact form */
    .contact-form {
        padding: var(--tp-space-lg);
    }

    /* Shop sidebar filter toggle */
    .shop-sidebar {
        margin-bottom: var(--tp-space-md);
    }

    /* Product detail */
    .single-product-section {
        padding: var(--tp-space-xl) 0;
    }

    .product-detail {
        gap: var(--tp-space-md);
    }

    .product-info h1 {
        font-size: var(--tp-font-size-lg);
        margin-bottom: var(--tp-space-sm);
    }

    .product-info .product-category {
        font-size: var(--tp-font-size-xs);
    }

    .price-main {
        font-size: var(--tp-font-size-xl);
    }

    .price-label {
        font-size: var(--tp-font-size-xs);
    }

    .price-old-detail {
        font-size: var(--tp-font-size-xs);
    }

    .gallery-thumb {
        width: 50px;
        height: 50px;
    }

    /* Calculator compact */
    .installment-calculator {
        padding: var(--tp-space-sm) var(--tp-space-md);
    }

    .calculator-header h3 {
        font-size: var(--tp-font-size-sm);
    }

    .installment-tab .months {
        font-size: var(--tp-font-size-lg);
    }

    .installment-tab .label {
        font-size: 9px;
    }

    .monthly-payment .amount {
        font-size: var(--tp-font-size-xl);
    }

    .calculator-note {
        font-size: 10px;
    }

    /* Buy box compact */
    .product-buy-box {
        padding: var(--tp-space-sm) var(--tp-space-md);
        gap: var(--tp-space-sm);
    }

    .buy-box-label {
        font-size: var(--tp-font-size-xs);
        min-width: 65px;
    }

    .product-buy-box .qty-btn {
        width: 38px;
        height: 38px;
    }

    .product-buy-box .qty-input {
        width: 50px;
        height: 38px;
    }

    .btn-add-to-cart,
    .tp-add-to-cart-form .btn-add-to-cart {
        padding: 12px 16px;
        font-size: var(--tp-font-size-sm);
    }

    .btn-whatsapp-alt {
        padding: 10px;
        font-size: var(--tp-font-size-sm);
        border-radius: 25px;
    }

    /* Guarantees compact */
    .tp-product-guarantees {
        padding: var(--tp-space-sm) var(--tp-space-md);
    }

    .tp-product-guarantee i {
        font-size: var(--tp-font-size-sm);
    }

    .tp-product-guarantee span {
        font-size: 9px;
    }

    /* Meta compact */
    .product-meta-item {
        flex-direction: column;
        gap: 2px;
    }

    .product-meta-item strong {
        min-width: auto;
        font-size: var(--tp-font-size-xs);
    }

    /* Tabs compact */
    .product-tabs-nav button {
        padding: 10px 12px;
        font-size: var(--tp-font-size-xs);
    }

    .tp-specs-table td {
        padding: 8px 10px;
        font-size: 11px;
    }

    .tp-specs-table .spec-label {
        width: 45%;
    }

    .product-actions-main {
        flex-direction: column;
    }

    .product-actions-main .btn {
        width: 100%;
    }

    /* 404 page */
    .error-404 h1 {
        font-size: 4rem;
    }

    /* Ofertas banner */
    .offers-timer {
        gap: var(--tp-space-xs);
    }

    /* Testimonials */
    .testimonial-card {
        padding: var(--tp-space-md);
    }

    /* Brands grid */
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--tp-space-sm);
    }

    .brand-logo {
        padding: var(--tp-space-sm);
    }
}

/* ============================================
   RESPONSIVE - VERY SMALL (360px)
   ============================================ */
@media (max-width: 360px) {
    :root {
        --tp-container-padding: 0.5rem;
    }

    .site-logo a {
        font-size: var(--tp-font-size-lg);
    }

    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: var(--tp-font-size-xs);
    }

    .header-cart a,
    .header-favorites a,
    .dark-mode-toggle {
        width: 34px !important;
        height: 34px !important;
    }

    .hero-content h1 {
        font-size: 1.1rem;
    }

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

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

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

    .btn-lg {
        padding: 10px 20px;
        font-size: var(--tp-font-size-xs);
    }

    .product-card-buttons {
        flex-direction: column;
    }
}

/* ============================================
   SAFE AREA (iPhone notch, etc)
   ============================================ */
@supports (padding: env(safe-area-inset-bottom)) {
    .site-footer .footer-bottom {
        padding-bottom: calc(var(--tp-space-lg) + env(safe-area-inset-bottom));
    }

    .whatsapp-float {
        bottom: calc(16px + env(safe-area-inset-bottom));
    }

    .mobile-nav {
        padding-bottom: env(safe-area-inset-bottom);
    }

    .mini-cart-dropdown {
        padding-bottom: calc(var(--tp-space-lg) + env(safe-area-inset-bottom));
    }
}

/* ============================================
   SMOOTH SCROLL PERFORMANCE
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .whatsapp-float-btn {
        animation: none;
    }
}

/* ============================================
   HIDE PAYMENT METHODS (Cambio 5)
   ============================================ */
.woocommerce-checkout-payment,
#payment {
    display: none !important;
}

/* ============================================
   WHATSAPP CHECKOUT BUTTON (Cambio 6)
   ============================================ */
#place_order,
.tp-checkout-btn {
    background: #25D366 !important;
    color: white !important;
    border: none !important;
    font-size: var(--tp-font-size-lg) !important;
    font-weight: 700 !important;
    padding: 16px 32px !important;
    border-radius: var(--tp-radius-md) !important;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: var(--tp-space-sm);
    width: 100%;
}

#place_order:hover,
.tp-checkout-btn:hover {
    background: #1da851 !important;
    transform: translateY(-2px);
}

#place_order i,
.tp-checkout-btn i {
    font-size: 1.3em;
}

/* ============================================
   CART REDESIGN (Cambio 7)
   ============================================ */

/* Cart Header */
.tp-cart-header {
    background: var(--tp-gradient-hero);
    color: white;
    padding: var(--tp-space-xl) 0;
    margin-bottom: var(--tp-space-2xl);
}

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

.tp-cart-header h1 {
    color: white;
    font-size: var(--tp-font-size-2xl);
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
}

.tp-cart-header h1 i {
    font-size: 0.9em;
}

.tp-cart-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 16px;
    border-radius: var(--tp-radius-full);
    font-size: var(--tp-font-size-sm);
    font-weight: 600;
}

/* Cart Layout */
.tp-cart-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: var(--tp-space-2xl);
    align-items: start;
    margin-bottom: var(--tp-space-2xl);
}

/* Cart Table */
.tp-cart-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    overflow: hidden;
    box-shadow: var(--tp-shadow-sm);
}

.tp-cart-table thead th {
    background: var(--tp-bg-secondary);
    padding: 14px 16px;
    text-align: left;
    font-size: var(--tp-font-size-sm);
    font-weight: 600;
    color: var(--tp-text-secondary);
    border-bottom: 2px solid var(--tp-border);
}

.tp-cart-table tbody tr {
    border-bottom: 1px solid var(--tp-border-light);
    transition: background 0.2s ease;
}

.tp-cart-table tbody tr:hover {
    background: #F5F5F5;
}

[data-theme="dark"] .tp-cart-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.tp-cart-table td {
    padding: 16px;
    vertical-align: middle;
}

.tp-cart-table .product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: var(--tp-radius-sm);
}

.tp-cart-table .product-name {
    font-weight: 600;
    color: var(--tp-text-primary);
}

.tp-cart-table .product-name a {
    color: var(--tp-text-primary);
    transition: color 0.2s;
}

.tp-cart-table .product-name a:hover {
    color: var(--tp-primary);
}

.tp-cart-table .product-price,
.tp-cart-table .product-subtotal {
    font-weight: 700;
    color: var(--tp-primary);
    white-space: nowrap;
}

.tp-cart-table .product-quantity .quantity {
    display: flex;
    align-items: center;
    gap: 0;
}

.tp-cart-table .product-quantity .quantity input {
    width: 50px;
    text-align: center;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    padding: 8px;
    font-weight: 600;
    color: var(--tp-text-primary);
    background: var(--tp-bg-card);
}

/* Cart Remove Button */
.tp-cart-remove {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--tp-danger) !important;
    background: rgba(244, 67, 54, 0.1);
    transition: all 0.2s ease;
}

.tp-cart-remove:hover {
    background: var(--tp-danger);
    color: white !important;
}

/* Cart Actions */
.tp-cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--tp-space-md) 0;
    gap: var(--tp-space-md);
}

.tp-cart-table .actions {
    padding: var(--tp-space-md) var(--tp-space-lg);
}

/* Cart Sidebar */
.tp-cart-sidebar {
    position: sticky;
    top: 100px;
}

.tp-cart-summary {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    padding: var(--tp-space-xl);
    box-shadow: var(--tp-shadow-sm);
    border: 1px solid var(--tp-border-light);
}

.tp-cart-summary h3 {
    font-size: var(--tp-font-size-xl);
    font-weight: 700;
    margin-bottom: var(--tp-space-lg);
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    padding-bottom: var(--tp-space-md);
    border-bottom: 2px solid var(--tp-border-light);
}

.tp-cart-summary h3 i {
    color: var(--tp-primary);
}

.tp-cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--tp-space-sm) 0;
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-secondary);
}

.tp-cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--tp-space-lg) 0 var(--tp-space-md);
    margin-top: var(--tp-space-md);
    border-top: 2px solid var(--tp-border);
    font-weight: 700;
    font-size: var(--tp-font-size-xl);
}

.tp-cart-total-amount {
    color: var(--tp-primary);
    font-size: var(--tp-font-size-2xl);
}

.tp-cart-checkout-btn {
    margin-top: var(--tp-space-lg);
}

/* Cart Badges */
.tp-cart-badges {
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-sm);
    margin-top: var(--tp-space-lg);
    padding-top: var(--tp-space-lg);
    border-top: 1px solid var(--tp-border-light);
}

.tp-cart-badge {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
}

.tp-cart-badge i {
    color: var(--tp-secondary);
    width: 20px;
    text-align: center;
}

/* ============================================
   CART - ITEMS COMO CARDS (page-carrito.php)
   ============================================ */
.tp-cart-item {
    display: flex;
    align-items: center;
    gap: var(--tp-space-lg);
    padding: var(--tp-space-lg);
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow-sm);
    border: 1px solid var(--tp-border-light);
    margin-bottom: var(--tp-space-md);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.tp-cart-item:hover {
    box-shadow: var(--tp-shadow-md);
    transform: translateY(-2px);
}

.tp-cart-item-image {
    flex-shrink: 0;
}

.tp-cart-item-image img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: var(--tp-radius-md);
    border: 1px solid var(--tp-border-light);
}

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

.tp-cart-item-name {
    margin: 0 0 4px;
    font-size: 1rem;
    font-weight: 600;
}

.tp-cart-item-name a {
    color: var(--tp-text-primary);
    text-decoration: none;
}

.tp-cart-item-name a:hover {
    color: var(--tp-primary);
}

.tp-cart-item-price {
    font-size: 0.9rem;
    color: var(--tp-text-muted);
}

.tp-cart-item-meta {
    font-size: 0.8rem;
    color: var(--tp-text-muted);
    margin-top: 4px;
}

.tp-cart-item-quantity {
    flex-shrink: 0;
}

.tp-cart-item-subtotal {
    flex-shrink: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tp-primary);
    min-width: 120px;
    text-align: right;
}

.tp-cart-item-remove {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--tp-radius-full);
    color: var(--tp-text-muted);
    transition: all 0.2s ease;
    text-decoration: none;
}

.tp-cart-item-remove:hover {
    background: #FFEBEE;
    color: #EF4444;
}

.tp-cart-bottom-actions {
    display: flex;
    justify-content: flex-start;
    margin-top: var(--tp-space-lg);
}

/* Carrito vacío */
.tp-cart-empty {
    text-align: center;
    padding: var(--tp-space-3xl) var(--tp-space-xl);
}

.tp-cart-empty-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto var(--tp-space-xl);
    background: var(--tp-bg-secondary);
    border-radius: var(--tp-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-cart-empty-icon i {
    font-size: 3rem;
    color: var(--tp-text-muted);
}

.tp-cart-empty h2 {
    font-size: var(--tp-font-size-2xl);
    margin-bottom: var(--tp-space-sm);
}

.tp-cart-empty p {
    color: var(--tp-text-muted);
    margin-bottom: var(--tp-space-xl);
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

/* Cart summary total (más grande) */
.tp-cart-summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    padding-top: var(--tp-space-lg);
    margin-top: var(--tp-space-md);
    border-top: 2px solid var(--tp-text-primary);
}

.tp-cart-total-amount {
    color: var(--tp-primary);
    font-size: 1.4rem;
}

/* Cart responsive */
@media (max-width: 768px) {
    .tp-cart-item {
        flex-wrap: wrap;
        gap: var(--tp-space-md);
    }

    .tp-cart-item-image img {
        width: 70px;
        height: 70px;
    }

    .tp-cart-item-info {
        flex: 1;
        min-width: calc(100% - 90px);
    }

    .tp-cart-item-quantity {
        order: 4;
    }

    .tp-cart-item-subtotal {
        order: 5;
        min-width: auto;
    }

    .tp-cart-item-remove {
        order: 3;
        position: absolute;
        top: var(--tp-space-md);
        right: var(--tp-space-md);
    }

    .tp-cart-item {
        position: relative;
    }
}

/* ============================================
   CHECKOUT REDESIGN (Cambio 7)
   ============================================ */

/* Checkout Header */
.tp-checkout-header {
    background: var(--tp-gradient-hero);
    color: white;
    padding: var(--tp-space-xl) 0;
    margin-bottom: var(--tp-space-2xl);
}

.tp-checkout-header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tp-space-lg);
}

.tp-checkout-header h1 {
    color: white;
    font-size: var(--tp-font-size-2xl);
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
}

/* Checkout Steps */
.tp-checkout-steps {
    display: flex;
    align-items: center;
    gap: 0;
}

.tp-checkout-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.tp-step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--tp-font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.tp-checkout-step span {
    font-size: var(--tp-font-size-xs);
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.tp-checkout-step.completed .tp-step-icon {
    background: white;
    color: var(--tp-secondary);
}

.tp-checkout-step.completed span {
    color: white;
}

.tp-checkout-step.active .tp-step-icon {
    background: white;
    color: var(--tp-primary);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.tp-checkout-step.active span {
    color: white;
    font-weight: 700;
}

.tp-step-line {
    width: 60px;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 var(--tp-space-sm);
    margin-bottom: 24px;
}

.tp-step-line.completed {
    background: white;
}

/* Checkout Layout */
.tp-checkout-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: var(--tp-space-2xl);
    align-items: start;
    margin-bottom: var(--tp-space-2xl);
}

/* Checkout Sections */
.tp-checkout-section {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    box-shadow: var(--tp-shadow-sm);
    margin-bottom: var(--tp-space-xl);
    overflow: hidden;
    border: 1px solid var(--tp-border-light);
}

.tp-checkout-section-header {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    padding: var(--tp-space-lg) var(--tp-space-xl);
    background: var(--tp-bg-secondary);
    border-bottom: 1px solid var(--tp-border-light);
}

.tp-checkout-section-header i {
    color: var(--tp-primary);
    font-size: var(--tp-font-size-lg);
}

.tp-checkout-section-header h3 {
    margin: 0;
    font-size: var(--tp-font-size-lg);
    font-weight: 700;
}

.tp-checkout-section-body {
    padding: var(--tp-space-xl);
}

/* Checkout form field styling */
.tp-checkout-section-body .form-row {
    margin-bottom: var(--tp-space-md);
}

.tp-checkout-section-body label {
    font-weight: 600;
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-secondary);
    margin-bottom: 6px;
    display: block;
}

.tp-checkout-section-body input[type="text"],
.tp-checkout-section-body input[type="email"],
.tp-checkout-section-body input[type="tel"],
.tp-checkout-section-body input[type="number"],
.tp-checkout-section-body select,
.tp-checkout-section-body textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    font-size: var(--tp-font-size-base);
    color: var(--tp-text-primary);
    background: var(--tp-bg-card);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.tp-checkout-section-body input:focus,
.tp-checkout-section-body select:focus,
.tp-checkout-section-body textarea:focus {
    border-color: var(--tp-primary);
    box-shadow: 0 0 0 3px var(--tp-primary-light);
    outline: none;
}

/* Checkout Sidebar */
.tp-checkout-sidebar {
    position: sticky;
    top: 100px;
}

.tp-checkout-order-review {
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-lg);
    padding: var(--tp-space-xl);
    box-shadow: var(--tp-shadow-sm);
    border: 1px solid var(--tp-border-light);
}

.tp-checkout-order-review h3 {
    font-size: var(--tp-font-size-xl);
    font-weight: 700;
    margin-bottom: var(--tp-space-lg);
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    padding-bottom: var(--tp-space-md);
    border-bottom: 2px solid var(--tp-border-light);
}

.tp-checkout-order-review h3 i {
    color: var(--tp-primary);
}

/* Product Items */
.tp-checkout-products {
    margin-bottom: var(--tp-space-lg);
}

.tp-checkout-product-item {
    display: flex;
    align-items: center;
    gap: var(--tp-space-md);
    padding: var(--tp-space-sm) 0;
    border-bottom: 1px solid var(--tp-border-light);
}

.tp-checkout-product-item:last-child {
    border-bottom: none;
}

.tp-checkout-product-thumb img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: var(--tp-radius-sm);
}

.tp-checkout-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tp-checkout-product-name {
    font-size: var(--tp-font-size-sm);
    font-weight: 600;
    color: var(--tp-text-primary);
}

.tp-checkout-product-subtotal {
    font-size: var(--tp-font-size-sm);
    font-weight: 700;
    color: var(--tp-primary);
}

/* Checkout Totals */
.tp-checkout-totals {
    border-top: 1px solid var(--tp-border-light);
    padding-top: var(--tp-space-md);
}

.tp-checkout-totals-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--tp-space-xs) 0;
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-secondary);
}

.tp-checkout-totals-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--tp-space-lg) 0 var(--tp-space-sm);
    margin-top: var(--tp-space-sm);
    border-top: 2px solid var(--tp-border);
    font-weight: 700;
    font-size: var(--tp-font-size-xl);
}

.tp-checkout-total-amount {
    color: var(--tp-primary);
    font-size: var(--tp-font-size-2xl);
}

/* Checkout Submit */
.tp-checkout-submit {
    margin-top: var(--tp-space-lg);
}

/* Checkout Guarantees */
.tp-checkout-guarantees {
    display: flex;
    flex-direction: column;
    gap: var(--tp-space-sm);
    margin-top: var(--tp-space-lg);
    padding-top: var(--tp-space-lg);
    border-top: 1px solid var(--tp-border-light);
}

.tp-checkout-guarantee {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
}

.tp-checkout-guarantee i {
    color: var(--tp-secondary);
    width: 20px;
    text-align: center;
}

/* ============================================
   CHECKOUT - CAMPOS PROPIOS (sin WooCommerce)
   ============================================ */
.tp-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tp-space-md);
    margin-bottom: var(--tp-space-md);
}

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

.tp-field-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tp-field-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tp-text-primary);
}

.tp-field-group label abbr.required {
    color: #EF4444;
    text-decoration: none;
}

.tp-field-group input,
.tp-field-group textarea,
.tp-field-group select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--tp-border-light);
    border-radius: var(--tp-radius-md);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    background: var(--tp-bg-primary);
    color: var(--tp-text-primary);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.tp-field-group input:focus,
.tp-field-group textarea:focus,
.tp-field-group select:focus {
    outline: none;
    border-color: var(--tp-primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

/* ============================================
   CHECKOUT - FORMA DE PAGO
   ============================================ */
.tp-payment-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--tp-space-md);
    margin-bottom: var(--tp-space-md);
}

.tp-payment-option input[type="radio"] {
    display: none;
}

.tp-payment-card {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    padding: var(--tp-space-md);
    border: 2px solid var(--tp-border-light);
    border-radius: var(--tp-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tp-payment-card i {
    font-size: 1.5rem;
    color: var(--tp-text-muted);
    width: 36px;
    text-align: center;
}

.tp-payment-card strong {
    display: block;
    font-size: 0.9rem;
    color: var(--tp-text-primary);
}

.tp-payment-card span {
    font-size: 0.78rem;
    color: var(--tp-text-muted);
}

.tp-payment-option input[type="radio"]:checked + .tp-payment-card {
    border-color: var(--tp-primary);
    background: rgba(59, 130, 246, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.tp-payment-option input[type="radio"]:checked + .tp-payment-card i {
    color: var(--tp-primary);
}

.tp-installments-selector {
    padding: var(--tp-space-md);
    background: var(--tp-bg-secondary);
    border-radius: var(--tp-radius-md);
    border: 1px solid var(--tp-border-light);
}

.tp-installments-selector label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--tp-text-primary);
    margin-bottom: 6px;
    display: block;
}

.tp-installments-selector select {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--tp-border-light);
    border-radius: var(--tp-radius-md);
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    background: var(--tp-bg-primary);
    color: var(--tp-text-primary);
    margin-bottom: var(--tp-space-sm);
}

.tp-installment-preview {
    padding: var(--tp-space-sm) var(--tp-space-md);
    background: rgba(59, 130, 246, 0.08);
    border-radius: var(--tp-radius-sm);
    font-size: 0.85rem;
    color: var(--tp-text-primary);
    line-height: 1.5;
}

.tp-installment-preview strong {
    color: var(--tp-primary);
    font-size: 1rem;
}

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

/* ============================================
   CART & CHECKOUT - DARK MODE
   ============================================ */
[data-theme="dark"] .tp-cart-header,
[data-theme="dark"] .tp-checkout-header {
    background: var(--tp-gradient-header);
}

[data-theme="dark"] .tp-cart-table {
    background: var(--tp-bg-card);
}

[data-theme="dark"] .tp-cart-table thead th {
    background: var(--tp-bg-secondary);
}

[data-theme="dark"] .tp-cart-summary,
[data-theme="dark"] .tp-checkout-order-review,
[data-theme="dark"] .tp-checkout-section {
    background: var(--tp-bg-card);
    border-color: var(--tp-border);
}

[data-theme="dark"] .tp-cart-remove {
    background: rgba(244, 67, 54, 0.2);
}

/* ============================================
   CART & CHECKOUT - RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .tp-cart-layout,
    .tp-checkout-layout {
        grid-template-columns: 1fr;
    }

    .tp-cart-sidebar,
    .tp-checkout-sidebar {
        position: static;
    }

    .tp-cart-header,
    .tp-checkout-header {
        padding: var(--tp-space-lg) 0;
    }

    .tp-cart-header h1,
    .tp-checkout-header h1 {
        font-size: var(--tp-font-size-xl);
    }

    /* Cart table responsive */
    .tp-cart-table thead {
        display: none;
    }

    .tp-cart-table tbody tr {
        display: grid;
        grid-template-columns: 80px 1fr;
        gap: var(--tp-space-xs) var(--tp-space-md);
        padding: var(--tp-space-md);
        position: relative;
    }

    .tp-cart-table td {
        padding: 4px 0;
    }

    .tp-cart-table .product-thumbnail {
        grid-row: 1 / 4;
    }

    .tp-cart-table .product-name {
        grid-column: 2;
    }

    .tp-cart-table .product-price {
        grid-column: 2;
    }

    .tp-cart-table .product-quantity {
        grid-column: 2;
    }

    .tp-cart-table .product-subtotal {
        grid-column: 2;
        font-size: var(--tp-font-size-lg);
    }

    .tp-cart-table .product-remove {
        position: absolute;
        top: var(--tp-space-md);
        right: var(--tp-space-md);
    }

    .tp-cart-table .actions td {
        grid-column: 1 / -1;
    }

    .tp-cart-table tr.woocommerce-cart-form__cart-item td.actions,
    .tp-cart-table tr td.actions {
        grid-column: 1 / -1;
    }

    .tp-cart-actions {
        flex-direction: column;
    }

    .tp-cart-actions .btn {
        width: 100%;
        justify-content: center;
    }

    /* Checkout steps responsive */
    .tp-checkout-steps {
        transform: scale(0.85);
    }

    .tp-step-line {
        width: 30px;
    }

    .tp-checkout-section-body {
        padding: var(--tp-space-md);
    }

    .tp-checkout-section-header {
        padding: var(--tp-space-md) var(--tp-space-lg);
    }

    .tp-checkout-section-header h3 {
        font-size: var(--tp-font-size-base);
    }

    .tp-checkout-order-review {
        padding: var(--tp-space-md);
    }

    .tp-checkout-order-review h3 {
        font-size: var(--tp-font-size-lg);
    }

    /* Checkout product items compact */
    .tp-checkout-product-thumb img {
        width: 50px;
        height: 50px;
    }

    .tp-checkout-product-name {
        font-size: var(--tp-font-size-sm);
    }

    /* Payment options stacked */
    .tp-payment-options {
        flex-direction: column;
    }

    /* Guarantees compact */
    .tp-checkout-guarantees {
        gap: var(--tp-space-sm);
    }

    .tp-checkout-guarantee {
        font-size: var(--tp-font-size-xs);
    }

    /* Cart badges compact */
    .tp-cart-badges {
        flex-direction: row;
        gap: var(--tp-space-xs);
    }

    .tp-cart-badge {
        font-size: var(--tp-font-size-xs);
    }

    .tp-cart-badge i {
        font-size: var(--tp-font-size-sm);
    }

    /* Cart summary compact */
    .tp-cart-summary {
        padding: var(--tp-space-md);
    }

    .tp-cart-summary h3 {
        font-size: var(--tp-font-size-lg);
    }
}

@media (max-width: 480px) {
    .tp-cart-header .container {
        flex-direction: column;
        text-align: center;
        gap: var(--tp-space-sm);
    }

    .tp-checkout-steps {
        transform: scale(0.7);
    }

    .tp-checkout-header h1 {
        font-size: var(--tp-font-size-lg);
    }

    .tp-checkout-section-body {
        padding: var(--tp-space-sm) var(--tp-space-md);
    }

    .tp-field-group input,
    .tp-field-group textarea,
    .tp-field-group select {
        padding: 8px 12px;
        font-size: var(--tp-font-size-sm);
    }

    .tp-field-group label {
        font-size: var(--tp-font-size-xs);
    }

    .tp-checkout-totals-total span:last-child {
        font-size: var(--tp-font-size-lg);
    }

    .tp-checkout-submit .btn {
        padding: 14px;
        font-size: var(--tp-font-size-base);
    }

    /* Cart items compact on small mobile */
    .tp-cart-item-image img {
        width: 60px;
        height: 60px;
    }

    .tp-cart-item-name {
        font-size: var(--tp-font-size-sm);
    }

    .tp-cart-item-price {
        font-size: var(--tp-font-size-xs);
    }

    .tp-cart-item-subtotal {
        font-size: var(--tp-font-size-sm);
    }

    .quantity-selector .qty-btn {
        width: 32px;
        height: 32px;
    }

    .quantity-selector .qty-input {
        width: 40px;
        height: 32px;
        font-size: var(--tp-font-size-sm);
    }

    .tp-cart-empty h2 {
        font-size: var(--tp-font-size-lg);
    }

    .tp-cart-empty p {
        font-size: var(--tp-font-size-sm);
    }
}

/* ============================================
   LANDSCAPE MODE ON MOBILE
   ============================================ */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider {
        min-height: 250px;
    }

    .hero-slide {
        padding: var(--tp-space-md) 0;
    }

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

    .hero-image {
        max-width: 150px;
    }

    .finance-hero {
        padding: var(--tp-space-lg) 0;
    }

    .section {
        padding: var(--tp-space-xl) 0;
    }
}

/* ============================================
   CHECKOUT - OCULTAR MÉTODOS DE PAGO
   ============================================ */
#payment,
.woocommerce-checkout-payment,
.payment_methods,
.wc_payment_methods {
    display: none !important;
}

/* ============================================
   CHECKOUT - TÉRMINOS Y CONDICIONES
   ============================================ */
.tp-checkout-terms {
    margin: 20px 0;
    padding: 15px;
    background: var(--tp-bg-secondary);
    border-left: 4px solid var(--tp-primary);
    border-radius: var(--tp-radius-sm);
}

.tp-checkbox-container {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: var(--tp-font-size-sm);
}

.tp-checkbox-container input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--tp-primary);
}

.tp-terms-text a {
    color: var(--tp-primary);
    text-decoration: underline;
    font-weight: 500;
}

.tp-terms-text a:hover {
    color: var(--tp-primary-dark);
}

/* ============================================
   QUANTITY SELECTOR MEJORADO
   ============================================ */
.quantity-selector {
    display: inline-flex;
    align-items: center;
    background: var(--tp-bg-primary);
    border: 2px solid var(--tp-border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--tp-shadow-sm);
}

.qty-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: var(--tp-primary);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.qty-btn:hover {
    background: var(--tp-bg-secondary);
    color: var(--tp-primary-dark);
}

.qty-btn:active {
    transform: scale(0.9);
}

.qty-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--tp-text-primary);
    background: transparent;
}

.qty-input:focus {
    outline: none;
}

.qty-input::-webkit-inner-spin-button,
.qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-input[type="number"] {
    -moz-appearance: textfield;
}

/* WooCommerce quantity input override */
.woocommerce .quantity {
    display: inline-flex;
    align-items: center;
    background: var(--tp-bg-primary);
    border: 2px solid var(--tp-border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--tp-shadow-sm);
}

.woocommerce .quantity .qty {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--tp-text-primary);
    background: transparent;
    -moz-appearance: textfield;
}

.woocommerce .quantity .qty::-webkit-inner-spin-button,
.woocommerce .quantity .qty::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* WooCommerce single add to cart button */
.woocommerce .single_add_to_cart_button,
.woocommerce button.single_add_to_cart_button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px !important;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    font-family: var(--tp-font-primary);
}

.woocommerce .single_add_to_cart_button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4) !important;
}

/* ============================================
   BOTÓN AGREGAR AL CARRITO MEJORADO
   ============================================ */
.btn-add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #4CAF50 0%, #66BB6A 100%);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
    font-family: var(--tp-font-family);
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.4);
}

.btn-add-to-cart:active {
    transform: translateY(0);
}

.btn-add-to-cart .btn-icon {
    font-size: 18px;
}

.btn-add-to-cart.loading .btn-text,
.btn-add-to-cart.loading .btn-icon {
    display: none;
}

.btn-add-to-cart.loading .btn-loading {
    display: inline-block !important;
}

/* ============================================
   SISTEMA DE FAVORITOS
   ============================================ */
.btn-favorite {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: var(--tp-text-muted);
    transition: all 0.3s ease;
    padding: 8px;
    line-height: 1;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--tp-shadow-sm);
}

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

.btn-favorite.active {
    color: #F44336;
}

.btn-favorite.animate-pulse {
    animation: favorite-pulse 0.3s ease;
}

@keyframes favorite-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.header-favorites {
    position: relative;
}

.header-fav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--tp-bg-secondary);
    color: var(--tp-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--tp-font-size-lg);
    transition: var(--tp-transition);
    border: none;
    cursor: pointer;
    position: relative;
}

.header-fav-btn:hover {
    color: #F44336;
    background: var(--tp-bg-tertiary);
}

.favorites-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #F44336;
    color: white;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Favorites Dropdown */
.favorites-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 300px;
    background: var(--tp-bg-card);
    border-radius: var(--tp-radius-md);
    box-shadow: var(--tp-shadow-lg);
    border: 1px solid var(--tp-border-light);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    max-height: 400px;
    overflow-y: auto;
}

.favorites-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.fav-dropdown-title {
    padding: 12px 16px;
    font-weight: 600;
    font-size: var(--tp-font-size-sm);
    border-bottom: 1px solid var(--tp-border-light);
    color: var(--tp-text-primary);
}

.fav-dropdown-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--tp-text-muted);
}

.fav-dropdown-empty i {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.fav-dropdown-empty p {
    font-size: var(--tp-font-size-sm);
    margin: 0;
}

.fav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--tp-border-light);
    transition: background 0.2s;
}

.fav-dropdown-item:hover {
    background: var(--tp-bg-secondary);
}

.fav-dropdown-item img {
    width: 40px;
    height: 40px;
    border-radius: var(--tp-radius-sm);
    object-fit: cover;
}

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

.fav-item-info a {
    font-size: var(--tp-font-size-sm);
    font-weight: 500;
    color: var(--tp-text-primary);
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-item-remove {
    width: 28px !important;
    height: 28px !important;
    padding: 0 !important;
    font-size: 12px !important;
    color: var(--tp-text-muted) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.fav-item-remove:hover {
    color: #F44336 !important;
}

/* ============================================
   PRODUCTO INDIVIDUAL - ESTILOS ADICIONALES
   ============================================ */

/* Garantías del producto */
.tp-product-guarantees {
    display: flex;
    gap: var(--tp-space-md);
    padding: var(--tp-space-lg);
    background: var(--tp-bg-secondary);
    border-radius: var(--tp-radius-md);
    margin-bottom: var(--tp-space-xl);
}

.tp-product-guarantee {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--tp-space-xs);
    text-align: center;
}

.tp-product-guarantee i {
    font-size: var(--tp-font-size-xl);
    color: var(--tp-primary);
}

.tp-product-guarantee span {
    font-size: var(--tp-font-size-xs);
    font-weight: 600;
    color: var(--tp-text-secondary);
}

/* Tabla de especificaciones */
.tp-specs-table {
    width: 100%;
    border-collapse: collapse;
}

.tp-specs-table tr {
    border-bottom: 1px solid var(--tp-border-light);
}

.tp-specs-table tr:last-child {
    border-bottom: none;
}

.tp-specs-table td {
    padding: 12px 16px;
    font-size: var(--tp-font-size-sm);
}

.tp-specs-table .spec-label {
    font-weight: 600;
    color: var(--tp-text-primary);
    width: 40%;
    background: var(--tp-bg-secondary);
}

.tp-specs-table .spec-value {
    color: var(--tp-text-secondary);
}

/* Resumen de reviews */
.tp-reviews-summary {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: var(--tp-bg-secondary);
    border-radius: var(--tp-radius-md);
    margin-bottom: 2rem;
}

.tp-reviews-score {
    text-align: center;
}

.tp-reviews-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--tp-primary);
}

.tp-reviews-count {
    font-size: var(--tp-font-size-sm);
    color: var(--tp-text-muted);
}

/* Descripción del producto */
.tp-product-description {
    line-height: 1.8;
    color: var(--tp-text-secondary);
}

.tp-product-description p {
    margin-bottom: var(--tp-space-md);
}

.tp-product-description ul,
.tp-product-description ol {
    margin-bottom: var(--tp-space-md);
    padding-left: var(--tp-space-xl);
}

.tp-product-description li {
    margin-bottom: var(--tp-space-sm);
}

/* Aviso de sin stock */
.tp-out-of-stock-notice {
    display: flex;
    align-items: center;
    gap: var(--tp-space-sm);
    padding: var(--tp-space-md) var(--tp-space-lg);
    background: #FFF3E0;
    color: #E65100;
    border-radius: var(--tp-radius-md);
    font-weight: 600;
    font-size: var(--tp-font-size-base);
}

.tp-out-of-stock-notice i {
    font-size: var(--tp-font-size-xl);
}

/* Formulario add to cart */
.tp-add-to-cart-form {
    width: 100%;
}

.tp-add-to-cart-form .btn-add-to-cart {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
    font-size: var(--tp-font-size-lg);
}

/* Quantity selector en producto */
.product-buy-box .quantity-selector {
    display: flex;
    align-items: center;
    border: 2px solid var(--tp-border);
    border-radius: var(--tp-radius-sm);
    overflow: hidden;
}

.product-buy-box .qty-btn {
    width: 44px;
    height: 44px;
    background: var(--tp-bg-secondary);
    border: none;
    color: var(--tp-text-primary);
    font-size: var(--tp-font-size-base);
    cursor: pointer;
    transition: var(--tp-transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-buy-box .qty-btn:hover {
    background: var(--tp-primary);
    color: white;
}

.product-buy-box .qty-input {
    width: 60px;
    height: 44px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--tp-border);
    border-right: 1px solid var(--tp-border);
    font-weight: 600;
    font-size: var(--tp-font-size-base);
    background: var(--tp-bg-primary);
    color: var(--tp-text-primary);
    -moz-appearance: textfield;
}

.product-buy-box .qty-input::-webkit-outer-spin-button,
.product-buy-box .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Responsive para garantías */
@media (max-width: 768px) {
    .tp-product-guarantees {
        flex-direction: row;
        flex-wrap: wrap;
        gap: var(--tp-space-sm);
    }

    .tp-product-guarantee {
        min-width: calc(33% - var(--tp-space-sm));
    }

    .tp-specs-table .spec-label {
        width: 45%;
    }
}

@media (max-width: 480px) {
    .tp-product-guarantees {
        padding: var(--tp-space-md);
    }

    .tp-product-guarantee i {
        font-size: var(--tp-font-size-base);
    }

    .tp-specs-table td {
        padding: 8px 12px;
        font-size: var(--tp-font-size-xs);
    }
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .topbar,
    .site-header,
    .main-nav,
    .site-footer,
    .whatsapp-float,
    .scroll-top,
    .slider-arrows,
    .slider-controls {
        display: none !important;
    }

    body {
        color: #000;
        background: #fff;
    }
}
