/* ==========================================================================
   TAZAS HOTCUP - ULTRA MODERN E-COMMERCE STYLESHEET
   Design: Luxury Teal & Emerald, Glassmorphism, 3D Credit Card & Checkout
   ========================================================================== */

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

:root {
    --primary: #00695c;
    --primary-light: #00897b;
    --primary-dark: #004d40;
    --accent: #00fcc9;
    --accent-glow: rgba(0, 252, 201, 0.4);
    --accent-dark: #00bfa5;
    
    --bg-main: #f8fafc;
    --bg-surface: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.9);
    --bg-dark: #0a1917;
    
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --text-white: #ffffff;

    --border-color: #e2e8f0;
    --border-glass: rgba(0, 252, 201, 0.2);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 30px rgba(0, 105, 92, 0.08);
    --shadow-lg: 0 20px 50px rgba(0, 105, 92, 0.15);
    --shadow-glow: 0 0 25px rgba(0, 252, 201, 0.35);

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Reset & Global */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

/* Fixed Background */
.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: radial-gradient(circle at 80% 20%, rgba(0, 252, 201, 0.08), transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(0, 105, 92, 0.08), transparent 50%),
                url('../imagenes/hero-background.jpeg') center/cover no-repeat;
    z-index: -2;
    filter: brightness(1.02);
}

.fixed-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(180deg, rgba(10, 25, 23, 0.35) 0%, rgba(10, 25, 23, 0.15) 55%, rgba(248, 250, 252, 1) 100%);
    z-index: -1;
    pointer-events: none;
}

/* Typography Helpers */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    font-weight: 700;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 105, 92, 0.08);
    z-index: 1000;
    transition: var(--transition);
    padding: 0.8rem 0;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    padding: 0.6rem 0;
}

nav {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.logo-badge {
    background: linear-gradient(135deg, #00fcc9, #00bfa5);
    color: #00332c;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-full);
    margin-left: -4px;
}

.logo-img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 105, 92, 0.25);
    transition: transform 0.4s ease;
}

.logo:hover .logo-img {
    transform: rotate(6deg) scale(1.08);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    background: rgba(0, 105, 92, 0.05);
    padding: 0.35rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 105, 92, 0.08);
}

.nav-links a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-full);
    display: block;
}

.nav-links a:hover, .nav-links a.active {
    background: var(--primary);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(0, 105, 92, 0.25);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.cart-toggle-btn {
    position: relative;
    background: linear-gradient(135deg, rgba(0, 105, 92, 0.08), rgba(0, 252, 201, 0.15));
    border: 1px solid var(--border-glass);
    color: var(--primary-dark);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.cart-toggle-btn:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cart-badge-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #ef4444;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: bouncePop 0.3s ease;
}

.whatsapp-nav-btn {
    background: #25D366;
    color: #fff;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.whatsapp-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    color: #fff;
}

.menu-toggle {
    display: none;
    background: transparent;
    color: var(--primary-dark);
    font-size: 1.5rem;
    padding: 0.4rem;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 1.5rem 4rem;
    position: relative;
    color: var(--text-white);
}

.hero-box {
    max-width: 850px;
    background: rgba(10, 25, 23, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 252, 201, 0.25);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), var(--shadow-glow);
    animation: fadeInUp 0.8s ease;
}

.hero-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 252, 201, 0.15);
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.hero-title {
    font-size: 3.8rem;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 1.2rem;
}

.hero-title span {
    background: linear-gradient(135deg, #00fcc9 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #cbd5e1;
    margin-bottom: 2.2rem;
    font-weight: 400;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.btn-primary-hero {
    background: linear-gradient(135deg, #00fcc9, #00bfa5);
    color: #002b25;
    font-weight: 800;
    padding: 0.95rem 2rem;
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    box-shadow: 0 8px 25px rgba(0, 252, 201, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary-hero:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 252, 201, 0.6);
    color: #001f1a;
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    font-weight: 700;
    padding: 0.95rem 1.8rem;
    border-radius: var(--radius-full);
    font-size: 1.05rem;
    backdrop-filter: blur(10px);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--accent);
    border-color: var(--accent);
    transform: translateY(-3px);
}

.hero-trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.8rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #e2e8f0;
}

.trust-item svg {
    color: var(--accent);
}

/* ==========================================================================
   CATALOG FILTER & SEARCH BAR
   ========================================================================== */
.catalog-section {
    padding: 5rem 0;
    background: var(--bg-main);
    position: relative;
    z-index: 2;
}

.section-header-modern {
    text-align: center;
    margin-bottom: 2.5rem;
}

.section-badge {
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    display: inline-block;
    margin-bottom: 0.4rem;
}

.section-title {
    font-size: 2.6rem;
    margin-bottom: 0.8rem;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.filter-bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 3rem;
}

.search-input-box {
    position: relative;
    width: 100%;
    max-width: 480px;
}

.search-input-box input {
    width: 100%;
    padding: 0.85rem 1.2rem 0.85rem 3rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-color);
    background: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.search-input-box input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 105, 92, 0.1);
    outline: none;
}

.search-input-box svg {
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-light);
}

.category-pills-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.category-pill {
    background: #fff;
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.6rem 1.3rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.category-pill:hover, .category-pill.active {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 105, 92, 0.2);
}

/* ==========================================================================
   PRODUCT GRID & MODERN CARDS
   ========================================================================== */
.product-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card-premium {
    background: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(0, 105, 92, 0.08);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

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

.product-card-media {
    position: relative;
    width: 100%;
    padding-top: 100%; /* 1:1 Aspect ratio */
    background: #f1f5f9;
    overflow: hidden;
}

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

.product-card-premium:hover .product-main-img {
    transform: scale(1.06);
}

.product-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: rgba(10, 25, 23, 0.85);
    backdrop-filter: blur(8px);
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.35rem 0.8rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(0, 252, 201, 0.3);
    z-index: 2;
}

.media-quick-actions {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    display: flex;
    gap: 0.4rem;
    z-index: 2;
}

.quick-view-btn, .quick-video-btn {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    color: var(--primary-dark);
    padding: 0.45rem 0.7rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.quick-view-btn:hover, .quick-video-btn:hover {
    background: var(--primary);
    color: #fff;
}

.product-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.4rem;
}

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

.rating-val {
    font-weight: 700;
    font-size: 0.85rem;
}

.reviews-count {
    color: var(--text-light);
    font-size: 0.8rem;
}

.product-card-title {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--text-main);
}

.product-card-desc {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 0.8rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-specs-chip {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.product-specs-chip span {
    background: #f1f5f9;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: var(--radius-sm);
}

.product-price-row {
    margin-top: auto;
    margin-bottom: 1rem;
}

.price-box {
    display: flex;
    align-items: baseline;
    gap: 0.6rem;
}

.current-price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

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

.product-btn-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem;
    margin-bottom: 0.8rem;
}

.btn-customize-cup {
    background: rgba(0, 105, 92, 0.08);
    color: var(--primary-dark);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.7rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.btn-customize-cup:hover {
    background: rgba(0, 105, 92, 0.15);
    color: var(--primary);
}

.btn-quick-add {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.7rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(0, 105, 92, 0.25);
}

.btn-quick-add:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-dark));
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 105, 92, 0.35);
}

.wholesale-link-row {
    text-align: center;
    border-top: 1px dashed var(--border-color);
    padding-top: 0.6rem;
}

.wholesale-link {
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 600;
}

.wholesale-link:hover {
    color: var(--primary);
    text-decoration: underline;
}

/* ==========================================================================
   CART DRAWER (SLIDE OVER)
   ========================================================================== */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 23, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: #fff;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.2);
    z-index: 1060;
    display: flex;
    flex-direction: column;
    transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

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

.cart-drawer-title {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.close-drawer-btn {
    background: #f1f5f9;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-drawer-btn:hover {
    background: #e2e8f0;
    color: var(--text-main);
}

.cart-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.cart-empty-state {
    text-align: center;
    padding: 3rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: var(--text-muted);
}

.cart-empty-icon {
    font-size: 4rem;
    opacity: 0.6;
}

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

.cart-item-thumb {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    object-fit: cover;
    border: 1px solid var(--border-color);
}

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

.cart-item-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
}

.cart-item-price {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cart-item-custom-tag {
    font-size: 0.75rem;
    background: #e6fffa;
    color: var(--primary-dark);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    margin: 0.3rem 0;
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
}

.cart-item-standard-tag {
    font-size: 0.72rem;
    color: var(--text-light);
    display: block;
    margin: 0.2rem 0;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.quantity-controller {
    display: flex;
    align-items: center;
    background: #f1f5f9;
    border-radius: var(--radius-full);
    overflow: hidden;
}

.qty-btn {
    background: transparent;
    width: 28px;
    height: 28px;
    font-weight: 700;
    color: var(--text-main);
}

.qty-btn:hover {
    background: #e2e8f0;
}

.qty-value {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0 0.5rem;
}

.cart-item-subtotal {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}

.cart-item-remove {
    background: transparent;
    color: #ef4444;
    padding: 0.3rem;
}

.cart-item-remove:hover {
    opacity: 0.8;
}

.cart-drawer-footer {
    padding: 1.5rem;
    background: #f8fafc;
    border-top: 1px solid var(--border-color);
}

.cart-coupon-box {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.2rem;
}

.cart-coupon-box input {
    flex: 1;
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    font-size: 0.85rem;
    text-transform: uppercase;
}

.cart-coupon-box button {
    background: var(--primary-dark);
    color: #fff;
    padding: 0 1rem;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 700;
}

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

.cart-summary-row.total {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-main);
    border-top: 1px dashed var(--border-color);
    padding-top: 0.8rem;
    margin-top: 0.8rem;
}

.checkout-trigger-btn {
    width: 100%;
    background: linear-gradient(135deg, #00fcc9, #00bfa5);
    color: #002b25;
    font-weight: 800;
    padding: 0.95rem;
    border-radius: var(--radius-md);
    font-size: 1.05rem;
    margin-top: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 6px 20px rgba(0, 252, 201, 0.35);
}

.checkout-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 252, 201, 0.55);
}

/* ==========================================================================
   CHECKOUT & MODAL DE PAGO (YAPE / BCP)
   ========================================================================== */
.checkout-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 23, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.checkout-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.checkout-modal-container {
    background: #fff;
    width: 100%;
    max-width: 900px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    max-height: 94vh;
    display: flex;
    flex-direction: column;
}

.checkout-modal-header {
    background: linear-gradient(135deg, #004d40, #00695c);
    color: #fff;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.checkout-modal-header h2 {
    color: #fff;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.close-checkout-btn {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.checkout-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow-y: auto;
    padding: 2rem;
    gap: 2rem;
}

.checkout-left-col, .checkout-right-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.checkout-section-title {
    font-size: 1.15rem;
    color: var(--primary-dark);
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 0.5rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-group-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
}

.form-group input, .form-group textarea, .form-group select {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: var(--transition);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 105, 92, 0.15);
    outline: none;
}

/* Payment Tabs */
.payment-tabs-header {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
    gap: 0.35rem;
    background: #f1f5f9;
    padding: 0.35rem;
    border-radius: var(--radius-md);
}

.payment-tab-btn {
    background: transparent;
    padding: 0.6rem 0.4rem;
    border-radius: var(--radius-sm);
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
}

.payment-tab-btn.active {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: var(--shadow-sm);
}

.payment-tab-pane {
    display: none;
    padding-top: 1rem;
    animation: fadeIn 0.3s ease;
}

.payment-tab-pane.active {
    display: block;
}

/* Interactive 3D Credit Card */
.credit-card-scene {
    perspective: 1000px;
    margin-bottom: 1.5rem;
}

.credit-card-3d {
    width: 100%;
    height: 190px;
    border-radius: 16px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.4, 0.2, 0.2, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.credit-card-3d.flipped {
    transform: rotateY(180deg);
}

.card-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 16px;
    padding: 1.5rem;
    backface-visibility: hidden;
    color: #fff;
    background: linear-gradient(135deg, #004d40 0%, #002d26 50%, #00796b 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-face.back {
    transform: rotateY(180deg);
    padding: 1.5rem 0;
    justify-content: flex-start;
}

.card-magnetic-stripe {
    width: 100%;
    height: 40px;
    background: #111;
    margin-bottom: 1.2rem;
}

.card-cvv-box {
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.card-cvv-strip {
    background: #fff;
    color: #111;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-family: monospace;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    width: 100%;
    text-align: right;
}

.card-top-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #e0aa3e, #f9f586);
    border-radius: 6px;
}

.card-brand-img {
    height: 30px;
}

.card-number-display {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    letter-spacing: 2px;
    font-weight: 700;
}

.card-bottom-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.card-holder-name {
    font-weight: 700;
    font-size: 0.85rem;
}

.card-expiry-val {
    font-weight: 700;
    font-size: 0.85rem;
}

.container-mp-field {
    height: 44px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0 0.8rem;
    display: flex;
    align-items: center;
    transition: var(--transition);
}

.container-mp-field:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 105, 92, 0.15);
}

.btn-card-pay {
    width: 100%;
    background: linear-gradient(135deg, #00695c, #004d40);
    color: #fff;
    font-weight: 700;
    padding: 0.9rem;
    border-radius: var(--radius-md);
    font-size: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 15px rgba(0, 105, 92, 0.3);
}

.btn-card-pay:hover {
    background: linear-gradient(135deg, #00897b, #00695c);
    transform: translateY(-2px);
}

/* Google Pay Button Styles */
.gpay-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0;
}

.gpay-simulated-btn {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 0.95rem 1.5rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    font-size: 1.05rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.gpay-simulated-btn:hover {
    background: #222;
    transform: translateY(-2px);
}

/* Yape & WhatsApp Panes */
.yape-box {
    text-align: center;
    background: #fdf4ff;
    border: 1px solid #f0abfc;
    padding: 1.5rem;
    border-radius: var(--radius-md);
}

.yape-logo {
    width: 80px;
    margin-bottom: 0.8rem;
}

.yape-phone-highlight {
    font-size: 1.3rem;
    font-weight: 800;
    color: #701a75;
    background: #fae8ff;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin: 0.5rem 0 1rem;
}

.btn-yape-pay {
    width: 100%;
    background: #701a75;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    margin-top: 0.8rem;
}

.btn-whatsapp-direct-pay {
    width: 100%;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    padding: 0.95rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
}

/* Checkout Summary Card */
.checkout-summary-card {
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin-top: 1rem;
}

/* ==========================================================================
   CUSTOMIZER MODAL
   ========================================================================== */
.customizer-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 23, 0.75);
    backdrop-filter: blur(8px);
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.customizer-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.customizer-modal-content {
    background: #fff;
    width: 100%;
    max-width: 800px;
    border-radius: var(--radius-lg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
}

.customizer-modal-header {
    background: linear-gradient(135deg, #004d40, #00695c);
    color: #fff;
    padding: 1.2rem 1.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.customizer-modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 2rem;
    gap: 2rem;
    overflow-y: auto;
}

.cup-mockup-preview-box {
    background: #f1f5f9;
    border-radius: var(--radius-md);
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 2px dashed #cbd5e1;
}

.cup-mockup-frame {
    position: relative;
    width: 220px;
    height: 220px;
}

.cup-mockup-frame img.base-cup {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cup-overlay-text {
    position: absolute;
    top: 45%;
    left: 45%;
    transform: translate(-50%, -50%);
    width: 110px;
    text-align: center;
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    word-break: break-word;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
    pointer-events: none;
}

.cup-overlay-upload {
    position: absolute;
    top: 45%;
    left: 45%;
    transform: translate(-50%, -50%);
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    opacity: 0.9;
    display: none;
}

/* ==========================================================================
   STATUS & CONFIRMATION MODALS
   ========================================================================== */
.processing-modal, .order-success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 23, 0.85);
    backdrop-filter: blur(8px);
    z-index: 1200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.processing-modal.active, .order-success-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.processing-box, .order-success-box {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.spinner-glow {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 105, 92, 0.1);
    border-left-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.success-icon-badge {
    width: 70px;
    height: 70px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto 1.2rem;
}

.digital-receipt {
    background: #f8fafc;
    border: 1px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.2rem;
    margin: 1.5rem 0;
    text-align: left;
    font-size: 0.9rem;
}

.receipt-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.4rem;
}

.btn-receipt-whatsapp {
    width: 100%;
    background: #25D366;
    color: #fff;
    font-weight: 700;
    padding: 0.85rem;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
}

/* ==========================================================================
   TOAST NOTIFICATIONS
   ========================================================================== */
.toast-container {
    position: fixed;
    top: 5.2rem;
    right: 1.5rem;
    z-index: 10005;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    pointer-events: none;
    max-width: 390px;
}

.custom-toast {
    background: #1e293b;
    color: #fff;
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    transform: translateY(-20px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    pointer-events: auto;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.custom-toast.toast-success {
    border-left: 4px solid var(--accent);
}

.custom-toast.toast-error {
    border-left: 4px solid #ef4444;
}

.custom-toast.toast-info {
    border-left: 4px solid #38bdf8;
}

/* ==========================================================================
   IMAGE & VIDEO MODALS (LIGHTBOX)
   ========================================================================== */
.image-modal, .video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 9999;
    padding: 20px;
    display: none;
    align-items: center;
    justify-content: center;
}

.image-modal.active, .video-modal.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: opacity 0.2s ease;
}

.modal-close, .video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.2rem;
    cursor: pointer;
    padding: 10px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--primary-dark);
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-nav.prev { left: -75px; }
.modal-nav.next { right: -75px; }

.modal-nav:hover {
    background: var(--accent);
    color: #000;
}

.modal-indicator {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

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

.modal-dot.active {
    background: var(--accent);
    transform: scale(1.3);
}

.video-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
}

.modal-video {
    width: 100%;
    max-height: 80vh;
}

/* ==========================================================================
   ABOUT & FOOTER
   ========================================================================== */
.about-section {
    padding: 6rem 0;
    background: #ffffff;
    position: relative;
    z-index: 2;
}

.about-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.05rem;
    color: var(--text-muted);
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.about-stats-row {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
}

.stat-box h3 {
    font-size: 2.2rem;
    color: var(--primary);
}

.stat-box span {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.about-logo-card {
    text-align: center;
}

.about-logo-img {
    width: 260px;
    height: 260px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 20px 50px rgba(0, 105, 92, 0.2);
    border: 8px solid #f0fdfa;
}

footer {
    background: linear-gradient(180deg, #003830 0%, #00221c 100%);
    color: #fff;
    padding: 5rem 0 2rem;
    position: relative;
    z-index: 2;
}

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

.footer-brand p {
    color: #94a3b8;
    margin-top: 0.8rem;
    font-size: 0.95rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
}

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

.payment-methods-strip {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1rem;
}

.payment-badge-icon {
    background: #fff;
    border-radius: 6px;
    padding: 0.3rem 0.6rem;
    height: 30px;
    display: flex;
    align-items: center;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    color: #64748b;
    font-size: 0.85rem;
}

/* ==========================================================================
   ANIMATIONS & RESPONSIVE
   ========================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes bouncePop {
    0% { transform: scale(0); }
    70% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .checkout-modal-grid, .customizer-modal-grid, .about-grid, .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.5rem 0;
    }

    nav {
        padding: 0 0.8rem;
        gap: 0.5rem;
    }

    .logo {
        font-size: 1.15rem;
        gap: 0.4rem;
    }

    .logo-img {
        width: 34px;
        height: 34px;
        border-radius: 8px;
    }

    .logo-badge {
        font-size: 0.55rem;
        padding: 0.15rem 0.35rem;
    }

    .nav-actions {
        gap: 0.35rem;
    }

    .cart-toggle-btn {
        width: 38px;
        height: 38px;
    }

    .whatsapp-nav-btn {
        width: 38px;
        height: 38px;
        padding: 0;
        border-radius: 50%;
        justify-content: center;
    }

    .whatsapp-nav-btn span {
        display: none;
    }

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

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background: #f1f5f9;
        border-radius: 50%;
        font-size: 1.15rem;
        padding: 0;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        padding: 1.5rem;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        border-radius: 0;
    }

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

    .hero-section {
        padding: 6rem 1rem 3rem;
    }

    .hero-box {
        padding: 2.2rem 1.2rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

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

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

    .toast-container {
        top: 4.8rem;
        right: 1rem;
        left: 1rem;
        max-width: none;
        align-items: center;
    }

    .custom-toast {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}
