/* ==========================================================================
   TIENDAPADEL.UY - CSS MEJORADO (Sin cambios estéticos)
   Mejoras: variables, consolidación media queries, fix hover carrito
   ========================================================================== */

:root {
    --color-primary: #003366;
    --color-accent: #00AFEF;
    --color-accent-alt: #00AEEF;
    --color-blue-select: #0056b3;
    --color-danger: #e60000;
    --color-text: #333333;
    --color-text-muted: #555555;
    --transition-base: 0.3s ease;
}

/* ==========================================================================
   1. ESTILOS GLOBALES / BASE
   ========================================================================== */

body {
    background-color: #ffffff;
}

/* SVG: Optimización de renderizado */
img[src$=".svg"] {
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* ==========================================================================
   2. HEADER: LOGO, CARRITO, BARRA SUPERIOR, BUSCADOR
   ========================================================================== */

/* 2.1 Logo principal (desktop) */
.main-header .main-logo,
.main-header .custom-logo {
    width: 350px !important;
    height: auto !important;
    max-height: 106px !important;
    transition: opacity var(--transition-base), transform var(--transition-base);
    display: block;
}

/* 2.2 Carrito minimalista (icono en header) */

.container.master-header {
    position: relative !important;
}

/* Transformación del enlace en icono */
.barrita-superior a,
.barrita-superior .xt_woofc-cart-link {
    position: absolute !important;
    top: 80px !important;
    right: 30px !important;
    width: 35px !important;
    height: 35px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 9999 !important;
    text-decoration: none !important;
    font-size: 0 !important;
    color: transparent !important;
}

/* Inyección del dibujo (carrito negro) con sombra suave */
.barrita-superior a::before,
.barrita-superior .xt_woofc-cart-link::before {
    content: "" !important;
    width: 28px !important;
    height: 28px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='21' r='1'%3E%3C/circle%3E%3Ccircle cx='20' cy='21' r='1'%3E%3C/circle%3E%3Cpath d='M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6'%3E%3C/path%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    display: block !important;
    transition: filter var(--transition-base);
    filter: drop-shadow(0px 2px 3px rgba(0,0,0,0.1));
}

/* Efecto hover en el carrito (FIX: añadido xt_woofc-cart-link) */
.barrita-superior a:hover::before,
.barrita-superior .xt_woofc-cart-link:hover::before {
    filter: invert(56%) sepia(85%) saturate(1933%) hue-rotate(165deg) brightness(101%) contrast(101%);
}

/* Notificación (Globo azul con número) */
.link-carrito-fantasma {
    position: relative !important;
}

.link-carrito-fantasma::after {
    content: "" !important;
    position: absolute !important;
    top: -5px !important;
    right: -5px !important;
    width: 16px !important;
    height: 16px !important;
    background-color: var(--color-accent-alt) !important;
    color: white !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 10px !important;
    font-weight: bold !important;
    z-index: 10000 !important;
    border: 2px solid white !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* 2.3 Barra superior de envíos / info */

.barrita-superior-texto {
    display: none !important;
}

.barrita-superior {
    padding: 0 !important;
    background: linear-gradient(90deg, #000 0%, #111 50%, #000 100%) !important;
}

.barra-envios {
    display: inline-block;
    font-size: 15px;
    padding: 8px 0;
    color: white;
    animation: blinkEnvios 2.2s ease-in-out infinite;
}

@keyframes blinkEnvios {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.75; }
}

/* 2.4 Buscador integrado */

.main-search-form .aws-container {
    background-color: #ffffff;
    border-radius: 30px !important;
    border: 1.5px solid #000000 !important;
    overflow: hidden;
    transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.main-search-form .aws-search-btn {
    background-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 0 30px 30px 0 !important;
}

/* ==========================================================================
   AJUSTE ESPECÍFICO PARA MÓVILES (Basado en tu captura)
   ========================================================================== */

@media (max-width: 768px) {
    .barrita-superior a,
    .barrita-superior .xt_woofc-cart-link {
        top: 60px !important;
        right: 12px !important;
        width: 32px !important;
        height: 32px !important;
    }

    .link-carrito-fantasma::after {
        top: -4px !important;
        right: -7px !important;
        width: 17px !important;
        height: 17px !important;
        font-size: 11px !important;
    }

    .barrita-superior a::before,
    .barrita-superior .xt_woofc-cart-link::before {
        filter: drop-shadow(0px 3px 5px rgba(0,0,0,0.2)) !important;
    }
}

/* Bloqueador del carrito en menús abiertos */
body.modal-open .barrita-superior,
.mobile-menu-active .barrita-superior,
.off-canvas-opened .barrita-superior {
    display: none !important;
}

/* ==========================================================================
   3. SIDEBAR Y CATEGORÍAS (PRODUCTOS)
   ========================================================================== */

.sidebar-categories .widget.woocommerce.widget_product_categories {
    padding: 0.875rem;
    background-color: var(--color-primary);
    border-radius: 0.75rem;
}

.sidebar-categories .widget_product_categories ul.product-categories > li {
    border-bottom: 0;
    padding: 0;
}

.sidebar-categories .widget_product_categories ul.product-categories > li a {
    padding: 0.875rem;
    color: white;
}

.sidebar-categories .widget_product_categories ul.product-categories > li a:hover {
    background-color: var(--color-accent);
    color: var(--color-primary);
}

.product-categories ul.children {
    background-color: var(--color-primary) !important;
    margin-left: 0;
    padding-left: 1rem;
}

.product-categories ul.children li a {
    color: white !important;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.product-categories ul.children li a:hover {
    background-color: var(--color-accent) !important;
    color: var(--color-primary) !important;
}

/* ==========================================================================
   4. LISTADOS DE PRODUCTOS / GRIDS
   ========================================================================== */

.products-grid li.product,
.products-grid article.product,
.woocommerce:not(.single-product) li.product,
.woocommerce:not(.single-product) article.product {

    .woocommerce-loop-product__link img {
        border-radius: 0.5rem;
    }

    .woocommerce-loop-product__link .woocommerce-loop-product__title {
        font-size: 1rem !important;
        font-weight: 600;
        padding: 0.625rem 0;
        color: var(--color-primary);
        text-align: center;
        text-transform: uppercase;
        background: transparent !important;
        border: none !important;
        clip-path: none !important;
        box-shadow: none !important;
    }

    .woocommerce-loop-product__link .price span {
        color: black !important;
        text-align: center;
        font-weight: 600;
        font-size: 1.3rem;
    }

    .woocommerce-loop-product__link .price del,
    .woocommerce-loop-product__link .price del span bdi,
    .woocommerce-loop-product__link .price del span bdi span {
        font-size: 1rem;
        color: red;
        font-weight: bold;
    }

    a.button.add_to_cart_button {
        background-color: var(--color-accent) !important;
        color: white !important;
        font-weight: bold;
        text-transform: uppercase !important;
        border-radius: 0.5rem !important;
        border: none !important;
        width: 100%;
        margin-top: 0.5rem;
        box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
        transition: background-color var(--transition-base), box-shadow var(--transition-base);
    }

    a.button.add_to_cart_button:hover {
        background-color: var(--color-primary) !important;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    }
}

.onsale,
.out-of-stock,
.in-stock {
    display: none;
}

/* ==========================================================================
   5. SECCIÓN OFERTAS (ONSALE)
   ========================================================================== */

@keyframes latido-fuego {
    0% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(255,165,0,0)); }
    50% { transform: scale(1.25); filter: drop-shadow(0 0 10px rgba(255,165,0,0.5)); }
    100% { transform: scale(1); filter: drop-shadow(0 0 0px rgba(255,165,0,0)); }
}

#onsale-products {
    background-color: #e2e8f0 !important;
    background-image:
        linear-gradient(rgba(0,0,0,0.1) 1.5px, transparent 1.5px),
        linear-gradient(90deg, rgba(0,0,0,0.1) 1.5px, transparent 1.5px) !important;
    background-size: 40px 40px !important;
    padding-top: 5px !important;
    padding-bottom: 2.5rem !important;
    border-top: 1px solid #cbd5e0;
    border-bottom: 1px solid #cbd5e0;
    transition: background-color 0.4s ease !important;
}

#onsale-products h2.h2 {
    margin-top: 0 !important;
    padding-top: 10px !important;
    margin-bottom: 20px !important;
    color: #1a202c !important;
    display: table !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#onsale-products h2.h2::after {
    content: none !important;
    display: none !important;
}

#onsale-products h2.h2 img.emoji {
    display: inline-block !important;
    width: 1.2em !important;
    height: auto !important;
    margin-left: 10px !important;
    vertical-align: middle !important;
    animation: latido-fuego 1.6s infinite ease-in-out !important;
}

#onsale-products:hover {
    background-color: #dbe2eb !important;
}

#onsale-products .products-grid li.product {
    background-color: #ffffff !important;
    border-radius: 12px !important;
    border: 1px solid transparent !important;
    transition: border-color var(--transition-base), box-shadow var(--transition-base) !important;
}

#onsale-products:hover .products-grid li.product {
    border: 1px solid rgba(0, 174, 239, 0.4) !important;
    box-shadow: 0 8px 25px rgba(0, 174, 239, 0.1) !important;
}

/* ==========================================================================
   6. PÁGINA DE PRODUCTO INDIVIDUAL
   ========================================================================== */

.single-product .product .summary.entry-summary {
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    padding: 10px 0 !important;
    text-align: left !important;
    width: 100% !important;
}

.single-product:not(.quickswish-content-area) .product .entry-content {
    margin-top: 0.2rem !important;
}

.single-product:not(.quickswish-content-area) .product .product_title {
    font-size: 22px !important;
    color: var(--color-primary) !important;
    font-weight: 700 !important;
    text-transform: capitalize !important;
    letter-spacing: -0.3px !important;
    margin-bottom: 8px !important;
    text-align: left !important;
    line-height: 1.3 !important;
    display: block !important;
}

.single-product:not(.quickswish-content-area) .product .price {
    text-align: left !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
    color: #000000 !important;
}

.single-product:not(.quickswish-content-area) .product .price del {
    font-size: 0.7em !important;
    color: #aaaaaa !important;
    margin-right: 8px !important;
    display: inline-block !important;
}

.single-product:not(.quickswish-content-area) .product .price ins {
    text-decoration: none !important;
    color: var(--color-danger) !important;
}

.single-product:not(.quickswish-content-area) .product .woocommerce-product-details__short-description {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    color: var(--color-text-muted) !important;
    margin: 20px 0 30px 0 !important;
    border-left: 3px solid var(--color-accent) !important;
    padding-left: 15px !important;
    font-weight: 400 !important;
}

.single-product h3.product_upsells-title,
.single-product .product_upsells h3,
.single-product .related.products h2 {
    font-size: 20px !important;
    color: #444444 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    text-align: center !important;
    margin: 50px auto 25px !important;
    display: block !important;
    background: none !important;
    padding: 0 !important;
    border: none !important;
}

.single-product h3.product_upsells-title::after,
.single-product .product_upsells h3::after,
.single-product .related.products h2::after {
    content: "" !important;
    display: block !important;
    width: 50px !important;
    height: 3px !important;
    background-color: var(--color-accent) !important;
    margin: 12px auto 0 !important;
}

.single-product .button.single_add_to_cart_button {
    background-color: var(--color-primary) !important;
    color: white !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 0.9rem 2rem !important;
    border-radius: 6px !important;
    width: 100%;
    display: block;
    box-shadow: 0 3px 8px rgba(0, 51, 102, 0.2);
    transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
}

.single-product .button.single_add_to_cart_button:hover {
    background-color: var(--color-danger) !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(255, 0, 0, 0.3);
}

/* ==========================================================================
   7. FOOTER Y CONTACTO
   ========================================================================== */

.site-footer {
    text-align: center;
    background-color: black;
    padding: 2rem 0.625rem 5rem 0.625rem !important;
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 1.2rem;
}

.site-footer h4,
.footer-categorias .widget-title {
    color: white;
}

.footer-datos {
    color: white;
    margin: 0;
    padding: 0;
    list-style-type: none;
    text-align: center;
}

#footer-datos .footer-datos {
    color: white;
    font-size: 0.75rem;
}

.menu-footer {
    margin: 0;
    padding: 1rem;
    list-style-type: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 1rem;
}

.menu-footer > li {
    margin-bottom: 8px;
}

.menu-footer > li > a {
    color: var(--color-accent);
    font-weight: bold;
    text-decoration: none;
    transition: color var(--transition-base), transform var(--transition-base), text-shadow var(--transition-base);
    display: inline-block;
}

.menu-footer > li > a:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    text-shadow: 0 0 8px rgba(0, 175, 239, 0.6);
}

.footer-categorias .product-categories .cat-item a {
    color: white;
    transition: opacity var(--transition-base);
}

.footer-categorias .product-categories .cat-item a:hover {
    opacity: 0.7;
}

footer .children {
    display: none;
}

.link-instagram-footer {
    color: white;
    list-style-type: none;
    text-decoration: none;
}

.bi-instagram {
    font-size: 1.25rem;
}

.footer-pagos {
    text-align: center;
    padding: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-top: 1.2rem;
}

.footer-urutienda {
    display: none;
}

.footer-urutienda-logo {
    display: flex;
    justify-content: flex-end;
}

.footer-urutienda-logo a {
    margin-top: 1rem;
    padding-top: 1rem;
    display: flex;
    width: 35%;
}

.urutienda-sub-container {
    background: #3c3c3c !important;
}

.urutienda-sub-title {
    color: white;
}

.footer-instagram-link {
    margin: 20px 0;
    text-align: center;
}

.footer-instagram-link a {
    display: inline-flex;
    align-items: center;
    text-decoration: none !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.4s ease;
    padding: 10px 20px;
}

.footer-instagram-link i {
    font-size: 38px;
    margin-right: 12px;
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #ff3322 45%, #d6249f 60%, #285AEB 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    line-height: 1;
    filter: drop-shadow(0 0 2px rgba(214, 36, 159, 0.4));
}

.footer-instagram-link span {
    color: #ffffff;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: lowercase;
}

.footer-instagram-link a:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* ==========================================================================
   8. ACORDEÓN WORDPRESS
   ========================================================================== */

.accordion details {
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
}

.accordion details > summary {
    display: block !important;
    list-style: none !important;
    cursor: pointer;
    padding: 22px 16px !important;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}

.accordion details > summary::-webkit-details-marker {
    display: none !important;
}

.accordion details > summary::after {
    content: "▾";
    float: right;
    font-size: 18px;
    transition: transform var(--transition-base);
}

.accordion details[open] > summary::after {
    transform: rotate(180deg);
}

.accordion .content {
    padding: 0 16px 20px;
    font-size: 15px;
    line-height: 1.65;
    text-align: justify;
    color: #fff;
}

.accordion details > .content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

.accordion details[open] > .content {
    max-height: 5000px;
}

/* ==========================================================================
   9. PÁGINA DE CARRITO (CART) Y BOTONES
   ========================================================================== */

.woocommerce-cart-form th {
    background-color: #f8f9fa;
    color: var(--color-primary) !important;
    text-transform: uppercase;
    font-weight: 700;
    padding: 15px !important;
}

.cart .coupon .button {
    background-color: #eeeeee !important;
    color: var(--color-text) !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
}

.cart .button[name="update_cart"] {
    background-color: var(--color-primary) !important;
    color: white !important;
    opacity: 0.7;
}

.cart .button[name="update_cart"]:hover {
    opacity: 1;
}

.cart_totals {
    background-color: #fcfcfc;
    padding: 20px;
    border: 1px solid #eeeeee;
    border-radius: 8px;
}

.cart_totals h2 {
    font-size: 1.2rem !important;
    color: var(--color-primary) !important;
    text-transform: uppercase;
    border-bottom: 2px solid var(--color-accent);
    padding-bottom: 10px;
    margin-bottom: 20px !important;
}

.checkout-button {
    background-color: var(--color-accent) !important;
    color: white !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    padding: 15px !important;
    border-radius: 8px !important;
    transition: background-color var(--transition-base), transform var(--transition-base), box-shadow var(--transition-base);
    box-shadow: 0 4px 10px rgba(0, 175, 239, 0.3);
}

.checkout-button:hover {
    background-color: var(--color-primary) !important;
    transform: translateY(-2px);
}

.woocommerce a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    border-radius: 50% !important;
    background-color: #f2f2f2 !important;
    color: var(--color-text) !important;
    border: 1px solid #dddddd !important;
    font-size: 18px !important;
    font-weight: bold !important;
    line-height: 1 !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease !important;
    float: none !important;
}

.woocommerce a.remove:hover {
    background-color: var(--color-danger) !important;
    color: #ffffff !important;
    border-color: var(--color-danger) !important;
}

.woocommerce-cart .actions .button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-cart #content table.cart td.actions .button {
    background-color: #000000 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    height: 48px !important;
    padding: 0 30px !important;
    border-radius: 4px !important;
    border: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: background-color var(--transition-base), color var(--transition-base), box-shadow var(--transition-base) !important;
    cursor: pointer !important;
    text-decoration: none !important;
}

.woocommerce-cart .actions .button:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover {
    background-color: var(--color-accent-alt) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important;
}

.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
    width: 100% !important;
    margin-top: 15px !important;
}

.coupon label {
    display: none !important;
}

.coupon .input-text {
    height: 48px !important;
    border: 1px solid #ccc !important;
    margin-right: 10px !important;
    padding: 0 15px !important;
}

.woocommerce-cart table.cart td.actions .coupon .input-text#coupon_code {
    width: 250px !important;
    height: 48px !important;
    padding: 0 15px !important;
    font-size: 14px !important;
    border: 1px solid #000000 !important;
    border-radius: 4px !important;
    margin-right: 10px !important;
    float: left !important;
}

.woocommerce-cart table.cart td.actions .coupon {
    display: flex !important;
    align-items: center !important;
}

.woocommerce-cart table.cart td.actions .coupon .input-text::placeholder {
    color: #999 !important;
}

/* ==========================================================================
   10. SELECTOR DE ORDEN (ORDER BY)
   ========================================================================== */

.woocommerce-ordering select.orderby {
    height: 45px !important;
    width: auto;
    padding: 0 40px 0 15px !important;
    border: 2px solid var(--color-blue-select) !important;
    border-radius: 4px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--color-text) !important;
    text-transform: none !important;
    background-color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%230056b3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 15px center !important;
    background-size: 14px !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    cursor: pointer !important;
    transition: background-color var(--transition-base), color var(--transition-base) !important;
}

.woocommerce-ordering select.orderby:hover {
    background-color: var(--color-blue-select) !important;
    color: #ffffff !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
}

/* ==========================================================================
   11. RESEÑAS Y TÍTULOS GENERALES
   ========================================================================== */

h2.ur-carousel-title {
    font-size: 15px !important;
    font-weight: 700 !important;
}

p.ur-total-count {
    font-size: 12px !important;
    color: #888888 !important;
}

.ur-review-card {
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06) !important;
    border: 1px solid #f0f0f0 !important;
    transition: transform var(--transition-base) !important;
}

.ur-review-card:hover {
    transform: translateY(-5px);
}

.ur-card-image-wrapper {
    max-width: 160px !important;
    margin: 0 auto !important;
    padding-top: 10px;
}

.ur-card-author {
    font-size: 13px !important;
    font-weight: 700 !important;
    color: var(--color-text) !important;
}

h6.ur-card-title {
    font-size: 13px !important;
    font-weight: 700 !important;
    margin-top: 10px !important;
    line-height: 1.2 !important;
}

p.ur-card-comment {
    font-size: 13px !important;
    line-height: 1.5 !important;
    color: var(--color-text-muted) !important;
}

.ur-card-product,
.ur-card-product * {
    color: var(--color-blue-select) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    opacity: 1 !important;
    text-decoration: none !important;
}

.ur-card-product i {
    color: var(--color-blue-select) !important;
    margin-right: 5px !important;
}

small.text-muted.ur-card-product {
    color: var(--color-blue-select) !important;
}

body:not(.single-product) .entry-title:not(.product_title) {
    display: block;
    width: 100%;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
    font-size: 40px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin: 60px auto 35px auto;
    background-image: linear-gradient(var(--color-accent), var(--color-accent));
    background-size: 90px 4px;
    background-repeat: no-repeat;
    background-position: center bottom;
    padding-bottom: 20px;
}

#featured-products h2.h2,
#onsale-products h2.h2,
#recent-products h2.h2,
h2.h2.mt-4,
.entry-title:not(.product_title) {
    background: transparent !important;
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 0 20px 0 !important;
    display: block !important;
    width: 100% !important;
    text-align: center !important;
    margin: 60px auto 35px auto !important;
    position: relative !important;
    font-size: 40px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 3px !important;
    color: var(--color-text) !important;
    background-image: linear-gradient(var(--color-accent), var(--color-accent)) !important;
    background-size: 90px 4px !important;
    background-repeat: no-repeat !important;
    background-position: center bottom !important;
}

/* ==========================================================================
   12. VARIOS Y UTILIDADES
   ========================================================================== */

.cat-item-114,
.cat-item-88 {
    display: none !important;
}

.entry-title {
    text-align: left !important;
    text-transform: uppercase;
}

.metaslider.ml-slider {
    margin-top: 0.3125rem !important;
}

.woocommerce-ordering .orderby {
    font-size: 0.875rem;
    font-weight: bold;
    color: black;
    border-radius: 0;
    box-shadow: none;
    padding: 0.875rem 1.5625rem;
}

.term-description {
    text-align: center;
    margin-bottom: 1.25rem !important;
    font-size: 1rem;
}

.wc-bacs-bank-details-account-name,
.wc-bacs-bank-details-heading {
    display: none;
}

.stock_alert_button {
    text-align: center;
    background: var(--color-accent);
    color: white;
    border-radius: 0.75rem;
}

.subscribe_for_interest_text {
    font-size: 1rem !important;
    font-weight: bold;
}

.stock_notifier-subscribe-form {
    padding-left: 1.375rem !important;
    padding-bottom: 2.5rem;
}

.icono-home-desc {
    background: #85C1E9;
    color: white;
    text-align: justify;
    font-size: 1.125rem !important;
    font-weight: bold;
    padding: 0.9375rem 5.625rem;
    border-radius: 0.625rem;
}

.bi.bi-truck,
.icono-home-title {
    display: none;
}

.joinchat__button {
    animation: pulse-green 2s infinite;
    border-radius: 50%;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 12px rgba(37, 211, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.related.products,
.button.wc-backward {
    display: none !important;
}

#modal-categories .modal-content {
    background-color: var(--color-primary) !important;
}

#modal-categories .modal-body .searchform,
#modal-categories .modal-header .search-wrapper,
#modal-categories input[type="text"],
#modal-categories input[type="search"] {
    background-color: #ffffff !important;
    color: var(--color-text) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

#modal-categories button.search-submit,
#modal-categories .btn-search {
    background-color: transparent !important;
    color: var(--color-text) !important;
}

#modal-categories .menu-item a,
#modal-categories .card-header,
#modal-categories .btn-link {
    background-color: transparent !important;
    color: #ffffff !important;
}

/* ==========================================================================
   13. MEDIA QUERIES (RESPONSIVE) - CONSOLIDADAS
   ========================================================================== */

/* = 768px: Acordeón desktop */
@media (min-width: 768px) {
    .accordion details > summary {
        font-size: 20px;
        padding: 28px 20px !important;
    }

    .accordion .content {
        font-size: 16px;
        padding: 0 20px 28px;
    }
}

/* Preferencia de movimiento reducido */
@media (prefers-reduced-motion: reduce) {
    .barra-envios {
        animation: none;
    }
}

/* &lt;= 768px: Footer, sidebar, títulos, producto, carrito, selector orden, Instagram */
@media (max-width: 768px) {
    /* Footer móvil */
    .footer-categorias .widget_product_categories ul.product-categories,
    .footer-categorias .widget-title {
        display: none !important;
    }

    .menu-footer,
    #footer-datos .footer-datos,
    .footer-urutienda-logo {
        display: block !important;
    }

    .site-footer {
        padding: 1.5rem 0.625rem 3rem 0.625rem !important;
    }

    .sidebar-categories .widget.woocommerce.widget_product_categories {
        padding: 0.625rem;
    }

    /* Títulos de secciones */
    .h2,
    #onsale-products .h2,
    .product_upsells h3,
    .page-title,
    .related.products h2 {
        padding: 8px 40px 8px 12px !important;
        font-size: 0.95rem !important;
        white-space: nowrap !important;
        border-left: 6px solid var(--color-primary) !important;
    }

    /* Producto individual */
    .single-product:not(.quickswish-content-area) .product .product_title {
        font-size: 20px !important;
        text-align: left !important;
        margin-top: 35px !important;
        margin-bottom: 0px !important;
        padding-bottom: 0px !important;
        line-height: 1.2 !important;
        display: block !important;
        font-weight: 700 !important;
    }

    .single-product:not(.quickswish-content-area) .product .price {
        font-size: 26px !important;
        text-align: left !important;
        margin-top: -5px !important;
        margin-bottom: 0px !important;
        padding-top: 0px !important;
    }

    .single-product:not(.quickswish-content-area) .product .price::after {
        margin-top: 8px !important;
        margin-bottom: 5px !important;
    }

    .single-product:not(.quickswish-content-area) .product .woocommerce-product-details__short-description {
        margin-top: -10px !important;
        padding-top: 0px !important;
    }

    .single-product .button.single_add_to_cart_button {
        font-size: 1rem !important;
        padding: 0.8rem 1rem !important;
        margin-top: 0.5rem !important;
    }

    /* Carrito: imágenes y labels */
    .woocommerce-cart-form__contents img {
        max-width: 60px !important;
    }

    .shop_table_responsive td::before {
        color: var(--color-primary) !important;
        font-weight: 700;
    }

    /* Selector de orden */
    .woocommerce-ordering,
    .woocommerce-ordering select.orderby {
        width: 100% !important;
        margin-bottom: 20px !important;
    }

    /* Títulos globales */
    #featured-products h2.h2,
    #onsale-products h2.h2,
    #recent-products h2.h2,
    h2.h2.mt-4,
    .entry-title:not(.product_title) {
        font-size: 16px !important;
        letter-spacing: 1px !important;
        margin: 40px auto 25px auto !important;
        background-size: 50px 3px !important;
        padding-bottom: 12px !important;
    }

    /* Instagram footer */
    .footer-instagram-link i {
        font-size: 28px;
    }

    .footer-instagram-link span {
        font-size: 18px;
    }

    /* Carrito: estructura */
    .woocommerce-cart-form,
    .woocommerce-cart-form__contents {
        width: 100% !important;
        display: block !important;
        overflow-x: hidden !important;
    }

    .woocommerce table.cart thead {
        display: none !important;
    }

    .woocommerce table.cart tr.cart_item {
        display: block !important;
        width: 100% !important;
        border-bottom: 1px solid #eee !important;
        padding: 10px 0 !important;
    }

    .woocommerce table.cart td {
        display: block !important;
        width: 100% !important;
        text-align: right !important;
        padding-left: 50% !important;
        position: relative !important;
        border: none !important;
    }

    .woocommerce table.cart td.actions {
        text-align: center !important;
        padding: 20px 0 !important;
    }

    .woocommerce table.cart td.actions .coupon {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px !important;
    }

    #coupon_code.input-text {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .woocommerce table.cart td.actions .button {
        width: 100% !important;
    }

    /* Carrito: alineación */
    .woocommerce table.cart td,
    .woocommerce-page table.cart td {
        padding-left: 12px !important;
        text-align: left !important;
        display: block !important;
        width: 100% !important;
    }

    .woocommerce table.cart td::before,
    .woocommerce-page table.cart td::before {
        content: none !important;
        display: none !important;
        width: 0 !important;
    }

    .woocommerce table.cart .product-name,
    .woocommerce table.cart .product-price,
    .woocommerce table.cart .product-subtotal {
        text-align: left !important;
    }

    .woocommerce table.cart td.actions {
        text-align: center !important;
        padding-left: 0 !important;
    }
}

/* ==========================================================================
   ELIMINAR TÍTULO GIGANTE EN PÁGINA DE PRODUCTO
   ========================================================================== */

.single-product .entry-title {
    display: none !important;
}

.single-product #primary {
    margin-top: 0 !important;
    padding-top: 20px !important;
}
