/*
Theme Name: Adhomukha Theme
Theme URI: https://adhomukhaconcept.com
Author: Eva Supertramp
Description: Tema personalizado para Adhomukha Concept - creatividad y crecimiento personal
Version: 1.0
Text Domain: adhomukha-theme
*/

/* === RESET Y BASE === */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 85px;
}

:root {
    --azul-gris: #8D98A6;
    --coral: #FA8476;
    --beige: #ebdfd1;
    --blanco: #ffffff;
    --oscuro: #2B2B2B;
    --gris-texto: #474747;
    --font-heading: "Cormorant Garamond", Georgia, serif;
    --font-body: "Helvetica Now", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gris-texto);
    background-color: var(--blanco);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--azul-gris);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* === HEADER / MENU === */
.site-header {
    background-color: var(--azul-gris);
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
}

.site-header .container {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    max-width: 1200px !important;
    width: 100%;
    margin: 0 auto;
    padding: 0 30px;
}

.site-header #site-nav {
    margin-left: auto;
}

.site-header .logo img {
    height: 65px;
    width: auto;
}

.site-header nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    padding-bottom: 5px;
}

.site-header nav a {
    color: var(--blanco);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.site-header nav a:hover {
    opacity: 0.7;
}

.menu-icon {
    vertical-align: -2px;
    margin-right: 3px;
}

/* === HAMBURGUESA === */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    width: 40px;
    height: 40px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--blanco);
    transition: all 0.3s ease;
}

body.menu-open .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 7px);
}
body.menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
}
body.menu-open .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -7px);
}

/* === HERO === */
.hero {
    padding: 0;
    margin-top: 85px;
    text-align: center;
    background-color: var(--blanco);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    font-style: normal;
    color: var(--coral);
    margin-top: 50px;
    line-height: 1.3;
}

.hero .btn-cta {
    display: inline-block;
    margin-top: 30px;
    padding: 14px 35px;
    background-color: var(--beige);
    color: #4e4e4e;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: opacity 0.3s ease;
}

.hero .btn-cta:hover {
    opacity: 0.85;
}

/* === TRES COLUMNAS === */
.servicios {
    padding: 60px 0;
    background-color: var(--blanco);
}

.servicios .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
    max-width: 945px;
    margin: 0 auto;
}

.servicio-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--blanco);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.servicio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.servicio-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.servicio-card:hover img {
    opacity: 1;
}

.servicio-card .card-content {
    background-color: var(--beige);
    padding: 20px;
}

.servicio-card .card-content h3 {
    color: var(--oscuro);
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 10px 0;
}

.servicio-card .card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gris-texto);
}

/* === SECCION ABOUT / REFUGIO CREATIVO === */
.about {
    padding: 80px 0;
    background-color: var(--azul-gris);
}

.about .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about h2 {
    font-size: 36px;
    color: var(--blanco);
    margin-bottom: 40px;
    font-style: normal;
    font-weight: 700;
}

.about p {
    color: var(--blanco);
    margin-bottom: 15px;
    font-size: 15px;
    line-height: 1.7;
}

.about img {
    border-radius: 12px;
    width: 88%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* === PRODUCTOS === */
.productos {
    padding: 60px 0;
    background-color: var(--blanco);
}

.productos .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 945px;
    margin: 0 auto;
}

.producto-cta {
    display: flex;
    flex-direction: column;
    text-align: center;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--beige);
}

.producto-cta:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.producto-cta .img-placeholder {
    background-color: var(--beige);
    height: 220px;
    border-radius: 8px 8px 0 0;
}

.producto-cta .producto-nombre {
    display: block;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--oscuro);
    padding: 15px 10px 5px;
    flex: 1;
}

.producto-cta .producto-precio {
    display: block;
    font-size: 14px;
    color: var(--gris-texto);
    padding-bottom: 15px;
}

/* === INSTAGRAM === */
.instagram-section {
    padding: 60px 0;
    background-color: var(--blanco);
}

.instagram-header {
    text-align: center;
    margin-bottom: 30px;
}

.instagram-icon {
    color: var(--azul-gris);
    margin-bottom: 10px;
}

.instagram-header h2 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--oscuro);
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
}

.insta-item {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.insta-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, opacity 0.3s ease;
}

.insta-item:hover img {
    transform: scale(1.05);
    opacity: 0.85;
}

.instagram-cta {
    text-align: center;
    margin-top: 30px;
}

.instagram-cta .btn-cta {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--beige);
    color: #4e4e4e;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    border-radius: 50px;
    transition: opacity 0.3s ease;
}

.instagram-cta .btn-cta:hover {
    opacity: 0.85;
}

/* === BLOQUE PERSONAL === */
.personal-section {
    padding: 0 0 60px;
    background-color: var(--blanco);
}

.personal-card {
    display: grid;
    grid-template-columns: 35% 65%;
    border-radius: 12px;
    overflow: hidden;
    max-width: 945px;
    margin: 0 auto;
}

.personal-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: calc(50% - 40px) center;
}

.personal-text {
    background-color: var(--coral);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.personal-text p {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--blanco);
    line-height: 1.5;
    margin-bottom: 15px;
}

.personal-name {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 10px;
    margin-bottom: 25px;
}

.personal-btn {
    display: inline-block;
    padding: 12px 35px;
    background-color: var(--blanco);
    color: var(--oscuro);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    transition: opacity 0.3s ease;
    align-self: flex-start;
}

.personal-btn:hover {
    opacity: 0.85;
}

/* === ICONOS HEADER (CUENTA Y CARRITO) === */
.header-account {
    color: var(--blanco);
    display: inline-flex;
    align-items: center;
    padding: 8px 8px 5px;
    margin-left: 20px;
    transition: opacity 0.3s;
}

.header-account:hover {
    opacity: 0.7;
}

.header-cart {
    position: relative;
    color: var(--blanco);
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    transition: opacity 0.3s;
    margin-left: -8px;
    padding-bottom: 5px;
}

.header-cart:hover {
    opacity: 0.7;
}

.cart-count {
    position: absolute;
    top: -2px;
    right: -2px;
    background-color: var(--coral);
    color: var(--blanco);
    font-family: var(--font-body);
    font-size: 10px;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    opacity: 0;
    transition: opacity 0.3s;
}

.cart-count.has-items {
    opacity: 1;
}

/* === CARRITO === */
.woocommerce-cart .shop-hero,
.woocommerce-checkout .shop-hero,
.woocommerce-account .shop-hero {
    display: none;
}

.woocommerce-cart main,
.woocommerce-checkout main,
.woocommerce-account main {
    margin-top: 85px;
    padding: 60px 0 80px;
}

.woocommerce-cart h1,
.woocommerce-checkout h1,
.woocommerce-account h1,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title,
.woocommerce-account .entry-title,
.woocommerce-cart .wp-block-post-title,
.woocommerce-cart h1.page-title,
body.woocommerce-cart h1,
body.woocommerce-cart main h1,
body.woocommerce-cart .wp-site-blocks h1 {
    font-family: var(--font-heading) !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    color: var(--coral) !important;
    text-align: center !important;
    margin-bottom: 40px !important;
}

.woocommerce-cart .container,
.woocommerce-checkout .container,
.woocommerce-account .container {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 30px;
}

.cart-section-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 30px;
    font-style: italic;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Items */
.cart-items {
    background-color: var(--blanco);
}

.cart-item {
    display: grid;
    grid-template-columns: 90px 1fr 110px 90px 30px;
    gap: 20px;
    align-items: center;
    padding: 20px 0;
    border-bottom: 1px solid var(--beige);
}

.cart-item:first-of-type {
    border-top: 1px solid var(--beige);
}

.cart-item-image img {
    width: 90px;
    height: 90px;
    object-fit: cover;
    border-radius: 8px;
    background-color: var(--beige);
}

.cart-item-name {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 5px;
}

.cart-item-name a {
    color: inherit;
}

.cart-item-price {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gris-texto);
}

.cart-item-quantity .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 130px;
}

.cart-item-quantity input {
    width: 42px;
    height: 36px;
    border: 1px solid var(--beige);
    border-radius: 50%;
    background: var(--blanco);
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
    outline: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.cart-item-quantity input::-webkit-outer-spin-button,
.cart-item-quantity input::-webkit-inner-spin-button,
.product-add-to-cart input::-webkit-outer-spin-button,
.product-add-to-cart input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.cart-item-quantity input[type="number"],
.product-add-to-cart input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--beige);
    border-radius: 50%;
    background: var(--blanco);
    color: var(--oscuro);
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: var(--coral);
    color: var(--blanco);
    border-color: var(--coral);
}

.cart-item-subtotal {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--coral);
    text-align: right;
}

.cart-item-remove {
    text-align: center;
}

.cart-item-remove .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background-color: var(--beige);
    color: var(--oscuro);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s;
}

.cart-item-remove .remove:hover {
    background-color: var(--coral);
    color: var(--blanco);
}

.cart-actions {
    margin-top: 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-update-cart,
button[name="update_cart"] {
    padding: 10px 25px;
    background: transparent;
    color: var(--gris-texto);
    border: 1px solid var(--beige);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-update-cart:hover {
    background-color: var(--azul-gris);
    color: var(--blanco);
    border-color: var(--azul-gris);
}

/* Resumen */
.cart-summary .cart_totals,
.cart-totals {
    background-color: var(--beige);
    border-radius: 12px;
    padding: 30px;
}

.cart-totals-lines {
    margin-bottom: 25px;
}

.cart-total-line {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gris-texto);
}

.cart-total-final {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--oscuro);
    padding-top: 15px !important;
    margin-top: 10px;
    border-top: 2px solid var(--oscuro) !important;
}

.cart-total-final .amount {
    color: #4a4a4a;
}

.cart-total-note {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--gris-texto);
    margin-top: 6px;
    margin-bottom: 25px;
    line-height: 1.5;
    opacity: 0.8;
}

/* Botón checkout */
.wc-proceed-to-checkout {
    margin-top: 20px;
}

.wc-proceed-to-checkout a.button,
.wc-proceed-to-checkout .checkout-button,
.woocommerce a.checkout-button,
a.checkout-button,
.checkout-button {
    display: block !important;
    width: 100% !important;
    padding: 15px 25px !important;
    background-color: var(--coral) !important;
    color: var(--blanco) !important;
    border: none !important;
    border-radius: 50px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    text-decoration: none !important;
    cursor: pointer !important;
    transition: opacity 0.3s !important;
    box-shadow: none !important;
}

.wc-proceed-to-checkout a.button:hover,
.checkout-button:hover {
    opacity: 0.85 !important;
    background-color: var(--coral) !important;
}

/* Carrito vacío */
.cart-empty-state {
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.cart-empty-state svg {
    color: var(--azul-gris);
    margin-bottom: 25px;
    opacity: 0.6;
}

.cart-empty-state h2 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 15px;
}

.cart-empty-state p {
    font-size: 15px;
    color: var(--gris-texto);
    margin-bottom: 30px;
}

.btn-cta-coral {
    display: inline-block;
    padding: 14px 35px;
    background-color: var(--coral);
    color: var(--blanco);
    text-decoration: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: opacity 0.3s;
}

.btn-cta-coral:hover {
    opacity: 0.85;
}

/* === CHECKOUT ESTILO SHOPIFY === */
.shopify-style-checkout .checkout-shopify-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    align-items: start;
    max-width: 1100px;
    margin: 0 auto;
    background-color: var(--blanco);
}

.checkout-shopify-left {
    padding: 10px 0 40px 0;
    border-right: none;
}

.checkout-shopify-right {
    background-color: var(--beige);
    padding: 30px 30px 30px 40px;
    border-radius: 16px;
    position: sticky;
    top: 100px;
    align-self: start;
    margin-left: 30px;
    margin-top: 10px;
}

.checkout-shopify-right .checkout-shopify-summary {
    padding: 0 !important;
}

.checkout-shopify-right * {
    font-family: var(--font-body);
}

.checkout-shopify-right h1,
.checkout-shopify-right h2,
.checkout-shopify-right h3,
.checkout-shopify-right h4 {
    font-family: var(--font-heading) !important;
}

.shopify-section-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--azul-gris);
    margin-bottom: 6px;
    border: none;
    padding: 0;
}

.shopify-section-subtitle {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gris-texto);
    margin-bottom: 20px;
}

.checkout-shopify-section {
    margin-bottom: 35px;
}

/* Resumen del pedido (derecha) */
.checkout-shopify-right .shopify-section-title {
    font-family: var(--font-heading) !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--azul-gris) !important;
    margin: 0 0 22px 0 !important;
    padding: 0 !important;
    border: none !important;
    font-style: normal !important;
    line-height: 1.2 !important;
}

/* Resumen: productos */
.summary-products {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 18px 0 !important;
}

.summary-product-item {
    display: grid !important;
    grid-template-columns: 64px 1fr auto !important;
    gap: 14px !important;
    align-items: center !important;
    padding: 10px 0 !important;
    border: none !important;
    background: transparent !important;
}

.summary-product-img {
    position: relative !important;
    width: 64px !important;
    height: 64px !important;
}

.summary-product-img img {
    width: 64px !important;
    height: 64px !important;
    object-fit: cover !important;
    border-radius: 10px !important;
    background-color: var(--blanco) !important;
    border: 1px solid rgba(0,0,0,0.08) !important;
    display: block !important;
    max-width: none !important;
}

.summary-product-qty {
    position: absolute !important;
    top: -8px !important;
    right: -8px !important;
    background-color: rgba(74, 74, 74, 0.85) !important;
    color: var(--blanco) !important;
    font-family: var(--font-body) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    min-width: 22px !important;
    height: 22px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 6px !important;
    box-sizing: border-box !important;
}

.summary-product-details {
    padding-right: 8px !important;
}

.summary-product-name {
    font-family: var(--font-heading) !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    color: var(--oscuro) !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.summary-product-price {
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--oscuro) !important;
    white-space: nowrap !important;
}

.summary-product-price .amount,
.summary-product-price bdi {
    font-family: var(--font-body) !important;
    color: var(--oscuro) !important;
}

/* Cupón con clases únicas para evitar conflictos */
.adho-coupon-wrap {
    padding: 16px 0 18px 0;
    margin: 0;
    border: none;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.adho-coupon-label {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--oscuro);
    margin: 0 0 10px 0;
}

.adho-coupon-form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    margin: 0 !important;
    align-items: center !important;
    width: 100% !important;
}

.adho-coupon-input {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 0 18px !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
    border-radius: 50px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    background: var(--blanco) !important;
    outline: none !important;
    height: 44px !important;
    box-sizing: border-box !important;
    width: auto !important;
}

.adho-coupon-input:focus {
    border-color: var(--azul-gris);
}

.adho-coupon-btn {
    flex-shrink: 0;
    padding: 0 26px;
    height: 44px;
    background-color: var(--coral);
    color: var(--blanco);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.adho-coupon-btn:hover {
    opacity: 0.85;
}

.shopify-style-checkout .summary-coupon-form {
    display: flex !important;
    gap: 10px !important;
    margin: 0 !important;
    align-items: center !important;
}

.shopify-style-checkout .summary-coupon-form input {
    flex: 1 1 auto !important;
    padding: 0 18px !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
    border-radius: 50px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    background: var(--blanco) !important;
    outline: none !important;
    height: 44px !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

.shopify-style-checkout .summary-coupon-form button {
    flex-shrink: 0 !important;
    padding: 0 26px !important;
    height: 44px !important;
    background-color: var(--coral) !important;
    color: var(--blanco) !important;
    border: none !important;
    border-radius: 50px !important;
    font-family: var(--font-body) !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    letter-spacing: 0.5px !important;
    cursor: pointer !important;
    transition: opacity 0.3s !important;
}

.shopify-style-checkout .summary-coupon-form button:hover {
    opacity: 0.85 !important;
}

/* Totales */
.summary-totals {
    padding-top: 18px !important;
    border-top: 1px solid rgba(0,0,0,0.1) !important;
}

.summary-total-line {
    display: flex !important;
    justify-content: space-between !important;
    align-items: baseline !important;
    padding: 7px 0 !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    color: var(--oscuro) !important;
}

.summary-total-line .amount,
.summary-total-line bdi {
    font-family: var(--font-body) !important;
    color: inherit !important;
}

.summary-total-line > span:first-child {
    color: var(--gris-texto);
}

.summary-discount {
    color: var(--coral) !important;
}

.summary-total-final {
    padding-top: 16px !important;
    margin-top: 10px;
    border-top: 1px solid rgba(0,0,0,0.15);
    font-family: var(--font-heading);
    font-size: 22px !important;
    font-weight: 700 !important;
    color: var(--oscuro) !important;
}

.summary-total-final > span:first-child {
    color: var(--oscuro) !important;
    font-family: var(--font-heading);
    font-weight: 700;
}

.summary-total-amount {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    color: #4a4a4a;
}

.summary-currency {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 500;
    color: var(--gris-texto);
    letter-spacing: 1.5px;
}

.summary-tax-note {
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--gris-texto);
    margin-top: 10px;
    opacity: 0.85;
}

/* Formulario (campos izquierda) */
.shopify-style-checkout .form-row {
    margin-bottom: 15px;
}

.shopify-style-checkout .form-row label {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gris-texto);
    margin-bottom: 4px;
}

.shopify-style-checkout .form-row input[type="text"],
.shopify-style-checkout .form-row input[type="email"],
.shopify-style-checkout .form-row input[type="tel"],
.shopify-style-checkout .form-row input[type="password"],
.shopify-style-checkout .form-row textarea {
    padding: 0 14px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 14px;
    background: var(--blanco);
    width: 100%;
    height: 48px;
    box-sizing: border-box;
}

.shopify-style-checkout .form-row select,
.shopify-style-checkout .field-floating .select2-selection {
    padding: 0 14px !important;
    border: 1px solid rgba(0,0,0,0.15) !important;
    border-radius: 8px !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    background: var(--blanco) !important;
    width: 100% !important;
    height: 48px !important;
    box-sizing: border-box !important;
}

.shopify-style-checkout .form-row input::placeholder,
.shopify-style-checkout .form-row textarea::placeholder {
    color: #8a8a8a;
    opacity: 1;
}

.shopify-style-checkout .field-address input,
.shopify-style-checkout .field-phone input {
    padding-right: 40px;
}

.shopify-style-checkout .form-row input:focus,
.shopify-style-checkout .form-row select:focus,
.shopify-style-checkout .form-row textarea:focus {
    border-color: var(--coral);
    outline: none;
    box-shadow: 0 0 0 2px rgba(250, 132, 118, 0.15);
}

.shopify-style-checkout h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--oscuro);
    margin: 30px 0 15px;
    border: none;
    padding: 0;
}

.shopify-style-checkout h3:first-child {
    margin-top: 0;
}

/* Contacto header con botón iniciar sesión */
.contact-section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.contact-section-header h3 {
    margin: 0 !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    font-family: var(--font-heading);
    color: var(--oscuro);
    font-style: normal !important;
}

.contact-login-link {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--coral);
    text-decoration: underline;
    cursor: pointer;
}

/* Header Entrega */
.delivery-section-header {
    margin: 25px 0 14px !important;
    font-size: 20px !important;
    font-family: var(--font-heading) !important;
    color: var(--oscuro) !important;
    font-weight: 700 !important;
    font-style: normal !important;
}

/* Checkbox newsletter */
.contact-newsletter {
    margin: 12px 0 20px;
    padding: 0;
}

.contact-newsletter .filter-checkbox {
    gap: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
}

.contact-newsletter .checkmark {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid var(--azul-gris);
}

.contact-newsletter input[type="checkbox"]:checked + .checkmark {
    background-color: var(--azul-gris);
    border-color: var(--azul-gris);
}

/* Filas horizontales: nombre + apellido, CP + ciudad */
.shopify-style-checkout .form-row-first {
    width: 48.5%;
    float: left;
    clear: both;
    margin-right: 3%;
    margin-bottom: 14px;
}

.shopify-style-checkout .form-row-last {
    width: 48.5%;
    float: right;
    clear: none;
    margin-bottom: 14px;
}

.shopify-style-checkout .form-row-wide {
    clear: both;
    width: 100%;
    margin-bottom: 14px;
}

/* Tres columnas: CP + Ciudad + Provincia */
.shopify-style-checkout .form-row-third {
    width: 31.33%;
    float: left;
    margin-right: 3%;
    clear: none;
    margin-bottom: 14px;
}

.shopify-style-checkout .form-row-third.form-row-first-of-three {
    clear: both;
}

.shopify-style-checkout .form-row-third:last-of-type {
    margin-right: 0;
}

/* Campos con iconos (dirección, teléfono) */
.shopify-style-checkout .field-with-icon {
    position: relative;
}

.shopify-style-checkout .field-address::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    pointer-events: none;
}

.shopify-style-checkout .field-phone::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Campos con floating label (select con label visible arriba) */
.shopify-style-checkout .field-floating {
    position: relative;
}

.shopify-style-checkout .field-floating label {
    position: absolute;
    top: 6px;
    left: 15px;
    font-size: 11px !important;
    color: #8a8a8a !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none;
    z-index: 2;
    line-height: 1;
    font-weight: 400 !important;
}

.shopify-style-checkout .field-floating select,
.shopify-style-checkout .field-floating .select2-selection,
.shopify-style-checkout .field-floating .select2-selection__rendered {
    padding-top: 18px !important;
    padding-bottom: 4px !important;
    height: 56px !important;
    line-height: 1.2 !important;
}

.shopify-style-checkout .field-floating .select2-selection {
    display: flex;
    align-items: flex-end;
}

.shopify-style-checkout .field-floating .select2-selection__rendered {
    padding-top: 22px !important;
    font-size: 14px !important;
    color: var(--oscuro) !important;
}

.shopify-style-checkout .woocommerce-billing-fields__field-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

/* Método de envío */
.adho-shipping-box {
    border: 1px solid rgba(0,0,0,0.12);
    border-radius: 8px;
    overflow: hidden;
    background: var(--blanco);
}

.adho-shipping-notice {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gris-texto);
    margin: 0;
    padding: 18px 20px;
    font-style: italic;
    background: #fafafa;
}

.adho-shipping-option {
    display: grid;
    grid-template-columns: 22px 1fr auto;
    gap: 12px;
    align-items: center;
    padding: 14px 18px;
    cursor: pointer;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    transition: background 0.2s;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
}

.adho-shipping-option:last-child {
    border-bottom: none;
}

.adho-shipping-option:hover {
    background: rgba(141, 152, 166, 0.05);
}

.adho-shipping-option input[type="radio"] {
    display: none;
}

.adho-shipping-radio {
    width: 18px;
    height: 18px;
    border: 1.5px solid #ccc;
    border-radius: 50%;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s;
}

.adho-shipping-option input[type="radio"]:checked + .adho-shipping-radio {
    border-color: var(--coral);
}

.adho-shipping-option input[type="radio"]:checked + .adho-shipping-radio::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--coral);
}

.adho-shipping-name {
    font-weight: 500;
}

.adho-shipping-cost {
    font-weight: 600;
    color: var(--oscuro);
    white-space: nowrap;
}

.adho-shipping-cost .amount,
.adho-shipping-cost bdi {
    font-family: var(--font-body) !important;
    color: var(--oscuro) !important;
}

/* Opciones de pago personalizadas */
.payment-options-custom {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
    background: var(--blanco);
}

.payment-option {
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.payment-option:last-child {
    border-bottom: none;
}

.payment-option label {
    display: flex;
    align-items: center;
    padding: 15px 18px;
    cursor: pointer;
    gap: 12px;
    transition: background 0.2s;
}

.payment-option label:hover {
    background: rgba(141, 152, 166, 0.05);
}

.payment-option input[type="radio"] {
    accent-color: var(--coral);
    width: 16px;
    height: 16px;
}

.payment-label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
}

.payment-name {
    font-weight: 500;
}

.payment-icons {
    display: flex;
    gap: 6px;
}

.pay-badge {
    padding: 3px 8px;
    background: var(--beige);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 600;
    color: var(--oscuro);
    letter-spacing: 0.5px;
}

.pay-badge-bizum {
    background: #02BDEC;
    color: var(--blanco);
}

/* Review order / payment */
.shopify-style-checkout .woocommerce-checkout-review-order {
    background: transparent;
    padding: 0;
}

.shopify-style-checkout .woocommerce-checkout-review-order table {
    display: none;
}

.shopify-style-checkout .woocommerce-checkout-payment {
    background: transparent !important;
    padding: 0 !important;
}

.shopify-style-checkout ul.payment_methods {
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 8px;
    padding: 0 !important;
    margin: 0 0 20px 0 !important;
    list-style: none;
}

.shopify-style-checkout ul.payment_methods li {
    padding: 15px 18px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    margin: 0;
}

.shopify-style-checkout ul.payment_methods li:last-child {
    border-bottom: none;
}

.shopify-style-checkout ul.payment_methods li label {
    font-weight: 500;
    cursor: pointer;
}

.shopify-style-checkout .place-order button {
    width: 100%;
    padding: 16px;
    background-color: var(--coral);
    color: var(--blanco);
    border: none;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 20px;
}

.shopify-style-checkout .place-order button:hover {
    opacity: 0.9;
}

/* === SHOPIFY BILLING CUSTOM === */
.shopify-billing {
    font-family: var(--font-body);
    color: var(--oscuro);
}

.shopify-billing .sb-section {
    margin-bottom: 35px;
}

.shopify-billing .sb-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 14px;
}

.shopify-billing h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--azul-gris);
    margin: 0 0 14px 0;
    padding: 0;
    border: none;
    font-style: normal;
}

.shopify-billing .sb-header h3 {
    margin-bottom: 0;
}

.shopify-billing .sb-login-link {
    background: none;
    border: none;
    padding: 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--coral);
    text-decoration: underline;
    cursor: pointer;
}

/* Campo base */
.shopify-billing .sb-field {
    position: relative;
    margin-bottom: 12px;
}

.shopify-billing .sb-field input,
.shopify-billing .sb-field select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #d9d9d9;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--oscuro);
    background: var(--blanco);
    outline: none;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
}

.shopify-billing .sb-field input::placeholder {
    color: #999;
    opacity: 1;
}

.shopify-billing .sb-field input:focus,
.shopify-billing .sb-field select:focus {
    border-color: var(--azul-gris);
    box-shadow: 0 0 0 1px var(--azul-gris);
}

/* Dos columnas */
.shopify-billing .sb-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.shopify-billing .sb-row-2 .sb-field {
    margin-bottom: 0;
}

/* Tres columnas */
.shopify-billing .sb-row-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.shopify-billing .sb-row-3 .sb-field {
    margin-bottom: 0;
}

/* Floating label para selects - versión robusta con pseudo-elemento */
.shopify-billing .sb-field-floating {
    position: relative;
    height: 60px;
}

.shopify-billing .sb-field-floating label {
    position: absolute;
    top: 9px;
    left: 16px;
    font-family: var(--font-body);
    font-size: 11px;
    line-height: 1;
    color: #888;
    pointer-events: none;
    z-index: 2;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap;
    font-weight: 400;
    letter-spacing: 0.2px;
}

.shopify-billing .sb-field-floating select {
    display: block;
    height: 60px !important;
    width: 100% !important;
    padding: 24px 40px 8px 16px !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 8px !important;
    background: var(--blanco) !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--oscuro) !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    box-sizing: border-box !important;
    cursor: pointer;
    outline: none;
    line-height: 1.2 !important;
}

.shopify-billing .sb-field-floating select:focus {
    border-color: var(--azul-gris) !important;
    box-shadow: 0 0 0 1px var(--azul-gris) !important;
}

/* Chevron posicionado a la derecha */
.shopify-billing .sb-field-floating .sb-chevron {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    transform-origin: center;
}

/* === SELECT2 (WooCommerce) - sobrescribir para que coincida con diseño === */
.shopify-billing .sb-field-floating .select2-container {
    width: 100% !important;
    height: 60px !important;
    display: block;
}

.shopify-billing .sb-field-floating .select2-container .select2-selection--single,
.shopify-billing .sb-field-floating .select2-selection--single {
    height: 60px !important;
    border: 1px solid #d9d9d9 !important;
    border-radius: 8px !important;
    background: var(--blanco) !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    outline: none !important;
    cursor: pointer;
}

.shopify-billing .sb-field-floating .select2-selection--single .select2-selection__rendered {
    padding: 24px 40px 0 16px !important;
    height: 60px !important;
    line-height: 1.2 !important;
    font-family: var(--font-body) !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--oscuro) !important;
    display: block;
    box-sizing: border-box;
}

/* Ocultar la flecha de Select2 (usamos nuestro chevron) */
.shopify-billing .sb-field-floating .select2-selection__arrow {
    display: none !important;
}

/* Focus */
.shopify-billing .sb-field-floating .select2-container--open .select2-selection--single,
.shopify-billing .sb-field-floating .select2-container--focus .select2-selection--single {
    border-color: var(--azul-gris) !important;
    box-shadow: 0 0 0 1px var(--azul-gris) !important;
}

/* Dropdown de Select2 */
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--oscuro) !important;
}

.select2-dropdown {
    border: 1px solid #d9d9d9 !important;
    border-radius: 8px !important;
    overflow: hidden;
}

.select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[aria-selected] {
    background-color: var(--coral) !important;
    color: var(--blanco) !important;
}

.select2-search--dropdown .select2-search__field {
    border: 1px solid #d9d9d9 !important;
    border-radius: 6px !important;
    padding: 8px 12px !important;
    font-family: var(--font-body) !important;
}

.shopify-billing .sb-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid #666;
    border-bottom: 2px solid #666;
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}

/* Iconos a la derecha */
.shopify-billing .sb-field-icon input {
    padding-right: 42px;
}

.shopify-billing .sb-field-search::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
    pointer-events: none;
}

.shopify-billing .sb-field-help::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M9.09 9a3 3 0 015.83 1c0 2-3 3-3 3'/%3E%3Cline x1='12' y1='17' x2='12.01' y2='17'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* Checkbox newsletter */
.shopify-billing .sb-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
    margin-top: 8px;
}

.shopify-billing .sb-checkbox input[type="checkbox"] {
    display: none;
}

.shopify-billing .sb-check-box {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 1.5px solid #d9d9d9;
    background: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.shopify-billing .sb-checkbox input:checked + .sb-check-box {
    background-color: var(--azul-gris);
    border-color: var(--azul-gris);
}

.shopify-billing .sb-checkbox input:checked + .sb-check-box::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid var(--blanco);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Ocultar la plantilla vieja de WooCommerce */
.shopify-style-checkout .woocommerce-billing-fields h3:not(.delivery-section-header):not(.sb-header h3),
.shopify-style-checkout .woocommerce-additional-fields {
    display: none;
}

/* Layout antiguo compatibilidad */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 50px;
    align-items: start;
}

/* Aviso de login al inicio del checkout */
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle {
    margin-bottom: 25px;
}

.woocommerce-info {
    background-color: var(--beige);
    border-left: 4px solid var(--azul-gris);
    padding: 15px 20px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
}

.woocommerce-info a {
    color: var(--coral);
    font-weight: 500;
    text-decoration: underline;
}

/* Formulario de login colapsable */
.woocommerce-form-login {
    background-color: var(--beige);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.woocommerce-form-login .lost_password {
    margin-top: 10px;
    font-size: 13px;
}

.woocommerce-form-login .lost_password a {
    color: var(--coral);
}

.woocommerce-form-login button[type="submit"] {
    padding: 10px 25px;
    background-color: var(--azul-gris);
    color: var(--blanco);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    transition: opacity 0.3s;
}

.woocommerce-form-login button[type="submit"]:hover {
    opacity: 0.85;
}

/* Crear cuenta opcional */
.woocommerce-account-fields {
    background-color: var(--beige);
    border-radius: 12px;
    padding: 20px 25px;
    margin-top: 20px;
}

.woocommerce-account-fields .create-account {
    margin-bottom: 0;
}

.woocommerce-account-fields .create-account label {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
}

.woocommerce-account-fields .create-account input[type="checkbox"] {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: var(--coral);
}

/* Cupón dentro del resumen */
.summary-coupon-wrap {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.summary-coupon-toggle {
    background: none;
    border: none;
    color: var(--coral);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: underline;
    padding: 0;
}

/* (Reglas antiguas de summary-coupon-form eliminadas - están en .shopify-style-checkout arriba) */

/* Botón login toggle y popup */
.checkout-login-wrap {
    text-align: left;
    margin-bottom: 20px;
}

.checkout-login-toggle {
    background: none;
    border: none;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gris-texto);
    cursor: pointer;
}

.checkout-login-toggle span {
    color: var(--coral);
    text-decoration: underline;
    font-weight: 500;
    margin-left: 4px;
}

.login-popup-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.login-popup-overlay.open {
    display: flex;
}

.login-popup-box {
    background: var(--blanco);
    border-radius: 16px;
    padding: 40px 35px 35px;
    max-width: 420px;
    width: 100%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
}

.login-popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 28px;
    color: var(--gris-texto);
    cursor: pointer;
    line-height: 1;
}

.login-popup-box h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--oscuro);
    text-align: center;
    margin-bottom: 25px;
}

.login-popup-form .form-group {
    margin-bottom: 18px;
}

.login-popup-form label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--oscuro);
    margin-bottom: 6px;
}

.login-popup-form input[type="text"],
.login-popup-form input[type="password"] {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--beige);
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
}

.login-popup-form .form-group-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 13px;
}

.remember-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-body);
    color: var(--gris-texto);
    cursor: pointer;
}

.remember-label input[type="checkbox"] {
    accent-color: var(--coral);
}

.lost-link {
    color: var(--coral);
    text-decoration: underline;
}

.login-submit {
    width: 100%;
    padding: 13px;
    background-color: var(--coral);
    color: var(--blanco);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.3s;
}

.login-submit:hover { opacity: 0.85; }

/* Nota de privacidad más pequeña */
.woocommerce-privacy-policy-text,
.woocommerce-terms-and-conditions-wrapper .woocommerce-privacy-policy-text,
#order_review_heading + .woocommerce-privacy-policy-text,
.checkout .woocommerce-privacy-policy-text p {
    font-family: var(--font-body);
    font-size: 11px !important;
    line-height: 1.4 !important;
    color: var(--gris-texto);
    opacity: 0.7;
    margin-top: 15px;
    margin-bottom: 15px;
}

.woocommerce-privacy-policy-text a {
    color: var(--coral);
    text-decoration: underline;
}

.woocommerce-form h3,
.woocommerce-checkout h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--beige);
}

.form-row {
    margin-bottom: 20px;
}

.form-row label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--oscuro);
    margin-bottom: 6px;
}

.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="password"],
.form-row select,
.form-row textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--beige);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
    background-color: var(--blanco);
}

.woocommerce-checkout-review-order {
    background-color: var(--beige);
    border-radius: 12px;
    padding: 25px;
}

.woocommerce-checkout-review-order table {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
}

.woocommerce-checkout-review-order th,
.woocommerce-checkout-review-order td {
    padding: 10px 0;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.woocommerce-checkout-review-order .product-total {
    text-align: right;
    font-weight: 600;
}

.woocommerce-checkout-review-order .order-total {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--oscuro);
}

.woocommerce-checkout-payment {
    background: transparent !important;
    margin-top: 20px;
}

.woocommerce-checkout-payment ul.payment_methods {
    list-style: none;
    padding: 0;
    margin: 0;
}

.woocommerce-checkout-payment .place-order button {
    width: 100%;
    padding: 15px;
    background-color: var(--coral);
    color: var(--blanco);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 15px;
}

/* === LOGIN / REGISTRO Mi Cuenta === */
.account-login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.account-login-box,
.account-register-box {
    background: var(--blanco);
    border: 1px solid var(--beige);
    border-radius: 16px;
    padding: 35px 35px 30px;
}

.account-login-title {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--azul-gris);
    margin: 0 0 22px 0;
    text-align: center;
    font-style: normal;
}

.account-register-intro {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gris-texto);
    text-align: center;
    margin-bottom: 22px;
    line-height: 1.5;
}

/* Botón Continuar con Google */
.btn-google-login {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 12px 20px;
    height: 48px;
    background: var(--blanco);
    border: 1px solid #d9d9d9;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--oscuro);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    margin-bottom: 18px;
}

.btn-google-login:hover {
    border-color: var(--azul-gris);
    background: #fafafa;
}

/* Separador "o" */
.login-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 18px 0;
    color: var(--gris-texto);
    font-family: var(--font-body);
    font-size: 13px;
}

.login-divider::before,
.login-divider::after {
    content: "";
    flex: 1;
    border-top: 1px solid var(--beige);
}

.login-divider span {
    padding: 0 14px;
    color: var(--gris-texto);
    background: transparent;
}

/* Campos */
.login-field {
    margin-bottom: 12px;
}

.login-field input[type="text"],
.login-field input[type="email"],
.login-field input[type="password"] {
    width: 100%;
    height: 48px;
    padding: 0 20px;
    border: 1px solid #d9d9d9;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
    background: var(--blanco);
    outline: none;
    box-sizing: border-box;
}

.login-field input:focus {
    border-color: var(--azul-gris);
    box-shadow: 0 0 0 1px var(--azul-gris);
}

.login-field input::placeholder {
    color: #999;
}

/* Recuérdame checkbox */
.login-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 16px;
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--oscuro);
}

.login-remember input[type="checkbox"] {
    display: none;
}

.login-checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid #d9d9d9;
    border-radius: 4px;
    background: var(--blanco);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.login-remember input:checked + .login-checkmark {
    background-color: var(--azul-gris);
    border-color: var(--azul-gris);
}

.login-remember input:checked + .login-checkmark::after {
    content: "";
    width: 5px;
    height: 9px;
    border: solid var(--blanco);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

/* Botón Iniciar sesión - coral */
.btn-login-submit {
    width: 100%;
    height: 48px;
    padding: 0;
    background-color: var(--coral);
    color: var(--blanco);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: opacity 0.3s;
    margin-top: 5px;
}

.btn-login-submit:hover {
    opacity: 0.88;
}

/* Link olvidé contraseña */
.login-forgot {
    text-align: center;
    margin: 16px 0 0;
    font-family: var(--font-body);
    font-size: 13px;
}

.login-forgot a {
    color: var(--coral);
    text-decoration: underline;
}

@media (max-width: 768px) {
    .account-login-container {
        grid-template-columns: 1fr;
    }
}

/* === CUENTA === */
.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
}

.woocommerce-MyAccount-navigation ul li {
    border-bottom: 1px solid var(--beige);
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 0;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gris-texto);
    transition: color 0.3s;
}

.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li a:hover {
    color: var(--coral);
    font-weight: 500;
}

.u-column1,
.u-column2 {
    background-color: var(--beige);
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.u-column1 h2,
.u-column2 h2 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 20px;
}

/* WooCommerce notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    background-color: var(--beige);
    border-left: 4px solid var(--coral);
    padding: 15px 20px;
    margin-bottom: 25px;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
}

.woocommerce-error {
    border-left-color: #d63638;
}

.woocommerce-message {
    border-left-color: var(--azul-gris);
}

/* === TIENDA (ARTE) === */
.shop-hero {
    padding: 0;
    margin-top: 85px;
    text-align: center;
    background-color: var(--blanco);
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-hero h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--coral);
    margin-bottom: -15px;
    margin-top: 40px;
}

.page-subtitle {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 500;
    font-style: italic;
    color: #4a4a4a;
    margin-top: 10px;
}

.shop-content {
    padding: 40px 0 80px;
}

.shop-layout {
    display: block;
}

/* Toolbar con botón filtrar y ordenar */
.shop-toolbar {
    margin-bottom: 30px;
}

.btn-filter-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background-color: var(--beige);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--oscuro);
    cursor: pointer;
    transition: all 0.3s;
}

.btn-filter-toggle:hover,
.btn-filter-toggle.open {
    background-color: var(--azul-gris);
    color: var(--blanco);
}

.btn-filter-toggle .toggle-arrow {
    font-size: 18px;
    font-weight: 400;
    margin-left: 5px;
}

/* Panel desplegable */
.filter-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    margin-top: 0;
}

.filter-panel.open {
    max-height: 700px;
    margin-top: 20px;
}

.filter-panel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    padding: 30px;
    background-color: var(--beige);
    border-radius: 12px;
}

.filter-group-heading {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.sort-select-full {
    width: 100%;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
    padding: 10px 30px 10px 14px;
    border: 1px solid rgba(0,0,0,0.15);
    border-radius: 50px;
    background-color: var(--blanco);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238D98A6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    outline: none;
}

.filter-panel .filter-clear {
    margin: 15px 0 0 30px;
}

/* Sidebar filtros */
.shop-filters {
    padding-top: 10px;
}

.filters-heading {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 25px;
}

.filter-group {
    margin-bottom: 30px;
}

.filter-group-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 10px;
    padding: 0 0 8px 0;
    border: none;
    border-bottom: 1px solid var(--beige);
    background: none;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-heading);
}

.filter-group-title .arrow {
    font-size: 20px;
    font-weight: 400;
    color: var(--azul-gris);
    transition: transform 0.3s;
}

/* Colapsable: cerrado por defecto */
.filter-collapsible {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 0;
}

.filter-group.open .filter-collapsible {
    max-height: 500px;
    margin-top: 12px;
}

.filter-list {
    list-style: none;
    padding: 0;
}

.filter-list li {
    margin-bottom: 8px;
}

.filter-list li a {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gris-texto);
    padding: 6px 0;
    display: block;
    transition: color 0.3s ease;
}

.filter-list li a:hover,
.filter-list li.active a {
    color: var(--coral);
    font-weight: 600;
}

.filter-list li.active a {
    border-left: 3px solid var(--coral);
    padding-left: 10px;
}

/* Checkboxes personalizados */
.checkbox-list li {
    margin-bottom: 6px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gris-texto);
    cursor: pointer;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.filter-checkbox:hover {
    color: var(--oscuro);
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.filter-checkbox .checkmark {
    width: 18px;
    height: 18px;
    min-width: 18px;
    border: 2px solid var(--beige);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background-color: var(--blanco);
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark {
    background-color: var(--coral);
    border-color: var(--coral);
}

.filter-checkbox input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid var(--blanco);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.filter-checkbox .count {
    font-size: 12px;
    opacity: 0.6;
    margin-left: auto;
}

/* Botón limpiar filtros */
.filter-clear {
    margin-top: 20px;
    padding: 8px 20px;
    background: none;
    border: 1px solid var(--beige);
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gris-texto);
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-clear:hover {
    border-color: var(--coral);
    color: var(--coral);
}

.filter-list .count {
    font-size: 12px;
    opacity: 0.6;
}

.filter-widget {
    margin-top: 25px;
}

.filter-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 10px;
}

/* Ordenar por */
.shop-sort {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-bottom: 25px;
}

.sort-label {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gris-texto);
}

.sort-select {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--oscuro);
    padding: 8px 30px 8px 14px;
    border: 1px solid var(--beige);
    border-radius: 50px;
    background-color: var(--blanco);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%238D98A6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    transition: border-color 0.3s ease;
}

.sort-select:hover,
.sort-select:focus {
    border-color: var(--azul-gris);
    outline: none;
}

/* Grid productos tienda */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.producto-card-shop {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--beige);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.producto-card-shop:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.producto-card-shop .producto-imagen {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.producto-card-shop .producto-imagen img,
.producto-card-shop .producto-imagen .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--beige);
}

.producto-card-shop .producto-info {
    background-color: var(--beige);
    padding: 15px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.producto-card-shop .producto-titulo {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 700;
    color: var(--oscuro);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.producto-card-shop .producto-precio {
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gris-texto);
}

.no-products {
    text-align: center;
    padding: 60px 0;
    font-size: 18px;
    color: var(--gris-texto);
}

/* WooCommerce pagination */
.woocommerce-pagination {
    margin-top: 40px;
    text-align: center;
}

.woocommerce-pagination ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--gris-texto);
    background-color: var(--beige);
    transition: all 0.3s ease;
}

.woocommerce-pagination span.current,
.woocommerce-pagination a:hover {
    background-color: var(--azul-gris);
    color: var(--blanco);
}

/* === PORTFOLIO / IMÁGENES === */
.portfolio-section {
    padding: 40px 0 80px;
}

/* Filtros portfolio */
.portfolio-filters-wrapper {
    margin-bottom: 40px;
    text-align: left;
}

.portfolio-filters-wrapper .mobile-only {
    display: none;
}

.portfolio-filters {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.portfolio-filter-btn {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 8px 24px;
    border: 1px solid var(--beige);
    border-radius: 50px;
    background: var(--blanco);
    color: var(--gris-texto);
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-filter-btn:hover {
    border-color: var(--azul-gris);
    color: var(--oscuro);
}

.portfolio-filter-btn.active {
    background-color: var(--azul-gris);
    border-color: var(--azul-gris);
    color: var(--blanco);
}

/* Grid masonry */
.masonry-grid {
    columns: 3;
    column-gap: 20px;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 20px;
    border-radius: 8px;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.masonry-item a {
    display: block;
}

.masonry-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.masonry-item:hover img {
    transform: scale(1.03);
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.92);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.lightbox.open {
    display: flex;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: var(--blanco);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s;
    z-index: 10001;
}

.lightbox-close:hover {
    opacity: 1;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 50px;
    color: var(--blanco);
    background: none;
    border: none;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s;
    padding: 20px;
    z-index: 10001;
}

.lightbox-prev { left: 10px; }
.lightbox-next { right: 10px; }

.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 1;
}

/* === BLOG / PALABRAS === */
.blog-section {
    padding: 40px 0 80px;
}

/* Post destacado */
.blog-featured {
    margin-bottom: 50px;
}

.blog-featured-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    text-decoration: none;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--beige);
    transition: box-shadow 0.3s ease;
}

.blog-featured-inner:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-featured-img img,
.blog-featured-img .img-placeholder {
    width: 100%;
    height: 380px;
    object-fit: cover;
    background-color: var(--beige);
}

.blog-featured-content {
    padding: 30px 40px 30px 0;
}

.blog-featured-content h2 {
    font-family: var(--font-heading);
    font-size: 30px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-featured-content p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--gris-texto);
    margin-bottom: 20px;
}

.blog-date {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    color: var(--azul-gris);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.blog-read-more {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--coral);
    transition: opacity 0.3s;
}

.blog-featured-inner:hover .blog-read-more {
    opacity: 0.7;
}

/* Suscripción */
.blog-subscribe {
    margin-bottom: 50px;
}

.recursos-subscribe {
    padding: 0 0 80px;
}

.subscribe-beige {
    background-color: var(--beige) !important;
}

.subscribe-beige h3 {
    color: var(--oscuro) !important;
}

.subscribe-beige > p {
    color: var(--gris-texto) !important;
}

.subscribe-inner {
    background-color: var(--azul-gris);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.subscribe-inner h3 {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 700;
    color: var(--blanco);
    margin-bottom: 8px;
}

.subscribe-inner > p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px;
}

.subscribe-form {
    display: flex;
    justify-content: center;
    gap: 12px;
    max-width: 480px;
    margin: 0 auto;
}

.subscribe-form input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
    outline: none;
}

.subscribe-form button {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    background-color: var(--coral);
    color: var(--blanco);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.subscribe-form button:hover {
    opacity: 0.85;
}

/* Grid de posts */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.blog-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 1050px;
    margin: 0 auto;
}

.blog-card {
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--beige);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-card-content {
    flex: 1;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.blog-card a {
    text-decoration: none;
    display: block;
}

.blog-card-img img,
.blog-card-img .img-placeholder {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background-color: var(--beige);
}

.blog-card-content {
    padding: 20px;
    background-color: var(--beige);
}

.blog-card-content h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--oscuro);
    margin-bottom: 8px;
    line-height: 1.3;
}

.blog-card-content p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--gris-texto);
}

/* === SOBRE MÍ === */
/* Hero */
.about-hero {
    margin-top: 0;
    padding-top: 85px;
    overflow: hidden;
    background-color: var(--blanco);
}

.about-hero-inner {
    display: grid;
    grid-template-columns: 40% 60%;
    min-height: 520px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-hero-text {
    background-color: var(--blanco);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 60px 50px;
    transform: translateX(30px);
}

.about-hero-text h1 {
    font-family: var(--font-heading);
    font-weight: 600;
    font-style: normal;
    color: var(--coral);
    line-height: 1;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about-hero-text h1 .name-first {
    font-size: 56px;
}

.about-hero-text h1 .name-last {
    font-size: 56px;
    margin-top: -5px;
}

.about-hero-subtitle {
    font-family: var(--font-heading);
    font-size: 18px;
    font-style: italic;
    color: #4a4a4a;
    letter-spacing: 0.5px;
    margin-top: -20px;
}

.about-hero-img {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px;
}

.about-hero-img img {
    width: 85%;
    height: auto;
    max-height: 450px;
    border-radius: 4px;
    object-fit: cover;
    object-position: center top;
}

/* Bio */
.about-bio {
    padding: 80px 0;
    background-color: var(--beige);
}

.about-bio h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    font-style: italic;
    color: var(--blanco);
    text-align: center;
    margin-bottom: 30px;
}

.about-bio-text {
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
}

.about-bio-text p {
    font-size: 15px;
    line-height: 1.8;
    color: var(--gris-texto);
    margin-bottom: 15px;
}

/* Experiencia */
.about-experience {
    padding: 80px 0;
    background-color: var(--blanco);
}

.about-experience h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    font-style: italic;
    color: var(--azul-gris);
    text-align: center;
    margin-bottom: 50px;
}

.timeline {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.timeline-item {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

.timeline-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.timeline-date {
    font-family: var(--font-heading);
    font-size: 16px;
    font-style: italic;
    color: var(--coral);
    display: block;
    margin-bottom: 8px;
}

.timeline-item h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: #4a4a4a;
    margin-bottom: 10px;
}

.timeline-item p {
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.7;
    color: #4a4a4a;
}

/* Contacto */
.about-contact {
    padding: 80px 0;
    background-color: var(--beige);
}

.contact-box {
    max-width: 600px;
    margin: 0 auto;
    border: 1px solid var(--beige);
    border-radius: 12px;
    padding: 50px 40px;
    text-align: center;
}

.contact-box h2 {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 700;
    font-style: italic;
    color: var(--oscuro);
    margin-bottom: 15px;
}

.contact-info {
    font-size: 14px;
    color: var(--gris-texto);
    margin-bottom: 15px;
}

.contact-social {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.contact-social a {
    color: var(--oscuro);
    transition: color 0.3s;
}

.contact-social a:hover {
    color: var(--coral);
}

/* Formulario */
.contact-form {
    text-align: left;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--oscuro);
    margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    color: var(--oscuro);
    transition: border-color 0.3s;
    background-color: var(--blanco);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--azul-gris);
}

.form-group textarea {
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 14px;
    background-color: var(--oscuro);
    color: var(--blanco);
    border: none;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.3s;
}

.form-submit:hover {
    opacity: 0.85;
}

.form-success {
    font-size: 16px;
    color: var(--coral);
    padding: 20px 0;
}

/* === RECURSOS GRID === */
.recursos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.recursos-grid-2col {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

/* En el grid de 2 columnas, las imágenes mantienen aspecto horizontal (como Substack) */
.recursos-grid-2col .recurso-img {
    aspect-ratio: 3 / 2;
}

.recursos-grid-2col .recurso-img img {
    object-position: center top;
}

.recurso-card {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recurso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.recurso-card a {
    text-decoration: none;
    display: block;
}

.recurso-img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.recurso-img img,
.recurso-img .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--beige);
    transition: transform 0.4s ease;
}

.recurso-card:hover .recurso-img img {
    transform: scale(1.03);
}

.recurso-info {
    padding: 18px 20px;
}

.recurso-info h3 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--blanco);
    line-height: 1.3;
    margin-bottom: 6px;
}

.recurso-cat {
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Patrón 2 columnas: beige/azul alternando, fila 2 azul/coral, fila 3 coral/beige */
.recursos-grid-2col .recurso-card:nth-child(6n+1) { background-color: var(--beige); }
.recursos-grid-2col .recurso-card:nth-child(6n+1) h3 { color: var(--oscuro); }
.recursos-grid-2col .recurso-card:nth-child(6n+1) .recurso-cat { color: var(--gris-texto); }

.recursos-grid-2col .recurso-card:nth-child(6n+2) { background-color: var(--azul-gris); }
.recursos-grid-2col .recurso-card:nth-child(6n+2) h3 { color: var(--blanco); }
.recursos-grid-2col .recurso-card:nth-child(6n+2) .recurso-cat { color: rgba(255,255,255,0.7); }

.recursos-grid-2col .recurso-card:nth-child(6n+3) { background-color: var(--azul-gris); }
.recursos-grid-2col .recurso-card:nth-child(6n+3) h3 { color: var(--blanco); }
.recursos-grid-2col .recurso-card:nth-child(6n+3) .recurso-cat { color: rgba(255,255,255,0.7); }

.recursos-grid-2col .recurso-card:nth-child(6n+4) { background-color: var(--coral); }
.recursos-grid-2col .recurso-card:nth-child(6n+4) h3 { color: var(--blanco); }
.recursos-grid-2col .recurso-card:nth-child(6n+4) .recurso-cat { color: rgba(255,255,255,0.7); }

.recursos-grid-2col .recurso-card:nth-child(6n+5) { background-color: var(--coral); }
.recursos-grid-2col .recurso-card:nth-child(6n+5) h3 { color: var(--blanco); }
.recursos-grid-2col .recurso-card:nth-child(6n+5) .recurso-cat { color: rgba(255,255,255,0.7); }

.recursos-grid-2col .recurso-card:nth-child(6n) { background-color: var(--beige); }
.recursos-grid-2col .recurso-card:nth-child(6n) h3 { color: var(--oscuro); }
.recursos-grid-2col .recurso-card:nth-child(6n) .recurso-cat { color: var(--gris-texto); }

/* Patrón de colores: beige, azul, coral (rotando cada fila) */
/* Fila 1: beige, azul, coral */
.recurso-card:nth-child(9n+1) { background-color: var(--beige); }
.recurso-card:nth-child(9n+1) h3 { color: var(--oscuro); }
.recurso-card:nth-child(9n+1) .recurso-cat { color: var(--gris-texto); }

.recurso-card:nth-child(9n+2) { background-color: var(--azul-gris); }
.recurso-card:nth-child(9n+2) h3 { color: var(--blanco); }
.recurso-card:nth-child(9n+2) .recurso-cat { color: rgba(255,255,255,0.7); }

.recurso-card:nth-child(9n+3) { background-color: var(--coral); }
.recurso-card:nth-child(9n+3) h3 { color: var(--blanco); }
.recurso-card:nth-child(9n+3) .recurso-cat { color: rgba(255,255,255,0.7); }

/* Fila 2: coral, beige, azul */
.recurso-card:nth-child(9n+4) { background-color: var(--coral); }
.recurso-card:nth-child(9n+4) h3 { color: var(--blanco); }
.recurso-card:nth-child(9n+4) .recurso-cat { color: rgba(255,255,255,0.7); }

.recurso-card:nth-child(9n+5) { background-color: var(--beige); }
.recurso-card:nth-child(9n+5) h3 { color: var(--oscuro); }
.recurso-card:nth-child(9n+5) .recurso-cat { color: var(--gris-texto); }

.recurso-card:nth-child(9n+6) { background-color: var(--azul-gris); }
.recurso-card:nth-child(9n+6) h3 { color: var(--blanco); }
.recurso-card:nth-child(9n+6) .recurso-cat { color: rgba(255,255,255,0.7); }

/* Fila 3: azul, coral, beige */
.recurso-card:nth-child(9n+7) { background-color: var(--azul-gris); }
.recurso-card:nth-child(9n+7) h3 { color: var(--blanco); }
.recurso-card:nth-child(9n+7) .recurso-cat { color: rgba(255,255,255,0.7); }

.recurso-card:nth-child(9n+8) { background-color: var(--coral); }
.recurso-card:nth-child(9n+8) h3 { color: var(--blanco); }
.recurso-card:nth-child(9n+8) .recurso-cat { color: rgba(255,255,255,0.7); }

.recurso-card:nth-child(9n) { background-color: var(--beige); }
.recurso-card:nth-child(9n) h3 { color: var(--oscuro); }
.recurso-card:nth-child(9n) .recurso-cat { color: var(--gris-texto); }

/* === PRODUCTO INDIVIDUAL === */
.single-product-page {
    margin-top: 85px;
    padding: 50px 0 60px;
}

.product-category-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 25px;
    text-align: center;
    width: 100%;
}

.product-layout {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 50px;
    flex-wrap: wrap;
}

/* Galería: miniaturas a la izquierda + foto principal */
.product-gallery {
    display: flex;
    align-items: flex-start;
    gap: 30px;
}

.product-thumbnails {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.product-main-image {
    width: 450px;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--beige);
    flex-shrink: 0;
}

.product-main-image img,
.img-placeholder-product {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
    background-color: var(--beige);
}

.product-thumb {
    width: 130px;
    height: 130px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    padding: 0;
    background-color: var(--beige);
    cursor: pointer;
    transition: border-color 0.3s;
    flex-shrink: 0;
}

.product-thumb-placeholder {
    cursor: default;
}

.product-thumb.active {
    border-color: var(--coral);
}

.product-thumb:hover {
    border-color: var(--azul-gris);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info-centered {
    max-width: 380px;
    flex: 1;
    align-self: flex-start;
    padding-top: 20px;
}

.product-title {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 700;
    color: var(--oscuro);
    line-height: 1.2;
    margin-bottom: 15px;
}

.product-price {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 600;
    font-style: italic;
    color: var(--coral);
    margin-bottom: 30px;
}

.product-price .woocommerce-Price-amount {
    font-style: italic;
}

.product-description {
    font-family: var(--font-body);
    font-size: 15px;
    line-height: 1.7;
    color: var(--gris-texto);
    margin-bottom: 30px;
}

.product-add-to-cart {
    margin-top: 20px;
}

/* WooCommerce formulario añadir al carrito */
.product-add-to-cart form.cart {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.product-add-to-cart .quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--beige);
    border-radius: 50px;
    padding: 2px 8px;
}

.product-add-to-cart .quantity input {
    width: 50px;
    border: none;
    background: transparent;
    text-align: center;
    font-family: var(--font-body);
    font-size: 14px;
    padding: 8px 0;
    color: var(--oscuro);
    outline: none;
}

.product-add-to-cart .single_add_to_cart_button,
.product-add-to-cart button[type="submit"] {
    padding: 14px 35px;
    background-color: var(--coral);
    color: var(--blanco);
    border: none;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.3s;
    text-transform: uppercase;
}

.product-add-to-cart .single_add_to_cart_button:hover {
    opacity: 0.85;
}

.woocommerce-variation-add-to-cart {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

/* Productos relacionados */
.related-products {
    padding: 60px 0;
    background-color: var(--blanco);
}

.related-products .producto-card-shop {
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

.related-products .producto-imagen {
    aspect-ratio: 1 / 1;
    border-radius: 8px;
    overflow: hidden;
    background-color: var(--beige);
}

.related-products .producto-imagen img,
.related-products .producto-imagen .img-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: var(--beige);
}

.related-products .producto-info {
    background-color: transparent;
    padding: 12px 0 0;
    text-align: center;
}

.related-products .producto-titulo {
    font-family: var(--font-heading);
    font-size: 15px;
    margin-bottom: 3px;
}

.related-products .producto-precio {
    font-size: 13px;
}

.related-products h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    font-style: italic;
    color: var(--oscuro);
    text-align: center;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.back-to-shop {
    padding: 40px 0 80px;
    text-align: center;
    background-color: var(--blanco);
}

.back-to-shop .btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--coral);
    color: var(--blanco);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    transition: opacity 0.3s;
}

.back-to-shop .btn-cta:hover {
    opacity: 0.85;
}

/* === POST / RECURSO INDIVIDUAL === */
.single-post {
    margin-top: 85px;
    padding: 60px 0 80px;
}

.single-post .container {
    max-width: 750px;
}

.post-header {
    text-align: center;
    margin-bottom: 40px;
}

.post-category {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--coral);
    margin-bottom: 15px;
}

.post-header h1 {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 700;
    color: var(--oscuro);
    line-height: 1.2;
    margin-bottom: 15px;
}

.post-meta {
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--gris-texto);
}

.post-featured-img {
    margin-bottom: 40px;
    border-radius: 12px;
    overflow: hidden;
}

.post-featured-img img {
    width: 100%;
    height: auto;
}

.post-content {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.8;
    color: var(--gris-texto);
    overflow-wrap: break-word;
    word-wrap: break-word;
    max-width: 100%;
}

.post-content img,
.post-content iframe,
.post-content video {
    max-width: 100%;
    height: auto;
}

.post-content *,
.post-content div {
    max-width: 100% !important;
    box-sizing: border-box;
}

.post-content p {
    margin-bottom: 20px;
}

.post-content h2, .post-content h3 {
    margin-top: 35px;
    margin-bottom: 15px;
    color: var(--oscuro);
}

.post-content a {
    color: var(--coral);
    text-decoration: underline;
}

.post-content img {
    border-radius: 8px;
    margin: 20px 0;
}

.post-content blockquote {
    border-left: 3px solid var(--coral);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: var(--azul-gris);
}

.post-nav {
    margin-top: 50px;
    text-align: center;
}

.post-nav .btn-cta {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--beige);
    color: #4e4e4e;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    border-radius: 50px;
    transition: opacity 0.3s;
}

.post-nav .btn-cta:hover {
    opacity: 0.85;
}

/* Enlace discreto a Substack */
.post-substack-link {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--beige);
    text-align: center;
}

.post-substack-link p {
    font-family: var(--font-heading);
    font-size: 15px;
    font-style: italic;
    color: var(--gris-texto);
}

.post-substack-link a {
    color: var(--coral);
    text-decoration: underline;
}

/* Suscripción al final del post */
.post-subscribe {
    padding: 60px 0;
    background-color: var(--blanco);
}

.post-subscribe .subscribe-inner {
    max-width: 700px;
    margin: 0 auto;
}

/* Posts relacionados */
.related-posts {
    padding: 60px 0 80px;
    background-color: var(--beige);
}

.related-posts .container {
    max-width: 1350px;
}

.related-posts h2 {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 700;
    color: var(--oscuro);
    text-align: center;
    margin-bottom: 40px;
    font-style: italic;
}

.related-posts .blog-card {
    background-color: var(--blanco);
}

.related-posts .blog-card .blog-card-content {
    background-color: var(--blanco);
}

/* === FOOTER === */
.site-footer {
    background-color: var(--azul-gris);
    padding: 60px 0 0;
    color: var(--blanco);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

.footer-brand .footer-logo {
    height: 45px;
    width: auto;
    margin-bottom: 15px;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--blanco);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul a {
    font-family: var(--font-body);
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-col ul a:hover {
    color: var(--blanco);
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.footer-social a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.3s;
}

.footer-social a:hover {
    color: var(--blanco);
}

.footer-email {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding: 20px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .servicios .grid,
    .productos .grid {
        grid-template-columns: 1fr;
    }

    .about .container {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 32px;
    }

    /* === MENÚ MÓVIL === */
    .menu-toggle {
        display: flex;
    }

    .site-header .container {
        align-items: center;
    }

    .site-header .logo img {
        height: 50px;
    }

    #site-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background-color: var(--azul-gris);
        transform: translateY(-120%);
        transition: transform 0.3s ease;
        z-index: 999;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    body.menu-open #site-nav {
        transform: translateY(0);
    }

    #site-nav ul {
        flex-direction: column;
        padding: 20px 30px 30px;
        gap: 0;
    }

    #site-nav ul li {
        border-bottom: 1px solid rgba(255,255,255,0.15);
    }

    #site-nav ul li:last-child {
        border-bottom: none;
    }

    #site-nav ul a {
        padding: 15px 0;
        display: block;
        font-size: 15px;
    }

    .shop-layout {
        grid-template-columns: 1fr;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .instagram-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .personal-card {
        grid-template-columns: 1fr;
    }

    .personal-img img {
        height: 300px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }

    /* Carrito y checkout responsive */
    .cart-layout,
    .checkout-layout,
    .shopify-style-checkout .checkout-shopify-layout {
        grid-template-columns: 1fr;
    }

    .checkout-shopify-left {
        padding: 20px;
        border-right: none;
        border-bottom: 1px solid var(--beige);
        order: 2;
    }

    .checkout-shopify-right {
        padding: 25px 20px;
        position: static;
        order: 1;
    }

    .cart-item {
        grid-template-columns: 70px 1fr 30px;
        gap: 15px;
    }

    .cart-item-image img {
        width: 70px;
        height: 70px;
    }

    .cart-item-quantity,
    .cart-item-subtotal {
        grid-column: 2;
    }

    .cart-item-subtotal {
        text-align: left;
        font-size: 16px;
    }

    .header-cart {
        margin-left: 10px;
    }

    .product-layout {
        flex-direction: column;
        align-items: center;
    }

    .product-gallery {
        flex-direction: column;
        align-items: center;
    }

    .product-thumbnails {
        flex-direction: row;
        gap: 15px;
    }

    .product-thumb {
        width: 80px;
        height: 80px;
    }

    .product-main-image {
        width: 100%;
        max-width: 400px;
    }

    .product-main-image img,
    .img-placeholder-product {
        height: 400px;
    }

    .product-info-centered {
        text-align: center;
    }

    .product-add-to-cart form.cart {
        justify-content: center;
    }

    .product-title {
        font-size: 28px;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Hero y páginas */
    .hero {
        height: 200px;
    }

    .hero h1 {
        margin-top: 30px;
    }

    .shop-hero {
        height: 140px;
    }

    .shop-hero h1 {
        font-size: 32px;
    }

    .page-subtitle {
        font-size: 22px;
    }

    /* Tienda Arte */
    .filter-panel-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .filter-panel.open {
        max-height: 1200px;
    }

    /* Portfolio: filtros colapsables en móvil */
    .portfolio-filters-wrapper .mobile-only {
        display: inline-flex;
    }

    .portfolio-filters {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin-top 0.3s ease;
        margin-top: 0;
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }

    .portfolio-filters.open {
        max-height: 500px;
        margin-top: 15px;
    }

    .portfolio-filter-btn {
        font-size: 12px;
        padding: 6px 16px;
    }

    /* Recursos grid */
    .recursos-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px;
    }

    .recurso-info h3 {
        font-size: 15px;
    }

    /* Blog */
    .blog-featured-img img,
    .blog-featured-img .img-placeholder {
        height: 240px;
    }

    .blog-featured-content h2 {
        font-size: 24px;
    }

    /* Post individual */
    .single-post {
        padding: 30px 0 60px;
    }

    .post-header h1 {
        font-size: 28px;
    }

    .post-content {
        font-size: 15px;
    }

    /* Sobre mí */
    .about-experience h2,
    .about-bio h2,
    .contact-box h2 {
        font-size: 28px;
    }

    /* Instagram */
    .instagram-header h2 {
        font-size: 22px;
    }

    /* Bloque personal */
    .personal-text {
        padding: 30px;
    }

    .personal-text p {
        font-size: 18px;
    }

    /* Suscripción */
    .subscribe-inner {
        padding: 30px 20px;
    }

    .subscribe-form {
        flex-direction: column;
    }

    .subscribe-form input[type="email"],
    .subscribe-form button {
        width: 100%;
    }

    /* Servicios grid */
    .servicios .grid {
        gap: 20px;
        max-width: 400px;
    }

    .masonry-grid {
        columns: 2;
        column-gap: 10px;
    }

    .masonry-item {
        margin-bottom: 10px;
    }

    .blog-featured-inner {
        grid-template-columns: 1fr;
    }

    .blog-featured-content {
        padding: 20px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .about-hero-inner {
        flex-direction: column;
        min-height: auto;
    }

    .about-hero-text {
        width: 100%;
        text-align: center;
        padding: 40px 20px;
    }

    .about-hero-text h1 {
        font-size: 42px;
    }

    .about-hero-img {
        position: relative;
        width: 100%;
        height: 300px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-box {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        columns: 2;
        column-gap: 8px;
    }

    .masonry-item {
        margin-bottom: 8px;
    }
}
