/*
Theme Name: Doro Luxe
Theme URI: https://doroluxe.com
Author: Antigravity Custom Themes
Author URI: https://github.com/google-deepmind
Description: Tema de WordPress exclusivo y de lujo para la marca de joyería Doro Luxe. Compatible con WooCommerce, optimizado para móviles (mobile-first), con una estética sofisticada en tonos crema-rosado y detalles oro rosa/rosado viejo.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doroluxe
*/

/* ==========================================================================
   1. VARIABLES Y DISEÑO DEL SISTEMA (PALETA DE COLORES Y TIPOGRAFÍAS)
   ========================================================================== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f3f0; /* Rosado crema muy sutil */
    --color-accent: #ceb0a9; /* Rosado viejo / Oro rosa elegante */
    --color-accent-dark: #b69891;
    --text-main: #262322;    /* Carbón suave */
    --text-muted: #877e7b;   /* Gris rosáceo */
    --border-color: #ebe4e0;  /* Borde suave en tono crema */
    --font-headings: 'Cormorant Garamond', serif;
    --font-body: 'Montserrat', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --header-height-mobile: 70px;
    --header-height-desktop: 90px;
}

/* Reset y Estilos Globales */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    padding-top: var(--header-height-mobile);
    background-color: var(--bg-primary);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 14px;
    line-height: 1.6;
    letter-spacing: 0.03em;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    color: var(--text-main);
    margin-top: 0;
    font-weight: 500;
    letter-spacing: 0.05em;
}

a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

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

/* Contenedor General */
.container {
    width: 100%;
    padding-right: 20px;
    padding-left: 20px;
    margin-right: auto;
    margin-left: auto;
    max-width: 1200px; /* Ancho general amplio de 1200px */
}

/* Botones Premium y WooCommerce (Directriz de color #CEB0A9 y border-radius: 8px) */
.btn-premium,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit.alt,
.btn-whatsapp-checkout {
    display: inline-block;
    padding: 12px 30px;
    background-color: #CEB0A9 !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid #CEB0A9 !important;
    border-radius: 8px !important;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    text-align: center;
}

.btn-premium:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover,
.woocommerce #respond input#submit.alt:hover,
.btn-whatsapp-checkout:hover {
    background-color: #b69891 !important;
    border-color: #b69891 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(206, 176, 169, 0.2);
}

.btn-outline {
    display: inline-block;
    padding: 12px 30px;
    background-color: transparent;
    color: var(--text-main);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 1px solid var(--border-color);
    border-radius: 8px !important;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

/* ==========================================================================
   2. ENCABEZADO FIJO (HEADER) - MOBILE-FIRST
   ========================================================================== */
header.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height-mobile);
    background-color: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    transition: var(--transition-smooth);
}

/* Logo */
.site-logo {
    font-family: var(--font-headings);
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.site-logo a {
    color: var(--text-main);
}

.site-logo a span {
    color: var(--color-accent);
    font-weight: 300;
}

/* Contenedor del menú en mobile (Menú hamburguesa) */
.mobile-nav-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 20px;
    cursor: pointer;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    order: -1; /* El botón hamburguesa va a la izquierda en mobile */
}

/* Navegación Principal (Oculta por defecto en mobile) */
.main-navigation {
    position: fixed;
    top: var(--header-height-mobile);
    left: -100%;
    width: 80%;
    height: calc(100vh - var(--header-height-mobile));
    background-color: var(--bg-primary);
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition-smooth);
    padding: 40px 30px;
    z-index: 999;
}

.main-navigation.is-open {
    left: 0;
}

.main-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.main-navigation ul li a {
    font-family: var(--font-headings);
    font-size: 20px;
    font-weight: 400;
    letter-spacing: 0.05em;
    display: block;
    padding-bottom: 5px;
    border-bottom: 1px solid transparent;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item a {
    color: var(--color-accent);
    border-color: var(--border-color);
}

/* Icono Bolsa de Compras */
.header-cart-icon {
    position: relative;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-cart-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: var(--text-main);
    stroke-width: 1.5;
    transition: var(--transition-smooth);
}

.header-cart-icon:hover svg {
    stroke: var(--color-accent);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--color-accent);
    color: #ffffff;
    font-size: 9px;
    font-family: var(--font-body);
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Capa de fondo oscura al abrir menú móvil */
.nav-overlay {
    position: fixed;
    top: var(--header-height-mobile);
    left: 0;
    width: 100vw;
    height: calc(100vh - var(--header-height-mobile));
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 998;
}

.nav-overlay.is-visible {
    opacity: 1;
    pointer-events: auto;
}

/* ==========================================================================
   3. HERO SECTION (SLIDER AUTOMÁTICO Y TÁCTIL)
   ========================================================================== */
.hero-slider-container {
    position: relative;
    width: 100%;
    height: 60vh; /* Altura optimizada para móviles */
    overflow: hidden;
    background-color: var(--bg-secondary);
}

.hero-slider {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-item.active {
    opacity: 1;
    z-index: 2;
}

.slide-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 8s ease;
}

.slide-item.active .slide-bg-image {
    transform: scale(1.05); /* Efecto Ken Burns elegante */
}

/* Capa translúcida sobre el slider */
.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(38,35,34,0.1) 0%, rgba(38,35,34,0.4) 100%);
    z-index: 2;
}

/* Contenido del Slide */
.slide-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #ffffff;
    max-width: 85%;
    padding: 20px;
    transform: translateY(20px);
    transition: transform 1s ease, opacity 1s ease;
    opacity: 0;
}

.slide-item.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-subtitle {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--bg-secondary);
    margin-bottom: 10px;
}

.slide-title {
    font-size: 32px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 20px;
}

.slide-btn {
    margin-top: 10px;
    background-color: #ffffff;
    color: var(--text-main);
    border-color: #ffffff;
}

.slide-btn:hover {
    background-color: var(--color-accent);
    color: #ffffff;
    border-color: var(--color-accent);
}

/* Controles del Slider */
.slider-arrows {
    position: absolute;
    bottom: 25px;
    right: 20px;
    z-index: 4;
    display: flex;
    gap: 10px;
}

.slider-arrow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border-radius: 50%;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-arrow:hover {
    background: #ffffff;
    color: var(--text-main);
    border-color: #ffffff;
}

.slider-dots {
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: var(--transition-smooth);
}

.slider-dot.active {
    background-color: var(--color-accent);
    transform: scale(1.3);
}

/* ==========================================================================
   4. CATÁLOGO DE PRODUCTOS (WOOCOMMERCE GRID) - MOBILE-FIRST
   ========================================================================== */
.shop-section {
    padding: 60px 0;
}

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

.section-header h2 {
    font-size: 30px;
    font-weight: 400;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 1px;
    background-color: var(--color-accent);
}

/* Cuadrícula de WooCommerce en móviles (2 columnas) */
ul.products {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px; /* Espaciado ajustado para mobile */
}

ul.products li.product {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    padding: 10px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    border-radius: 8px; /* Bordes redondeados en la tarjeta del producto */
}

ul.products li.product:hover {
    border-color: var(--color-accent);
    box-shadow: 0 10px 25px rgba(206, 176, 169, 0.15);
}

/* Imagen del Producto en Catálogo */
ul.products li.product a.woocommerce-LoopProduct-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

ul.products li.product img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    margin-bottom: 12px;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 8px; /* Bordes redondeados en la imagen del producto */
}

ul.products li.product:hover img {
    transform: scale(1.03);
}

/* Etiquetas y Títulos de Productos */
ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--font-headings);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-main);
    margin: 5px 0;
    line-height: 1.3;
    text-align: center;
}

ul.products li.product .price {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-accent);
    margin-top: auto;
    margin-bottom: 12px;
    display: block;
    text-align: center;
}

ul.products li.product .price del {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 11px;
    margin-right: 5px;
}

ul.products li.product .price ins {
    background: transparent;
    text-decoration: none;
}

/* Botón Añadir al Carrito en Catálogo */
ul.products li.product .button {
    width: 100%;
    padding: 10px;
    background-color: var(--color-accent);
    color: #ffffff;
    border: 1px solid var(--color-accent);
    text-transform: uppercase;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-align: center;
    border-radius: 0;
    cursor: pointer;
    transition: var(--transition-smooth);
}

ul.products li.product .button:hover {
    background-color: var(--text-main);
    border-color: var(--text-main);
    color: #ffffff;
}

ul.products li.product .added_to_cart {
    display: block;
    text-align: center;
    font-size: 9px;
    text-transform: uppercase;
    margin-top: 8px;
    font-weight: 600;
    color: var(--text-muted);
}

/* Insignias de Oferta */
ul.products li.product .onsale {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: var(--color-accent);
    color: #ffffff;
    padding: 4px 10px;
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    z-index: 5;
}

/* ==========================================================================
   5. SECCIONES PROMOCIONALES E HISTORIA (CREMA / ROSADO SUAVE)
   ========================================================================== */
.promo-banner {
    background-color: var(--bg-secondary);
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.promo-banner h3 {
    font-size: 26px;
    margin-bottom: 15px;
}

.promo-banner p {
    color: var(--text-muted);
    font-size: 13px;
    max-width: 500px;
    margin: 0 auto 25px;
    line-height: 1.7;
}

/* ==========================================================================
   6. PIE DE PÁGINA (FOOTER)
   ========================================================================== */
footer.site-footer {
    background-color: var(--bg-secondary);
    color: var(--text-main);
    padding: 50px 0 20px;
    border-top: 1px solid var(--border-color);
}

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

.footer-widget h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-main);
}

.footer-widget p {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.8;
}

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

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

.footer-widget ul li a {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-widget ul li a:hover {
    color: var(--color-accent);
    padding-left: 5px;
}

/* Formulario Boletín Informativo (Mockup) */
.newsletter-form {
    display: flex;
    margin-top: 15px;
}

.newsletter-form input[type="email"] {
    flex-grow: 1;
    padding: 12px;
    border: 1px solid var(--border-color);
    background-color: #ffffff;
    font-family: var(--font-body);
    font-size: 12px;
    outline: none;
}

.newsletter-form button {
    background-color: var(--color-accent);
    color: #ffffff;
    border: 1px solid var(--color-accent);
    padding: 0 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: var(--transition-smooth);
}

.newsletter-form button:hover {
    background-color: var(--text-main);
    border-color: var(--text-main);
}

/* Redes Sociales */
.social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-links a {
    width: 35px;
    height: 35px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-muted);
    transition: var(--transition-smooth);
}

.social-links a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background-color: #ffffff;
}

/* Copy Footer */
.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    text-align: center;
    color: var(--text-muted);
    font-size: 11px;
    letter-spacing: 0.05em;
}

/* ==========================================================================
   7. ADAPTACIÓN PARA TABLETAS Y ESCRITORIO (MEDIA QUERIES)
   ========================================================================== */

/* Ajustes para Tabletas (Pantallas medianas) */
@media (min-width: 768px) {
    body {
        padding-top: var(--header-height-desktop);
        font-size: 15px;
    }

    .container {
        max-width: 720px;
    }

    header.site-header {
        height: var(--header-height-desktop);
        padding: 0 40px;
    }

    .site-logo {
        font-size: 26px;
    }

    .hero-slider-container {
        height: 75vh;
    }

    .slide-title {
        font-size: 45px;
    }

    .slide-subtitle {
        font-size: 11px;
    }

    /* Catálogo de WooCommerce (3 columnas) */
    ul.products {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }

    ul.products li.product {
        padding: 15px;
    }

    ul.products li.product .woocommerce-loop-product__title {
        font-size: 17px;
    }

    ul.products li.product .price {
        font-size: 15px;
    }

    /* Secciones de Contenido */
    .promo-banner {
        padding: 80px 0;
    }

    .promo-banner h3 {
        font-size: 32px;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Ajustes para Computadoras de Escritorio (Pantallas Grandes) */
@media (min-width: 1024px) {
    .container {
        max-width: 960px;
    }

    /* Ocultar botón de menú en escritorio y mostrar menú completo en cabecera */
    .mobile-nav-toggle {
        display: none;
    }

    .main-navigation {
        position: static;
        width: auto;
        height: auto;
        background-color: transparent;
        box-shadow: none;
        padding: 0;
        z-index: auto;
        display: block;
    }

    .main-navigation ul {
        flex-direction: row;
        gap: 35px;
    }

    .main-navigation ul li a {
        font-size: 13px;
        font-family: var(--font-body);
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        padding-bottom: 0;
    }

    .main-navigation ul li a:hover {
        border-color: transparent;
    }

    .nav-overlay {
        display: none;
    }

    /* Altura completa del Slider en escritorio */
    .hero-slider-container {
        height: 85vh;
    }

    .slide-title {
        font-size: 60px;
    }

    /* Catálogo de WooCommerce (3 o 4 columnas según preferencia) */
    ul.products {
        grid-template-columns: repeat(3, 1fr);
    }

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

@media (min-width: 1200px) {
    .container {
        max-width: 1200px; /* Ancho general en PC */
    }

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

/* Ancho exclusivo de 1150px en PC únicamente para páginas internas de WooCommerce (Tienda, Carrito, Checkout, etc.) */
@media (min-width: 1200px) {
    .woocommerce-page .container,
    .woocommerce-cart .container,
    .woocommerce-checkout .container,
    .archive.post-type-archive-product .container {
        max-width: 1150px !important;
    }
}

/* ==========================================================================
   8. COMPATIBILIDAD ESPECÍFICA CON PÁGINAS DE DETALLE DE WOOCOMMERCE
   ========================================================================== */
.woocommerce-product-gallery {
    margin-bottom: 30px;
}

.woocommerce-product-details__short-description {
    margin: 20px 0;
    color: var(--text-muted);
}

.single-product .product_title {
    font-size: 36px;
    margin-bottom: 10px;
}

.single-product .price {
    font-size: 22px;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: 20px;
}

.single-product .cart {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.single-product .quantity input {
    padding: 12px;
    width: 60px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.single-product .single_add_to_cart_button {
    padding: 12px 35px;
    background-color: var(--color-accent);
    color: #ffffff;
    border: 1px solid var(--color-accent);
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.single-product .single_add_to_cart_button:hover {
    background-color: #b69891 !important;
    border-color: #b69891 !important;
}

/* Redondear selectores, campos de entrada y textareas en todo el sitio */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
select,
textarea,
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
    border-radius: 8px !important;
}

/* ==========================================================================
   9. ESTILIZACIÓN DE LA TABLA DEL CARRITO DE WOOCOMMERCE
   ========================================================================== */
.woocommerce-cart-form {
    margin-bottom: 40px;
}

.woocommerce table.shop_table {
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Redondear tabla del carrito */
    overflow: hidden;
    width: 100%;
    margin-bottom: 30px;
    background-color: var(--bg-primary);
}

.woocommerce table.shop_table th {
    font-family: var(--font-headings);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    background-color: var(--bg-secondary); /* Fondo sutil crema/rosado */
    color: var(--text-main);
    border-bottom: 1px solid var(--border-color);
    padding: 15px 20px;
}

.woocommerce table.shop_table td {
    border-top: 1px solid var(--border-color);
    padding: 20px;
    vertical-align: middle;
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 13px;
}

.woocommerce table.shop_table td.product-name a {
    font-family: var(--font-headings);
    font-size: 18px;
    font-weight: 500;
    color: var(--text-main);
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--color-accent);
}

.woocommerce table.shop_table td.product-thumbnail img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px; /* Redondear miniaturas del carrito */
    border: 1px solid var(--border-color);
}

.woocommerce table.shop_table td.product-remove a.remove {
    color: #e07a5f !important;
    font-size: 24px;
    font-weight: 300;
    line-height: 1;
    text-align: center;
    display: inline-block;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid #ebe4e0;
    transition: var(--transition-smooth);
}

.woocommerce table.shop_table td.product-remove a.remove:hover {
    background-color: #e07a5f;
    color: #ffffff !important;
    border-color: #e07a5f;
}

/* Inputs de cantidad en Carrito */
.woocommerce table.shop_table td.product-quantity .quantity input {
    width: 60px;
    height: 40px;
    padding: 5px;
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Redondear input cantidad */
    text-align: center;
    font-family: var(--font-body);
    font-size: 13px;
    outline: none;
    background-color: var(--bg-secondary);
}

.woocommerce table.shop_table td.product-quantity .quantity input:focus {
    border-color: var(--color-accent);
    background-color: #ffffff;
}

/* Acciones del carrito (Cupón y Actualizar Carrito) */
.woocommerce table.shop_table td.actions {
    background-color: var(--bg-secondary);
    padding: 15px 20px;
    text-align: right;
}

.woocommerce table.shop_table td.actions .coupon {
    float: left;
    display: flex;
    gap: 10px;
}

.woocommerce table.shop_table td.actions .coupon input.input-text {
    height: 42px;
    padding: 10px 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Redondear campo de cupón */
    font-family: var(--font-body);
    font-size: 12px;
    outline: none;
    width: 150px;
    background-color: #ffffff;
}

.woocommerce table.shop_table td.actions .coupon input.input-text:focus {
    border-color: var(--color-accent);
}

/* Secciones Totales del Carrito */
.cart-collaterals {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-top: 40px;
}

@media (min-width: 768px) {
    .cart-collaterals {
        grid-template-columns: 1.2fr 1fr;
    }
    .cart-collaterals .cross-sells {
        grid-column: 1;
    }
    .cart-collaterals .cart_totals {
        grid-column: 2;
    }
}

.cart_totals {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px; /* Redondear totales del carrito */
    padding: 25px;
}

.cart_totals h2 {
    font-family: var(--font-headings);
    font-size: 24px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 25px;
}

.cart_totals table tr {
    border-bottom: 1px solid var(--border-color);
}

.cart_totals table tr:last-child {
    border-bottom: none;
}

.cart_totals table th {
    text-align: left;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-muted);
    padding: 15px 0;
    width: 35%;
}

.cart_totals table td {
    text-align: right;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    padding: 15px 0;
}

.cart_totals table tr.order-total td {
    font-size: 18px;
    color: var(--color-accent);
}

/* ==========================================================================
   10. AJUSTES FINALES DE CHECKOUT Y BOTÓN WHATSAPP PÍLDORA (v4.0)
   ========================================================================== */

/* Botón de WhatsApp elegante en forma de píldora */
.btn-whatsapp-checkout-review {
    border-radius: 30px !important;
    box-shadow: 0 4px 12px rgba(206, 176, 169, 0.3) !important;
    font-size: 12px !important;
    padding: 14px 28px !important;
    transition: var(--transition-smooth) !important;
}

.btn-whatsapp-checkout-review:hover {
    background-color: #b69891 !important;
    border-color: #b69891 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(206, 176, 169, 0.45) !important;
}

/* Ocultar el mensaje por defecto de WooCommerce de no métodos de pago disponibles */
.woocommerce-checkout-payment .wc-no-payment-methods,
.woocommerce-checkout-payment p.woocommerce-info,
.woocommerce-checkout-payment .woocommerce-info,
.woocommerce-checkout-payment .woocommerce-notice--info {
    display: none !important;
}
