:root {
    --ap-color-bg: #050506;
    --ap-color-bg-alt: #111111;
    --ap-color-primary: #000000;
    --ap-color-text: #f5f5f5;
    --ap-color-muted: #b0b0b0;
    --ap-color-gold: #d4af37;
    --ap-color-gold-soft: #f4e5a1;
    --ap-color-gold-secondary: #c3b89e; /* NUEVO COLOR DORADO SECUNDARIO */
    --ap-color-border: #2a2a2a;
    --ap-color-error: #ff4d4d;

    /* Fuentes */
    --ap-font-title: 'Calder Dark', serif;
    --ap-font-heading: 'Raleway', sans-serif;
    --ap-font-body: 'Acumin Pro', 'Poppins', sans-serif;
    --ap-radius-md: 10px;
    --ap-radius-lg: 18px;
    --ap-shadow-soft: 0 18px 45px rgba(0,0,0,0.55);
}

/* RESET BÁSICO */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    /*font-family: var(--ap-font-base);*/
    background: radial-gradient(circle at top, #181818 0%, #050506 55%, #000000 100%);
    color: var(--ap-color-text);
    line-height: 1.6;
}

/* CONTENEDOR */
.ap-container {
    width: min(1120px, 92%);
    margin-inline: auto;
}

/* HEADER */
.ap-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(5,5,6,0.96);
    border-bottom: 1px solid rgba(212,175,55,0.22);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

/* ============================================
   HEADER INNER - RESPONSIVE LAYOUT
   ============================================ */

/**
 * Layout flexible del header
 * RAZÓN: Reorganización automática en diferentes resoluciones
 */
.ap-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block: 0.6rem;
    gap: 1rem;
}

/* ========================================
   LOGO
   ======================================== */

/**
 * Logo del sitio
 * RAZÓN: Transiciones suaves para hover
 */
.ap-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: transform 0.3s ease, filter 0.3s ease;
    order: 2; /* Desktop: orden 2 (después del espacio izquierdo) */
}

/* .ap-logo:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
} */

.ap-logo-img {
    height: 45px;
    width: auto;
    display: block;
}

/* ========================================
   MENÚ HAMBURGUESA (OCULTO EN DESKTOP)
   ======================================== */

/**
 * Botón hamburguesa para móvil
 * RAZÓN: Control del menú lateral en resoluciones pequeñas
 */
.ap-burger {
    display: none; /* Oculto por defecto en desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 44px; /* Área táctil mínima (estándar UX) */
    height: 44px;
    order: 1; /* Desktop: no visible, pero orden 1 si se muestra */
    z-index: 1100;
}

/**
 * Líneas del icono hamburguesa
 * RAZÓN: Animación suave a forma de X
 */
.ap-burger span {
    display: block;
    width: 24px;
    height: 3px;
    background: var(--ap-color-gold);
    border-radius: 999px;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    transform-origin: center;
}

/**
 * Animación del burger cuando está activo (forma de X)
 * RAZÓN: Feedback visual premium del estado del menú
 */
.ap-burger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(8px);
    background: var(--ap-color-gold-soft);
}

.ap-burger.active span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
}

.ap-burger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-8px);
    background: var(--ap-color-gold-soft);
}

/* ========================================
   NAVEGACIÓN DESKTOP
   ======================================== */

/**
 * Navegación horizontal en desktop
 * RAZÓN: Menú visible en pantallas grandes
 */
.ap-nav {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    order: 3; /* Desktop: orden 3 (centro) */
}

.ap-nav a {
    color: var(--ap-color-muted);
    text-decoration: none;
    position: relative;
    padding-block: 0.3rem;
    transition: color 0.2s ease;
}

/**
 * Underline animado en hover (desktop)
 * RAZÓN: Feedback visual del link activo
 */
.ap-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ap-color-gold), var(--ap-color-gold-soft));
    transition: width 0.25s ease;
}

.ap-nav a:hover {
    color: var(--ap-color-gold-soft);
}

.ap-nav a:hover::after {
    width: 100%;
}

/* ========================================
   ACCIONES DEL HEADER (CARRITO)
   ======================================== */

/**
 * Contenedor del carrito y acciones
 * RAZÓN: Agrupación de elementos de la derecha
 */
.ap-header-actions {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    order: 4; /* Desktop: orden 4 (derecha) */
}

/* ============================================
   RESPONSIVE MÓVIL - HEADER Y MENÚ
   ============================================ */

@media (max-width: 768px) {
    
    /**
     * LAYOUT MÓVIL: [🍔 Burger] [🐱 Logo] [🛒 Carrito]
     * RAZÓN: UX estándar móvil con logo centrado
     */
    
    /* Header con posición relativa para centrar logo */
    .ap-header-inner {
        padding-block: 0.8rem;
        position: relative;
    }
    
    /* ========================================
       BOTÓN HAMBURGUESA - EXTREMO IZQUIERDO
       ======================================== */
    
    .ap-burger {
        display: flex; /* Visible en móvil */
        position: relative;
        z-index: 1100;
    }
    
    /* ========================================
       LOGO - CENTRADO ABSOLUTO
       ======================================== */
    
    /**
     * Logo centrado perfectamente en móvil
     * RAZÓN: Usa position absolute para centrarlo sin afectar otros elementos
     */
    .ap-logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .ap-logo-img {
        height: 38px; /* Más pequeño en tablet/móvil */
    }
    
    /* ========================================
       CARRITO - EXTREMO DERECHO
       ======================================== */
    
    .ap-header-actions {
        margin-left: auto; /* Empuja al extremo derecho */
    }
    
    /* ========================================
       NAVEGACIÓN - PANEL LATERAL IZQUIERDO
       ======================================== */
    
    /**
     * Panel lateral que se desliza desde la IZQUIERDA
     * RAZÓN: Menú principal debe venir del lado principal (izquierda)
     */
    .ap-nav {
        /* Posicionamiento */
        position: fixed;
        top: 0;
        left: -100%; /* Oculto fuera de la pantalla (izquierda) */
        width: 85%;
        max-width: 300px; /* Ancho máximo para no ocupar toda la pantalla */
        height: 100vh;
        
        /* Fondo premium con glassmorphism */
        background: linear-gradient(
            135deg,
            rgba(5, 5, 6, 0.98) 0%,
            rgba(15, 15, 16, 0.98) 100%
        );
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        
        /* Bordes y sombras premium */
        border-right: 1px solid rgba(212, 175, 55, 0.3);
        box-shadow: 4px 0 40px rgba(0, 0, 0, 0.8);
        
        z-index: 1050;
        
        /* Transición suave con cubic-bezier */
        transition: left 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        
        /* Layout vertical */
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        
        /* Padding: espacio arriba para el header fijo */
        padding: 5rem 0 2rem; /* Reducido de 6rem a 5rem */
        
        /* Scroll interno si hay muchos links */
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    /**
     * Menú visible cuando tiene clase "open"
     * RAZÓN: Animación de entrada suave
     */
    .ap-nav.open {
        left: 0;
    }
    
    /* ========================================
       LINKS DEL MENÚ MÓVIL
       ======================================== */
    
    /**
     * Links rediseñados para móvil
     * RAZÓN: Área táctil grande (min 44px altura) y feedback visual claro
     */
    .ap-nav a {
        width: 100%;
        padding: 1rem 2rem; /* Área táctil grande */
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 0.02em;
        
        /* Bordes sutiles entre links */
        border-bottom: 1px solid rgba(255, 255, 255, 0.03);
        
        color: var(--ap-color-text);
        position: relative;
        overflow: hidden;
        
        /* Transición suave */
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    /**
     * Barra vertical dorada en hover
     * RAZÓN: Feedback visual premium y elegante
     */
    .ap-nav a::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        width: 4px;
        height: 100%;
        background: linear-gradient(
            180deg,
            var(--ap-color-gold) 0%,
            var(--ap-color-gold-soft) 100%
        );
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }
    
    .ap-nav a:hover::before,
    .ap-nav a:active::before {
        transform: scaleY(1);
        transform-origin: top;
    }
    
    .ap-nav a:hover {
        color: var(--ap-color-gold-soft);
        padding-left: 2.5rem; /* Efecto de desplazamiento al hover */
        background: linear-gradient(
            90deg,
            rgba(212, 175, 55, 0.08) 0%,
            transparent 100%
        );
    }
    
    /**
     * Ocultar underline del desktop en móvil
     * RAZÓN: No es necesario en el panel lateral
     */
    .ap-nav a::after {
        display: none;
    }
    
    /**
     * Primer link con borde superior
     * RAZÓN: Coherencia visual
     */
    .ap-nav a:first-child {
        border-top: 1px solid rgba(255, 255, 255, 0.03);
    }
}

/* ========================================
   MÓVIL PEQUEÑO (< 480px)
   ======================================== */

@media (max-width: 480px) {
    /**
     * Ajustes para pantallas muy pequeñas
     * RAZÓN: Optimización de espacio
     */
    
    .ap-logo-img {
        height: 32px; /* Logo más pequeño */
    }
    
    .ap-nav {
        max-width: 280px; /* Menú más estrecho */
    }
    
    .ap-nav a {
        padding: 0.9rem 1.5rem; /* Padding reducido */
        font-size: 0.95rem;
    }
}

/* ============================================
   OVERLAY DEL MENÚ MÓVIL
   ============================================ */

/**
 * Fondo oscuro detrás del menú
 * RAZÓN: Enfoca la atención y permite cerrar al hacer click
 */
.ap-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1040; /* Detrás del menú pero delante del contenido */
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ap-nav-overlay.visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   ANIMACIONES KEYFRAMES
   ============================================ */

/**
 * Animación de entrada del menú (opcional)
 * RAZÓN: Efecto visual extra premium
 */
@keyframes slideInLeft {
    0% {
        left: -100%;
        opacity: 0;
    }
    100% {
        left: 0;
        opacity: 1;
    }
}


.ap-cart-btn {
    position: relative;
    background: transparent;
    border: 1px solid rgba(212,175,55,0.6);
    color: var(--ap-color-gold-soft);
    border-radius: 999px;
    padding: 0.4rem 0.8rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.85rem;
    transition: background 0.2s ease, transform 0.1s ease;
}

.ap-cart-btn:hover {
    background: rgba(212,175,55,0.1);
    transform: translateY(-1px);
}

.ap-cart-count {
    background: var(--ap-color-gold);
    color: #000;
    border-radius: 999px;
    padding: 0.05rem 0.35rem;
    font-size: 0.7rem;
    font-weight: 600;
}



/* ============================================
   HERO / SLIDER CON IMÁGENES DE FONDO
   ============================================ */

.ap-hero {
    margin-top: 64px;
    min-height: 80vh;
    display: flex;
    align-items: stretch;
    position: relative;
    overflow: hidden;
    background: #000000;
}

.ap-hero-slider {
    width: 100%;
    position: relative;
    min-height: 80vh;
}

/* SLIDE INDIVIDUAL */
.ap-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: translateX(4%);
    transition: opacity 0.7s ease, transform 0.7s ease;
    display: flex;
    align-items: center;
    min-height: 80vh;
    
   /* Imagen de fondo */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    
    /* CRÍTICO: Bloquear interacción en slides inactivos */
    pointer-events: none;
    z-index: 1;
}


.ap-slide-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/**
 * Imagen dentro del picture
 */
.ap-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

/**
 * Ajuste de posición en móvil
 */
@media (max-width: 768px) {
    .ap-slide-img {
        object-position: 80% center; /* Mantener la posición que tenías */
    }
}

/**
 * Ajuste para móvil pequeño
 */
@media (max-width: 480px) {
    .ap-slide-img {
        object-position: center center; /* O ajustar según tu diseño */
    }
}

.ap-slide.active {
    opacity: 1;
    transform: translateX(0);
    position: relative;
    
    /* CRÍTICO: Permitir interacción solo en slide activo */
    pointer-events: auto;
    z-index: 10;
}

/* OVERLAY OSCURO SOBRE LA IMAGEN */
.ap-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.75) 100%
    );
    z-index: 1;
}

/* Overlay más fuerte para móvil */
@media (max-width: 768px) {
    .ap-slide-overlay {
        background: linear-gradient(
            180deg,
            rgba(0, 0, 0, 0.7) 0%,
            rgba(0, 0, 0, 0.85) 100%
        );
    }
}

/* SLIDE SIN IMAGEN (Slide 3) */
.ap-slide-solid {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.ap-slide-solid .ap-slide-overlay {
    display: none;
}

/* CONTENIDO DEL SLIDE */
.ap-slide-content {
    position: relative;
    z-index: 2;
    padding-block: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* TÍTULO DEL SLIDE */
.ap-slide h1 {
    font-family: var(--ap-font-heading, 'Raleway', sans-serif);
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--ap-color-gold-soft);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    line-height: 1.2;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
}

/* DESCRIPCIÓN DEL SLIDE */
.ap-slide p {
    font-family: var(--ap-font-body, 'Acumin Pro', sans-serif);
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

/* ============================================
   BOTONES DEL SLIDER
   ============================================ */

.ap-btn-primary,
.ap-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 999px;
    border: none;
    cursor: pointer;
    font-family: var(--ap-font-body, 'Acumin Pro', sans-serif);
    font-size: clamp(0.9rem, 2vw, 1rem);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    
    /* CRÍTICO: Asegurar que los botones sean clickeables */
    pointer-events: auto;
    z-index: 100;
}

.ap-btn-primary {
    background: linear-gradient(135deg, var(--ap-color-gold, #d4af37), var(--ap-color-gold-soft, #f4e5a1));
    color: #000000;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.ap-btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--ap-color-gold-soft, #f4e5a1), var(--ap-color-gold, #d4af37));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.ap-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.6);
}

.ap-btn-primary:hover::before {
    opacity: 1;
}

.ap-btn-outline {
    background: transparent;
    color: var(--ap-color-gold-soft, #f4e5a1);
    border: 2px solid var(--ap-color-gold, #d4af37);
}

.ap-btn-outline:hover {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--ap-color-gold-soft, #f4e5a1);
    transform: translateY(-2px);
}

/* ============================================
   DOTS NAVEGACIÓN DEL SLIDER
   ============================================ */

.ap-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 2rem;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 100;
}

.ap-slider-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.ap-slider-dots button:hover {
    background: rgba(212, 175, 55, 0.6);
    transform: scale(1.2);
}

.ap-slider-dots button.active {
    width: 28px;
    background: var(--ap-color-gold, #d4af37);
    border-color: var(--ap-color-gold, #d4af37);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 1024px) {
    .ap-hero {
        min-height: 70vh;
    }
    
    .ap-hero-slider {
        min-height: 70vh;
    }
    
    .ap-slide {
        min-height: 70vh;
    }
    
    .ap-slide-content {
        padding-block: 4rem;
    }
    
    .ap-slide h1 {
        font-size: clamp(2rem, 4vw, 2.8rem);
    }
}

/* ============================================
   RESPONSIVE - MÓVIL
   ============================================ */

@media (max-width: 768px) {
    .ap-hero {
        margin-top: 60px;
        min-height: 85vh;
    }
    
    .ap-hero-slider {
        min-height: 85vh;
    }
    
    .ap-slide {
        min-height: 85vh;
        background-position: 80% center;

    }
    
    .ap-slide-content {
        padding-block: 3rem;
        padding-inline: 1.5rem;
        text-align: center;
    }
    
    .ap-slide h1 {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1.2rem;
    }
    
    .ap-slide p {
        font-size: 1rem;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 1.8rem;
    }
    
    .ap-btn-primary,
    .ap-btn-outline {
        padding: 1rem 2rem;
        font-size: 0.95rem;
        width: 100%;
        max-width: 280px;
    }
    
    .ap-slider-dots {
        bottom: 1.5rem;
    }
    
    .ap-slider-dots button {
        width: 8px;
        height: 8px;
    }
    
    .ap-slider-dots button.active {
        width: 24px;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL PEQUEÑO
   ============================================ */

@media (max-width: 480px) {
    .ap-hero {
        min-height: 100vh;
    }
    
    .ap-hero-slider {
        min-height: 100vh;
    }
    
    .ap-slide {
        min-height: 100vh;
    }
    
    .ap-slide-content {
        padding-block: 2.5rem;
    }
    
    .ap-slide h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }
    
    .ap-slide p {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}

/* ============================================
   ANIMACIÓN DE ENTRADA
   ============================================ */

@keyframes ap-slide-fade-in {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ap-slide.active .ap-slide-content h1 {
    animation: ap-slide-fade-in 0.8s ease 0.3s both;
}

.ap-slide.active .ap-slide-content p {
    animation: ap-slide-fade-in 0.8s ease 0.5s both;
}

.ap-slide.active .ap-slide-content .ap-btn-primary,
.ap-slide.active .ap-slide-content .ap-btn-outline {
    animation: ap-slide-fade-in 0.8s ease 0.7s both;
}
/* SECCIONES GENÉRICAS */
.ap-section {
    padding-block: 4rem;
}

.ap-section-dark {
    background: rgba(0,0,0,0.6);
    border-top: 1px solid rgba(255,255,255,0.04);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.ap-section-title {
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
}

.text-center {
    text-align: center;
}

/* GRIDS */
.ap-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem;
    align-items: center;
}

.ap-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.8rem;
}

.ap-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}



/* FOOTER */
.ap-footer {
    background: #020203;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 2.4rem;
}

.ap-footer-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.6rem;
    font-size: 0.86rem;
    font-family: var(--ap-font-body);
}

.ap-footer h4 {
    margin-bottom: 0.7rem;
    color: var(--ap-color-gold-soft);
}

.ap-footer ul {
    list-style: none;
    margin: 0;
}

.ap-footer a {
    color: var(--ap-color-muted);
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.35rem;
}

.ap-footer a:hover {
    color: var(--ap-color-gold-soft);
}

.ap-social-icons {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: flex-start;
}

.ap-social-icons a {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
}
.ap-social-icons a i {
    font-size: 1.8rem;
    color: var(--ap-color-gold-soft);
    transition: all 0.3s ease;
}
.ap-social-icons a:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--ap-color-gold-soft);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}
.ap-social-icons a:hover i {
    transform: scale(1.1);
}

@media (max-width: 1024px) and (min-width: 769px) {
    .ap-social-icons a {
        width: 48px;
        height: 48px;
    }
    
    .ap-social-icons a i {
        font-size: 1.7rem;
    }
}
@media (max-width: 768px) {
    .ap-social-icons {
        gap: 1.2rem;
        justify-content: center; /* Centrar en móvil */
    }
    
    .ap-social-icons a {
        width: 55px;  /* MÁS GRANDE en móvil */
        height: 55px;
    }
    
    .ap-social-icons a i {
        font-size: 2rem; /* Icono más grande en móvil */
    }
}
@media (max-width: 480px) {
    .ap-social-icons a {
        width: 45px;
        height: 45px;
    }
    
    .ap-social-icons a i {
        font-size: 2.2rem;
    }
}

.ap-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.04);
    margin-top: 1.8rem;
    padding-block: 0.9rem;
    text-align: center;
    font-size: 0.78rem;
    color: var(--ap-color-muted);
}

/* WHATSAPP FLOAT */
.ap-whatsapp-float {
    position: fixed;
    right: 1.2rem;
    bottom: 1.2rem;
    width: 52px;
    height: 52px;
    border-radius: 999px;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 36px rgba(0,0,0,0.6);
    font-size: 1.4rem;
    z-index: 900;
}



/* ============================================
   VARIANTES EN LANDING (SOLO INFO)
   ============================================ */

.ap-product-variants-info {
    margin-block: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
}

.ap-variants-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.ap-variant-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    transition: background 0.2s ease;
}

.ap-variant-item:hover {
    background: rgba(212, 175, 55, 0.08);
}

.ap-variant-icon {
    color: var(--ap-color-gold);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.ap-variant-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
}

.ap-variant-name {
    font-size: 0.95rem;
    color: var(--ap-color-text);
    font-weight: 500;
}

.ap-variant-price {
    font-size: 1rem;
    color: var(--ap-color-gold);
    font-weight: 600;
}

@media (max-width: 768px) {
    .ap-variant-details {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
}



/* ============================================
   SECCIÓN PRODUCTO - REDISEÑO PREMIUM
   ============================================ */

/* Variantes en grid compacto */
.ap-variants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.8rem;
}

.ap-variant-card {
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: default;
}

.ap-variant-card:hover {
    border-color: rgba(212,175,55,0.5);
    background: linear-gradient(135deg, rgba(212,175,55,0.08) 0%, rgba(0,0,0,0.3) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212,175,55,0.15);
}

.ap-variant-weight {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.6rem;
    color: var(--ap-color-text);
    font-weight: 500;
    font-size: 0.95rem;
}

.ap-variant-weight i {
    color: var(--ap-color-gold);
    font-size: 1.1rem;
}

.ap-variant-price {
    color: var(--ap-color-gold);
    font-weight: 700;
    font-size: 1.15rem;
}

/* Beneficios rediseñados */
.ap-product-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 12px;
}

.ap-benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 0.5rem;
    transition: background 0.2s ease;
}

.ap-benefit-item:hover {
    background: rgba(212,175,55,0.05);
    border-radius: 8px;
}

.ap-benefit-icon {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ap-color-gold);
    font-size: 1.2rem;
}

.ap-benefit-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.ap-benefit-text strong {
    color: var(--ap-color-text);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.ap-benefit-text span {
    color: var(--ap-color-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    text-align: left;
}

/* Responsive */
@media (max-width: 768px) {
    .ap-variants-grid {
        grid-template-columns: 1fr;
    }
    
    .ap-benefit-item {
        flex-direction: row;
    }
}


/* ============================================
   PANEL CARRITO LATERAL (ESTILO PREMIUM)
   ============================================ */

.ap-cart-panel {
    position: fixed;
    top: 0;
    right: -100%; /* IMPORTANTE: Oculto por defecto */
    width: 90%;
    max-width: 400px;
    height: 100vh;
    background: #ffffff;
    z-index: 999999;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -2px 0 20px rgba(0,0,0,0.3);
}

.ap-cart-panel.open {
    right: 0; /* Visible cuando tiene clase "open" */
}


.ap-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(212,175,55,0.15);
    
    flex-shrink: 0;
}

.ap-cart-header h3 {
    margin: 0;
    font-size: 1.3rem;
    color: var(--ap-color-gold);
    font-weight: 600;
}

/* Botón de cerrar carrito - Solo X dorada sin hover */
.ap-cart-close {
    background: transparent;
    border: none;
    color: var(--ap-color-gold, #d4af37);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    transition: opacity 0.2s ease;
}

.ap-cart-close:hover {
    opacity: 0.7;
}

.ap-cart-close svg {
    width: 24px;
    height: 24px;
}


.ap-cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
}

.ap-cart-empty {
    text-align: center;
    color: var(--ap-color-muted);
    padding: 3rem 1rem;
    font-size: 0.95rem;
}


.ap-cart-footer {
    padding: 1.5rem;
    border-top: 1px solid rgba(212,175,55,0.15);
    background: rgba(0,0,0,0.4);
}

.ap-cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
    font-size: 1.2rem;
    font-weight: 700;
}

.ap-cart-total span:first-child {
    color: var(--ap-color-muted);
}

.ap-cart-total span:last-child {
    color: var(--ap-color-gold);
}  */

.ap-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1050;
    opacity: 0;
    visibility: hidden; /* IMPORTANTE: Oculto por defecto */
    transition: all 0.3s ease;
}

.ap-overlay.visible {
    opacity: 1;
    visibility: visible; /* Visible cuando tiene clase "visible" */
}


@media (max-width: 480px) {
    .ap-cart-panel {
        width: 100%;
        right: -100%;
        height: 74vh;
    }
}


/* ============================================
   SECCIÓN CONTACTO CON PARTICLES.JS
   ============================================ */

.ap-section-contact {
    position: relative;
    overflow: hidden;
    min-height: 90vh; /* Antes: 100vh - Más corto para mostrar más particles */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajustar título sección contacto */
.ap-section-contact .ap-section-title {
    position: relative;
    z-index: 2;
    text-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

/* Canvas de Particles (background) */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    z-index: 1;
}

/* Contenido sobre particles */
.ap-contact-content {
    position: relative;
    z-index: 2;
    padding-block: 5rem;
}


/* Info de contacto con background semi-transparente */
.ap-contact-info {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Formulario con background semi-transparente */
.ap-contact-form {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(212,175,55,0.2);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}

/* Estilos del formulario */
.ap-form-group {
    margin-bottom: 1.2rem;
}

.ap-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--ap-color-text);
    font-weight: 500;
}

.ap-form-group input,
.ap-form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: var(--ap-color-text);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.ap-form-group input:focus,
.ap-form-group textarea:focus {
    outline: none;
    border-color: var(--ap-color-gold);
    background: rgba(212,175,55,0.05);
    box-shadow: 0 0 0 3px rgba(212,175,55,0.1);
}

.ap-form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Lista de contacto */
.ap-contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.ap-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.ap-contact-list i {
    color: var(--ap-color-gold);
    font-size: 1.3rem;
    width: 24px;
    flex-shrink: 0;
    margin-top: 0.2rem;
}

.ap-contact-list strong {
    display: block;
    color: var(--ap-color-text);
    font-size: 0.95rem;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.ap-contact-list span {
    color: var(--ap-color-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

.ap-contact-list a {
    color: var(--ap-color-gold);
    text-decoration: none;
    transition: color 0.2s ease;
}

.ap-contact-list a:hover {
    color: var(--ap-color-gold-soft);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .ap-contact-content {
        padding-block: 3rem;
    }
    
    .ap-contact-info,
    .ap-contact-form {
        padding: 1.5rem;
    }
    
    #particles-js {
        background: #0a0a0a; /* Simplificar en móvil para mejor rendimiento */
    }
}

/* Animación sutil para los contenedores */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ap-contact-info,
.ap-contact-form {
    animation: fadeInUp 0.6s ease-out forwards;
}

.ap-contact-form {
    animation-delay: 0.2s;
}


/* ============================================
   SECCIÓN CONTACTO CON PARTICLES.JS
   ============================================ */

/* Canvas de Particles (background) */
#particles-js {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #000000 100%);
    z-index: 1;
}

/* Contenido centrado sobre particles */
.ap-contact-content {
    position: relative;
    z-index: 2;
    padding-block: 5rem;
    text-align: center;
}

/* TÍTULO GRANDE CON GRADIENTE DORADO */
.ap-contact-title-hero {
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 800;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 8px 24px rgba(212, 175, 55, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Nombre de la empresa */
.ap-contact-company {
    color: var(--ap-color-gold-soft);
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    margin-bottom: 2.5rem;
    font-weight: 600;
}

/* Container de info centrada - REDUCIDO */
.ap-contact-info-centered {
    max-width: 600px; /* Antes: 700px */
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(12px);
    padding: 2rem 2rem; /* Antes: 3rem 2.5rem */
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.25);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

/* Lista más compacta */
.ap-contact-list-centered {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 1.2rem; /* Antes: 2rem */
    text-align: left;
}

.ap-contact-list-centered li {
    display: flex;
    align-items: flex-start;
    gap: 1rem; /* Antes: 1.2rem */
    padding: 0.8rem; /* Antes: 1rem */
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}


.ap-contact-list-centered li:hover {
    background: rgba(212, 175, 55, 0.08);
    transform: translateX(8px);
}

.ap-contact-list-centered > li > i {
    color: var(--ap-color-gold);
    font-size: 1.5rem;
    width: 32px;
    flex-shrink: 0;
    margin-top: 0.3rem;
}

.ap-contact-list-centered strong {
    display: block;
    color: var(--ap-color-text);
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.ap-contact-list-centered span {
    color: var(--ap-color-muted);
    font-size: 1rem;
    line-height: 1.6;
    display: block;
}

.ap-contact-list-centered a {
    color: var(--ap-color-gold);
    text-decoration: none;
    transition: all 0.2s ease;
}

.ap-contact-list-centered a:hover {
    color: var(--ap-color-gold-soft);
    text-decoration: underline;
}

/* ENLACES CON ICONO DE MANO (TELÉFONO Y WHATSAPP) */
.ap-contact-link-click {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 1.2rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 999px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.ap-contact-link-click:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--ap-color-gold);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
    text-decoration: none !important;
}

.ap-contact-link-click i.fa-hand-pointer {
    font-size: 1.1rem;
    animation: pointPulse 2s ease-in-out infinite;
}

/* Animación del icono de mano */
@keyframes pointPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.15);
        opacity: 0.8;
    }
}

/* Items clickeables con efecto especial */
.ap-contact-clickable {
    background: rgba(212, 175, 55, 0.03) !important;
    border-left: 3px solid var(--ap-color-gold);
}

.ap-contact-clickable:hover {
    background: rgba(212, 175, 55, 0.12) !important;
}

/* Responsive */
@media (max-width: 768px) {
    .ap-contact-content {
        padding-block: 3rem;
    }
    
    .ap-contact-title-hero {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .ap-contact-info-centered {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }
    
    .ap-contact-company {
        font-size: 1.3rem;
    }
    
    .ap-contact-list-centered {
        gap: 1.5rem;
    }
    
    .ap-contact-list-centered li:hover {
        transform: translateX(4px);
    }
    
    .ap-contact-link-click {
        font-size: 0.95rem;
        padding: 0.5rem 1rem;
    }
}

@media (max-width: 480px) {
    .ap-contact-title-hero {
        font-size: 2rem;
    }
    
    .ap-contact-list-centered li {
        flex-direction: column;
        gap: 0.8rem;
        align-items: flex-start;
    }
    
    .ap-contact-list-centered > li > i {
        margin-top: 0;
    }
}

/* Animación entrada */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ap-contact-info-centered {
    animation: fadeInUp 0.8s ease-out forwards;
}


/* ============================================
   SECCIÓN BLOG - FRONT PAGE
   Layout: 1 post grande + 4 posts pequeños (grid 2x2)
   Hover: Overlay oscuro + botón "LEER +"
   ============================================ */

/**
 * SECCIÓN BLOG (Contenedor general)
 * - padding-block: Espaciado vertical generoso
 * - background: Negro de AuraPRO
 */
.ap-section-blog {
    padding-block:1rem;
    background: var(--ap-color-bg, #050506);
}

/**
 * HEADER DEL BLOG (Orejas de gato + Título)
 * - display: flex centrado
 * - gap: Espaciado entre imagen y título
 * - margin-bottom: Separación del contenido
 */
.ap-blog-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

/**
 * IMAGEN OREJAS DE GATO
 * - max-width: 120px para tamaño adecuado
 * - height: auto para mantener proporción
 * - RAZÓN: Acento visual premium con imagen personalizada
 */
.ap-blog-icon-img {
    max-width: 160px;
    height: auto;
    filter: drop-shadow(0 4px 12px rgba(212, 175, 55, 0.3));
    margin-bottom: 1.5em;
}

/**
 * TÍTULO BLOG CON DEGRADADO DORADO
 * - background: Degradado dorado AuraPRO
 * - -webkit-background-clip: text para aplicar degradado al texto
 * - -webkit-text-fill-color: transparent para que se vea el degradado
 * - font-size: Grande para impacto visual
 * - RAZÓN: Estilo premium con degradado dorado según solicitud
 */
.ap-blog-title-gradient {
    background: linear-gradient(135deg, 
        var(--ap-color-gold, #d4af37) 0%, 
        var(--ap-color-gold-soft, #f4e5a1) 50%, 
        var(--ap-color-gold, #d4af37) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    .ap-blog-icon-img {
        max-width: 100px;
    }

    .ap-blog-title-gradient {
        font-size: 3rem;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    .ap-blog-header {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .ap-blog-icon-img {
        max-width: 80px;
    }

    .ap-blog-title-gradient {
        font-size: 2rem;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL PEQUEÑO (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .ap-blog-icon-img {
        max-width: 68px;
        margin-bottom: 0.8em;
    }

    .ap-blog-title-gradient {
        font-size: 1.8rem;
    }
}


/**
 * LAYOUT PRINCIPAL (1 grande + grid de 4)
 * - display: grid con 2 columnas (50% cada una)
 * - gap: 2rem para separación
 * - RAZÓN: Layout según referencia (1 izquierda + 4 derecha)
 */
.ap-blog-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin: 3rem 12rem;
}

/**
 * POST DESTACADO (GRANDE) - Columna izquierda
 * - aspect-ratio: 3/4 para proporción vertical elegante
 * - position: relative para overlay
 * - border-radius: Esquinas redondeadas premium
 * - overflow: hidden para recortar imagen
 */
.ap-blog-featured {
    aspect-ratio: 3 / 4;
    position: relative;
    overflow: hidden;
    box-shadow: var(--ap-shadow-soft, 0 18px 45px rgba(0,0,0,0.55));
}

/**
 * GRID DE 4 POSTS PEQUEÑOS - Columna derecha
 * - display: grid con 2 columnas y 2 filas (2x2)
 * - gap: 2rem para separación
 */
.ap-blog-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
}

/**
 * POST PEQUEÑO
 * - aspect-ratio: 1 / 1 (cuadrado)
 * - position: relative para overlay
 * - border-radius: Esquinas redondeadas premium
 * - overflow: hidden para recortar imagen
 */
.ap-blog-small {
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    box-shadow: var(--ap-shadow-soft, 0 18px 45px rgba(0,0,0,0.55));
}

/**
 * LINK DEL BLOG (wrapper de cada card)
 * - display: block para ocupar todo el espacio
 * - height: 100% para llenar el contenedor
 * - text-decoration: none
 */
.ap-blog-link {
    display: block;
    height: 100%;
    text-decoration: none;
    position: relative;
}

/**
 * IMAGEN DEL POST
 * - width: 100%
 * - height: 100%
 * - object-fit: cover para llenar sin deformar
 * - transition: transform para efecto zoom en hover
 */
.ap-blog-image {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.ap-blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/**
 * PLACEHOLDER SI NO HAY IMAGEN
 * - background: Gradiente oscuro
 * - display: flex centrado
 * - Ícono dorado
 */
.ap-blog-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.ap-blog-placeholder i {
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.3);
}


/**
 * TÍTULO VISIBLE SIEMPRE (sin hover)
 * - position: absolute en la parte superior
 * - background: Gradiente negro para legibilidad
 * - padding: Espaciado interno
 * - z-index: 2 para estar encima de la imagen
 * - RAZÓN: Título visible antes del hover según solicitud
 */
.ap-blog-title-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    background: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.7) 50%, rgba(0,0,0,0) 100%);
    z-index: 2;
}

.ap-blog-title-static h3 {
    font-family: var(--ap-font-heading, 'Raleway', sans-serif);
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/**
 * OVERLAY MODIFICADO (solo para botón LEER +)
 * - Ahora solo muestra el botón en el centro
 * - El título ya está visible arriba permanentemente
 */
.ap-blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3; /* Encima del título */
}

/**
 * RESPONSIVE - MÓVIL
 * - Reducir padding del título en móvil
 */
@media (max-width: 768px) {
    .ap-blog-title-static {
        padding: 1rem;
    }

    .ap-blog-title-static h3 {
        font-size: 1rem;
    }
}

/**
 * HOVER: Mostrar overlay + zoom en imagen
 * - opacity: 1 para mostrar overlay
 * - transform: scale(1.05) para zoom sutil en imagen
 */
.ap-blog-link:hover .ap-blog-overlay {
    opacity: 1;
}

.ap-blog-link:hover .ap-blog-image img {
    transform: scale(1.05);
}

/**
 * TÍTULO DEL POST (dentro del overlay)
 * - font-family: Raleway (headings)
 * - font-size: Responsivo con clamp()
 * - color: Blanco
 * - text-align: center
 * - margin-bottom: Separación del botón
 */
.ap-blog-title {
    font-family: var(--ap-font-heading, 'Raleway', sans-serif);
    font-size: clamp(1rem, 2vw, 1.5rem);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

/**
 * BOTÓN "LEER +" (dentro del overlay)
 * - display: inline-flex para centrar ícono
 * - padding: Espaciado interno
 * - background: Dorado AuraPRO
 * - color: Negro
 * - border-radius: Pill (999px)
 * - font-weight: 700 (bold)
 * - transition: transform para efecto hover
 * - RAZÓN: Call to action claro y premium
 */
.ap-blog-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.8rem;
    background: var(--ap-color-gold, #d4af37);
    color: #000000;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--ap-font-body, 'Poppins', sans-serif);
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.ap-blog-read-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.6);
}

/**
 * CONTENEDOR DEL BOTÓN "VER MÁS ARTÍCULOS"
 * - text-align: center para centrar botón
 * - margin-top: Separación del grid
 */
.ap-blog-more {
    text-align: center;
    margin-top: 3rem;
}

/**
 * BOTÓN "VER MÁS ARTÍCULOS"
 * - display: inline-flex para centrar ícono
 * - padding: Generoso para área táctil
 * - background: Dorado AuraPRO
 * - color: Negro
 * - border-radius: Pill (999px)
 * - font-weight: 700 (bold)
 * - transition: transform + box-shadow para hover premium
 * - RAZÓN: CTA principal para navegación al blog
 */
.ap-btn-more-posts {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: var(--ap-color-gold, #d4af37);
    color: #000000;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1rem;
    font-family: var(--ap-font-body, 'Poppins', sans-serif);
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.ap-btn-more-posts:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

.ap-btn-more-posts i {
    transition: transform 0.3s ease;
}

.ap-btn-more-posts:hover i {
    transform: translateX(4px);
}

/**
 * MENSAJE DE BLOG VACÍO
 * - text-align: center
 * - padding: Generoso
 * - color: Muted
 */
.ap-blog-empty {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--ap-color-muted, #b0b0b0);
}

.ap-blog-empty i {
    font-size: 3rem;
    color: var(--ap-color-gold, #d4af37);
    margin-bottom: 1rem;
}

.ap-blog-empty p {
    font-size: 1.1rem;
    font-family: var(--ap-font-body, 'Poppins', sans-serif);
}

/* ============================================
   RESPONSIVE - TABLET (max-width: 1024px)
   ============================================ */
@media (max-width: 1024px) {
    /**
     * Reducir gap en tablet
     */
    .ap-blog-layout {
        gap: 1.5rem;
    }

    .ap-blog-grid {
        gap: 1.5rem;
    }

    /**
     * Post destacado: Reducir aspect-ratio
     */
    .ap-blog-featured {
        aspect-ratio: 4 / 5;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL (max-width: 768px)
   ============================================ */
@media (max-width: 768px) {
    /**
     * CAMBIAR A LAYOUT VERTICAL EN MÓVIL
     * - grid-template-columns: 1fr (1 columna)
     * - RAZÓN: Mejor legibilidad en pantallas pequeñas
     */
    .ap-blog-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /**
     * Grid de 4 posts: 1 columna en móvil
     * - Apilar verticalmente
     */
    .ap-blog-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 2rem;
    }

    /**
     * Post destacado: Reducir altura en móvil
     */
    .ap-blog-featured {
        aspect-ratio: 16 / 9;
    }

    /**
     * Posts pequeños: Cambiar a proporción horizontal
     */
    .ap-blog-small {
        aspect-ratio: 16 / 9;
    }

    /**
     * Título del blog: Reducir tamaño en móvil
     */
    .ap-blog-title {
        font-size: 1.2rem;
    }

    /**
     * Botón "LEER +": Reducir padding en móvil
     */
    .ap-blog-read-btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }

    /**
     * Ícono patita: Más pequeño en móvil
     */
    .ap-blog-icon {
        font-size: 1.5rem;
    }

    /**
     * Sección blog: Reducir padding en móvil
     */
    .ap-section-blog {
        padding-block: 3rem;
    }
}

/* ============================================
   RESPONSIVE - MÓVIL PEQUEÑO (max-width: 480px)
   ============================================ */
@media (max-width: 480px) {
    .ap-blog-header {
        gap: 0.8rem;
        margin-bottom: 2rem;
    }

    .ap-btn-more-posts {
        padding: 0.8rem 2rem;
        font-size: 0.9rem;
    }

    .ap-blog-overlay {
        padding: 1.5rem;
    }
    .ap-blog-layout {
    margin: 1rem 2rem;
}
}



/* ============================================
   SECCIÓN CÓMO FUNCIONA AURAPRO - REDISEÑADA
   ============================================ */

.ap-section-how-it-works {
    background: var(--ap-color-bg);
    padding-block: 5rem;
    position: relative;
    overflow: hidden;
}

/* ========== TÍTULO PRINCIPAL CON LÍNEAS ========== */

.ap-how-title-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0rem;
    margin-bottom: -8rem;
    margin-top: -12rem;
    position: relative;
}

.ap-title-line {
    flex-shrink: 0;
    height: auto;
    width: 100%;
    max-width: 400px;
    object-fit: contain;
    opacity: 0.8;
    margin-top: -32px;
}

.ap-title-line-left {
    /* Línea izquierda sin inversión */
}

.ap-title-line-right {
    /* Línea derecha sin inversión */
}

/* IMAGEN DEL TÍTULO (REEMPLAZA TEXTO) */
.ap-how-title-img {
    flex-shrink: 0;
    height: auto;
    max-width: 540px;
    width: 100%;
    object-fit: contain;
    z-index: 2;
}

/* ========== GRID DE 3 CÍRCULOS SUPERIORES ========== */

.ap-how-circles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-inline: auto;
}

.ap-how-circle-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.ap-how-circle-bg {
    position: relative;
    width: 100%;
    max-width: 350px;
    aspect-ratio: 1;
}

.ap-circle-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ap-circle-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    z-index: 2;
}

.ap-circle-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1rem, 2vw, 1.4rem);
    font-weight: 500;
    color: var(--ap-color-gold-soft);
    margin-bottom: 1rem;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ap-circle-text {
    font-family: 'Acumin Pro', 'Poppins', sans-serif;
    font-size: clamp(0.8rem, 1.5vw, 1rem);
    color: #d0d0d0;
    line-height: 1.5;
    margin: 0;
}

/* ========== LÍNEA DIVISORIA DORADA ========== */

.ap-how-divider {
    display: flex;
    justify-content: center;
    margin-block: -16rem; /* AJUSTE: Reducir espacio vertical */
}

.ap-divider-img {
    width: 100%;
    max-width: 800px;
    height: auto;
}

/* ========== GRID DE 4 PASOS ========== */

.ap-how-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin-inline: auto;
}

.ap-how-step-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.ap-step-icon {
    width: 100%;
    max-width: 180px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.ap-step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ap-step-title {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 100;
    color: var(--ap-color-gold-soft);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ap-step-text {
    font-family: 'Acumin Pro', 'Poppins', sans-serif;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    color: #b0b0b0;
    line-height: 1.7;
    margin: 0;
    max-width: 280px;
}

/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 1200px) {
    .ap-how-circles-grid {
        gap: 2rem;
    }
    
    .ap-how-steps-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 1024px) {
    .ap-how-steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .ap-section-how-it-works {
        padding-block: 3rem;
    }
    
    .ap-how-title-wrapper {
        flex-direction: column;
        gap: 0rem;
        margin-bottom: 0rem;
    }
    
    .ap-title-line {
        max-width: 300px;
        margin-top: 8rem;
    }
    
    .ap-how-title-img {
        max-width: 440px;
        margin: -15rem 0rem -25rem 0rem;
    }
    
    /* Círculos en columna en móvil */
    .ap-how-circles-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        max-width: 350px;
    }
    
    .ap-how-divider {
        margin-block: -8rem; /* AJUSTE: Responsive */
    }
    
    .ap-divider-img {
        max-width: 333px; /* AJUSTE: Responsive */
    }
    
    /* Pasos en columna en móvil */
    .ap-how-steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        max-width: 350px;
        margin-inline: auto;
    }
    
    .ap-step-icon {
        max-width: 150px;
    }
}

@media (max-width: 480px) {
    .ap-title-line {
        max-width: 300px;
    }
    
    .ap-how-title-img {
        max-width: 400px;
        margin: -12rem 0rem -22rem 0rem
    }
    
    .ap-circle-title {
        font-size: 0.95rem;
    }
    
    .ap-circle-text {
        font-size: 0.8rem;
    }
    
    .ap-step-title {
        font-size: 0.95rem;
    }
    
    .ap-step-text {
        font-size: 0.85rem;
    }
    
    .ap-how-divider {
        margin-block: -6rem; /* AJUSTE: Móviles pequeños */
    }
    
    .ap-divider-img {
        max-width: 250px; /* AJUSTE: Móviles pequeños */
    }
}

/* ========== ANIMACIONES DE ENTRADA ========== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ap-how-circle-item,
.ap-how-step-item {
    animation: fadeInUp 0.6s ease-out forwards;
}

.ap-how-circle-item:nth-child(1) {
    animation-delay: 0.1s;
}

.ap-how-circle-item:nth-child(2) {
    animation-delay: 0.2s;
}

.ap-how-circle-item:nth-child(3) {
    animation-delay: 0.3s;
}

.ap-how-step-item:nth-child(1) {
    animation-delay: 0.4s;
}

.ap-how-step-item:nth-child(2) {
    animation-delay: 0.5s;
}

.ap-how-step-item:nth-child(3) {
    animation-delay: 0.6s;
}

.ap-how-step-item:nth-child(4) {
    animation-delay: 0.7s;
}

/* ============================================
   SECCIÓN QUIÉNES SOMOS / EL ORIGEN AURAPRO
   ============================================ */

.ap-section-about {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-block: 0;
    flex-wrap: wrap;
}

/* ========== BACKGROUND: IMAGEN DEL GATO ========== */

.ap-about-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ap-about-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: left center;
}

/* ========== CONTENEDOR PRINCIPAL ========== */

.ap-about-container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: flex-end; /* Alinea contenido a la derecha */
    align-items: center;
    min-height: 100vh;
    padding: 3rem 0rem;
    max-width: 100%;
}

/* ========== LADO IZQUIERDO: VACÍO (GATO DE FONDO) ========== */

.ap-about-left {
    display: none; /* Ya no se usa en el nuevo layout */
}

/* ========== LADO DERECHO: CONTENIDO ========== */

.ap-about-right {
    width: 100%; /* Ocupa 50% del ancho total */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
}

.ap-about-content-box {
    padding: 2.5rem 2rem;
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.6);
    width: 70%; /* AJUSTE: Ocupa 70% del lado derecho (35% del total) */
    max-width: 550px;
    text-align: center;
}

/* ========== ICONO OREJAS DE GATO ========== */

.ap-about-icon {
    margin-bottom: 1.2rem;
    display: flex;
    justify-content: center;
}

.ap-about-ears-icon {
    width: 100%;
    max-width: 160px; /* Reducido de 200px */
    height: auto;
    object-fit: contain;
}

/* ========== TÍTULO PRINCIPAL ========== */

.ap-about-title {
    /*font-family: 'Calder Dark', serif;*/
    font-size: clamp(1.6rem, 3.5vw, 2.4rem); /* Reducido */
    font-weight: 700;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
}

.ap-about-title {
    background: linear-gradient(135deg, #d4af37 0%, #f4e5a1 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ap-about-title-pro {
    background: linear-gradient(135deg, #f4e5a1 0%, #d4af37 50%, #d4af37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== SUBTÍTULO ========== */

.ap-about-subtitle {
    font-family: 'Raleway', sans-serif;
    font-size: clamp(0.75rem, 1.5vw, 0.95rem); /* Reducido */
    font-weight: 600;
    color: #c3b89e;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ========== CONTENIDO DE TEXTO ========== */

.ap-about-text {
    text-align: justify;
}

.ap-about-text p {
    font-family: 'Acumin Pro', 'Poppins', sans-serif;
    font-size: clamp(0.8rem, 1.4vw, 0.92rem); /* Reducido */
    color: #f5f5f5;
    line-height: 1.7; /* Reducido de 1.8 */
    margin-bottom: 1.2rem; /* Reducido de 1.5rem */
}

.ap-about-text p:last-child {
    margin-bottom: 0;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Tablet */
@media (max-width: 1200px) {
    .ap-about-right {
        width: 70%; /* Más ancho en tablets */
    }
    
    .ap-about-content-box {
        width: 80%; /* 80% del 55% */
        max-width: 500px;
        padding: 2rem 1.5rem;
    }
}

@media (max-width: 1024px) {
    .ap-about-container {
        justify-content: center;
        padding-block: 3rem;
    }
    
    .ap-about-right {
        width: 100%;
    }
    
    .ap-about-content-box {
        width: 70%;
        max-width: 600px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .ap-section-about {
        min-height: auto;
        background: #000000;
    }
    
    /* Gato solo en la parte superior */
    .ap-about-bg {
        position: relative;
        height: 46vh;
        min-height: 300px;
    }
    
    .ap-about-bg-img {
        object-position: left;
    }
    
    .ap-about-container {
        position: relative;
        background: #000000;
        min-height: auto;
        padding-block: 2rem;
        justify-content: center;
    }
    
    .ap-about-right {
        padding: 1.5rem;
        width: 100%;
    }
    
    .ap-about-content-box {
        width: 85%;
        margin: 0 auto;
        padding: 2rem 1.5rem;
        background: rgba(0, 0, 0, 0.95);
    }
    
    .ap-about-ears-icon {
        max-width: 130px;
    }
    
    .ap-about-title {
        font-size: 1.6rem;
        margin-bottom: 1rem;
    }
    
    .ap-about-subtitle {
        font-size: 0.75rem;
        margin-bottom: 1.3rem;
    }
    
    .ap-about-text p {
        font-size: 0.85rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .ap-about-bg {
        height: 45vh;
        min-height: 250px;
    }
    
    .ap-about-content-box {
        width: 90%;
        padding: 1.5rem 1rem;
    }
    
    .ap-about-ears-icon {
        max-width: 110px;
    }
    
    .ap-about-title {
        font-size: 1.4rem;
    }
    
    .ap-about-subtitle {
        font-size: 0.7rem;
        line-height: 1.4;
    }
    
    .ap-about-text p {
        font-size: 0.8rem;
        margin-bottom: 0.9rem;
    }
}

/* ========== ANIMACIONES ========== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.ap-about-content-box {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* ============================================
   SECCIÓN NUESTRO PRODUCTO - MEJORADA
   ============================================ */

.ap-section-product {
    background: #ffffff;
    padding: 0;
    position: relative;
}

/* ========== LÍNEAS DORADAS SUPERIOR E INFERIOR ========== */

.ap-product-line-top,
.ap-product-line-bottom {
    height: 8px;
    width: 100%;
    background: linear-gradient(90deg, 
        #8B6F3F 0%, 
        #d4af37 25%, 
        #f4e5a1 50%, 
        #d4af37 75%, 
        #8B6F3F 100%
    );
}

/* ========== HEADER: TÍTULO CON FONDO NEGRO ========== */

.ap-product-header {
    background: var(--ap-color-primary);
    /*padding-block: 1.5rem;*/
    text-align: center;
}

.ap-product-title-img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

/* ========== CONTENIDO PRINCIPAL: 3 COLUMNAS ========== */

.ap-product-main {
    padding-block: 2rem;
}

.ap-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

/* ========== COLUMNA IZQUIERDA: CARACTERÍSTICAS ========== */

.ap-product-features {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

/* 30 DÍAS - ANCHO COMPLETO SIN PADDING */
.ap-product-days {
    width: 100%;
    margin: 0;
    padding: 0;
}

.ap-days-img {
    width: 100%;
    height: auto;
    display: block;
}

/* ICONOS - MÁS CERCA DE 30 DÍAS */
.ap-product-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

.ap-product-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    
    max-width: 100px;
}

.ap-icon-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ap-icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ap-icon-text {
    font-family: var(--ap-font-body);
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--ap-color-primary);
    text-align: center;
    line-height: 1.3;
    text-transform: uppercase;
    margin: 0;
}

/* TEXTO DESCRIPTIVO */
.ap-product-description {
    font-family: var(--ap-font-body);
    font-size: 1rem;
    color: var(--ap-color-primary);
    text-align: center;
    line-height: 1.1;
    margin: 0 auto 1.5rem;
    max-width: 320px;
}

/* BOTÓN TECNOLOGÍA CON TEXTO */
.ap-product-btn-tech {
    font-family: var(--ap-font-heading);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: inline-block;
    padding: 0.9rem 2rem;
    background: linear-gradient(135deg, var(--ap-color-gold) 0%, var(--ap-color-gold-soft) 100%);
    color: var(--ap-color-primary);
    text-decoration: none;
    border-radius: 26px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 16px rgba(212, 175, 55, 0.3);
    margin: 0 auto;
}

.ap-product-btn-tech:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(212, 175, 55, 0.4);
    text-decoration: none;
    color: #ffffff; /* NUEVO: Letras blancas en hover */
}

/* Asegurar que no haya estilos de enlace por defecto */
.ap-product-btn-tech:visited,
.ap-product-btn-tech:focus,
.ap-product-btn-tech:active {
    color: var(--ap-color-primary);
    text-decoration: none;
}

.ap-product-btn-tech:hover:visited,
.ap-product-btn-tech:hover:focus,
.ap-product-btn-tech:hover:active {
    color: #ffffff;
    text-decoration: none;
}


/* ========== COLUMNA CENTRO: IMAGEN DEL PRODUCTO ========== */

.ap-product-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.ap-product-img-main {
    max-width: 100%;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.25));
}

/* ========== COLUMNA DERECHA: INFO Y COMPRA ========== */

.ap-product-buy {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    /*padding: 2rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: var(--ap-radius-lg);*/
}

/* LOGO */
.ap-product-logo {
    margin-bottom: 0.5rem;
}

.ap-product-logo img {
    max-width: 250px;
    width: 100%;
    height: auto;
}

/* TÍTULO */
.ap-product-name {
    font-family: var(--ap-font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ap-color-primary);
    text-align: center;
    margin: 0;
    letter-spacing: 0.05em;
}

/* LÍNEA DORADA SEPARADORA */
.ap-product-separator {
    width: 100%;
    max-width: 350px;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        var(--ap-color-gold) 20%, 
        var(--ap-color-gold-soft) 50%, 
        var(--ap-color-gold) 80%, 
        transparent 100%
    );
    margin-block: 0.5rem;
}

/* SUBTÍTULO */
.ap-product-subtitle {
    font-family: var(--ap-font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ap-color-muted);
    text-align: center;
    margin: 0;
    letter-spacing: 0.05em;
}

/* DESCRIPCIÓN */
.ap-product-text {
    font-family: var(--ap-font-body);
    font-size: 0.9rem;
    color: var(--ap-color-primary);
    text-align: justify;
    line-height: 1.1;
    margin: 0;
    max-width: 350px;
}

/* PRECIO */
.ap-product-price {
    font-family: var(--ap-font-title);
    font-size: 2rem;
    font-weight: 600;
    color: var(--ap-color-primary);
    transition: color 0.3s ease;
}

/* FORMULARIO */
.ap-product-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* SELECTOR DE PRESENTACIÓN */
.ap-product-selector {
    width: 100%;
}

.ap-selector-label {
    font-family: var(--ap-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ap-color-primary);
    display: block;
    margin-bottom: 0.8rem;
    text-align: center;
}

.ap-selector-options {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
}

.ap-selector-btn {
    font-family: var(--ap-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.2rem;
    border: 2px solid var(--ap-color-primary);
    background: var(--ap-color-primary); /* NUEVO: Fondo negro */
    color: #ffffff; /* NUEVO: Letras blancas */
    border-radius: var(--ap-radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.ap-selector-btn:hover {
    background: linear-gradient(135deg, var(--ap-color-gold) 0%, var(--ap-color-gold-soft) 100%);
    border-color: var(--ap-color-gold);
    color: var(--ap-color-primary);
}

.ap-selector-btn.active {
    background: linear-gradient(135deg, var(--ap-color-gold) 0%, var(--ap-color-gold-soft) 100%); /* NUEVO: Degradado dorado */
    border-color: var(--ap-color-gold);
    color: var(--ap-color-primary); /* NUEVO: Letras negras */
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

/* SELECTOR DE CANTIDAD */
.ap-product-quantity {
    width: 100%;
}

.ap-quantity-label {
    font-family: var(--ap-font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ap-color-primary);
    display: block;
    margin-bottom: 0.8rem;
    text-align: center;
}

.ap-quantity-input {
    font-family: var(--ap-font-body);
    font-size: 1rem;
    width: 100%;
    max-width: 150px;
    margin: 0 auto;
    display: block;
    padding: 0.8rem;
    border: 2px solid var(--ap-color-primary);
    border-radius: var(--ap-radius-md);
    text-align: center;
    background: #ffffff;
}

/* BOTÓN AÑADIR AL CARRITO */
.ap-btn-add-cart {
    font-family: var(--ap-font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--ap-color-gold) 0%, var(--ap-color-gold-soft) 100%);
    color: var(--ap-color-primary);
    border: none;
    border-radius: 26px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
}

.ap-btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.4);
}

.ap-btn-add-cart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.ap-btn-add-cart.loading {
    background: linear-gradient(135deg, #888 0%, #aaa 100%);
}

.ap-btn-add-cart.success {
    background: linear-gradient(135deg, #4CAF50 0%, #8BC34A 100%);
}


/* ========== RESPONSIVE DESIGN ========== */

@media (max-width: 1200px) {
    .ap-product-grid {
        gap: 2rem;
    }
    
    .ap-icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .ap-icon-text {
        font-size: 0.65rem;
    }
}

@media (max-width: 1024px) {
    .ap-product-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .ap-product-features,
    .ap-product-image,
    .ap-product-buy {
        max-width: 600px;
        margin: 0 auto;
        width: 100%;
    }
    
    .ap-product-img-main {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .ap-product-line-top,
    .ap-product-line-bottom {
        height: 6px;
    }
    
    .ap-product-header {
        padding-block: 1.2rem;
    }
    
    .ap-product-title-img {
        max-width: 300px;
    }
    
    .ap-product-main {
        padding-block: 2.5rem;
    }
    
    .ap-product-icons {
        gap: 1rem;
        margin-top: 0.8rem;
    }
    
    .ap-product-icon-item {
        max-width: 80px;
    }
    
    .ap-icon-circle {
        width: 60px;
        height: 60px;
    }
    
    .ap-icon-text {
        font-size: 0.6rem;
    }
    
    .ap-product-description {
        font-size: 0.9rem;
    }
    
    .ap-product-btn-tech {
        font-size: 0.85rem;
        padding: 0.8rem 1.8rem;
    }
    
    .ap-product-img-main {
        max-width: 320px;
    }
    
    .ap-product-buy {
        padding: 1.5rem;
    }
    
    .ap-product-price {
        font-size: 2rem;
    }
    .ap-footer-grid {
        grid-template-columns: 1fr; /* De 4 columnas a 1 */
        text-align: center;
    }
}

@media (max-width: 480px) {
    .ap-product-title-img {
        max-width: 250px;
    }
    
    /*.ap-product-icons {
        flex-direction: column;
        gap: 1.2rem;
    } */
    
    .ap-product-icon-item {
        max-width: 120px;
    }
    
    .ap-icon-circle {
        width: 70px;
        height: 70px;
    }
    
    .ap-selector-options {
        flex-wrap: wrap;
    }
    
    .ap-selector-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

/* ========== ANIMACIONES ========== */

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.ap-product-img-main {
    animation: fadeInScale 0.8s ease-out forwards;
}


/* ============================================
   SPINNER DE CARGA - PATITAS DE GATO
   ============================================ */

.ap-cart-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ap-cart-loading.active {
    opacity: 1;
    visibility: visible;
}

/* Spinner con patitas */
.ap-spinner-paws {
    position: relative;
    width: 60px;
    height: 60px;
    animation: spin 1.2s linear infinite;
}

.ap-spinner-paws::before,
.ap-spinner-paws::after {
    content: '🐾';
    position: absolute;
    font-size: 2rem;
    animation: pulse 1.2s ease-in-out infinite;
}

.ap-spinner-paws::before {
    top: 0;
    left: 0;
    animation-delay: 0s;
}

.ap-spinner-paws::after {
    bottom: 0;
    right: 0;
    animation-delay: 0.6s;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(0.8);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.ap-cart-loading-text {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--ap-color-primary);
    font-weight: 600;
    text-align: center;
}



/* ============================================
   CARRITO ESTILO PANTALLAZO (DARK PREMIUM)
   ============================================ */

/* Fondo del panel */
.ap-cart-panel {
    background: #050506; /* Fondo negro profundo */
    border-left: 1px solid #222;
}


.ap-cart-header {
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    background: #050506;
}
.ap-cart-header h3 {
    color: #d4af37; /* Dorado AuraPRO */
}

/* Item Card - Estilo Tarjeta Oscura */
.ap-cart-item {
    background: var(--ap-color-text); /* Tarjeta gris muy oscura */
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    padding: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.ap-cart-item-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

/* Título Producto */
.ap-item-title a {
    color: var(--ap-color-gold-soft);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2em;
    text-decoration: none;
    font-family: var(--ap-font-title);
}

/* Peso / Variación */
.ap-item-meta {
    color: #888;
    font-size: 0.85rem;
}

/* Precio Dorado */
.ap-item-price-row {
    color: #d4af37;
    font-weight: 600;
    font-size: 0.95rem;
    margin-block: 0.2rem 0.5rem;
}

/* Selector de Cantidad (Píldora Oscura) */
.ap-qty-selector {
    display: inline-flex;
    align-items: center;
    background: #050506;
    border: 1px solid #333;
    border-radius: 999px;
    padding: 4px;
    width: fit-content;
}

.ap-qty-btn {
    background: transparent;
    border: none;
    color: #d4af37; /* Signos dorados */
    font-size: 1.1rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}
.ap-qty-btn:hover {
    color: #fff;
    background: transparent;
}

.ap-qty-input {
    background: transparent;
    border: none;
    color: #fff;
    width: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0;
}
.ap-qty-input:focus {
    outline: none;
}

/* Botón Eliminar (Círculo Rojo) */
.ap-cart-remove {
    background: rgba(255, 77, 77, 0.1);
    border: 1px solid rgba(255, 77, 77, 0.2);
    color: #ff4d4d;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
}

/* Footer (Totales) */
.ap-cart-footer {
    background: #050506;
    border-top: 1px solid #222;
}
.ap-cart-total {
    color: #fff;
    font-size: 1.1rem;
}
.ap-cart-total strong {
    color: #d4af37;
    font-size: 1.3rem;
}

.ap-btn-checkout {
    background: #d4af37; /* Dorado sólido */
    color: #000;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 99px;
    padding: 1rem;
    display: block;
    text-align: center;
    text-decoration: none;
    margin-top: 1rem;
    transition: transform 0.2s;
}
.ap-btn-checkout:hover {
    transform: translateY(-2px);
    background: #eaca5e;
    color: #000;
}