/* ==========================================================================
   TeLoLlevo - Design System & UI/UX Styling
   Colores: Naranja #FF6B35 | Azul Marino #1D3557 | Verde WhatsApp #25D366 | Fondo #F8F9FA
   ========================================================================== */

:root {
    --tll-orange: #FF6B35;
    --tll-orange-hover: #E85924;
    --tll-orange-light: #FFF2EC;
    --tll-orange-glow: rgba(255, 107, 53, 0.25);

    --tll-navy: #1D3557;
    --tll-navy-dark: #102136;
    --tll-navy-light: #457B9D;
    --tll-navy-surface: #F0F4F8;

    --tll-green: #25D366;
    --tll-green-hover: #1EBE5D;
    --tll-green-light: #E9F9EE;
    --tll-green-glow: rgba(37, 211, 102, 0.25);

    --tll-bg-clean: #F8F9FA;
    --tll-surface: #FFFFFF;
    --tll-text-main: #1D3557;
    --tll-text-muted: #5A6B82;
    --tll-border: #E2E8F0;
    --tll-border-focus: #FF6B35;

    --tll-radius-sm: 8px;
    --tll-radius-md: 14px;
    --tll-radius-lg: 20px;
    --tll-radius-full: 9999px;

    --tll-shadow-sm: 0 2px 8px rgba(29, 53, 87, 0.05);
    --tll-shadow-md: 0 8px 24px -4px rgba(29, 53, 87, 0.08);
    --tll-shadow-lg: 0 16px 36px -6px rgba(29, 53, 87, 0.12);
    --tll-shadow-orange: 0 8px 20px -2px rgba(255, 107, 53, 0.35);
    --tll-shadow-green: 0 8px 20px -2px rgba(37, 211, 102, 0.35);

    --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--tll-text-main);
    background-color: var(--tll-bg-clean);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ==========================================================================
   Announcement Bar (Fija Superior)
   ========================================================================== */
.tll-announcement-bar {
    background: linear-gradient(90deg, #1D3557 0%, #102136 100%);
    color: #FFFFFF;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 8px 16px;
    text-align: center;
    position: sticky;
    top: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.2px;
}

.tll-announcement-bar .badge-live {
    background: var(--tll-orange);
    color: white;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: var(--tll-radius-full);
    font-weight: 700;
    text-transform: uppercase;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.tll-header {
    background: #FFFFFF;
    border-bottom: 1px solid var(--tll-border);
    position: sticky;
    top: 38px;
    z-index: 1040;
    box-shadow: var(--tll-shadow-sm);
    padding: 12px 0;
}

.tll-header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.tll-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.tll-brand-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: var(--tll-radius-sm);
}

.tll-brand-text {
    display: flex;
    flex-direction: column;
}

.tll-brand-name {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--tll-navy);
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.tll-brand-name span {
    color: var(--tll-orange);
}

.tll-brand-slogan {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--tll-text-muted);
}

/* Search Bar Predictiva */
.tll-search-wrapper {
    flex: 1;
    max-width: 540px;
    position: relative;
}

.tll-search-input-group {
    display: flex;
    align-items: center;
    background: var(--tll-bg-clean);
    border: 2px solid var(--tll-border);
    border-radius: var(--tll-radius-full);
    padding: 6px 16px;
    transition: all 0.2s ease;
}

.tll-search-input-group:focus-within {
    border-color: var(--tll-orange);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px var(--tll-orange-glow);
}

.tll-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1rem;
    color: var(--tll-navy);
    outline: none;
    padding: 6px 8px;
}

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

.tll-search-icon {
    font-size: 1.15rem;
    color: var(--tll-text-muted);
}

.tll-search-clear {
    background: transparent;
    border: none;
    color: var(--tll-text-muted);
    font-size: 1.1rem;
    padding: 4px;
}

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

.tll-btn-whatsapp-header {
    background: var(--tll-green-light);
    color: #128C7E;
    border: 1px solid rgba(37, 211, 102, 0.4);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 16px;
    border-radius: var(--tll-radius-full);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tll-btn-whatsapp-header:hover {
    background: var(--tll-green);
    color: white;
    box-shadow: var(--tll-shadow-green);
    transform: translateY(-1px);
}

.tll-btn-cart {
    background: var(--tll-navy);
    color: white;
    border: none;
    padding: 10px 18px;
    border-radius: var(--tll-radius-full);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    transition: all 0.2s ease;
}

.tll-btn-cart:hover {
    background: var(--tll-navy-dark);
    transform: translateY(-1px);
    box-shadow: var(--tll-shadow-md);
}

.tll-cart-badge {
    background: var(--tll-orange);
    color: white;
    font-size: 0.8rem;
    font-weight: 800;
    min-width: 22px;
    height: 22px;
    border-radius: var(--tll-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

/* ==========================================================================
   Category Navigation Chips
   ========================================================================== */
.tll-categories-nav {
    background: #FFFFFF;
    border-bottom: 1px solid var(--tll-border);
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.tll-categories-nav::-webkit-scrollbar {
    display: none;
}

.tll-categories-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
    display: flex;
    gap: 10px;
}

.tll-category-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--tll-bg-clean);
    color: var(--tll-navy);
    border: 1.5px solid var(--tll-border);
    border-radius: var(--tll-radius-full);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.2s ease;
    user-select: none;
}

.tll-category-chip:hover {
    border-color: var(--tll-orange);
    background: var(--tll-orange-light);
    color: var(--tll-orange);
}

.tll-category-chip.active {
    background: var(--tll-orange);
    border-color: var(--tll-orange);
    color: #FFFFFF;
    box-shadow: var(--tll-shadow-orange);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.tll-hero {
    background: linear-gradient(135deg, #1D3557 0%, #102136 60%, #1D3557 100%);
    color: #FFFFFF;
    padding: 60px 16px 70px;
    position: relative;
    overflow: hidden;
}

.tll-hero::after {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.tll-hero-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.tll-hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    padding: 6px 16px;
    border-radius: var(--tll-radius-full);
    font-size: 0.9rem;
    font-weight: 700;
    color: #FFAA8A;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.tll-hero-title {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.tll-hero-title span {
    color: var(--tll-orange);
}

.tll-hero-subtitle {
    font-size: 1.15rem;
    color: #E2E8F0;
    margin-bottom: 32px;
    max-width: 580px;
}

.tll-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.tll-btn-primary {
    background: var(--tll-orange);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--tll-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--tll-shadow-orange);
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

.tll-btn-primary:hover {
    background: var(--tll-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -2px rgba(255, 107, 53, 0.45);
    color: white;
}

.tll-btn-whatsapp-lg {
    background: var(--tll-green);
    color: #FFFFFF;
    font-size: 1.05rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: var(--tll-radius-full);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--tll-shadow-green);
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

.tll-btn-whatsapp-lg:hover {
    background: var(--tll-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 12px 26px -2px rgba(37, 211, 102, 0.45);
    color: white;
}

.tll-hero-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--tll-radius-lg);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tll-hero-card-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tll-hero-icon-box {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--tll-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.tll-hero-card-text h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.tll-hero-card-text p {
    font-size: 0.85rem;
    color: #CBD5E1;
}

/* ==========================================================================
   Sección "Comprá en 3 Simples Pasos"
   ========================================================================== */
.tll-steps-section {
    padding: 50px 16px;
    background: #FFFFFF;
    border-bottom: 1px solid var(--tll-border);
}

.tll-section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px;
}

.tll-section-tag {
    color: var(--tll-orange);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 6px;
}

.tll-section-title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--tll-navy);
    line-height: 1.2;
}

.tll-steps-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.tll-step-card {
    background: var(--tll-bg-clean);
    border: 1px solid var(--tll-border);
    border-radius: var(--tll-radius-lg);
    padding: 30px 24px;
    text-align: center;
    position: relative;
    transition: all 0.25s ease;
}

.tll-step-card:hover {
    transform: translateY(-4px);
    border-color: var(--tll-orange);
    box-shadow: var(--tll-shadow-md);
    background: #FFFFFF;
}

.tll-step-number {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 32px;
    height: 32px;
    background: var(--tll-navy-surface);
    color: var(--tll-navy);
    border-radius: 50%;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tll-step-icon {
    font-size: 2.8rem;
    margin-bottom: 16px;
}

.tll-step-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--tll-navy);
    margin-bottom: 8px;
}

.tll-step-card p {
    font-size: 0.95rem;
    color: var(--tll-text-muted);
}

/* ==========================================================================
   Product Cards & Grid
   ========================================================================== */
.tll-products-section {
    padding: 60px 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.tll-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
}

.tll-product-card {
    background: #FFFFFF;
    border: 1px solid var(--tll-border);
    border-radius: var(--tll-radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--tll-shadow-sm);
    transition: all 0.25s ease;
    position: relative;
}

.tll-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--tll-shadow-md);
    border-color: #CBD5E1;
}

.tll-product-image-wrap {
    position: relative;
    width: 100%;
    padding-top: 75%; /* 4:3 Aspect Ratio */
    background: #F1F5F9;
    overflow: hidden;
    cursor: pointer;
}

.tll-product-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.tll-product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--tll-orange);
    color: white;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--tll-radius-full);
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 2;
}

.tll-product-badge.discount {
    background: #E63946;
}

.tll-product-body {
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tll-product-category {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--tll-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.tll-product-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--tll-navy);
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    cursor: pointer;
}

.tll-product-title:hover {
    color: var(--tll-orange);
}

.tll-product-scale {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--tll-bg-clean);
    border: 1px solid var(--tll-border);
    padding: 4px 8px;
    border-radius: var(--tll-radius-sm);
    font-size: 0.78rem;
    color: var(--tll-navy);
    font-weight: 600;
    margin-bottom: 14px;
}

.tll-product-prices {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-top: auto;
    margin-bottom: 16px;
}

.tll-product-price {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--tll-navy);
}

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

.tll-product-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.tll-btn-buy {
    background: var(--tll-orange);
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 11px 16px;
    border-radius: var(--tll-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.tll-btn-buy:hover {
    background: var(--tll-orange-hover);
    transform: translateY(-1px);
    box-shadow: var(--tll-shadow-orange);
}

.tll-btn-wa-direct {
    background: var(--tll-green-light);
    color: #128C7E;
    border: 1px solid rgba(37, 211, 102, 0.4);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 9px 14px;
    border-radius: var(--tll-radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.tll-btn-wa-direct:hover {
    background: var(--tll-green);
    color: white;
}

/* ==========================================================================
   Trust & Warranty Section
   ========================================================================== */
.tll-trust-section {
    background: #FFFFFF;
    border-top: 1px solid var(--tll-border);
    border-bottom: 1px solid var(--tll-border);
    padding: 40px 16px;
}

.tll-trust-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.tll-trust-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tll-trust-icon {
    font-size: 2.2rem;
}

.tll-trust-item h4 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--tll-navy);
    margin-bottom: 2px;
}

.tll-trust-item p {
    font-size: 0.85rem;
    color: var(--tll-text-muted);
}

/* ==========================================================================
   Cart Drawer (Slide Over)
   ========================================================================== */
.tll-drawer-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(16, 33, 54, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tll-drawer-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}

.tll-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 440px;
    height: 100vh;
    background: #FFFFFF;
    z-index: 2010;
    display: flex;
    flex-direction: column;
    box-shadow: var(--tll-shadow-lg);
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

.tll-drawer-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--tll-navy);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tll-drawer-close {
    background: var(--tll-bg-clean);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--tll-text-muted);
    cursor: pointer;
}

.tll-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.tll-cart-item-img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: var(--tll-radius-sm);
    background: #F1F5F9;
}

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

.tll-cart-item-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--tll-navy);
    line-height: 1.25;
    margin-bottom: 4px;
}

.tll-cart-item-scale {
    font-size: 0.75rem;
    color: var(--tll-text-muted);
    margin-bottom: 6px;
}

.tll-cart-item-price {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--tll-navy);
}

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

.tll-qty-btn {
    width: 28px;
    height: 28px;
    background: var(--tll-bg-clean);
    border: 1px solid var(--tll-border);
    border-radius: var(--tll-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    color: var(--tll-navy);
}

.tll-qty-val {
    font-weight: 700;
    min-width: 20px;
    text-align: center;
}

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

.tll-cart-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    margin-bottom: 8px;
    color: var(--tll-text-muted);
}

.tll-cart-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--tll-navy);
    margin-bottom: 16px;
    padding-top: 8px;
    border-top: 1px dashed var(--tll-border);
}

.tll-btn-checkout {
    width: 100%;
    background: var(--tll-orange);
    color: white;
    font-size: 1.1rem;
    font-weight: 800;
    padding: 14px;
    border-radius: var(--tll-radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: var(--tll-shadow-orange);
    text-decoration: none;
}

.tll-btn-checkout:hover {
    background: var(--tll-orange-hover);
    color: white;
}

/* ==========================================================================
   Product Detail Modal / Page
   ========================================================================== */
.tll-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(16, 33, 54, 0.7);
    backdrop-filter: blur(6px);
    z-index: 2100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.tll-modal-card {
    background: #FFFFFF;
    border-radius: var(--tll-radius-lg);
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: var(--tll-shadow-lg);
}

.tll-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--tll-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--tll-navy);
    z-index: 10;
    cursor: pointer;
}

.tll-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 30px;
    padding: 30px;
}

.tll-modal-img {
    width: 100%;
    border-radius: var(--tll-radius-md);
    object-fit: cover;
    aspect-ratio: 1;
    background: #F1F5F9;
}

.tll-scale-box {
    background: var(--tll-orange-light);
    border: 1.5px dashed var(--tll-orange);
    border-radius: var(--tll-radius-md);
    padding: 12px 16px;
    margin: 16px 0;
    font-size: 0.9rem;
    color: var(--tll-navy);
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ==========================================================================
   One-Page Checkout
   ========================================================================== */
.tll-checkout-page {
    max-width: 1000px;
    margin: 40px auto 80px;
    padding: 0 16px;
}

.tll-checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 32px;
    align-items: start;
}

.tll-card {
    background: #FFFFFF;
    border: 1px solid var(--tll-border);
    border-radius: var(--tll-radius-lg);
    padding: 24px;
    box-shadow: var(--tll-shadow-sm);
    margin-bottom: 24px;
}

.tll-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--tll-border);
}

.tll-card-header h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--tll-navy);
}

.tll-form-group {
    margin-bottom: 16px;
}

.tll-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--tll-navy);
    margin-bottom: 6px;
}

.tll-input {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--tll-border);
    border-radius: var(--tll-radius-md);
    font-size: 1rem;
    font-family: inherit;
    color: var(--tll-navy);
    background: #FFFFFF;
    transition: border-color 0.2s ease;
}

.tll-input:focus {
    border-color: var(--tll-orange);
    outline: none;
    box-shadow: 0 0 0 3px var(--tll-orange-glow);
}

/* Payment Methods Radios */
.tll-payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tll-payment-option {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    border: 2px solid var(--tll-border);
    border-radius: var(--tll-radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
}

.tll-payment-option:hover {
    border-color: #CBD5E1;
    background: var(--tll-bg-clean);
}

.tll-payment-option.selected {
    border-color: var(--tll-orange);
    background: var(--tll-orange-light);
}

.tll-payment-option input[type="radio"] {
    margin-top: 4px;
    accent-color: var(--tll-orange);
    width: 18px;
    height: 18px;
}

.tll-payment-option-body h4 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--tll-navy);
    margin-bottom: 2px;
}

.tll-payment-option-body p {
    font-size: 0.85rem;
    color: var(--tll-text-muted);
}

/* ==========================================================================
   Floating WhatsApp Button (Omnicanal)
   ========================================================================== */
.tll-floating-wa {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1080;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tll-floating-wa-btn {
    width: 60px;
    height: 60px;
    background: var(--tll-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.tll-floating-wa-btn:hover {
    background: var(--tll-green-hover);
    transform: scale(1.08);
    color: white;
}

.tll-wa-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--tll-green);
    opacity: 0.6;
    animation: waPulse 2s infinite;
    z-index: -1;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.4); opacity: 0; }
}

.tll-floating-wa-tooltip {
    background: #FFFFFF;
    color: var(--tll-navy);
    padding: 8px 14px;
    border-radius: var(--tll-radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--tll-shadow-md);
    border: 1px solid var(--tll-border);
    white-space: nowrap;
    display: none;
}

@media (min-width: 768px) {
    .tll-floating-wa-tooltip {
        display: block;
    }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.tll-footer {
    background: var(--tll-navy);
    color: #FFFFFF;
    padding: 60px 16px 30px;
    margin-top: 60px;
}

.tll-footer-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.tll-footer-brand h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.tll-footer-brand h2 span {
    color: var(--tll-orange);
}

.tll-footer-brand p {
    color: #CBD5E1;
    font-size: 0.95rem;
    line-height: 1.5;
}

.tll-footer-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.tll-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tll-footer-links a {
    color: #CBD5E1;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

.tll-footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #94A3B8;
}

/* ==========================================================================
   Utility Responsive Classes
   ========================================================================== */
.tll-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.tll-admin-price-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 14px;
}

/* Evitar auto-zoom molesto en iOS Safari al enfocar inputs */
input[type="text"],
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
select,
textarea {
    font-size: 16px !important;
}

/* Mejor respuesta táctil en móviles */
button,
a,
.tll-category-chip,
.tll-qty-btn,
.tll-toggle-btn {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}

/* ==========================================================================
   Responsive Breakpoint: Notebooks / Laptops (> 1024px)
   ========================================================================== */
@media (min-width: 1025px) {
    .tll-products-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

/* ==========================================================================
   Responsive Breakpoint: Tablets y Notebooks Pequeñas (769px a 1024px)
   ========================================================================== */
@media (max-width: 1024px) {
    .tll-hero-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .tll-hero-card {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .tll-products-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }

    .tll-checkout-grid {
        grid-template-columns: 1.2fr 0.8fr;
        gap: 24px;
    }

    .tll-cart-drawer {
        max-width: 420px;
    }

    .tll-modal-grid {
        grid-template-columns: 1fr 1.1fr;
        gap: 24px;
        padding: 24px;
    }
}

/* ==========================================================================
   Responsive Breakpoint: Celulares y Tablets Pequeñas (hasta 768px)
   ========================================================================== */
@media (max-width: 768px) {
    /* Barra Superior Fija */
    .tll-announcement-bar {
        font-size: 0.78rem;
        padding: 6px 10px;
        letter-spacing: 0;
    }

    /* Header Móvil con doble fila ergonómica */
    .tll-header {
        top: 32px;
        padding: 8px 0;
    }

    .tll-header-container {
        display: grid;
        grid-template-columns: 1fr auto;
        row-gap: 8px;
        column-gap: 8px;
        align-items: center;
        padding: 0 12px;
    }

    .tll-brand {
        gap: 8px;
    }

    .tll-brand-logo {
        height: 38px;
    }

    .tll-brand-name {
        font-size: 1.25rem;
    }

    .tll-brand-slogan {
        display: none;
    }

    .tll-header-actions {
        display: flex;
        align-items: center;
        gap: 8px;
        justify-content: flex-end;
    }

    .tll-btn-whatsapp-header {
        padding: 8px 10px;
        border-radius: var(--tll-radius-full);
        gap: 4px;
    }

    .tll-btn-wa-text {
        display: none;
    }

    .tll-btn-cart {
        padding: 8px 12px;
        font-size: 0.88rem;
        gap: 6px;
    }

    .tll-search-wrapper {
        grid-column: 1 / -1;
        width: 100%;
        max-width: 100%;
        margin-top: 2px;
    }

    .tll-search-input {
        font-size: 0.92rem;
        padding: 10px 14px 10px 38px;
    }

    /* Hero en Móviles */
    .tll-hero {
        padding: 30px 14px 36px;
    }

    .tll-hero-container {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tll-hero-pill {
        font-size: 0.8rem;
        padding: 4px 12px;
        margin-bottom: 12px;
    }

    .tll-hero-title {
        font-size: clamp(1.6rem, 5.5vw, 2.1rem);
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .tll-hero-subtitle {
        font-size: 0.92rem;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .tll-hero-ctas {
        display: flex;
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }

    .tll-btn-primary, 
    .tll-btn-whatsapp-lg {
        width: 100%;
        justify-content: center;
        padding: 13px 18px;
        font-size: 0.95rem;
    }

    .tll-hero-card {
        display: flex;
        flex-direction: column;
        gap: 10px;
        padding: 14px;
    }

    .tll-hero-card-item {
        gap: 12px;
    }

    .tll-hero-icon-box {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
        flex-shrink: 0;
    }

    .tll-hero-card-text h4 {
        font-size: 0.95rem;
    }

    .tll-hero-card-text p {
        font-size: 0.8rem;
    }

    /* Barra de Categorías con desplazamiento táctil suave */
    .tll-categories-nav {
        padding: 8px 0;
    }

    .tll-categories-container {
        padding: 0 12px;
        gap: 8px;
    }

    .tll-category-chip {
        padding: 6px 14px;
        font-size: 0.85rem;
        gap: 6px;
        flex-shrink: 0;
    }

    /* Sección de 3 Pasos */
    .tll-steps-section {
        padding: 40px 14px;
    }

    .tll-steps-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tll-step-card {
        padding: 18px 14px;
        display: flex;
        align-items: center;
        text-align: left;
        gap: 14px;
        position: relative;
    }

    .tll-step-number {
        position: static;
        flex-shrink: 0;
        width: 28px;
        height: 28px;
        font-size: 0.85rem;
    }

    .tll-step-icon {
        font-size: 2rem;
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .tll-step-card h3 {
        font-size: 1rem;
        margin-bottom: 2px;
    }

    .tll-step-card p {
        font-size: 0.85rem;
    }

    /* Grilla de Productos en 2 Columnas Elegantes */
    .tll-products-section {
        padding: 36px 12px;
    }

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

    .tll-product-card {
        border-radius: var(--tll-radius-md);
        box-shadow: 0 2px 6px rgba(0,0,0,0.04);
    }

    .tll-product-image-wrap {
        padding-top: 85%;
    }

    .tll-product-body {
        padding: 8px 10px 12px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

    .tll-product-category {
        font-size: 0.7rem;
        margin-bottom: 3px;
    }

    .tll-product-title {
        font-size: 0.88rem;
        line-height: 1.25;
        height: 2.5em;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        margin-bottom: 6px;
    }

    .tll-product-scale {
        font-size: 0.68rem;
        padding: 2px 5px;
        margin-bottom: 8px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .tll-product-prices {
        margin-bottom: 10px;
        gap: 4px;
        flex-wrap: wrap;
    }

    .tll-product-price {
        font-size: 1.15rem;
    }

    .tll-product-original-price {
        font-size: 0.78rem;
    }

    .tll-product-badge {
        font-size: 0.65rem;
        padding: 2px 6px;
    }

    .tll-product-actions {
        gap: 6px;
        margin-top: auto;
    }

    .tll-btn-buy {
        padding: 9px 6px;
        font-size: 0.82rem;
        gap: 4px;
        border-radius: 8px;
    }

    .tll-btn-wa-direct {
        padding: 8px 6px;
        font-size: 0.78rem;
        gap: 4px;
        border-radius: 8px;
    }

    /* Carrito Desplegable en Móvil: Ancho Completo */
    .tll-cart-drawer {
        width: 100%;
        max-width: 100%;
    }

    .tll-drawer-header {
        padding: 16px 14px;
    }

    .tll-drawer-body {
        padding: 14px;
        gap: 12px;
    }

    .tll-drawer-footer {
        padding: 14px;
    }

    .tll-cart-item {
        gap: 10px;
        padding-bottom: 12px;
    }

    .tll-cart-item-img {
        width: 58px;
        height: 58px;
    }

    .tll-btn-checkout {
        padding: 12px;
        font-size: 0.98rem;
    }

    /* Modal de Detalle de Producto en Móvil */
    .tll-modal-backdrop {
        padding: 10px;
    }

    .tll-modal-card {
        border-radius: var(--tll-radius-md);
        max-height: 92vh;
        width: 100%;
    }

    .tll-modal-grid {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 16px 14px;
    }

    .tll-modal-img {
        max-height: 220px;
        object-fit: cover;
        aspect-ratio: 16/10;
        width: 100%;
    }

    .tll-scale-box {
        margin: 10px 0;
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    /* Checkout en Móvil */
    .tll-checkout-page {
        margin: 20px auto 50px;
        padding: 0 12px;
    }

    .tll-checkout-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .tll-form-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .tll-card {
        padding: 18px 14px;
        border-radius: var(--tll-radius-md);
    }

    /* Footer en Móvil */
    .tll-footer {
        padding: 40px 14px 24px;
        margin-top: 40px;
    }

    .tll-footer-container {
        grid-template-columns: 1fr;
        gap: 28px;
    }

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

    /* Panel de Administración en Móvil */
    .tll-admin-layout {
        padding: 14px 10px 50px 10px;
    }

    .tll-admin-topbar {
        padding: 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .tll-admin-topbar-actions {
        width: 100%;
        justify-content: space-between;
    }

    .tll-admin-kpis {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .tll-kpi-card {
        padding: 12px 14px;
        gap: 10px;
    }

    .tll-kpi-icon {
        width: 38px;
        height: 38px;
        font-size: 1.2rem;
    }

    .tll-kpi-value {
        font-size: 1.35rem;
    }

    .tll-admin-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .tll-toolbar-left {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .tll-toolbar-left input,
    .tll-toolbar-left select {
        max-width: 100% !important;
        width: 100%;
    }

    .tll-admin-price-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .tll-admin-table th,
    .tll-admin-table td {
        padding: 10px 8px;
        font-size: 0.82rem;
    }

    .tll-admin-table-wrapper {
        border: 1px solid #E2E8F0;
        border-radius: 8px;
    }
}

/* ==========================================================================
   Responsive Breakpoint: Pantallas Móviles Angostas (< 380px)
   ========================================================================== */
@media (max-width: 380px) {
    .tll-products-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .tll-admin-kpis {
        grid-template-columns: 1fr;
    }

    .tll-brand-name {
        font-size: 1.15rem;
    }
}