/* ==================================================
   EL RINCÓN DE SHIWA
   ESTILOS GENERALES
================================================== */

/* ==================================================
   TIPOGRAFÍA
================================================== */

body {
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Cinzel", serif;
    font-weight: 600;
}


/* ==================================================
   HEADER
================================================== */

.site-header {
    position: relative;
    z-index: 100;
    width: 100%;

    background:
        linear-gradient(
            90deg,
            var(--purple-dark),
            var(--purple-deep),
            var(--purple-dark)
        );

    border-bottom: 1px solid rgba(212, 175, 55, 0.35);
}

.header-container {
    width: min(1400px, calc(100% - 50px));
    min-height: 85px;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

/* ==================================================
   LOGO
================================================== */

.site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.site-logo,
.site-logo a,
.site-branding a {
    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0;
    padding: 0;

    line-height: 0;
}

/* Imagen del logo */
.site-logo img,
.site-branding img,
.custom-logo {
    display: block;

    width: 80px !important;
    height: 80px !important;

    max-width: 80px !important;
    max-height: 80px !important;

    object-fit: contain;
}


/* ==================================================
   MENÚ
================================================== */

.main-navigation ul {
    margin: 0;
    padding: 0;

    display: flex;
    align-items: center;
    gap: 30px;

    list-style: none;
}

.main-navigation a {
    position: relative;

    color: var(--gold) !important;
    font-family: "Cinzel", serif;
    font-size: 14px;

    letter-spacing: 1px;
    text-transform: uppercase;

    transition: color 0.3s ease;
}

.main-navigation a:hover {
    color: var(--gold);
}

.main-navigation a::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -8px;

    width: 0;
    height: 1px;

    background: var(--gold);

    transition: width 0.3s ease;
}

.main-navigation a:hover::after {
    width: 100%;
}


/* ==================================================
   BOTONES GENERALES
================================================== */

.btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 50px;

    padding: 13px 28px;

    border: 1px solid transparent;

    font-family: "Cinzel", serif;
    font-size: 13px;

    letter-spacing: 1px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.btn:hover {
    transform: translateY(-3px);
}

.btn-primary {
    background:
        linear-gradient(
            135deg,
            var(--gold-dark),
            var(--gold),
            var(--gold-light)
        );

    color: var(--purple-dark);

    border-color: var(--gold-light);

    box-shadow:
        0 8px 25px rgba(212, 175, 55, 0.18);
}

.btn-primary:hover {
    color: var(--purple-dark);

    box-shadow:
        0 12px 35px rgba(212, 175, 55, 0.35);
}

.btn-secondary {
    background: transparent;

    color: var(--gold-light);

    border-color: rgba(212, 175, 55, 0.65);
}

.btn-secondary:hover {
    background: rgba(212, 175, 55, 0.12);

    border-color: var(--gold);
}


/* ==================================================
   FOOTER
================================================== */

.site-footer {
    position: relative;

    background:
        linear-gradient(
            135deg,
            #100617,
            var(--purple-dark),
            #0b0410
        );

    color: var(--text-light);

    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.footer-container {
    width: min(1200px, calc(100% - 40px));

    margin: 0 auto;
    padding: 80px 0 50px;

    display: grid;

    grid-template-columns:
        2fr
        1fr
        1fr;

    gap: 60px;
}

.footer-brand h2,
.footer-column h3 {
    color: var(--gold-light);

    margin-top: 0;
    margin-bottom: 20px;
}

.footer-brand h2 {
    font-size: 30px;
}

.footer-column h3 {
    font-size: 18px;
}

.footer-brand p {
    max-width: 420px;

    color: rgba(247, 243, 237, 0.75);
}

.footer-column ul,
.footer-links {
    margin: 0;
    padding: 0;

    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(247, 243, 237, 0.75);

    transition: color 0.3s ease;
}

.footer-column a:hover {
    color: var(--gold);
}

.footer-bottom {
    padding: 25px 20px;

    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-bottom p {
    margin: 0;

    color: rgba(247, 243, 237, 0.55);

    font-size: 15px;
}
/* ==================================================
   ARTÍCULOS DEL BLOG
================================================== */

.blog-page,
.single-post,
.single-post article {

    color: var(--cream);

}


/* TÍTULO DEL ARTÍCULO */

.single-post h1,
.single-post .entry-title,
.single-post article h1 {

    color: var(--gold-light) !important;

    font-family: "Great Vibes", cursive;

    font-size: clamp(42px, 5vw, 70px) !important;

    font-weight: 400;

    line-height: 1.15;

}


/* TEXTO DEL ARTÍCULO */

.single-post .entry-content,
.single-post .entry-content p,
.single-post article p {

    color: var(--cream) !important;

    font-family: "Cormorant Garamond", serif;

    font-size: 21px;

    line-height: 1.8;

}


/* SUBTÍTULOS */

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post article h2,
.single-post article h3 {

    color: var(--gold-light) !important;

    font-family: "Great Vibes", cursive;

    font-weight: 400;

    font-size: 42px;

    line-height: 1.2;

}


/* LISTAS */

.single-post .entry-content li,
.single-post article li {

    color: var(--cream) !important;

    font-family: "Cormorant Garamond", serif;

    font-size: 20px;

    line-height: 1.8;

}
/* ==================================================
   TIENDA WOOCOMMERCE
================================================== */

.shop-page {
    background: var(--purple-dark);
    color: var(--cream);
}


/* HERO */

.shop-hero {
    position: relative;
    overflow: hidden;

    padding: 100px 0 80px;

    background:
        radial-gradient(
            circle at 80% 20%,
            rgba(102, 54, 125, 0.20),
            transparent 35%
        ),
        var(--purple-deep);
}

.shop-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;
    margin: 0 auto;

    text-align: center;
}

.shop-eyebrow {
    display: block;

    margin-bottom: 20px;

    color: var(--gold) !important;

    font-family: "Cinzel", serif !important;
    font-size: 13px;

    letter-spacing: 3px;
    text-transform: uppercase;
}

.shop-hero h1 {
    margin: 0;

    color: var(--gold-light) !important;

    font-family: "Great Vibes", cursive !important;

    font-size: clamp(60px, 7vw, 100px) !important;
    font-weight: 400 !important;

    line-height: 1.1;
}

.shop-hero p {
    max-width: 750px;

    margin: 35px auto 0;

    color: var(--cream) !important;

    font-family: "Cormorant Garamond", serif !important;

    font-size: 21px !important;

    line-height: 1.7;
}


/* DIVISOR */

.shop-divider {
    position: relative;

    width: 280px;
    height: 1px;

    margin: 30px auto;

    background: linear-gradient(
        90deg,
        transparent,
        var(--gold),
        var(--gold-light),
        var(--gold),
        transparent
    );
}

.shop-divider span {
    position: absolute;

    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    padding: 0 15px;

    color: var(--gold) !important;
    background: var(--purple-deep);

    font-size: 20px;
}


/* SECCIÓN PRODUCTOS */

.shop-products-section {
    padding: 80px 0 120px;

    background: var(--purple-dark);
}


/* CABECERA */

.shop-section-heading {
    margin-bottom: 60px;

    text-align: center;
}

.shop-section-heading h2 {
    margin: 0;

    color: var(--gold-light) !important;

    font-family: "Great Vibes", cursive !important;

    font-size: clamp(50px, 6vw, 80px) !important;
    font-weight: 400 !important;
}


/* RESULTADOS Y ORDENACIÓN */

.shop-toolbar {
    display: flex;

    justify-content: space-between;
    align-items: center;

    margin-bottom: 40px;

    color: var(--cream) !important;
}

.shop-toolbar .woocommerce-result-count {
    color: var(--cream) !important;

    font-family: "Cormorant Garamond", serif !important;

    font-size: 18px;
}

.shop-toolbar .woocommerce-ordering select {
    padding: 12px 15px;

    background: var(--purple-deep) !important;

    color: var(--gold-light) !important;

    border: 1px solid rgba(212, 175, 55, 0.50) !important;

    font-family: "Cormorant Garamond", serif !important;
}


/* GRID DE PRODUCTOS */

.shop-page ul.products {
    display: grid !important;

    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;

    gap: 25px !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    list-style: none !important;
}


/* TARJETA */

.shop-page ul.products li.product {
    display: flex !important;

    flex-direction: column !important;

    width: 100% !important;

    margin: 0 !important;
    padding: 18px !important;

    background: linear-gradient(
        180deg,
        rgba(73, 36, 89, 0.90),
        rgba(27, 10, 37, 0.98)
    ) !important;

    border: 1px solid rgba(212, 175, 55, 0.22) !important;

    float: none !important;
}


/* IMAGEN */

.shop-page ul.products li.product img {
    width: 100% !important;

    aspect-ratio: 1 / 1;

    object-fit: cover;

    margin-bottom: 20px !important;
}


/* NOMBRE DEL PRODUCTO */

.shop-page ul.products li.product .woocommerce-loop-product__title,
.shop-page ul.products li.product .woocommerce-loop-product__title a {
    display: block !important;

    color: var(--gold-light) !important;

    font-family: "Great Vibes", cursive !important;

    font-size: 32px !important;
    font-weight: 400 !important;

    line-height: 1.15 !important;

    text-decoration: none !important;
}


/* PRECIO */

.shop-page ul.products li.product .price {
    display: block !important;

    margin: 15px 0 !important;

    color: var(--gold-soft) !important;

    font-family: "Cormorant Garamond", serif !important;

    font-size: 21px !important;
}


/* QUITAR COLORES AZULES DE WOOCOMMERCE */

.shop-page a {
    color: inherit;
}

.shop-page .woocommerce a {
    text-decoration: none !important;
}


/* BOTÓN */

.shop-page ul.products li.product .button {
    width: 100% !important;

    margin-top: auto !important;

    padding: 14px 15px !important;

    background: transparent !important;

    color: var(--gold) !important;

    border: 1px solid rgba(212, 175, 55, 0.70) !important;

    border-radius: 0 !important;

    font-family: "Cinzel", serif !important;

    font-size: 11px !important;

    letter-spacing: 1px;

    text-align: center;
    text-transform: uppercase !important;
}

.shop-page ul.products li.product .button:hover {
    background: var(--gold) !important;

    color: var(--purple-dark) !important;
}


/* PAGINACIÓN */

.shop-pagination {
    margin-top: 60px;

    text-align: center;
}

.shop-pagination .page-numbers {
    color: var(--gold-light) !important;

    font-family: "Cormorant Garamond", serif !important;
}


/* SIN PRODUCTOS */

.shop-no-products {
    padding: 80px 20px;

    color: var(--cream) !important;

    text-align: center;
}

.shop-no-products h2 {
    color: var(--gold-light) !important;

    font-family: "Great Vibes", cursive !important;

    font-size: 60px;
}

.shop-no-products p {
    color: var(--cream) !important;

    font-family: "Cormorant Garamond", serif !important;

    font-size: 20px;
}
