/* ============================================
   TIENDA DEMO - E-commerce Styles
   Paleta personalizable por cliente vía CSS variables
   ============================================ */

:root {
    --primary: #1A1A2E;
    --primary-soft: #2D2D44;
    --accent: #FF6B35;
    --accent-dark: #E54B1B;
    --accent-light: #FFF1EB;
    --bg: #FFFFFF;
    --bg-soft: #FAFAFA;
    --bg-dark: #F4F4F4;
    --text: #1A1A2E;
    --text-soft: #6B7280;
    --text-muted: #9CA3AF;
    --border: #E5E7EB;
    --border-strong: #D1D5DB;
    --success: #10B981;
    --danger: #EF4444;
    --warning: #F59E0B;

    --font-display: 'Sora', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
    --shadow-lg: 0 12px 24px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 48px rgba(0,0,0,0.12);

    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.5;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

/* ============================================
   ANNOUNCEMENT BAR
   ============================================ */
.announcement {
    background: var(--primary);
    color: white;
    padding: 8px 0;
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    overflow: hidden;
    position: relative;
}

.announcement-content {
    display: inline-flex;
    align-items: center;
    gap: 24px;
}

.announcement-content span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.announcement-content .accent { color: var(--accent); font-weight: 700; }

/* ============================================
   HEADER / NAVBAR
   ============================================ */
.navbar {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 24px;
}

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 24px;
    color: var(--primary);
    letter-spacing: -0.04em;
    flex-shrink: 0;
}

.logo .accent { color: var(--accent); }

.nav-search {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.nav-search input {
    width: 100%;
    padding: 11px 16px 11px 42px;
    font-family: inherit;
    font-size: 14px;
    background: var(--bg-soft);
    border: 1.5px solid transparent;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-search input:focus {
    outline: none;
    background: white;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.nav-search svg {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-icon-btn {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    border-radius: var(--radius-full);
    position: relative;
    transition: var(--transition);
}

.nav-icon-btn:hover { background: var(--bg-soft); color: var(--accent); }

.nav-cart-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--accent);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 1px 5px;
    border-radius: 10px;
    min-width: 16px;
    text-align: center;
    line-height: 1.4;
}

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

/* SUBNAV CATEGORIES */
.subnav {
    background: white;
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}
.subnav::-webkit-scrollbar { display: none; }

.subnav-list {
    display: flex;
    gap: 28px;
    padding: 12px 0;
    list-style: none;
    white-space: nowrap;
}

.subnav-list a {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-soft);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.subnav-list a:hover,
.subnav-list a.active { color: var(--primary); }

.subnav-list a.active {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 12px;
    margin-bottom: -12px;
}

.subnav-list a .featured {
    background: var(--accent);
    color: white;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-soft) 100%);
    color: white;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -300px;
    left: -200px;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.hero-content { animation: slideUp 0.8s ease-out; }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 107, 53, 0.15);
    color: var(--accent);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.hero h1 .accent {
    color: var(--accent);
    position: relative;
    display: inline-block;
}

.hero p.lead {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 32px;
    max-width: 480px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-top: 40px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-stat-num {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.hero-visual {
    position: relative;
    animation: slideRight 1s ease-out;
}

.hero-product-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-xl);
    color: var(--text);
    position: relative;
    transform: rotate(-3deg);
    transition: transform var(--transition);
}

.hero-product-card:hover { transform: rotate(0); }

.hero-product-img {
    aspect-ratio: 1;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    position: relative;
}

.hero-product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-product-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--accent);
    color: white;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 11px;
    font-weight: 700;
}

.hero-product-card h3 { font-size: 18px; margin-bottom: 8px; }

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

.hero-product-price .now {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
}

.hero-product-price .before {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 14px;
}

.hero-floating {
    position: absolute;
    background: white;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-floating-1 {
    top: -15px;
    right: -15px;
    animation: float 3s ease-in-out infinite;
}

.hero-floating-2 {
    bottom: 30px;
    left: -20px;
    animation: float 3s ease-in-out infinite 1.5s;
}

.hero-floating-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    white-space: nowrap;
    justify-content: center;
}

.btn-accent {
    background: var(--accent);
    color: white;
}

.btn-accent:hover {
    background: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
}

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

.btn-primary:hover {
    background: var(--primary-soft);
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

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

.btn-light {
    background: white;
    color: var(--text);
    border-color: var(--border);
}

.btn-light:hover {
    background: var(--bg-soft);
    border-color: var(--border-strong);
}

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

.btn-whatsapp:hover {
    background: #1FB855;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 211, 102, 0.3);
}

.btn-block { width: 100%; }
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 70px 0; }
.section-sm { padding: 50px 0; }

.section-bg { background: var(--bg-soft); }

.section-header {
    margin-bottom: 36px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title-block .eyebrow {
    color: var(--accent);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    display: block;
}

.section-title-block h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    color: var(--primary);
    letter-spacing: -0.03em;
}

.section-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.section-link:hover {
    color: white;
    background: var(--primary);
    border-color: var(--primary);
}

/* ============================================
   CATEGORÍAS GRID
   ============================================ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.cat-card {
    aspect-ratio: 1;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 16px;
    transition: var(--transition);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    opacity: 0;
    transition: var(--transition);
    border-radius: var(--radius-lg);
}

.cat-card > * { position: relative; z-index: 1; transition: var(--transition); }

.cat-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.15);
}

.cat-card:hover::before { opacity: 1; }
.cat-card:hover .cat-icon,
.cat-card:hover .cat-name { color: white; }

.cat-icon {
    width: 56px;
    height: 56px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: var(--transition);
}

.cat-card:hover .cat-icon {
    background: rgba(255,255,255,0.2);
    color: white;
}

.cat-name {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    transition: var(--transition);
}

/* ============================================
   PRODUCTS GRID
   ============================================ */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.product-img-wrap {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-soft);
}

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

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

.product-tags {
    position: absolute;
    top: 12px;
    left: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 2;
}

.product-tag {
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tag-sale { background: var(--accent); color: white; }
.tag-new { background: var(--success); color: white; }
.tag-out { background: var(--text-muted); color: white; }

.product-quick-add {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 2;
    cursor: pointer;
}

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

.product-quick-add:hover {
    background: var(--accent);
    color: white;
}

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

.product-cat {
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 6px;
    font-weight: 600;
}

.product-name {
    font-family: var(--font-display);
    font-size: 15px;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1.3;
    font-weight: 600;
    flex: 1;
    /* Limit to 2 lines */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.product-price .now {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.product-price .before {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 13px;
}

.product-price .save {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    margin-left: auto;
}

.product-add-btn {
    background: var(--primary);
    color: white;
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition);
    width: 100%;
}

.product-add-btn:hover {
    background: var(--accent);
    color: white;
}

.product-add-btn:disabled {
    background: var(--bg-dark);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* ============================================
   FEATURES BAR
   ============================================ */
.features {
    background: var(--bg-soft);
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.feature-text h4 {
    font-size: 14px;
    font-family: var(--font-body);
    font-weight: 700;
    margin-bottom: 2px;
    color: var(--primary);
}

.feature-text p {
    font-size: 12px;
    color: var(--text-soft);
    line-height: 1.4;
}

/* ============================================
   CART DRAWER
   ============================================ */
.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition);
    z-index: 200;
}

.cart-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    max-width: 440px;
    background: white;
    z-index: 201;
    transform: translateX(100%);
    transition: transform var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-xl);
}

.cart-drawer.open { transform: translateX(0); }

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

.cart-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-title-count {
    background: var(--accent);
    color: white;
    padding: 2px 10px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.cart-close {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-close:hover { background: var(--bg-soft); color: var(--primary); }

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

.cart-item {
    display: grid;
    grid-template-columns: 70px 1fr auto;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
    align-items: center;
}

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

.cart-item-img {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
    overflow: hidden;
}

.cart-item-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-item-info { min-width: 0; }

.cart-item-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--primary);
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.cart-item-meta {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-soft);
    border-radius: var(--radius-full);
    padding: 4px;
    width: fit-content;
}

.qty-btn {
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: var(--transition);
    font-size: 14px;
}

.qty-btn:hover { background: var(--accent); color: white; }

.qty-value {
    min-width: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
}

.cart-item-price {
    text-align: right;
}

.cart-item-price .price {
    font-weight: 700;
    color: var(--primary);
    font-size: 14px;
    margin-bottom: 4px;
}

.cart-item-remove {
    color: var(--text-muted);
    font-size: 11px;
    text-decoration: underline;
    transition: var(--transition);
}

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

.cart-empty {
    padding: 60px 20px;
    text-align: center;
}

.cart-empty-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-soft);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--text-muted);
}

.cart-empty h3 {
    margin-bottom: 6px;
    font-size: 18px;
    color: var(--primary);
}

.cart-empty p {
    color: var(--text-soft);
    font-size: 14px;
    margin-bottom: 20px;
}

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

.cart-summary {
    margin-bottom: 14px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 13px;
    color: var(--text-soft);
}

.cart-summary-row.total {
    border-top: 1px solid var(--border);
    padding-top: 12px;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.cart-summary-row .text-success { color: var(--success); }

.cart-coupon {
    display: flex;
    gap: 6px;
    margin-bottom: 12px;
}

.cart-coupon input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 12px;
    font-family: inherit;
    text-transform: uppercase;
}

.cart-coupon input:focus {
    outline: none;
    border-color: var(--accent);
}

.cart-coupon button {
    padding: 8px 14px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
}

.cart-coupon-applied {
    background: var(--accent-light);
    color: var(--accent-dark);
    padding: 8px 12px;
    border-radius: var(--radius-md);
    font-size: 12px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.cart-coupon-applied a { color: inherit; text-decoration: underline; font-size: 11px; }

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: var(--primary);
    color: rgba(255,255,255,0.75);
    padding: 60px 0 30px;
}

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

.footer-brand .logo { color: white; margin-bottom: 16px; display: block; }
.footer-brand p { font-size: 14px; line-height: 1.6; margin-bottom: 16px; }

.footer-socials { display: flex; gap: 8px; }

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

.footer-socials a:hover {
    background: var(--accent);
    transform: translateY(-2px);
}

.footer-col h4 {
    color: white;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { padding: 5px 0; font-size: 14px; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom .powered {
    color: rgba(255,255,255,0.5);
}

.footer-bottom .powered a {
    color: var(--accent);
}

/* ============================================
   WHATSAPP FAB
   ============================================ */
.wa-fab {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    z-index: 90;
    transition: var(--transition);
    animation: pulse-wa 2.5s infinite;
}

.wa-fab:hover { transform: scale(1.1); }

/* ============================================
   ANIMACIONES
   ============================================ */
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

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

@keyframes pulse-wa {
    0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============================================
   TOAST
   ============================================ */
.toast {
    position: fixed;
    bottom: 100px;
    right: 24px;
    background: var(--primary);
    color: white;
    padding: 14px 18px;
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 300;
    transform: translateY(100px);
    opacity: 0;
    transition: var(--transition);
    pointer-events: none;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success { background: var(--success); }
.toast.error { background: var(--danger); }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 12px; }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-grid { gap: 40px; padding: 60px 0; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
    .hero-grid { grid-template-columns: 1fr; padding: 40px 0; }
    .hero-visual { max-width: 360px; margin: 0 auto; }
    .hero-stats { gap: 20px; flex-wrap: wrap; }
    .nav-search { max-width: none; flex: 1; }
    .nav-search input { padding-left: 40px; font-size: 13px; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .cat-grid { grid-template-columns: repeat(3, 1fr); }
    .product-info { padding: 12px; }
    .product-name { font-size: 13px; }
    .product-price .now { font-size: 17px; }
    .features-grid { gap: 16px; }
    .feature { gap: 12px; }
    .feature-icon { width: 40px; height: 40px; }
    .footer-grid { grid-template-columns: 1fr; }
    .section { padding: 50px 0; }
    .section-header { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
    .nav-wrap { gap: 8px; }
    .logo { font-size: 20px; }
    .nav-icon-btn { width: 38px; height: 38px; }
    .cat-grid { grid-template-columns: repeat(2, 1fr); }
}
