/* =========================================
   FANDANGO - Estilos Globales
   ========================================= */

/* ---- Variables ---- */
:root {
    --primary: #E93B8C;
    --primary-dark: #D42F7C;
    --primary-light: #FF5CA8;
    --secondary: #2D2B55;
    --secondary-light: #3D3B6E;
    --accent: #00D4C8;
    --accent-dark: #00B8AE;
    --orange: #F47B3E;
    --yellow: #F5A623;
    --gradient-logo: linear-gradient(135deg, #E93B8C 0%, #F47B3E 50%, #F5A623 100%);
    --gradient-cta: linear-gradient(135deg, #E93B8C 0%, #F47B3E 100%);
    --gradient-accent: linear-gradient(135deg, #00D4C8 0%, #5CE0D0 100%);
    --bg-white: #FFFFFF;
    --bg-light: #F8F7FC;
    --bg-gray: #EBEBF0;
    --text-dark: #1a1a2e;
    --text-body: #4a4a68;
    --text-light: #7a7a96;
    --border: #E0DFF0;
    --shadow-sm: 0 2px 8px rgba(45,43,85,0.06);
    --shadow-md: 0 4px 20px rgba(45,43,85,0.1);
    --shadow-lg: 0 8px 40px rgba(45,43,85,0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --transition: 0.3s ease;
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    --header-height: 80px;
}

/* ---- Reset ---- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text-body);
    background: var(--bg-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

input, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

/* ---- Container ---- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.2;
    font-weight: 700;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.2rem; }
h3 { font-size: 1.6rem; }
h4 { font-size: 1.2rem; }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-cta);
    color: white;
    border-color: transparent;
}

.btn-primary:hover {
    background: var(--gradient-cta);
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(233,59,140,0.35);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--secondary);
    border-color: white;
}

.btn-white:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-accent {
    background: var(--gradient-accent);
    color: white;
    border-color: transparent;
}

.btn-accent:hover {
    background: var(--gradient-accent);
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,212,200,0.35);
}

.btn-sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-sm);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    z-index: 1001;
    gap: 10px;
}

.logo-img {
    height: 72px;
    width: auto;
    transition: transform 0.35s ease, filter 0.35s ease;
    filter: drop-shadow(0 2px 6px rgba(233, 59, 140, 0.2));
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(-4deg);
    filter: drop-shadow(0 6px 18px rgba(233, 59, 140, 0.45));
}

.logo-brand {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    line-height: 1.1;
}

.logo-brand small {
    display: block;
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    -webkit-text-fill-color: var(--text-light);
    opacity: 0.8;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

/* Nav Desktop */
.nav-desktop {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-body);
    position: relative;
    padding: 4px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-cta);
    transition: width var(--transition);
    border-radius: 2px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.cart-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    transition: all var(--transition);
}

.cart-icon:hover {
    background: var(--bg-light);
}

.cart-icon svg {
    width: 22px;
    height: 22px;
    color: var(--text-dark);
}

.cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--gradient-cta);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0);
    transition: all var(--transition);
}

.cart-count.visible {
    opacity: 1;
    transform: scale(1);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: var(--bg-light);
}

.mobile-menu-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--text-dark);
}

/* Nav Mobile */
.nav-mobile {
    display: none;
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: white;
    padding: 20px;
    flex-direction: column;
    gap: 4px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 999;
}

.nav-mobile.open {
    transform: translateY(0);
    opacity: 1;
}

.nav-mobile .nav-link {
    padding: 14px 16px;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
}

.nav-mobile .nav-link:hover {
    background: var(--bg-light);
}

.nav-link-cart {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
    padding-top: 16px !important;
}

.nav-link-cart svg {
    width: 20px;
    height: 20px;
}

/* =========================================
   MAIN CONTENT
   ========================================= */
.site-main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--secondary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(45,43,85,0.5) 0%, rgba(45,43,85,0.85) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 18px;
    background: rgba(233,59,140,0.15);
    border: 1px solid rgba(233,59,140,0.3);
    border-radius: 50px;
    color: var(--primary-light);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 {
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero h1 span {
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    color: rgba(255,255,255,0.75);
    font-size: 1.15rem;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* =========================================
   SECTION COMMON
   ========================================= */
.section {
    padding: 80px 0;
}

.section-light {
    background: var(--bg-light);
}

.section-dark {
    background: var(--secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header .section-badge {
    display: inline-block;
    padding: 4px 14px;
    background: rgba(233,59,140,0.1);
    color: var(--primary);
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* =========================================
   PRODUCT CARD
   ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.product-card {
    background: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
    border: 1px solid var(--border);
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* -- Product card image wrapper -- */
.product-card-image {
    position: relative;
    aspect-ratio: 4/5;
    overflow: hidden;
    background: var(--bg-light);
    display: block;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
    padding: 8px;
}

.product-card:hover .card-slide img {
    transform: scale(1.06);
}

/* -- Card Image Carousel -- */
.card-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.card-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-slide.active {
    opacity: 1;
    position: relative;
}

.card-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    padding: 8px;
}

.card-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: 1px solid var(--border);
    color: var(--text-dark);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 5;
    opacity: 0;
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    line-height: 1;
}

.product-card:hover .card-carousel-btn {
    opacity: 1;
}

.card-carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.card-carousel-prev { left: 8px; }
.card-carousel-next { right: 8px; }

.card-carousel-dots {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 5px;
    z-index: 5;
}

.card-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: 1px solid rgba(0,0,0,0.15);
    transition: all 0.2s;
    cursor: pointer;
}

.card-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* -- Product overlay (visible on hover) -- */
.product-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 16px;
    background: linear-gradient(0deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.35) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0;
    transition: opacity 0.35s ease;
    z-index: 3;
    min-height: 50%;
}

.product-card:hover .product-card-overlay {
    opacity: 1;
}

.product-card-overlay .overlay-category {
    font-size: 0.7rem;
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.product-card-overlay .overlay-name {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 6px;
    line-height: 1.25;
}

.product-card-overlay .overlay-price {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    color: var(--yellow);
    margin-bottom: 10px;
}

.product-card-overlay .overlay-price.consultar {
    color: var(--accent);
    font-size: 0.9rem;
}

.product-card-overlay .overlay-actions {
    display: flex;
    gap: 8px;
}

.product-card-overlay .btn-overlay {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.product-card-overlay .btn-overlay-cart {
    background: var(--gradient-cta);
    color: white;
}

.product-card-overlay .btn-overlay-cart:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.product-card-overlay .btn-overlay-view {
    background: rgba(255,255,255,0.15);
    color: white;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.25);
}

.product-card-overlay .btn-overlay-view:hover {
    background: rgba(255,255,255,0.25);
}

/* -- Badges -- */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-featured {
    background: var(--gradient-cta);
    color: white;
}

.badge-discount {
    background: var(--gradient-accent);
    color: white;
}

.badge-new {
    background: var(--secondary);
    color: white;
}

/* -- Bottom info bar (always visible) -- */
.product-card-body {
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border-top: 1px solid var(--border);
}

.product-card-info {
    flex: 1;
    min-width: 0;
}

.product-card-name {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-card-name a:hover {
    color: var(--primary);
}

.product-card-price {
    font-family: var(--font-heading);
    font-size: 0.82rem;
    color: var(--text-light);
    font-weight: 500;
    margin-top: 2px;
}

.product-card-price.has-price {
    color: var(--primary);
    font-weight: 700;
    font-size: 0.95rem;
}

.product-card-price-original {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 400;
    margin-right: 6px;
}

.btn-add-cart {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--gradient-cta);
    color: white;
    border-radius: 50%;
    transition: all var(--transition);
    flex-shrink: 0;
}

.btn-add-cart:hover {
    background: var(--gradient-cta);
    filter: brightness(1.1);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(233,59,140,0.35);
}

.btn-add-cart svg {
    width: 18px;
    height: 18px;
}

/* =========================================
   CATEGORIES SECTION
   ========================================= */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 28px 16px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--transition);
    cursor: pointer;
    text-align: center;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.category-card-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(233,59,140,0.1);
    border-radius: var(--radius-sm);
    font-size: 1.8rem;
    transition: all var(--transition);
}

.category-card:hover .category-card-icon {
    background: var(--gradient-cta);
    color: white;
}

.category-card:hover .category-card-icon svg {
    color: white;
}

.category-card-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.category-card-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

/* =========================================
   GIFT CARD / CTA SECTION
   ========================================= */
.cta-banner {
    position: relative;
    padding: 60px;
    background: linear-gradient(135deg, #2D2B55 0%, #3D3B6E 50%, #2D2B55 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    max-width: 500px;
    position: relative;
    z-index: 2;
}

.cta-content h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 12px;
}

.cta-content p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
    font-size: 1.05rem;
    line-height: 1.6;
}

.cta-decoration {
    position: absolute;
    right: -60px;
    top: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(233,59,140,0.25) 0%, rgba(244,123,62,0.1) 50%, transparent 70%);
    border-radius: 50%;
}

/* =========================================
   BENEFITS SECTION
   ========================================= */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-card {
    text-align: center;
    padding: 32px 24px;
    background: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.benefit-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    background: rgba(233,59,140,0.1);
    border-radius: 50%;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary);
}

.benefit-card h4 {
    margin-bottom: 8px;
    font-size: 1.05rem;
}

.benefit-card p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    background: var(--gradient-logo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    transition: all var(--transition);
}

.social-link:hover {
    background: var(--gradient-cta);
    color: white;
}

.social-link svg {
    width: 18px;
    height: 18px;
}

.footer-title {
    color: white;
    font-size: 1rem;
    margin-bottom: 16px;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.4);
}

/* =========================================
   TOAST / NOTIFICATIONS
   ========================================= */
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    background: var(--secondary);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    box-shadow: var(--shadow-lg);
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.4s ease;
    max-width: 340px;
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left: 4px solid var(--accent);
}

.toast-info {
    border-left: 4px solid var(--primary);
}

.toast-error {
    border-left: 4px solid #e74c3c;
}

.toast svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* =========================================
   LOADING / SKELETON
   ========================================= */
.skeleton {
    background: linear-gradient(90deg, var(--bg-light) 25%, var(--bg-gray) 50%, var(--bg-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.skeleton-image {
    aspect-ratio: 1/1;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.skeleton-text {
    height: 16px;
    margin-bottom: 8px;
}

.skeleton-text-short {
    width: 60%;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-banner {
        padding: 40px;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 70px;
    }

    .logo-img {
        height: 56px;
    }

    .logo-brand {
        font-size: 1.15rem;
    }

    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.8rem; }
    h3 { font-size: 1.3rem; }

    .nav-desktop {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .nav-mobile {
        display: flex;
    }

    .hero {
        min-height: 70vh;
    }

    .hero h1 {
        font-size: 2.4rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .section {
        padding: 50px 0;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .product-card-overlay {
        opacity: 1;
    }

    .product-card-image img {
        padding: 4px;
    }

    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 20px 12px;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cta-banner {
        padding: 30px 24px;
        flex-direction: column;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.9rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================
   PAGE: PRODUCTOS (Catalog)
   ========================================= */
.page-header {
    padding: 40px 0 20px;
    text-align: center;
}

.page-header h1 {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-light);
}

/* Filters */
.filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    flex-wrap: wrap;
}

.filters-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 8px 16px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-body);
    transition: all var(--transition);
    cursor: pointer;
    background: white;
}

.filter-chip:hover,
.filter-chip.active {
    background: var(--gradient-cta);
    color: white;
    border-color: transparent;
}

.filters-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.search-input {
    padding: 10px 16px 10px 40px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.9rem;
    width: 240px;
    transition: border-color var(--transition);
    background: white url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.3-4.3'/%3E%3C/svg%3E") 14px center no-repeat;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.results-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* =========================================
   FLOATING ACTION BUTTONS
   ========================================= */
.floating-actions {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 14px;
    align-items: center;
}

.fab {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    color: white;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    text-decoration: none;
}

.fab:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

.fab svg {
    width: 26px;
    height: 26px;
}

/* WhatsApp FAB */
.fab-whatsapp {
    background: #25D366;
}

.fab-whatsapp:hover {
    background: #20bd5a;
}

/* Cart FAB */
.fab-cart {
    background: var(--gradient-cta);
}

.fab-cart:hover {
    filter: brightness(1.1);
}

.fab-cart .fab-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 22px;
    height: 22px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    font-size: 0.7rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    border: 2px solid white;
    transition: transform 0.2s ease;
}

.fab-cart .fab-count.bump {
    animation: fabBump 0.3s ease;
}

@keyframes fabBump {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.35); }
    100% { transform: scale(1); }
}

/* Tooltip on hover */
.fab .fab-tooltip {
    position: absolute;
    right: calc(100% + 12px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--secondary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: translateY(-50%) translateX(8px);
}

.fab .fab-tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -6px;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--secondary);
    border-right: none;
}

.fab:hover .fab-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
    .floating-actions {
        bottom: 20px;
        right: 16px;
        gap: 12px;
    }

    .fab {
        width: 50px;
        height: 50px;
    }

    .fab svg {
        width: 22px;
        height: 22px;
    }

    .fab .fab-tooltip {
        display: none;
    }
}
