/* ── Base herdada (antes styles.css) ── */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:wght@700;900&display=swap');
@import url('https://fonts.bunny.net/css?family=outfit:400,500,600,700,800|playfair-display:400i,600,600i,700,700i,800,800i|caveat:400,600,700&display=swap');
/* ========================================
   SHOWTIME - CSS Principal
   Hoja de estilos separada para mejor organización
   ======================================== */

/* --- FUENTES --- */

/* --- VARIABLES CSS --- */
:root {
    --brand-yellow: #FFD700;
    --brand-dark: #1a1a1a;
    --brand-pink: #ec4899;
    --brand-purple: #a855f7;
    --bounce-timing: cubic-bezier(0.34, 1.56, 0.64, 1);
    --smooth-timing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- ESTILOS BASE --- */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #ffffff;
    color: var(--brand-dark);
    scroll-behavior: smooth;
}

.serif-title {
    font-family: 'Playfair Display', serif;
}

/* --- RESPONSIVE IMAGES (SELECTIVE) --- */
/* Only apply responsive behavior to specific containers, not globally */

/* Cards and grid items should be responsive */

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

/* Modal images in services page */

/* Modal Premium Styling */

/* Close button styling - only for the X button at top */

/* Character cards in sections */
.group.relative.overflow-hidden img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer logo should maintain aspect ratio - ONLY footer, NOT nav */
footer img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Nav logo is controlled by Tailwind classes - don't interfere */

/* --- HERO SECTION --- */

/* --- CARDS DE PERSONAJES DISNEY --- */

/* --- SERVICE CARDS --- */

/* --- NAVEGACIÓN PREMIUM --- */

/* --- BOTONES PREMIUM --- */
.btn-premium {
    background: linear-gradient(135deg, #ec4899 0%, #a855f7 100%);
    color: white;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

/* Shimmer effect animado */
.btn-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: rotate(45deg);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

.btn-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.btn-premium:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(236, 72, 153, 0.5), 0 5px 15px rgba(168, 85, 247, 0.4);
}

.btn-premium:hover::after {
    opacity: 1;
}

.btn-premium:active {
    transform: translateY(-1px) scale(0.98);
    box-shadow: 0 8px 20px rgba(236, 72, 153, 0.4);
}

/* --- MODAL OPTION CARDS PREMIUM --- */

/* --- MODAL OPTION CARDS PREMIUM --- */

/* Responsive para modal cards premium */

/* --- GALERÍA PREMIUM EN GRID --- */

/* Si solo hay una imagen, mostrarla más grande */

/* Para imágenes regulares en el grid */

/* Responsive para galería */

/* --- ANIMACIONES REVEAL MEJORADAS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
    transition: all 1s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, opacity;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

@media (max-width: 768px) {
    .reveal {
        transform: translateY(20px) scale(0.98);
    }
}

/* --- MICRO-INTERACCIONES PREMIUM --- */

/* Hover lift effect */

/* Magnetic hover effect */

/* --- ANIMACIONES DEL CARRITO --- */
@keyframes cartSlideDown {
    from {
        max-height: 0;
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        max-height: 2000px;
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes cartSlideUp {
    from {
        max-height: 2000px;
        opacity: 1;
        transform: translateY(0);
    }
    to {
        max-height: 0;
        opacity: 0;
        transform: translateY(-20px);
    }
}

.cart-form-enter {
    animation: cartSlideDown 0.5s ease-out forwards;
}

.cart-form-exit {
    animation: cartSlideUp 0.5s ease-out forwards;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.animate-marquee {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 0;
}

.animate-marquee span {
    padding-right: 3rem;
}

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

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* Pulse Soft Animation */
@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.animate-pulse-soft {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Gradient Animation */
@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.animate-gradient {
    background-size: 200% 200%;
    animation: gradient-shift 8s ease infinite;
}

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

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

/* --- RESPONSIVE CART MODAL --- */

@media (max-width: 768px) {
    
    #cartModal .rounded-2xl {
        border-radius: 0 !important;
    }
}

@media (max-width: 640px) {
    #cartModalBody {
        font-size: 14px;
    }
    
    #cartModal input,
    #cartModal select,
    #cartModal textarea {
        font-size: 14px;
    }
}

/* Custom Scrollbar */

/* --- RESPONSIVE SERVICE MODALS --- */

@media (max-width: 640px) {
    
    /* Princesa cards más pequeñas en móvil */
}

@media (max-width: 480px) {
    
    /* Opciones en columna única para pantallas muy pequeñas */
}

/* Fade In Scale */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in-scale {
    animation: fadeInScale 0.5s ease-out forwards;
}

/* --- MENÚ MÓVIL --- */
#mobileMenu {
    transition: all 0.3s ease-in-out;
}

/* --- UTILIDADES RESPONSIVAS --- */
@media (max-width: 640px) {
    /* Ajustar texto para pantallas pequeñas */
    .tracking-widest {
        letter-spacing: 0.1em;
    }
    
    .tracking-\[0\.3em\] {
        letter-spacing: 0.2em;
    }
}

/* --- MEJORAS DE ACCESIBILIDAD TÁCTIL --- */
@media (hover: none) and (pointer: coarse) {
    /* Áreas táctiles más grandes en dispositivos móviles */
    button, a {
        min-height: 44px;
        min-width: 44px;
    }
}

/* --- OPTIMIZACIÓN DE IMÁGENES MÓVIL --- */
@media (max-width: 768px) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* --- PROMO CARDS PREMIUM --- */
.promo-card {
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.08);
}

.promo-card button {
    cursor: pointer;
    transition: all 0.3s ease;
}

.promo-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle,
        rgba(236, 72, 153, 0.15) 0%,
        rgba(168, 85, 247, 0.15) 50%,
        transparent 100%
    );
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.promo-card:hover::before {
    opacity: 1;
    animation: rotate-gradient 3s linear infinite;
}

@keyframes rotate-gradient {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.promo-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.18), 0 10px 25px rgba(236, 72, 153, 0.2);
}

.promo-card:hover button {
    transform: scale(1.05);
}

/* --- HERO BACKGROUND ANIMATION --- */

/* --- SMOOTH SCROLL --- */
html {
    scroll-behavior: smooth;
}

/* --- BUTTON HOVER EFFECTS --- */
button, .btn, a.btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

button:active, .btn:active {
    transform: scale(0.98);
}

/* --- GLASS MORPHISM EFFECT PREMIUM --- */

/* --- FEATURE CARDS PREMIUM --- */

/* Responsive para Feature Cards */

/* --- SHIMMER EFFECT --- */
@keyframes shimmer {
    0% { background-position: -1000px 0; }
    100% { background-position: 1000px 0; }
}

/* --- CUSTOM SCROLLBAR --- */

/* Smooth scroll behavior */

/* ========================================
   SIDEBAR MENU - Premium Design
   ======================================== */

/* Hamburger Button Animation */

/* Glow effect for sidebar toggle */

@keyframes rotate-gradient {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Sidebar Animation */

/* Responsive */

@media (max-width: 480px) {
    
    /* Adjust sidebar content for mobile */
}

/* Overlay styles */

/* Sidebar Items */

/* Active state for sidebar items */

/* Submenu Toggle */

/* Submenu Animation */

/* Submenu Links */

/* Badge Pulse Animation */
@keyframes badge-pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(250, 204, 21, 0.7);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 0 0 10px rgba(250, 204, 21, 0);
    }
}

#cartBadgeSidebar:not(.hidden) {
    animation: badge-pulse 2s infinite;
}

/* Responsive */

/* Sidebar Scrollbar Custom */

/* Sidebar Shadow Effect */

/* Prevent body scroll when sidebar is open */
/* ========================================
   FLOATING CAROUSEL - Hero Section
   Carrusel con posiciones fijas y transición rápida
   ======================================== */

/* Responsive carousel sizes */

/* Transiciones suaves sin parpadeo */

/* Hover effect para carousel */

/* Rotar imagen de Barbie */

/* Glow effect premium */

/* Botones Overlay en las imágenes (invisibles hasta hover) */

/* Responsive - Hide carousel on smaller screens */

/* Ensure carousel never overlaps content */

/* ========================================
   GALLERY FILTERS
   ======================================== */

/* ========================================
   SCROLL OFFSET PARA ANCLAS
   ======================================== */
/* Añade espacio arriba cuando se navega a una sección con ID
   para que se vea el título de la sección */
section[id],
div[id] {
    scroll-margin-top: 140px;
}

@media (max-width: 768px) {
    section[id],
    div[id] {
        scroll-margin-top: 120px;
    }
}

/* ========================================
   NOTIFICACIÓN PREMIUM DEL CARRITO
   ======================================== */

/* Animación del carrito */
.cart-icon-container {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
}

.cart-icon {
    font-size: 4rem;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: cart-bounce 0.6s ease-out;
    display: block;
}

@keyframes cart-bounce {
    0%, 100% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.1) rotate(-5deg);
    }
    50% {
        transform: scale(0.95) rotate(5deg);
    }
    75% {
        transform: scale(1.05) rotate(-3deg);
    }
}

/* Producto cayendo */

/* Texto de la notificación */

/* Confetti */
.confetti-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    opacity: 0;
    animation: confetti-fall 1.2s ease-out forwards;
}

.confetti::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

/* Diferentes colores de confetti */
.confetti-0::before, .confetti-5::before, .confetti-10::before { background: #ec4899; }
.confetti-1::before, .confetti-6::before, .confetti-11::before { background: #a855f7; }
.confetti-2::before, .confetti-7::before, .confetti-12::before { background: #fbbf24; }
.confetti-3::before, .confetti-8::before, .confetti-13::before { background: #10b981; }
.confetti-4::before, .confetti-9::before, .confetti-14::before { background: #3b82f6; }

/* Posiciones y delays únicos para cada confetti */
.confetti-0 { left: 10%; animation-delay: 0.1s; }
.confetti-1 { left: 20%; animation-delay: 0.15s; }
.confetti-2 { left: 30%; animation-delay: 0.2s; }
.confetti-3 { left: 40%; animation-delay: 0.1s; }
.confetti-4 { left: 50%; animation-delay: 0.25s; }
.confetti-5 { left: 60%; animation-delay: 0.15s; }
.confetti-6 { left: 70%; animation-delay: 0.3s; }
.confetti-7 { left: 80%; animation-delay: 0.2s; }
.confetti-8 { left: 90%; animation-delay: 0.1s; }
.confetti-9 { left: 15%; animation-delay: 0.25s; }
.confetti-10 { left: 25%; animation-delay: 0.2s; }
.confetti-11 { left: 35%; animation-delay: 0.15s; }
.confetti-12 { left: 65%; animation-delay: 0.1s; }
.confetti-13 { left: 75%; animation-delay: 0.2s; }
.confetti-14 { left: 85%; animation-delay: 0.3s; }

@keyframes confetti-fall {
    0% {
        top: -10%;
        opacity: 1;
        transform: translateY(0) rotate(0deg);
    }
    100% {
        top: 110%;
        opacity: 0;
        transform: translateY(0) rotate(720deg);
    }
}

/* Responsive para móvil */
@media (max-width: 768px) {
    
    .cart-icon {
        font-size: 3rem;
    }
}

/* ========================================
   GLOBAL RESPONSIVE IMPROVEMENTS
   Mejoras globales de responsividad para todas las páginas
   ======================================== */

/* Ensure all containers are responsive */
.container,
.max-w-5xl,
.max-w-4xl,
.max-w-2xl {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container,
    .max-w-5xl,
    .max-w-4xl,
    .max-w-2xl {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container,
    .max-w-5xl,
    .max-w-4xl,
    .max-w-2xl {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Responsive grids - ensure they stack properly on mobile */
.grid {
    display: grid;
    gap: 1rem;
}

@media (max-width: 640px) {
    /* Only stack 3+ column grids — preserve intentional 2-col layouts */
    .grid-cols-3 {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 768px) {
    /* Stack 3-column grids to 2 columns on tablet */
    .grid-cols-3 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Stack 4-column grids to 2 columns on tablet */
}

/* Ensure sections have proper responsive padding */
section {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    section {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Responsive text sizes */
@media (max-width: 640px) {
    h1 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }
    
    h3 {
        font-size: 1.5rem !important;
        line-height: 1.4;
    }
    
    .serif-title {
        font-size: 2rem !important;
    }
}

/* Responsive buttons — only explicit btn class, never bare button (breaks hamburger/close/nav) */

/* Responsive images within specific sections */
@media (max-width: 768px) {
    
    /* Adjust character card images on mobile — clamp handled in category-card rule */
    
    .group.relative {
        width: 100%;
    }
}


/* Overflow handling */
body {
    overflow-x: hidden;
    width: 100%;
}

html {
    overflow-x: hidden;
    width: 100%;
}

/* Prevent horizontal scroll issues */
.overflow-hidden {
    overflow: hidden;
}

section.overflow-hidden {
    overflow: hidden;
}

/* Ensure aspect-ratio containers are responsive */
[class*="aspect-"] {
    position: relative;
    width: 100%;
}

[class*="aspect-"] img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Specific handling for aspect-square */
.aspect-square {
    aspect-ratio: 1 / 1;
}

/* Gallery items - specific selector */

/* Character cards in Disney section - specific selector */
.group.relative.overflow-hidden img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ensure carousel images are responsive */

/* Additional responsive utilities */
@media (max-width: 1024px) {
    /* Reduce padding on tablets */
    .px-8 {
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }
    
    .py-16 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
}

@media (max-width: 640px) {
    /* Further reduce on mobile */
    .px-8 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .py-16 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* Specific card images */
}

/* Banner de Novedades - Estilo Premium */

/* Animaciones del banner */

/* Responsive del banner de novedades */

/* ========================================
   ANIMACIONES PREMIUM FADE-IN-UP (Nivel Senior)
   Usando cubic-bezier profesional con timing perfecto
   ======================================== */

/* Animación fade-in-up suave y profesional */

/* Animación fade-in-up-scale con efecto premium */

/* Animación fade-in suave */

/* Clases de utilidad para animaciones */

/* Delays para animaciones escalonadas */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Estados hover mejorados con transiciones premium */

/* Efecto de micro-interacción en botones */

/* Glow effect premium para elementos importantes */

/* Smooth scroll behavior */
html {
    scroll-behavior: smooth;
}

/* Intersection Observer support para lazy loading de animaciones */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Animación de entrada para modales mejorada */

/* Mejoras sutiles para cards existentes */

/* ========================================
   SERVICIOS ESPECIALES - CASAMENTOS/BATIZADOS
   Estilos custom para diseños premium
   ======================================== */

/* Handwriting font para Polaroids */

/* iPhone Mockup 3D effects */

/* Audio Wave Animation (ya está inline pero aquí como backup) */

/* Audio bars when playing */

/* Video player overlay transitions */

/* Video navigation dots */

/* Glassmorphism effects */

/* Smooth scrolling behavior */
html {
    scroll-behavior: smooth;
}

/* Responsive adjustments for service sections */
@media (max-width: 768px) {
    .serif-title {
        font-size: 2rem;
    }

    /* Ensure polaroids don't overflow on mobile */
}

/* ================================================
   PREMIUM OVERHAUL — Showtime 2026
   ================================================ */

/* --- FORM INPUTS: fix text color & placeholder --- */
.st-input {
    color: #111827 !important;
    caret-color: #a855f7;
}
.st-input::placeholder {
    color: #9ca3af !important;
    font-weight: 400;
}
.st-input:focus {
    border-color: #a855f7 !important;
    box-shadow: 0 0 0 3px rgba(168,85,247,0.12) !important;
}
.st-input option {
    color: #111827;
}

/* --- NAV: scrolled state --- */
nav.nav-scrolled {
    background: rgba(255,255,255,0.98) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08), 0 1px 0 rgba(0,0,0,0.05) !important;
    border-bottom-color: rgba(168,85,247,0.12) !important;
    backdrop-filter: blur(20px) !important;
}

/* --- NAV LINKS: better active/hover --- */

/* --- GRADIENT TEXT UTILITY --- */

/* --- SCROLL REVEAL: upgraded stagger --- */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s cubic-bezier(0.16,1,0.3,1), transform 0.7s cubic-bezier(0.16,1,0.3,1);
    will-change: opacity, transform;
}
.reveal.visible {
    opacity: 1;
    transform: none;
}

/* --- WHATSAPP BUTTON: premium pulse --- */

/* --- SHIMMER ANIMATION (for buttons) --- */
@keyframes shimmer {
    0% { transform: rotate(45deg) translateX(-150%); }
    100% { transform: rotate(45deg) translateX(150%); }
}

/* --- SECTION DIVIDER --- */
.st-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(168,85,247,0.3), transparent);
    margin: 0 auto;
}

/* --- FOCUS GLOBAL PREMIUM --- */
*:focus-visible {
    outline: 2px solid #a855f7;
    outline-offset: 3px;
    border-radius: 6px;
}

/* --- CARD LIFT: generic premium hover --- */

/* --- BADGE PREMIUM --- */

/* --- FOOTER PREMIUM --- */
footer {
    background: linear-gradient(180deg, #f9fafb 0%, #f3f0ff 100%) !important;
    border-top: 1px solid rgba(168,85,247,0.12) !important;
}
footer .fab {
    transition: all 0.3s cubic-bezier(0.34,1.56,0.64,1);
}
footer a:hover .fab,
footer a:hover i {
    color: #ec4899 !important;
    transform: scale(1.25) rotate(-5deg);
}

/* --- INPUT ICON FOCUS COLOR --- */
.st-field:focus-within .st-icon {
    color: #a855f7 !important;
}

/* --- CONTACT OPT HOVER LIFT --- */
.contact-opt .opt-card:hover {
    transform: translateY(-3px) scale(1.02) !important;
}

/* --- FORM POPUP BODY --- */
#cartFormPopup div.flex-1.overflow-y-auto {
    background: #ffffff !important;
}
#cartFormPopup .st-label {
    color: #374151 !important;
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 0.06em;
    font-size: 10px;
}

/* --- PAGE LOAD FADE --- */
@keyframes pageFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: none; }
}
main, [role="main"] {
    animation: pageFadeIn 0.5s cubic-bezier(0.16,1,0.3,1) both;
}

/* --- MOBILE TOUCH FEEDBACK --- */



/* ============================================================
   Showtime · Design System
   Boutique festivo · paleta del logo · multi-color por seccion
   ============================================================ */


:root {
  /* Surfaces */
  --bg: #faf6ef;
  --bg-2: #f4ecdd;
  --paper: #fffcf5;
  --ink: #1d1410;
  --ink-2: #5a4a3e;
  --ink-3: #8c7a6a;
  --line: #e8dcc8;
  --line-strong: #d6c5a8;

  /* Brand — from the actual logotipo */
  --coral: #e6403d;
  --coral-deep: #b8262a;
  --teal:  #15a8a3;
  --teal-deep: #0c7c79;
  --yellow: #f4c83a;
  --yellow-deep: #c79c0a;
  --lime: #7fc23a;
  --pink: #ec5288;

  --accent: var(--coral);
  --accent-deep: var(--coral-deep);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; scrollbar-gutter: stable; }
body {
  font-family: 'Outfit', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

/* ============== Typography ============== */
.serif  { font-family: 'Playfair Display', serif; }
.serifi { font-family: 'Playfair Display', serif; font-style: italic; }
.hand   { font-family: 'Caveat', cursive; font-weight: 600; line-height: 1; }

.display {
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  letter-spacing: -0.022em;
  line-height: 0.94;
}
.display .it { font-style: italic; font-weight: 600; color: var(--accent); }

.label {
  font-family: 'Outfit', sans-serif;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink-2);
}
.chapter {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 30px;
  color: var(--accent);
  font-weight: 500;
}
.num-roman {
  font-family: 'Playfair Display', serif;
  font-style: italic; font-weight: 600;
  font-size: 14px;
  color: var(--coral);
}

/* Squiggle under "acontece" */
.squiggle {
  position: absolute;
  left: 0; right: -8px;
  bottom: -10px;
  width: 100%;
  height: 18px;
  z-index: -1;
}

/* ============== Sections ============== */
.sec { padding-top: clamp(56px, 11vh, 96px); padding-bottom: clamp(56px, 11vh, 96px); position: relative; }
.sec-hero { padding-top: 0; padding-bottom: 0; }
.sec-cta { padding: 0; }

body[data-density="cozy"]     .sec { padding-top: 64px;  padding-bottom: 64px; }
body[data-density="generous"] .sec { padding-top: 132px; padding-bottom: 132px; }

/* Decorative background SVG that fills section */
.confetti-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}
body[data-confetti="off"] .confetti-bg { display: none; }
body[data-confetti="off"] .confetti-decor { display: none; }

/* ============== Buttons ============== */
.btn-primary {
  background: var(--accent);
  color: white;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px 26px;
  border-radius: 2px;
  display: inline-flex; align-items: center; gap: 10px;
  transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
  box-shadow: 0 8px 20px -10px rgba(230,64,61,0.5);
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 14px 28px -10px rgba(230,64,61,0.55); }
.btn-primary i { transition: transform .3s; }
.btn-primary:hover i { transform: translateX(4px); }

.btn-ghost {
  background: transparent; color: var(--ink);
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; font-size: 12px;
  padding: 14px 26px; border-radius: 2px;
  border: 2px solid var(--ink);
  transition: background .25s ease, color .25s ease;
  display: inline-flex; align-items: center; gap: 10px;
  cursor: pointer; text-decoration: none;
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.btn-cta-yellow {
  background: var(--yellow); color: var(--ink);
  padding: 18px 32px;
  font-weight: 800; font-size: 14px;
  letter-spacing: 0.05em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 8px 20px -8px rgba(0,0,0,0.35);
  text-decoration: none;
  border: 3px solid var(--ink);
}
.btn-cta-yellow:hover { transform: translateY(-3px); box-shadow: 0 14px 28px -8px rgba(0,0,0,0.4); }

.btn-cta-outline {
  background: transparent; color: white;
  padding: 18px 32px;
  font-weight: 700; font-size: 14px;
  letter-spacing: 0.05em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  border-radius: 999px;
  border: 2px solid rgba(255,255,255,0.6);
  transition: background .2s;
  text-decoration: none;
}
.btn-cta-outline:hover { background: rgba(255,255,255,0.15); }

/* ============== Top nav ============== */
.st-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 40;
  background: rgba(250,246,239,0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.st-nav .inner {
  width: 100%;
  padding: 0 32px;
  height: 84px;
  display: flex; align-items: center; gap: 16px;
  box-sizing: border-box;
}
@media (min-width: 768px) { .st-nav .inner { padding: 0 56px; } }
@media (min-width: 1280px) { .st-nav .inner { padding: 0 80px; } }
.nav-left  { display: flex; align-items: center; gap: 12px; flex: 1; }
.nav-right { display: flex; align-items: center; justify-content: flex-end; flex: 1; }

.st-nav .logo-img {
  height: 58px; width: auto;
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}
.st-nav-links { display: none; gap: 40px; align-items: center; }
@media (min-width: 1024px) { .st-nav-links { display: flex; } }
.st-nav-link {
  font-size: 15px; font-weight: 500;
  color: var(--ink-2);
  position: relative;
  padding: 8px 2px;
  transition: color .2s;
  text-decoration: none;
}
.st-nav-link:hover { color: var(--ink); }
.st-nav-link.active { color: var(--ink); }
.st-nav-link.active::after {
  content: ''; position: absolute;
  left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent);
}

.cart-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--ink); color: var(--paper);
  padding: 12px 22px;
  border-radius: 99px;
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  transition: background .2s, transform .2s;
  position: relative;
  border: none; cursor: pointer;
}
.cart-btn:hover { background: var(--accent); transform: translateY(-1px); }
.cart-badge {
  background: var(--yellow); color: var(--ink);
  font-family: 'Outfit', sans-serif; font-weight: 800;
  min-width: 22px; height: 22px;
  border-radius: 99px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px;
  padding: 0 6px;
}

/* ============== Confetti accents ============== */
.confetti { display: inline-flex; align-items: center; gap: 8px; }
.confetti i { width: 8px; height: 8px; display: inline-block; border-radius: 99px; }
.confetti .c-teal   { background: var(--teal); }
.confetti .c-coral  { background: var(--coral); }
.confetti .c-yellow { background: var(--yellow); }
.confetti .c-lime   { background: var(--lime); }
.confetti .c-pink   { background: var(--pink); }

/* ============== Photo treatments ============== */
.photo-mat {
  background: var(--paper);
  padding: 14px;
  border: 1px solid var(--line);
  box-shadow:
    0 40px 80px -40px rgba(29,20,16,0.28),
    0 14px 30px -16px rgba(29,20,16,0.14);
}
.photo-mat img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-clean { box-shadow: 0 30px 60px -30px rgba(29,20,16,0.32); overflow: hidden; }
.photo-clean img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-polaroid {
  background: var(--paper);
  padding: 12px 12px 56px;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -30px rgba(29,20,16,0.32),
    0 12px 24px -12px rgba(29,20,16,0.16);
  position: relative;
}
.photo-polaroid::after {
  content: attr(data-caption);
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  text-align: center;
  font-family: 'Caveat', cursive;
  font-weight: 600;
  font-size: 22px; color: var(--ink-2);
}
.photo-polaroid img { display: block; width: 100%; height: 100%; object-fit: cover; }

body[data-frame="clean"]    .photo-mat { background: transparent; padding: 0; border: 0; }
body[data-frame="polaroid"] .photo-mat { padding: 14px 14px 56px; position: relative; }

/* Washi tape decoration */
.washi-tape {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%) rotate(-3deg);
  width: 90px; height: 22px;
  background: var(--yellow);
  z-index: 3;
  opacity: 0.85;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.washi-top { top: -10px; }
.hero-photo-main { position: relative; }
.hero-photo-main .washi-tape { width: 110px; height: 26px; }

/* Photo pin (collage style with rotation) */
.photo-pin {
  position: relative;
  transform: rotate(var(--rot, 0deg));
  transition: transform .3s;
}
.photo-pin:hover { transform: rotate(0deg) scale(1.02); }

/* ============== World cards ============== */
.world-card, .world-card-bold {
  position: relative;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
  color: inherit;
}
.world-card:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(29,20,16,0.22); }
.world-card-bold:hover { transform: translateY(-6px); box-shadow: 0 40px 60px -30px rgba(29,20,16,0.32); }
.world-card .img, .world-card-bold .img { overflow: hidden; }
.world-card .img img, .world-card-bold .img img {
  transition: transform 1.2s cubic-bezier(.2,.7,.2,1);
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.world-card:hover .img img, .world-card-bold:hover .img img { transform: scale(1.06); }

/* Painted variants */
.painted-pink {
  background: linear-gradient(180deg, #fff6f6 0%, #ffe6e8 100%);
  border-color: #f7c8c8;
}
.painted-teal {
  background: linear-gradient(180deg, #e8f7f5 0%, #cee9e6 100%);
  border-color: #afd9d4;
}

.arrow-pill {
  width: 48px; height: 48px;
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: transform .25s;
}
.world-card:hover .arrow-pill, .world-card-bold:hover .arrow-pill { transform: translateX(4px); }

/* ============== Value cards (teal block) ============== */
.value-card {
  position: relative;
  padding: 32px 24px 28px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
}
.value-card .value-num {
  position: absolute;
  top: 18px; right: 22px;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 60px;
  font-weight: 700;
  color: rgba(255,255,255,0.12);
  line-height: 1;
}
.value-card .value-icon {
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  color: white;
  font-size: 22px;
  border-radius: 4px;
  box-shadow: 0 6px 0 rgba(0,0,0,0.18);
}

/* ============== Notes / testimonials ============== */
.note-card {
  position: relative;
  background: var(--paper);
  padding: 32px 26px 26px;
  border: 1px solid var(--line);
  transform: rotate(var(--rot, 0deg));
  transition: transform .3s;
  box-shadow:
    0 30px 50px -30px rgba(29,20,16,0.18),
    0 8px 20px -8px rgba(29,20,16,0.08);
}
.note-card:hover { transform: rotate(0deg); }
.note-card .washi-tape {
  background: var(--tape, var(--coral));
  width: 110px; height: 22px;
}

/* ============== Star icon ============== */
.ico-star {
  display: inline-block;
  width: 14px; height: 14px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1.7l3 6.9 7.5.7-5.7 5 1.7 7.4L12 17.9 5.5 21.7l1.7-7.4-5.7-5 7.5-.7z'/></svg>") center/contain no-repeat;
          mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 1.7l3 6.9 7.5.7-5.7 5 1.7 7.4L12 17.9 5.5 21.7l1.7-7.4-5.7-5 7.5-.7z'/></svg>") center/contain no-repeat;
}

/* ============== Cart drawer (festive!) ============== */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(29,20,16,.55);
  backdrop-filter: blur(4px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
  z-index: 79;
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed; top: 0; right: 0; height: 100vh;
  width: min(460px, 100vw);
  background: var(--bg);
  transform: translateX(110%);
  transition: transform .45s cubic-bezier(.2,.8,.2,1);
  z-index: 80;
  display: flex; flex-direction: column;
  box-shadow: -30px 0 80px -10px rgba(29,20,16,.35);
}
.drawer.open { transform: translateX(0); }

/* Cart header — coral with confetti pattern */
.cart-header {
  position: relative;
  overflow: hidden;
  background: var(--coral);
  color: white;
  padding: 26px 24px;
  flex-shrink: 0;
}
.cart-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 20%, var(--yellow) 3px, transparent 4px),
    radial-gradient(circle at 80% 30%, white 2px, transparent 3px),
    radial-gradient(circle at 30% 70%, var(--pink) 2.5px, transparent 3.5px),
    radial-gradient(circle at 70% 80%, white 3px, transparent 4px),
    radial-gradient(circle at 50% 45%, var(--yellow) 1.5px, transparent 2.5px);
  opacity: 0.45;
  pointer-events: none;
}
.cart-header > * { position: relative; z-index: 1; }
.cart-header .h-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.cart-header .kicker {
  font-family: 'Caveat', cursive; font-weight: 600;
  font-size: 22px; color: var(--yellow); line-height: 1;
  margin-bottom: 4px;
}
.cart-header h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 30px;
  line-height: 1; margin: 0;
}
.cart-header .meta {
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.85);
}
.cart-header .x-btn {
  width: 36px; height: 36px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  cursor: pointer;
  transition: background .2s;
  flex-shrink: 0;
}
.cart-header .x-btn:hover { background: rgba(255,255,255,0.3); }

.cart-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 22px 8px;
  background: var(--bg);
}
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  text-align: center; padding: 40px 20px 60px;
}
.cart-empty .ico {
  width: 96px; height: 96px;
  border-radius: 999px;
  background: var(--paper);
  border: 1.5px dashed var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  color: var(--coral);
  font-size: 32px;
}
.cart-empty h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 800; font-size: 26px;
  margin: 0 0 8px;
}
.cart-empty .hand-kicker {
  font-family: 'Caveat', cursive; font-weight: 600;
  font-size: 20px; color: var(--teal); margin-bottom: 6px;
}
.cart-empty p { font-size: 14px; color: var(--ink-2); max-width: 240px; margin: 0 0 22px; }

/* Cart item card — washi tape pinned */
.cart-item {
  position: relative;
  background: var(--paper);
  padding: 14px 14px 14px 14px;
  border: 1px solid var(--line);
  display: flex; gap: 14px;
  margin-bottom: 14px;
  transform: rotate(var(--rot, -0.3deg));
  box-shadow: 0 6px 16px -8px rgba(29,20,16,0.18);
  transition: transform .2s;
}
.cart-item:hover { transform: rotate(0deg); }
.cart-item .tape {
  position: absolute;
  top: -7px; left: 28%;
  width: 60px; height: 18px;
  background: var(--tape, var(--yellow));
  opacity: 0.85;
  transform: rotate(-3deg);
}
.cart-item .ph {
  width: 64px; height: 64px;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
}
.cart-item .ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-item .meta { flex: 1; min-width: 0; }
.cart-item .name {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-size: 15px;
  line-height: 1.15;
  margin-bottom: 2px;
}
.cart-item .desc { font-size: 11px; color: var(--ink-3); text-transform: uppercase; letter-spacing: 0.08em; }
.cart-item .ctrl {
  margin-top: 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-item .qty {
  display: inline-flex; align-items: center;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 99px;
  overflow: hidden;
}
.cart-item .qty button {
  width: 26px; height: 26px;
  background: transparent; border: none; cursor: pointer;
  font-size: 14px; color: var(--ink-2);
}
.cart-item .qty button:hover { color: var(--coral); }
.cart-item .qty span {
  width: 22px; text-align: center; font-size: 12px; font-weight: 700;
}
.cart-item .price {
  font-family: 'Playfair Display', serif;
  font-weight: 700; font-style: italic;
  font-size: 18px;
  color: var(--coral);
}
.cart-item .rm {
  position: absolute; top: 10px; right: 10px;
  width: 22px; height: 22px; border-radius: 99px;
  background: transparent; border: none; cursor: pointer;
  color: var(--ink-3); font-size: 11px;
}
.cart-item .rm:hover { color: var(--coral); }

/* Cart footer — magic total */
.cart-footer {
  flex-shrink: 0;
  background: var(--paper);
  border-top: 1.5px solid var(--line);
  padding: 18px 22px 22px;
  position: relative;
  overflow: hidden;
}
.cart-footer .total-block {
  position: relative;
  overflow: hidden;
  margin-bottom: 14px;
  padding: 16px 20px 17px;
  color: #fff;
  border-radius: 6px;
  border: 1px solid rgba(246,201,69,.3);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(246,201,69,.16), transparent 55%),
    linear-gradient(145deg, #2a1e17, #17100c);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07), 0 16px 32px -20px rgba(29,20,16,.75);
}
.cart-footer .total-block::before {
  content: '';
  position: absolute; left: 20px; right: 20px; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  opacity: .85;
}
.cart-footer .total-row {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.cart-footer .total-kicker {
  font-size: 10.5px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase;
  color: var(--yellow); line-height: 1; margin-bottom: 8px;
}
.cart-footer .total-label {
  max-width: 150px;
  font-size: 12px; line-height: 1.4; letter-spacing: .01em;
  color: rgba(255,255,255,.62);
}
.cart-footer .total-amt {
  display: flex; align-items: baseline; flex-shrink: 0;
  font-family: 'Playfair Display', serif; font-weight: 800; line-height: .95;
  background: linear-gradient(180deg, #ffe48a 0%, #f6c945 55%, #d9a528 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  filter: drop-shadow(0 2px 10px rgba(246,201,69,.22));
}
.cart-footer .total-amt #cartTotal { font-size: 54px; letter-spacing: -.02em; }
.cart-footer .total-amt #cartTotal.is-text { font-size: 24px; letter-spacing: 0; line-height: 1.2; align-self: center; }
.cart-footer .total-amt small { margin-left: 3px; font-size: 30px; font-style: normal; font-weight: 700; }
.cart-footer .actions { display: flex; gap: 8px; }
.cart-footer .btn-clear {
  border-radius: 6px;
  padding: 14px 16px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s;
}
.cart-footer .btn-clear:hover { background: var(--bg-2); }
.cart-footer .btn-go {
  border-radius: 6px;
  flex: 1;
  background: var(--accent);
  color: white;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-size: 12px;
  padding: 14px;
  border: none;
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  transition: background .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.cart-footer .btn-go::before {
  content: '✦';
  margin-right: 4px;
  color: var(--yellow);
}
.cart-footer .btn-go:hover { background: var(--accent-deep); transform: translateY(-1px); }
.cart-footer .small {
  margin-top: 10px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-3);
}

/* ============== Footer ============== */
.st-footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding: 60px 24px;
}
@media (min-width: 768px) { .st-footer { padding: 60px 40px; } }
.st-footer .inner {
  max-width: 1320px; margin: 0 auto;
  display: flex; flex-direction: column;
  align-items: center; justify-content: space-between;
  gap: 24px;
}
@media (min-width: 768px) { .st-footer .inner { flex-direction: row; } }
.st-footer .logo-img {
  height: 56px; width: auto;
  mix-blend-mode: multiply; filter: contrast(1.05);
}
.st-footer .quote {
  font-family: 'Caveat', cursive; font-weight: 600;
  font-size: 22px; color: var(--ink-2);
}
.st-footer .copy { font-size: 11px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--ink-3); margin-top: 4px; }
.st-footer .socials { display: flex; align-items: center; gap: 10px; }
.st-footer .soc {
  width: 40px; height: 40px; border-radius: 99px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--ink-2);
  text-decoration: none;
  transition: all .25s;
}
.st-footer .soc:hover { transform: translateY(-2px); }
.st-footer .soc.ig:hover { background: var(--coral); color: white; border-color: var(--coral); }
.st-footer .soc.fb:hover { background: var(--teal); color: white; border-color: var(--teal); }
.st-footer .soc.tk:hover { background: var(--ink); color: white; border-color: var(--ink); }
.st-footer .wa-btn {
  margin-left: 8px;
  background: var(--lime); color: white;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; gap: 8px;
  text-decoration: none;
}

/* ============== WhatsApp float ============== */
.wa-float {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 30;
  width: 58px; height: 58px;
  border-radius: 99px;
  background: var(--lime);
  color: white;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 14px 30px -10px rgba(127,194,58,0.55);
  text-decoration: none;
  font-size: 26px;
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }

/* ============== Misc helpers ============== */
.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

.tab-btn {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  background: transparent;
  border-top: none; border-left: none; border-right: none;
  cursor: pointer;
  font-weight: 600;
  color: var(--ink-3);
  transition: color .2s, border-color .2s;
}
.tab-btn:hover { color: var(--ink); }
.tab-btn.active { color: var(--ink); border-bottom-color: var(--accent); }

/* ============== Compat overrides (styles.css reset) ============== */
nav.st-nav { background: rgba(250,246,239,0.92) !important; box-shadow: none !important; }
nav.st-nav.nav-scrolled { background: rgba(250,246,239,0.98) !important; box-shadow: 0 1px 0 var(--line) !important; }
body { background: var(--bg) !important; font-family: 'Outfit', sans-serif !important; }

/* ============================================================
   Responsive typography & layout fixes — mobile overflow
   ============================================================ */

/* Nav: shrink logo on very small phones */
@media (max-width: 400px) {
  .st-nav .logo-img { height: 38px; }
  .st-nav .inner { padding: 0 14px; gap: 8px; }
  .cart-btn { padding: 8px 10px !important; font-size: 11px; }
}

/* Prevent hero heading from overflowing viewport on small phones */
@media (max-width: 480px) {
  .display { letter-spacing: -0.01em; }
  /* Clamp large Tailwind font sizes injected inline */
  h1.display { font-size: clamp(36px, 12vw, 56px) !important; line-height: 1 !important; }
  h2.display { font-size: clamp(28px, 9vw, 44px) !important; line-height: 1.02 !important; }
}

/* Prevent hand/Caveat text from overflowing */
@media (max-width: 480px) {
  .hand { font-size: clamp(18px, 5.5vw, 24px) !important; }
}

/* CTA buttons: ensure they don't overflow their container */
.btn-primary, .btn-ghost, .btn-cta-yellow, .btn-cta-outline {
  white-space: nowrap;
  max-width: 100%;
}
@media (max-width: 480px) {
  .btn-primary, .btn-ghost { padding: 12px 18px !important; font-size: 11px !important; }
  .btn-cta-yellow, .btn-cta-outline { padding: 14px 22px !important; font-size: 12px !important; }
}

/* Prevent trust row metric numbers overflowing */
@media (max-width: 480px) {
  .display.text-\[34px\] { font-size: 28px !important; }
}

/* Modals on small screens: prevent content overlapping close btn */
@media (max-width: 640px) {
  .st-modal-inner { max-height: 95vh !important; }
  .close-modal-btn { top: 10px !important; right: 10px !important; }
}

/* Filter bar on mobile: ensure buttons don't overflow */
.filter-bar .fb-row {
  padding-bottom: 10px;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   Modal gallery — sm-* (boutique design: portrait photo-mat + thumb row)
   ============================================================ */

.sm-gallery {
  padding: 34px 22px 22px;
  background: var(--bg-2);
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) { .sm-gallery { padding: 44px 32px 32px; } }

.sm-gallery .sm-chapter {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--accent);
  margin-bottom: 14px;
  flex-shrink: 0;
}

/* Portrait photo-mat hero — fills gallery panel, no polaroid caption */
.sm-hero {
  aspect-ratio: 4 / 5;
  position: relative;
  overflow: hidden;
  background: var(--paper);
  padding: 12px;
  border: 1px solid var(--line);
  box-shadow:
    0 30px 60px -30px rgba(29,20,16,.32),
    0 12px 24px -12px rgba(29,20,16,.14);
  flex-shrink: 0;
}
.sm-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity .22s ease;
}
.sm-hero .pin {
  position: absolute;
  top: 22px; left: 22px;
  font-size: 10px;
  padding: 6px 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  z-index: 2;
}
.sm-hero .pin.coral  { background: var(--coral);  color: white; }
.sm-hero .pin.teal   { background: var(--teal);   color: white; }
.sm-hero .pin.yellow { background: var(--yellow); color: var(--ink); }
.sm-hero .pin.pink   { background: var(--pink);   color: white; }
.sm-hero .pin.lime   { background: var(--lime);   color: white; }

/* Thumbnail strip */
.sm-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
  flex-shrink: 0;
}
.sm-thumb {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--paper);
  border: 1.5px solid var(--line);
  cursor: pointer;
  padding: 3px;
  transition: transform .18s, border-color .18s;
  position: relative;
  box-sizing: border-box;
}
.sm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.sm-thumb:hover { transform: translateY(-2px); border-color: var(--ink-3); }
.sm-thumb.active { border-color: var(--coral); border-width: 2px; }
.sm-thumb.active::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--coral);
  pointer-events: none;
}

/* Gallery modal shell — mobile vs desktop scroll behavior.
   Desktop: gallery pinned left, info column scrolls independently (side-by-side layout, plenty of height).
   Mobile: gallery stacks on top of a tall, cramped sheet — pinning it non-scrollable there left the photo as a
   dead zone (a touch/drag on it did nothing) and forced all reading into a tiny scrollable strip below it.
   So on mobile the whole sheet scrolls as one unit instead, and the hero photo is capped shorter so it doesn't
   eat the first screenful. */
.st-modal-gallery .sm-hero {
  max-height: 46vh;
}
@media (max-width: 767px) {
  .st-modal-gallery {
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
  }
  .st-modal-gallery .st-modal-scroll {
    overflow-y: visible !important;
  }
  .st-modal-gallery .st-modal-cta-footer {
    position: sticky;
    bottom: 0;
    z-index: 5;
  }
}
@media (min-width: 768px) {
  .st-modal-gallery {
    overflow-y: hidden !important;
  }
  .st-modal-gallery .st-modal-scroll {
    overflow-y: auto !important;
  }
  .st-modal-gallery .sm-hero {
    max-height: none;
  }
}

/* Submit button in order form — explicit override for Tailwind/WebKit appearance reset */
.btn-submit-order {
  -webkit-appearance: none;
  appearance: none;
  background-color: #e6403d !important;
  color: #fff !important;
  border: none;
  box-shadow: 0 6px 20px rgba(230,64,61,.4);
}


/* ── Títulos em ecrãs largos mas baixos (portáteis 13-15") ──
   Os tamanhos lg:text-[...] foram pensados para monitores altos; aqui escalam
   também pela altura da janela. Em ecrãs com 1000px+ de altura ficam iguais. */
@media (min-width: 1024px) {
  .display[class*="lg:text-[104px]"],
  .display[class*="lg:text-[108px]"],
  .display[class*="lg:text-[112px]"] { font-size: clamp(64px, 11vh, 108px); }
  .display[class*="lg:text-[80px]"],
  .display[class*="lg:text-[76px]"] { font-size: clamp(48px, 8.6vh, 80px); }
  .display[class*="lg:text-[72px]"],
  .display[class*="lg:text-[68px]"] { font-size: clamp(44px, 7.8vh, 72px); }
  .display[class*="md:text-[88px]"]:not([class*="lg:"]) { font-size: clamp(52px, 9vh, 88px); }
}

/* ============================================================
   Modal gallery slideshow (catalog.js initGalleryThumbs)
   Photos stay still; slides only cross-fade.
   ============================================================ */
.sm-hero.sm-stage { isolation: isolate; }
.sm-hero .sm-slide {
  position: absolute; inset: 12px; overflow: hidden; z-index: 0;
  opacity: 0; transition: opacity .9s ease;
  pointer-events: none; background: var(--bg-2);
}
.sm-hero .sm-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.sm-hero .sm-slide.is-leaving { opacity: 0; z-index: 0; }
.sm-hero .sm-slide .sm-media {
  width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; transition: none;
}

.sm-hero .sm-ui { position: absolute; inset: 12px; z-index: 3; pointer-events: none; }
.sm-hero .sm-arrow {
  position: absolute; top: 50%; width: 36px; height: 36px; margin-top: -18px; border-radius: 50%;
  border: 0; background: rgba(29,20,16,.42); color: #fff; font-size: 13px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; pointer-events: auto;
  backdrop-filter: blur(6px); opacity: .0; transition: opacity .25s, background .2s, transform .2s;
}
.sm-hero .sm-arrow.prev { left: 8px; }
.sm-hero .sm-arrow.next { right: 8px; }
.sm-hero:hover .sm-arrow, .sm-hero .sm-arrow:focus-visible { opacity: 1; }
.sm-hero .sm-arrow:hover { background: rgba(29,20,16,.7); transform: scale(1.08); }
@media (hover: none) { .sm-hero .sm-arrow { opacity: .85; width: 32px; height: 32px; margin-top: -16px; } }
.sm-hero .sm-tools { position: absolute; top: 8px; right: 8px; display: flex; gap: 6px; pointer-events: auto; }
.sm-hero .sm-tool {
  width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(29,20,16,.42); color: #fff;
  font-size: 12px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(6px); transition: background .2s, transform .2s;
}
.sm-hero .sm-tool[hidden] { display: none; }
.sm-hero .sm-tool:hover { background: rgba(29,20,16,.7); transform: scale(1.08); }
.sm-hero .sm-prog { position: absolute; left: 12px; right: 12px; bottom: 10px; display: flex; gap: 4px; }
.sm-hero .sm-prog span { flex: 1; height: 3px; border-radius: 3px; background: rgba(255,255,255,.45); overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.sm-hero .sm-prog i { display: block; height: 100%; width: 0; background: #fff; border-radius: 3px; }

.sm-hero .sm-spin {
  position: absolute; left: 50%; top: 50%; width: 38px; height: 38px; margin: -19px 0 0 -19px;
  border-radius: 50%; border: 3px solid rgba(255,255,255,.35); border-top-color: #fff;
  opacity: 0; transition: opacity .2s; pointer-events: none; filter: drop-shadow(0 1px 4px rgba(0,0,0,.35));
}
.sm-hero.sm-loading .sm-spin { opacity: 1; animation: smSpin .8s linear infinite; }
@keyframes smSpin { to { transform: rotate(360deg); } }
