/**
Theme Name: Astra Sexshop
Description: Tema hijo de Astra especializado para tienda online de productos íntimos - Orgasmo.shop
Template: astra
Version: 1.0.4
Text Domain: astra-sexshop
*/

/* ===== RESET COMPLETO ===== */
* {
    box-sizing: border-box;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p, a, ul, ol, li, nav, header, footer, main, section, article {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}

/* ===== VARIABLES CSS ===== */
:root {
    --primary-color: #ff1744;      /* Rojo pasional */
    --secondary-color: #880e4f;    /* Magenta oscuro */
    --accent-color: #e91e63;       /* Rosa intenso */
    --dark-bg: #1a1a1a;           /* Fondo oscuro elegante */
    --light-bg: #f8f8f8;          /* Fondo claro suave */
    --text-dark: #333333;         /* Texto oscuro */
    --text-light: #ffffff;        /* Texto claro */
    --border-color: #e0e0e0;      /* Bordes suaves */
    --shadow: 0 4px 20px rgba(0,0,0,0.1); /* Sombras elegantes */
    --container-width: 1200px;
}

/* ===== ESTILOS BASE ===== */
html {
    font-size: 16px;
    line-height: 1.6;
}

body {
    font-family: 'Roboto', 'Open Sans', Arial, sans-serif !important;
    line-height: 1.6 !important;
    color: var(--text-dark) !important;
    background-color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow-x: hidden;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Montserrat', sans-serif !important;
    font-weight: 600 !important;
    margin-bottom: 1rem !important;
    color: var(--text-dark) !important;
    line-height: 1.3 !important;
}

h1 { font-size: 2.5rem !important; }
h2 { font-size: 2rem !important; }
h3 { font-size: 1.75rem !important; }
h4 { font-size: 1.5rem !important; }
h5 { font-size: 1.25rem !important; }
h6 { font-size: 1rem !important; }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

/* ===== LAYOUT PRINCIPAL ===== */
.container {
    max-width: var(--container-width) !important;
    margin: 0 auto !important;
    padding: 0 15px !important;
    width: 100% !important;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff !important;
}

.site-content {
    flex: 1;
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

/* ===== HEADER COMPLETO ===== */
.site-header,
#masthead,
.ast-header-wrap,
.main-header-bar,
.ast-main-header-wrap {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%) !important;
    box-shadow: var(--shadow) !important;
    padding: 1rem 0 !important;
    border: none !important;
    position: relative !important;
    z-index: 999 !important;
    width: 100% !important;
}

.site-header .container {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    width: 100% !important;
}

/* ===== LOGO ===== */
.site-branding,
.ast-site-identity {
    display: flex !important;
    align-items: center !important;
}

.site-branding .custom-logo-link img,
.ast-logo-title-inline .site-logo-img img,
.site-logo-img img {
    max-height: 60px !important;
    width: auto !important;
    height: auto !important;
}

.site-title,
.ast-site-title-wrap h1 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 700 !important;
    color: var(--text-light) !important;
    margin: 0 !important;
    text-decoration: none !important;
}

/* ===== NAVEGACIÓN ===== */
.main-navigation,
.ast-header-navigation,
.ast-nav-menu {
    display: flex !important;
    align-items: center !important;
}

.main-header-menu,
.ast-nav-menu ul,
.nav-menu {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
}

.main-header-menu .menu-item,
.ast-nav-menu .menu-item,
.nav-menu .menu-item {
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
}

.main-header-menu .menu-item a,
.ast-nav-menu .menu-item a,
.nav-menu .menu-item a {
    color: var(--text-light) !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    background: transparent !important;
    border: none !important;
    padding: 10px 15px !important;
    display: block !important;
}

.main-header-menu .menu-item a:hover,
.ast-nav-menu .menu-item a:hover,
.nav-menu .menu-item a:hover {
    color: var(--accent-color) !important;
    text-shadow: 0 0 10px rgba(233, 30, 99, 0.5) !important;
    background: transparent !important;
}

/* ===== BOTONES UNIVERSALES ===== */
.button, 
.btn, 
input[type="submit"], 
input[type="button"],
button,
.woocommerce .button,
.woocommerce-page .button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button.alt,
.ast-button {
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color)) !important;
    color: var(--text-light) !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow) !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
    font-size: 14px !important;
    line-height: normal !important;
    text-align: center !important;
}

.button:hover, 
.btn:hover, 
input[type="submit"]:hover, 
input[type="button"]:hover,
button:hover,
.woocommerce .button:hover,
.woocommerce-page .button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button.alt:hover,
.ast-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(255, 23, 68, 0.4) !important;
    background: linear-gradient(45deg, var(--accent-color), var(--primary-color)) !important;
    color: var(--text-light) !important;
}

/* ===== WOOCOMMERCE PRODUCTOS ===== */
.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)) !important;
    gap: 2rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 2rem 0 !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    background: var(--text-light) !important;
    border-radius: 15px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow) !important;
    transition: all 0.3s ease !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
    width: auto !important;
    position: relative !important;
}

.woocommerce ul.products li.product:hover,
.woocommerce-page ul.products li.product:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15) !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
    margin: 0.5rem !important;
    padding: 0 1rem !important;
    line-height: 1.4 !important;
}

.woocommerce .price,
.woocommerce-page .price {
    font-size: 1.3em !important;
    font-weight: bold !important;
    color: var(--primary-color) !important;
    margin: 0.5rem !important;
    padding: 0 1rem !important;
}

.woocommerce .price del {
    color: #999 !important;
    font-size: 0.9em !important;
}

.woocommerce .price ins {
    text-decoration: none !important;
    color: var(--primary-color) !important;
}

/* ===== FORMULARIOS ===== */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="number"],
select,
textarea {
    width: 100% !important;
    padding: 12px 15px !important;
    border: 2px solid var(--border-color) !important;
    border-radius: 8px !important;
    font-family: 'Roboto', sans-serif !important;
    font-size: 14px !important;
    transition: border-color 0.3s ease !important;
    background: #ffffff !important;
    color: var(--text-dark) !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(255, 23, 68, 0.1) !important;
}

/* ===== FOOTER ===== */
.site-footer,
.ast-footer-overlay {
    background: var(--dark-bg) !important;
    color: var(--text-light) !important;
    padding: 3rem 0 1rem 0 !important;
    margin-top: 4rem !important;
    border-top: none !important;
}

.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4, .site-footer h5, .site-footer h6 {
    color: var(--accent-color) !important;
}

.site-footer a {
    color: #ccc !important;
    transition: color 0.3s ease !important;
}

.site-footer a:hover {
    color: var(--accent-color) !important;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container {
        padding: 0 10px !important;
    }
    
    .site-header .container {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .main-header-menu,
    .ast-nav-menu ul,
    .nav-menu {
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    .main-header-menu .menu-item a,
    .ast-nav-menu .menu-item a,
    .nav-menu .menu-item a {
        padding: 8px 12px !important;
        font-size: 14px !important;
    }
    
    h1 { font-size: 2rem !important; }
    h2 { font-size: 1.75rem !important; }
    h3 { font-size: 1.5rem !important; }
    
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)) !important;
        gap: 1rem !important;
    }
    
    .button, 
    .btn, 
    input[type="submit"], 
    .woocommerce .button {
        padding: 10px 20px !important;
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: 1fr 1fr !important;
    }
    
    .site-header {
        padding: 0.5rem 0 !important;
    }
}

/* ===== UTILIDADES ===== */
.text-center { text-align: center !important; }
.text-left { text-align: left !important; }
.text-right { text-align: right !important; }

.mb-1 { margin-bottom: 0.5rem !important; }
.mb-2 { margin-bottom: 1rem !important; }
.mb-3 { margin-bottom: 1.5rem !important; }
.mb-4 { margin-bottom: 2rem !important; }

.mt-1 { margin-top: 0.5rem !important; }
.mt-2 { margin-top: 1rem !important; }
.mt-3 { margin-top: 1.5rem !important; }
.mt-4 { margin-top: 2rem !important; }

.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }
.d-flex { display: flex !important; }
.d-none { display: none !important; }

/* ===== FORZAR LIMPIEZA DE ASTRA ===== */
.ast-container,
.ast-row,
.ast-col-md-12,
.ast-article-single,
.entry-content {
    all: unset !important;
    display: block !important;
}

/* Reset completo de selectores de Astra */
.ast-theme-transparent-header #masthead,
.ast-theme-transparent-header .main-header-bar,
.ast-desktop .ast-theme-transparent-header .main-header-bar,
.ast-header-break-point.ast-theme-transparent-header .main-header-bar {
    background: linear-gradient(135deg, var(--dark-bg) 0%, var(--secondary-color) 100%) !important;
}

/* Limpiar todos los estilos de botones de Astra */
.ast-button,
.ast-outline-button,
input[type="submit"].ast-button,
input[type="button"].ast-button,
button.ast-button {
    all: unset !important;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-color)) !important;
    color: var(--text-light) !important;
    border: none !important;
    padding: 12px 30px !important;
    border-radius: 25px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    transition: all 0.3s ease !important;
    box-shadow: var(--shadow) !important;
    text-decoration: none !important;
    display: inline-block !important;
    cursor: pointer !important;
    font-family: 'Poppins', sans-serif !important;
}