/**
Theme Name: Astra Esoterismo
Author: Brainstorm Force
Author URI: http://wpastra.com/about/
Description: Astra is the fastest, fully customizable & beautiful theme suitable for blogs, personal portfolios and business websites. It is very lightweight (less than 50KB on frontend) and offers unparalleled speed. Built with SEO in mind, Astra comes with schema.org code integrated so search engines will love your site. Astra offers plenty of sidebar options and widget areas giving you a full control for customizations. Furthermore, we have included special features and templates so feel free to choose any of your favorite page builder plugin to create pages flexibly. Some of the other features: # WooCommerce Ready # Responsive # Compatible with major plugins # Translation Ready # Extendible with premium addons # Regularly updated # Designed, Developed, Maintained & Supported by Brainstorm Force. Looking for a perfect base theme? Look no further. Astra is fast, fully customizable and beautiful theme!
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: astra-esoterismo
Template: astra
*/
/* =========================================
   1. VARIABLES & RESET GLOBAL
   ========================================= */
:root {
    --bg-deep: #050505;
    --bg-panel: #0f0f0f;
    --gold-light: #f3e5ab;
    --gold-main: #d4af37;
    --gold-dark: #aa8c2c;
    --text-main: #e0e0e0;
    --text-muted: #888;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
}

/* Header Ajustado */
.site-header { border-bottom: 1px solid rgba(255,255,255,0.05); }
.ast-main-header-bar-content, .main-header-bar-wrap {
    max-width: 1200px !important; margin: 0 auto !important;
}
.ast-container, .site-content {
    max-width: 100% !important; padding: 0 !important; margin: 0 !important;
}

/* =========================================
   2. TEXTURA & FONDO
   ========================================= */
.mystic-wrapper {
    position: relative; width: 100%; overflow-x: hidden; background-color: var(--bg-deep);
}
.mystic-wrapper::before {
    content: ""; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none; z-index: 9999; opacity: 0.07;
}
.container-limited { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* =========================================
   3. HERO SECTION (IMAGEN ESTRELLAS RECUPERADA)
   ========================================= */
.hero-premium {
    height: 85vh;
    position: relative;
    display: flex; align-items: center; justify-content: center; text-align: center;
    /* CAMBIO: Vuelta a la imagen de estrellas */
    background: url('https://images.unsplash.com/photo-1519681393784-d120267933ba?q=80&w=2070&auto=format&fit=crop') no-repeat center center/cover;
}

.hero-overlay-gradient {
    position: absolute; inset: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.2) 0%, var(--bg-deep) 90%);
}

.hero-content { position: relative; z-index: 2; padding: 20px; }

.hero-supra {
    display: block; color: var(--gold-main); letter-spacing: 4px; text-transform: uppercase; font-size: 0.9rem; margin-bottom: 15px;
}
.hero-premium h1 {
    font-family: var(--font-heading); font-size: 4rem; color: #fff; text-shadow: 0 5px 15px rgba(0,0,0,0.5); margin-bottom: 20px; line-height: 1.1;
}
.hero-premium p { font-size: 1.2rem; color: #ccc; max-width: 600px; margin: 0 auto 40px; }

.btn-gold-solid {
    display: inline-block; padding: 15px 40px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold-main), var(--gold-dark));
    color: #000; font-weight: bold; text-transform: uppercase; text-decoration: none;
    letter-spacing: 1px; border: 1px solid var(--gold-light); transition: 0.3s;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}
.btn-gold-solid:hover {
    transform: translateY(-3px); box-shadow: 0 0 25px rgba(212, 175, 55, 0.6); color: #000; filter: brightness(1.1);
}

/* =========================================
   4. SECCIONES COMUNES
   ========================================= */
.section-premium { padding: 80px 0; }
.section-darker { background-color: #080808; }
.section-header { text-align: center; margin-bottom: 60px; }
.sub-header { color: var(--text-muted); text-transform: uppercase; letter-spacing: 2px; font-size: 0.8rem; }
.section-header h2 { font-family: var(--font-heading); font-size: 2.5rem; margin: 10px 0; color: var(--gold-light); }
.divider-gold { width: 80px; height: 2px; background: linear-gradient(90deg, transparent, var(--gold-main), transparent); margin: 20px auto 0; }

/* =========================================
   5. GRID CATEGORÍAS (BORDES LIMPIOS)
   ========================================= */
.grid-categories { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.cat-box {
    position: relative; height: 300px; overflow: hidden;
    /* CAMBIO: Solo un borde gris sutil */
    border: 1px solid #333; 
    display: flex; align-items: center; justify-content: center; text-decoration: none; transition: 0.4s;
}
.cat-bg {
    position: absolute; inset: 0; background-size: cover; background-position: center;
    transition: 0.5s; opacity: 0.6; filter: grayscale(80%);
}
.cat-box:hover { border-color: var(--gold-main); } /* El borde cambia a oro en hover */
.cat-box:hover .cat-bg { transform: scale(1.1); opacity: 0.4; filter: grayscale(0%); }

.cat-info {
    position: relative; z-index: 2; text-align: center; padding: 20px;
    backdrop-filter: blur(2px);
    /* CAMBIO: Eliminado el borde interno que molestaba */
    border: none; 
}
.cat-icon { font-size: 2.5rem; display: block; margin-bottom: 10px; }
.cat-info h3 { color: #fff; margin: 0; font-family: var(--font-heading); letter-spacing: 1px; }

/* =========================================
   6. GRID PRODUCTOS & ARREGLO BOTÓN
   ========================================= */
.grid-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 40px; }

.product-card-premium {
    background: var(--bg-panel);
    /* CAMBIO: Borde único y sutil */
    border: 1px solid #222; 
    transition: 0.3s; position: relative;
}
.product-card-premium:hover { border-color: var(--gold-dark); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }

.card-image-wrap { position: relative; overflow: hidden; border-bottom: 1px solid #222; }
.card-image-wrap img { width: 100%; height: auto; display: block; transition: 0.5s; }
.product-card-premium:hover .card-image-wrap img { transform: scale(1.05); opacity: 0.8; }

.badge-sale {
    position: absolute; top: 10px; left: 10px; background: #800; color: #fff; padding: 3px 8px; font-size: 0.7rem; text-transform: uppercase;
}

.card-details { padding: 20px; text-align: center; }
.meta-cat { font-size: 0.7rem; text-transform: uppercase; color: var(--text-muted); margin-bottom: 5px; }
.meta-cat a { color: var(--text-muted); text-decoration: none; }
.card-details h3 { margin: 5px 0 10px; font-size: 1.1rem; }
.card-details h3 a { color: var(--text-main); text-decoration: none; transition: 0.2s; }
.card-details h3 a:hover { color: var(--gold-main); }
.price-wrap { color: var(--gold-main); font-weight: bold; font-size: 1rem; margin-bottom: 15px; display: block; }

/* CAMBIO: Arreglo del Botón Blanco */
.btn-action-wrap .button {
    display: block; width: 100%; padding: 10px 0; background: transparent;
    border: 1px solid var(--gold-main);
    /* Forzamos el color dorado para que no salga blanco */
    color: var(--gold-main) !important; 
    text-transform: uppercase; font-size: 0.8rem; letter-spacing: 1px; border-radius: 0;
    transition: 0.3s; text-align: center; text-decoration: none;
}
.btn-action-wrap .button:hover {
    background: var(--gold-main);
    color: #000 !important; /* Texto negro en hover */
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .ast-main-header-bar-content { padding: 0 10px !important; }
    .hero-premium h1 { font-size: 2.5rem; }
    .grid-categories { grid-template-columns: 1fr; }
    .section-premium { padding: 50px 0; }
}