/*
Theme Name: Mundo Pau Pau Theme
Theme URI: https://mundopaupau.cl
Author: QuieroVentas.cl
Author URI: https://quieroventas.cl
Description: Tema personalizado hermoso y elegante para tienda de ropa femenina Mundo Pau Pau
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mundopaupau
*/

/* ================================
   RESET Y VARIABLES CSS
   ================================ */
:root {
    --rosa-pastel: #FFB6C1;
    --rosa-fuerte: #FF69B4;
    --dorado: #D4AF37;
    --rose-gold: #B76E79;
    --blanco: #FFFFFF;
    --negro: #000000;
    --gris-claro: #F5F5F5;
    --gris-medio: #CCCCCC;
    --sombra: rgba(0, 0, 0, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Montserrat', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--negro);
    background: var(--blanco);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 60px;
}

/* ================================
   HEADER
   ================================ */
.site-header {
    background: var(--blanco);
    box-shadow: 0 2px 15px var(--sombra);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-container {
    flex: 0 0 180px;
    animation: fadeInDown 0.8s ease;
}

.logo-container img {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo-container:hover img {
    transform: scale(1.05);
}

/* Navegación */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 40px;
    align-items: center;
}

.main-navigation a {
    font-weight: 500;
    font-size: 16px;
    color: var(--negro);
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--rosa-fuerte), var(--dorado));
    transition: width 0.4s ease;
}

.main-navigation a:hover::after,
.main-navigation a.active::after {
    width: 100%;
}

.main-navigation a:hover {
    color: var(--rosa-fuerte);
}

/* Botón Carrito en Header */
.header-cart {
    position: relative;
    background: linear-gradient(135deg, var(--rosa-fuerte), var(--rosa-pastel));
    color: var(--blanco);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.header-cart:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.4);
}

.header-cart i {
    font-size: 22px;
}

.header-cart .cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--dorado);
    color: var(--blanco);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Botón WhatsApp en Header */
.header-whatsapp {
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--blanco);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transition: all 0.3s ease;
}

.header-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ================================
   CARRITO SIDEBAR
   ================================ */
.cart-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: none;
}

.cart-sidebar.active {
    pointer-events: all;
}

.cart-sidebar-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cart-sidebar.active .cart-sidebar-overlay {
    opacity: 1;
}

.cart-sidebar-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--blanco);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cart-sidebar.active .cart-sidebar-content {
    transform: translateX(0);
}

.cart-sidebar-header {
    background: linear-gradient(135deg, var(--rosa-fuerte), var(--rosa-pastel));
    color: var(--blanco);
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-sidebar-header h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-sidebar-close {
    background: transparent;
    border: none;
    color: var(--blanco);
    font-size: 24px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.cart-sidebar-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.cart-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-sidebar-body::-webkit-scrollbar {
    width: 8px;
}

.cart-sidebar-body::-webkit-scrollbar-track {
    background: var(--gris-claro);
}

.cart-sidebar-body::-webkit-scrollbar-thumb {
    background: var(--rosa-pastel);
    border-radius: 10px;
}

.cart-sidebar-body::-webkit-scrollbar-thumb:hover {
    background: var(--rosa-fuerte);
}

/* Menú Móvil Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 30px;
    height: 3px;
    background: var(--negro);
    margin: 4px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

/* ================================
   HERO SLIDER
   ================================ */
.hero-slider {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--blanco);
    z-index: 2;
    width: 90%;
    max-width: 700px;
    animation: fadeInUp 1s ease;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.5), rgba(180, 110, 121, 0.5));
    z-index: 1;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-content p {
    font-size: 22px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--rosa-fuerte), var(--dorado));
    color: var(--blanco);
    padding: 18px 45px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 8px 25px rgba(255, 105, 180, 0.4);
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease 0.6s both;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(255, 105, 180, 0.6);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.slider-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--blanco);
    width: 40px;
    border-radius: 10px;
}

/* ================================
   SECCIONES GENERALES
   ================================ */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: 700;
    color: var(--negro);
    margin-bottom: 15px;
    position: relative;
    animation: fadeInUp 0.8s ease;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--rosa-fuerte), var(--dorado));
    margin: 15px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666;
    margin-bottom: 50px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

/* ================================
   PRODUCTOS GRID
   ================================ */
.products-grid {
    margin-top: 40px;
    width: 100%;
}

.product-card {
    background: var(--blanco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--sombra);
    transition: all 0.4s ease;
    position: relative;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.product-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info {
    padding: 20px;
    text-align: center;
}

.product-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--negro);
}

.product-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--rosa-fuerte);
    margin-bottom: 15px;
}

.add-to-cart-btn {
    background: linear-gradient(135deg, var(--rosa-fuerte), var(--rosa-pastel));
    color: var(--blanco);
    padding: 12px 30px;
    border-radius: 25px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

/* ================================
   SECCIÓN INFORMATIVA
   ================================ */
.info-section {
    background: var(--gris-claro);
    padding: 80px 0;
}

.info-content {
    display: flex;
    align-items: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.info-image {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px var(--sombra);
}

.info-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.info-image:hover img {
    transform: scale(1.05);
}

.info-text {
    flex: 1;
}

.info-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
    color: var(--negro);
}

.info-text p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--rosa-fuerte), var(--dorado));
    color: var(--blanco);
    padding: 16px 40px;
    border-radius: 30px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(255, 105, 180, 0.3);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 105, 180, 0.5);
}

/* ================================
   CTA SECTION
   ================================ */
.cta-section {
    background: linear-gradient(135deg, var(--rosa-pastel), var(--rosa-fuerte));
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.cta-section h2 {
    font-size: 48px;
    color: var(--blanco);
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    background: var(--blanco);
    color: var(--rosa-fuerte);
    font-size: 20px;
    padding: 20px 50px;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary:hover {
    background: var(--negro);
    color: var(--blanco);
}

/* ================================
   CONTACTO WHATSAPP SECTION
   ================================ */
.whatsapp-section {
    background: #F9F9F9;
    padding: 80px 0;
    text-align: center;
}

.whatsapp-section h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.whatsapp-section p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #25D366, #128C7E);
    color: var(--blanco);
    padding: 20px 45px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4);
    transition: all 0.4s ease;
}

.whatsapp-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.6);
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
    background: linear-gradient(135deg, #2C2C2C, #1a1a1a);
    color: var(--blanco);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
    padding: 0 20px;
}

.footer-section h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: var(--rosa-pastel);
}

.footer-logo img {
    height: 80px;
    margin-bottom: 20px;
}

.footer-section p {
    line-height: 1.8;
    color: #CCC;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    color: #CCC;
    transition: all 0.3s ease;
}

.footer-section a:hover {
    color: var(--rosa-pastel);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

.footer-bottom p {
    margin: 5px 0;
}

/* ================================
   PÁGINA NOSOTROS
   ================================ */
.about-page {
    padding: 80px 0;
}

.about-hero {
    text-align: center;
    margin-bottom: 60px;
}

.about-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--rosa-fuerte), var(--dorado));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    font-size: 18px;
    line-height: 2;
    color: #333;
}

.about-content p {
    margin-bottom: 25px;
}

.about-content ul {
    list-style: none;
    margin: 30px 0;
}

.about-content ul li {
    padding-left: 30px;
    margin-bottom: 15px;
    position: relative;
}

.about-content ul li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--rosa-fuerte);
    font-weight: bold;
    font-size: 20px;
}

/* ================================
   PÁGINA CONTACTO
   ================================ */
.contact-page {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-form-wrapper h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--negro);
}

.form-group input,
.form-group textarea {
    padding: 15px;
    border: 2px solid var(--gris-medio);
    border-radius: 10px;
    font-size: 16px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rosa-fuerte);
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.2);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, var(--rosa-fuerte), var(--dorado));
    color: var(--blanco);
    padding: 16px 40px;
    border: none;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 105, 180, 0.4);
}

.contact-info h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--gris-claro);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: var(--rosa-pastel);
    color: var(--blanco);
    transform: translateX(10px);
}

.contact-info-item h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

/* ================================
   ANIMACIONES
   ================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* ================================
   RESPONSIVE
   ================================ */
@media (max-width: 1024px) {
    .header-container {
        padding: 15px;
    }
    
    .main-navigation ul {
        gap: 25px;
    }
    
    .hero-content h2 {
        font-size: 42px;
    }
    
    .info-content {
        gap: 40px;
    }
    
    .contact-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--blanco);
        box-shadow: -5px 0 20px var(--sombra);
        padding-top: 80px;
        transition: right 0.4s ease;
    }
    
    .main-navigation.active {
        right: 0;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .header-whatsapp {
        display: none;
    }
    
    .hero-slider {
        height: 400px;
    }
    
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .info-content {
        flex-direction: column;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 26px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-section h2 {
        font-size: 28px;
    }
}

/* ================================
   WOOCOMMERCE OVERRIDES
   ================================ */
.woocommerce ul.products li.product {
    background: var(--blanco);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px var(--sombra);
    transition: all 0.4s ease;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 105, 180, 0.3);
}

.woocommerce ul.products li.product img {
    border-radius: 15px 15px 0 0;
}

.woocommerce ul.products li.product .button {
    background: linear-gradient(135deg, var(--rosa-fuerte), var(--rosa-pastel));
    color: var(--blanco);
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.woocommerce ul.products li.product .button:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 105, 180, 0.4);
}

.woocommerce .price {
    color: var(--rosa-fuerte);
    font-weight: 700;
}

/* ================================
   LOADING SPINNER
   ================================ */
.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--gris-claro);
    border-top: 5px solid var(--rosa-fuerte);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 50px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
