/* =========================================================
   04. PRODUCTO — Galería, summary, precios y botones
   ========================================================= */

.single-product {
    --upc-blue: #ea6d00;
    --upc-border: #efeae4;
    --upc-text: #362c3e;
    --upc-muted: #7f7b77;
}

.single-product .woocommerce-product-gallery, .single-product .summary.entry-summary {
    box-sizing: border-box;
}

.single-product .woocommerce-product-gallery {
    background: #ffffff;
    border: 1px solid var(--upc-border);
    border-radius: 18px;
    padding: 22px;
    box-shadow: 0 5px 18px rgba(56,41,69, 0.04),
                0 15px 40px rgba(56,41,69, 0.035);
}

.single-product .woocommerce-product-gallery__image {
    border-radius: 12px;
    overflow: hidden;
}

.single-product .flex-control-thumbs li {
    padding: 4px;
}

.single-product .flex-control-thumbs img {
    border: 1px solid #eee8e3;
    border-radius: 9px;
    padding: 3px;
    background: #ffffff;
    transition: all 0.2s ease;
}

.single-product .flex-control-thumbs img:hover, .single-product .flex-control-thumbs img.flex-active {
    border-color: var(--upc-blue);
    box-shadow: 0 3px 10px rgba(229,107,0, 0.12);
}

.single-product .summary.entry-summary {
    background: #ffffff;
    border: 1px solid var(--upc-border);
    border-radius: 18px;
    padding: 28px 30px;
    box-shadow: 0 5px 18px rgba(56,41,69, 0.04),
                0 15px 40px rgba(56,41,69, 0.035);
}

.single-product .summary .product_title {
    color: var(--upc-text);
    font-size: 27px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin-bottom: 16px;
}

.single-product .summary p, .single-product .summary span {
    line-height: 1.45;
}

.single-product .summary hr {
    border: 0;
    border-top: 1px solid #f2eee9;
}

.single-product .summary a {
    transition: color 0.2s ease,
                opacity 0.2s ease;
}

@media (max-width: 991px) {
    .single-product .woocommerce-product-gallery, .single-product .summary.entry-summary {
        border-radius: 14px;
    }

    .single-product .summary.entry-summary {
        padding: 22px;
    }

    .single-product .summary .product_title {
        font-size: 24px;
    }
}

@media (max-width: 575px) {
    .single-product .woocommerce-product-gallery {
        padding: 12px;
    }

    .single-product .summary.entry-summary {
        padding: 18px;
    }

    .single-product .summary .product_title {
        font-size: 21px;
    }
}

.single-product .summary .stock {
    display: inline-flex;
    align-items: center;
    width: auto;
    padding: 7px 13px;
    margin: 6px 0 14px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.single-product .summary .stock.in-stock {
    background: #f4f1ee;
    color: #2c8a47;
    border: 1px solid #c9ebd2;
}

.single-product .summary .stock.out-of-stock {
    background: #f9f8f6;
    color: #d83a3a;
    border: 1px solid #eee8e3;
}

.single-product .summary .price {
    margin-top: 8px;
    margin-bottom: 18px;
}

.single-product .summary .price, .single-product .summary .woocommerce-Price-amount {
    color: #ea6d00;
    font-weight: 800;
}

.single-product .summary .woocommerce-Price-amount {
    font-size: 30px;
    letter-spacing: -0.4px;
}

.single-product .summary del .woocommerce-Price-amount {
    color: #9e9a95;
    font-size: 18px;
    font-weight: 500;
}

.single-product .summary ins {
    text-decoration: none;
}

.single-product .summary .button, .single-product .summary button, .single-product .summary .single_add_to_cart_button {
    min-height: 48px;
    padding: 0 24px !important;
    border-radius: 12px !important;
    font-size: 15px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.18s ease,
                box-shadow 0.18s ease,
                background-color 0.18s ease;
}

.single-product .summary .single_add_to_cart_button {
    background: #ea6d00 !important;
    border: 1px solid #ea6d00 !important;
    color: #ffffff !important;
}

.single-product .summary .single_add_to_cart_button:hover {
    background: #d16100 !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(229,107,0, 0.20);
}

.single-product .summary a.button {
    border-radius: 12px !important;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-left: 24px !important;
    padding-right: 24px !important;
    transition: transform 0.18s ease,
                box-shadow 0.18s ease;
}

.single-product .summary a.button:hover {
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(229,107,0, 0.16);
}

.single-product .summary form.cart {
    margin-top: 14px;
    margin-bottom: 14px;
}

.single-product .summary .price + * {
    margin-top: 8px;
}

@media (max-width: 575px) {
    .single-product .summary .button, .single-product .summary button, .single-product .summary .single_add_to_cart_button {
        width: 100%;
        margin-bottom: 8px;
    }

    .single-product .summary .woocommerce-Price-amount {
        font-size: 26px;
    }
}

.single-product .summary.entry-summary .precio_ultrapc_sumario {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
    margin: 14px 0 18px;
    padding: 0;
    background: #fcfbfa;
    border: 1px solid #eee8e2;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(56,36,74, 0.025),
                0 8px 24px rgba(56,36,74, 0.035);
}

.single-product .summary.entry-summary .precio_efectivo_upc, .single-product .summary.entry-summary .precio_tarjetas_upc {
    width: 100% !important;
    margin: 0 !important;
    padding: 17px 20px !important;
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.single-product .summary.entry-summary .precio_tarjetas_upc {
    border-left: 1px solid #ebe5df;
}

.single-product .summary.entry-summary .precio_ultrapc_sumario > .vl {
    display: none !important;
}

.single-product .summary.entry-summary .precio_ultrapc_sumario .precios_iva {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 !important;
    padding: 0 !important;
}

.single-product .summary.entry-summary .precio_ultrapc_sumario .otros_medios {
    display: block;
    margin: 0 0 4px !important;
    color: #7a746e;
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    white-space: nowrap;
}

.single-product .summary.entry-summary .precio_ultrapc_sumario .precio_con_iva_tbk {
    display: block;
    margin: 0 !important;
    color: #ea6d00 !important;
    font-size: 29px !important;
    line-height: 1.05 !important;
    font-weight: 800 !important;
    letter-spacing: -0.6px;
}

.single-product .summary.entry-summary .precio_efectivo_upc, .single-product .summary.entry-summary .precio_tarjetas_upc {
    transition: background-color 0.2s ease,
                transform 0.2s ease;
}

.single-product .summary.entry-summary .precio_efectivo_upc:hover, .single-product .summary.entry-summary .precio_tarjetas_upc:hover {
    background: #f9f7f5;
}

@media (max-width: 575px) {
    .single-product .summary.entry-summary .precio_ultrapc_sumario {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        background: transparent;
        border: 0;
        box-shadow: none;
        overflow: visible;
    }

    .single-product .summary.entry-summary .precio_efectivo_upc,
    .single-product .summary.entry-summary .precio_tarjetas_upc {
        min-height: 88px;
        padding: 0 !important;
        border: 1px solid #eee8e2;
        border-radius: 11px;
        overflow: hidden;
    }

    .single-product .summary.entry-summary .precio_efectivo_upc {
        background: #fcfbf9;
        border-color: #e8e0d9;
    }

    .single-product .summary.entry-summary .precio_tarjetas_upc {
        border-left: 1px solid #eee8e2;
        border-top: 1px solid #eee8e2;
    }

    .single-product .summary.entry-summary .precio_ultrapc_sumario .precios_iva {
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        padding: 10px !important;
        gap: 4px;
        box-sizing: border-box;
        justify-content: center;
    }

    .single-product .summary.entry-summary .precio_ultrapc_sumario .otros_medios {
        margin: 0 !important;
        font-size: 10px !important;
        line-height: 13px !important;
        white-space: normal;
    }

    .single-product .summary.entry-summary .precio_ultrapc_sumario .precio_con_iva_tbk {
        width: auto;
        max-width: 100%;
        margin: 0 !important;
        padding: 0 !important;
        font-size: 23px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        letter-spacing: 0;
        white-space: nowrap;
    }
}

.single-product .summary.entry-summary form.cart {
    display: inline-flex;
    padding: 0 !important;
    vertical-align: top;
}

.single-product .summary.entry-summary form.cart .single_add_to_cart_button {
    padding: 0 27px !important;
    background: #ea6d00 !important;
    background-image: none !important;
    border: 1px solid #ea6d00 !important;
    border-radius: 11px !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    transition: background-color .18s ease,
                border-color .18s ease,
                box-shadow .18s ease,
                transform .18s ease;
}

.single-product .summary.entry-summary form.cart .single_add_to_cart_button:hover {
    background: #4c2172 !important;
    border-color: #4c2172 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(229,107,0, 0.20);
}

.single-product .summary.entry-summary form.cart .single_add_to_cart_button:active {
    transform: translateY(0);
    box-shadow: 0 3px 8px rgba(229,107,0, 0.14);
}

@media (max-width: 575px) {
    .single-product .summary.entry-summary form.cart {
        display: flex;
        width: 100%;
    }

    .single-product .summary.entry-summary form.cart .single_add_to_cart_button {
        width: 100% !important;
    }
}

.single-product .summary.entry-summary .contenedor-comprar {
    display: inline-flex;
    vertical-align: top;
    padding: 0 !important;
}

.single-product .summary.entry-summary .contenedor-comprar > details {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.single-product .summary.entry-summary .contenedor-comprar > details > summary {
    background: #ffffff !important;
    background-color: #ffffff !important;
    color: #ea6d00 !important;
    border: 1px solid #ea6d00 !important;
    border-radius: 11px !important;
    margin: 0 !important;
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    cursor: pointer;
    list-style: none !important;
    box-shadow: 0 3px 10px rgba(229,107,0, 0.06);
    transition: color .18s ease,
                background-color .18s ease,
                box-shadow .18s ease,
                transform .18s ease;
}

.single-product .summary.entry-summary .contenedor-comprar > details > summary::-webkit-details-marker {
    display: none !important;
}

.single-product .summary.entry-summary .contenedor-comprar > details > summary::marker {
    content: "";
}

.single-product .summary.entry-summary .contenedor-comprar > details > summary::before {
    content: "▸";
    font-size: 13px;
    color: #ea6d00;
    transition: transform .18s ease;
}

.single-product .summary.entry-summary .contenedor-comprar > details[open] > summary::before {
    transform: rotate(90deg);
}

.single-product .summary.entry-summary .contenedor-comprar > details > summary:hover {
    background: #f9f7f5 !important;
    color: #4c2172 !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(229,107,0, 0.14);
}

.single-product .summary.entry-summary .contenedor-comprar > details > summary:active {
    transform: translateY(0);
}

@media (max-width: 575px) {
    .single-product .summary.entry-summary .contenedor-comprar {
        display: flex;
        width: 100%;
        margin-right: 0 !important;
    }

    .single-product .summary.entry-summary .contenedor-comprar > details {
        width: 100%;
    }

    .single-product .summary.entry-summary .contenedor-comprar > details > summary {
        width: 100% !important;
    }
}

.single-product .summary.entry-summary .contenedor-comprar {
    width: calc(50% - 6px) !important;
    margin: 12px 6px 0 0 !important;
    box-sizing: border-box;
}

.single-product .summary.entry-summary .contenedor-comprar > details {
    width: 100% !important;
}

.single-product .summary.entry-summary .contenedor-comprar > details > summary {
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 15px !important;
    white-space: nowrap;
}

.single-product .summary.entry-summary form.cart {
    width: calc(50% - 6px) !important;
    margin: 12px 0 0 6px !important;
    box-sizing: border-box;
}

.single-product .summary.entry-summary form.cart .single_add_to_cart_button {
    width: 100% !important;
    min-height: 48px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
    box-sizing: border-box;
}

.single-product .summary.entry-summary form.cart .single_add_to_cart_button {
    box-shadow: 0 5px 14px rgba(229,107,0, 0.18);
}

@media (max-width: 575px) {
    .single-product .summary.entry-summary .contenedor-comprar, .single-product .summary.entry-summary form.cart {
        width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .single-product .summary.entry-summary form.cart {
        margin-top: 8px !important;
    }
}





/* =========================================================
   05. PRODUCTO — Accesorios adicionales
   Tarjeta moderna + carrusel horizontal
   ========================================================= */


/* =========================================================
   05.01 CONTENEDOR GENERAL
   ========================================================= */

div.optional-accessories.products.container {
    position: relative !important;
    overflow: visible !important;
}


/* =========================================================
   05.02 CARRUSEL
   ========================================================= */

div.optional-accessories.products.container > ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    gap: 12px !important;

    width: 100% !important;

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

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-behavior: smooth !important;
    scroll-snap-type: x mandatory !important;

    scrollbar-width: none !important;
    overscroll-behavior-x: contain !important;
}

div.optional-accessories.products.container > ul.products::-webkit-scrollbar {
    display: none !important;
}


/* =========================================================
   05.03 TARJETAS — 4 VISIBLES EN ESCRITORIO
   ========================================================= */

div.optional-accessories.products.container > ul.products > li.product {
    position: relative !important;

    flex: 0 0 calc((100% - 36px) / 4) !important;

    width: calc((100% - 36px) / 4) !important;
    min-width: 0 !important;
    max-width: calc((100% - 36px) / 4) !important;

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

    border: 0 !important;

    scroll-snap-align: start !important;
}

div.optional-accessories.products.container > ul.products > li.product::before,
div.optional-accessories.products.container > ul.products > li.product::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   05.04 ESTRUCTURA TARJETA
   ========================================================= */

div.optional-accessories.products.container .product-item__outer {
    width: 100% !important;
    height: 100% !important;

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

    border: 0 !important;
}

div.optional-accessories.products.container .product-item__inner {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;

    box-sizing: border-box !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 325px !important;

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

    background: #ffffff !important;

    border: 1px solid #eee8e2 !important;
    border-radius: 17px !important;

    overflow: hidden !important;

    box-shadow:
        0 2px 5px rgba(48,30,64, .025),
        0 8px 18px rgba(48,30,64, .055) !important;

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease !important;
}

div.optional-accessories.products.container li.product:hover .product-item__inner {
    transform: translateY(-3px) !important;

    border-color: #e3ded9 !important;

    box-shadow:
        0 7px 16px rgba(48,30,64, .07),
        0 15px 30px rgba(48,30,64, .07) !important;
}


/* =========================================================
   05.05 CABECERA PRODUCTO
   ========================================================= */

div.optional-accessories.products.container .product-loop-header {
    position: relative !important;

    width: 100% !important;

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

div.optional-accessories.products.container .product-loop-header > .loop-product-categories {
    display: none !important;
}

div.optional-accessories.products.container .product-loop-header > a.woocommerce-LoopProduct-link {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;

    width: 100% !important;

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

    text-decoration: none !important;
}


/* =========================================================
   05.06 IMAGEN
   ========================================================= */

div.optional-accessories.products.container .product-thumbnail {
    order: 1 !important;

    display: flex !important;

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

    box-sizing: border-box !important;

    width: 100% !important;

    height: 135px !important;
    min-height: 135px !important;

    margin: 0 0 9px !important;
    padding: 2px !important;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fdfcfb 100%
        ) !important;

    border-radius: 13px !important;

    overflow: hidden !important;
}

div.optional-accessories.products.container .product-thumbnail img {
    display: block !important;

    width: 100% !important;
    height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    margin: auto !important;

    object-fit: contain !important;

    transform: scale(1.05) !important;

    transition: transform .25s ease !important;
}

div.optional-accessories.products.container li.product:hover .product-thumbnail img {
    transform: scale(1.09) !important;
}


/* =========================================================
   05.07 TÍTULO
   ========================================================= */

div.optional-accessories.products.container
.product-loop-header
.woocommerce-loop-product__title {
    order: 2 !important;

    display: -webkit-box !important;

    width: 100% !important;

    min-height: 43px !important;
    max-height: 43px !important;

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

    overflow: hidden !important;

    color: #2c1c3a !important;

    font-size: 11.5px !important;
    font-weight: 750 !important;
    line-height: 1.28 !important;

    letter-spacing: -.18px !important;

    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}


/* =========================================================
   05.08 DESCUENTO
   ========================================================= */

div.optional-accessories.products.container .sale-perc {
    position: absolute !important;

    z-index: 20 !important;

    top: 5px !important;
    left: 5px !important;

    display: block !important;

    width: auto !important;
    height: auto !important;

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

    background: transparent !important;
    border: 0 !important;

    overflow: visible !important;

    pointer-events: none !important;
}

div.optional-accessories.products.container .sale-perc::before,
div.optional-accessories.products.container .sale-perc::after {
    display: none !important;
    content: none !important;
}

div.optional-accessories.products.container .sale-perc .porcentaje {
    display: inline-flex !important;

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

    box-sizing: border-box !important;

    width: auto !important;
    min-width: 45px !important;

    height: 26px !important;
    min-height: 26px !important;

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

    background:
        linear-gradient(
            135deg,
            #ff434a 0%,
            #ff2028 55%,
            #f81019 100%
        ) !important;

    border: 0 !important;
    border-radius: 999px !important;

    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 26px !important;

    box-shadow:
        0 4px 10px rgba(244,22,32, .22) !important;
}


/* =========================================================
   05.09 INFORMACIÓN SECUNDARIA
   ========================================================= */

div.optional-accessories.products.container .ofertas_div,
div.optional-accessories.products.container .product-loop-body,
div.optional-accessories.products.container .product-loop-footer > a.compare,
div.optional-accessories.products.container .availability,
div.optional-accessories.products.container .add-to-compare-link,
div.optional-accessories.products.container #id_only_admin,
div.optional-accessories.products.container .mas_IVA_contado,
div.optional-accessories.products.container .precio_contado {
    display: none !important;
}


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

div.optional-accessories.products.container .product-loop-footer {
    position: static !important;

    display: flex !important;
    flex-direction: column !important;

    flex: 1 1 auto !important;

    width: 100% !important;

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

    border: 0 !important;
}


/* =========================================================
   05.11 ITEM + CONDICIÓN
   ========================================================= */

div.optional-accessories.products.container .contenedor-item-ultrapc {
    display: flex !important;

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

    flex-wrap: nowrap !important;

    width: 100% !important;

    height: 25px !important;
    min-height: 25px !important;

    gap: 6px !important;

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

    white-space: nowrap !important;
}

div.optional-accessories.products.container .contenedor-item-ultrapc br {
    display: none !important;
}

div.optional-accessories.products.container .item-ultrapc.item {
    position: static !important;

    display: inline-flex !important;

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

    gap: 4px !important;

    box-sizing: border-box !important;

    width: auto !important;

    height: 24px !important;
    min-height: 24px !important;

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

    background: #f9f6f4 !important;

    border: 1px solid #f0ebe5 !important;
    border-radius: 999px !important;

    color: #f67d13 !important;

    font-size: 8px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

div.optional-accessories.products.container .item-ultrapc.item::before {
    content: none !important;

    display: inline-block !important;

    width: 7px !important;
    height: 7px !important;

    border: 1.4px solid #f67d13 !important;
    border-radius: 2px !important;

    transform: rotate(45deg) !important;
}

div.optional-accessories.products.container .condicion_item_ultrapc_archivos {
    position: static !important;

    display: inline-flex !important;

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

    gap: 4px !important;

    box-sizing: border-box !important;

    width: auto !important;

    height: 24px !important;
    min-height: 24px !important;

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

    background: #f7f4f2 !important;

    border: 1px solid #ebe4de !important;
    border-radius: 999px !important;

    color: #238b48 !important;

    font-size: 8px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

div.optional-accessories.products.container .condicion_item_ultrapc_archivos::before {
    content: "✦" !important;

    color: #159342 !important;

    font-size: 10px !important;
    line-height: 1 !important;
}


/* =========================================================
   05.12 PRECIO
   ========================================================= */

div.optional-accessories.products.container .price-add-to-cart {
    display: flex !important;
    flex-direction: column !important;

    align-items: stretch !important;
    justify-content: flex-end !important;

    box-sizing: border-box !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    flex: 0 0 auto !important;

    gap: 9px !important;

    margin: auto 0 0 !important;
    padding: 10px 0 0 !important;

    border-top: 1px solid #f1ece8 !important;
}


/* bloque completo de precio */

div.optional-accessories.products.container
.price-add-to-cart .price {
    display: block !important;

    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;

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


/* estructura interna */

div.optional-accessories.products.container
.price-add-to-cart .electro-price {
    display: flex !important;
    flex-direction: column !important;

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

    width: 100% !important;

    gap: 0 !important;

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


/* precio actual */

div.optional-accessories.products.container
.price-add-to-cart .price ins {
    order: 1 !important;

    display: block !important;

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

    background: transparent !important;

    text-decoration: none !important;
}


div.optional-accessories.products.container
.price-add-to-cart
.price ins .precio_ultrapc_by_h,

div.optional-accessories.products.container
.price-add-to-cart
.price > .electro-price > .precio_ultrapc_by_h {
    display: block !important;

    color: #ff7803 !important;

    font-size: 20px !important;
    font-weight: 850 !important;
    line-height: 1 !important;

    letter-spacing: -.55px !important;

    white-space: nowrap !important;
}


/* precio anterior */

div.optional-accessories.products.container
.price-add-to-cart .price del {
    order: 2 !important;

    display: none !important;

    position: static !important;

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

    opacity: 1 !important;

    line-height: 1 !important;
}


div.optional-accessories.products.container
.price-add-to-cart
.price del .precio_ultrapc_by_h {
    color: #a29e9a !important;

    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 1 !important;

    text-decoration: line-through !important;

    white-space: nowrap !important;
}


/* =========================================================
   05.13 BOTÓN AGREGAR AL CARRITO
   ========================================================= */

div.optional-accessories.products.container
.add-to-cart-wrap {
    display: block !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    flex: 0 0 auto !important;

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


div.optional-accessories.products.container
.add-to-cart-wrap
.add_to_cart_button {
    display: flex !important;

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

    gap: 8px !important;

    box-sizing: border-box !important;

    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;

    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;

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

    background:
        linear-gradient(
            145deg,
            #f7841f 0%,
            #f77300 58%,
            #dc6700 100%
        ) !important;

    border: 0 !important;
    border-radius: 999px !important;

    color: transparent !important;

    font-size: 0 !important;
    line-height: 1 !important;

    text-indent: 0 !important;

    white-space: nowrap !important;

    overflow: hidden !important;

    box-shadow:
        0 5px 12px rgba(243,113,0, .24) !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease !important;
}


/* círculo blanco del carrito */

div.optional-accessories.products.container
.add-to-cart-wrap
.add_to_cart_button::before {
    display: inline-flex !important;

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

    flex: 0 0 29px !important;

    box-sizing: border-box !important;

    width: 29px !important;
    height: 29px !important;

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

    background: #ffffff !important;

    border-radius: 50% !important;

    color: #ea6d00 !important;

    font-size: 14px !important;
    line-height: 29px !important;

    text-indent: 0 !important;

    box-shadow:
        0 2px 5px rgba(62,27,93, .10) !important;
}


/* no usar texto mediante pseudo-elemento */

div.optional-accessories.products.container
.add-to-cart-wrap
.add_to_cart_button::after {
    display: none !important;
    content: none !important;
}


/* texto real insertado por product-carousel.js */

div.optional-accessories.products.container
.add-to-cart-wrap
.add_to_cart_button
.ultrapc-cart-label {
    display: inline-block !important;

    flex: 0 0 auto !important;
    flex-shrink: 0 !important;

    width: auto !important;
    min-width: max-content !important;

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

    color: #ffffff !important;

    font-family: inherit !important;

    font-size: 11.5px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    letter-spacing: -.15px !important;

    text-indent: 0 !important;

    white-space: nowrap !important;
}


div.optional-accessories.products.container
.add-to-cart-wrap
.add_to_cart_button:hover {
    transform: translateY(-1px) !important;

    box-shadow:
        0 7px 16px rgba(243,113,0, .31) !important;
}


/* =========================================================
   05.14 FAVORITOS
   ========================================================= */

div.optional-accessories.products.container .hover-area {
    display: block !important;

    visibility: visible !important;
    opacity: 1 !important;

    position: static !important;

    width: auto !important;
    height: auto !important;

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

    border: 0 !important;

    overflow: visible !important;

    transform: none !important;
}

div.optional-accessories.products.container
.hover-area .action-buttons {
    display: block !important;

    visibility: visible !important;
    opacity: 1 !important;

    position: static !important;

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

div.optional-accessories.products.container
.yith-wcwl-add-to-wishlist {
    position: absolute !important;

    z-index: 50 !important;

    top: 10px !important;
    right: 10px !important;

    bottom: auto !important;
    left: auto !important;

    display: block !important;

    visibility: visible !important;
    opacity: 1 !important;

    width: 28px !important;
    height: 28px !important;

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

div.optional-accessories.products.container .yith-wcwl-add-button,
div.optional-accessories.products.container .yith-wcwl-add-button a {
    width: 28px !important;
    height: 28px !important;

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

div.optional-accessories.products.container .yith-wcwl-add-button a {
    display: flex !important;

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

    box-sizing: border-box !important;

    background: rgba(252,251,250, .97) !important;

    border: 1px solid #f1ece8 !important;
    border-radius: 50% !important;

    color: #89847e !important;

    font-size: 0 !important;

    box-shadow:
        0 3px 8px rgba(48,30,64, .07) !important;
}

div.optional-accessories.products.container
.yith-wcwl-add-button a span {
    display: none !important;
}

div.optional-accessories.products.container
.yith-wcwl-icon-svg {
    display: block !important;

    width: 15px !important;
    height: 15px !important;

    overflow: visible !important;
}

div.optional-accessories.products.container
.yith-wcwl-icon-svg path {
    fill: none !important;

    stroke: #89847e !important;
    stroke-width: 1.65 !important;

    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}


/* =========================================================
   05.15 FLECHAS CARRUSEL
   ========================================================= */

div.optional-accessories.products.container
.ultrapc-carousel-prev,

div.optional-accessories.products.container
.ultrapc-carousel-next {
    position: absolute !important;

    z-index: 80 !important;

    top: 50% !important;

    display: flex !important;

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

    width: 38px !important;
    height: 38px !important;

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

    background: rgba(255,255,255, .97) !important;

    border: 1px solid #ece6df !important;
    border-radius: 50% !important;

    color: #ea6d00 !important;

    font-family: Arial, sans-serif !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    box-shadow:
        0 5px 16px rgba(48,30,64, .14) !important;

    cursor: pointer !important;

    transform: translateY(-50%) !important;

    transition:
        opacity .18s ease,
        box-shadow .18s ease !important;
}

div.optional-accessories.products.container
.ultrapc-carousel-prev {
    left: -18px !important;
}

div.optional-accessories.products.container
.ultrapc-carousel-next {
    right: -18px !important;
}

div.optional-accessories.products.container
.ultrapc-carousel-prev:disabled,

div.optional-accessories.products.container
.ultrapc-carousel-next:disabled {
    opacity: .25 !important;
    cursor: default !important;
}


/* =========================================================
   05.16 TABLET
   ========================================================= */

@media (max-width: 1199px) {

    div.optional-accessories.products.container
    > ul.products > li.product {
        flex-basis: calc((100% - 24px) / 3) !important;

        width: calc((100% - 24px) / 3) !important;
        max-width: calc((100% - 24px) / 3) !important;
    }
}


/* =========================================================
   05.17 MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    div.optional-accessories.products.container > ul.products {
        gap: 10px !important;
    }

    div.optional-accessories.products.container
    > ul.products > li.product {
        flex-basis: calc((100% - 10px) / 2) !important;

        width: calc((100% - 10px) / 2) !important;
        max-width: calc((100% - 10px) / 2) !important;
    }

    div.optional-accessories.products.container
    .product-item__inner {
        min-height: 300px !important;

        padding: 9px !important;

        border-radius: 16px !important;
    }

    div.optional-accessories.products.container
    .product-thumbnail {
        height: 116px !important;
        min-height: 116px !important;
    }

    div.optional-accessories.products.container
    .product-loop-header
    .woocommerce-loop-product__title {
        font-size: 10.5px !important;
    }

    div.optional-accessories.products.container
    .ultrapc-carousel-prev,

    div.optional-accessories.products.container
    .ultrapc-carousel-next {
        display: none !important;
    }
}


/* =========================================================
   06. PRODUCTO — Pestañas, descripción, estado, especificaciones y garantía
   ========================================================= */

.woocommerce-tabs ul.tabs.wc-tabs {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 5px !important;
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto 0 !important;
    padding: 5px !important;
    background: #faf8f6 !important;
    border: 1px solid #eee8e2 !important;
    border-radius: 14px 14px 0 0 !important;
    list-style: none !important;
}

.woocommerce-tabs ul.tabs.wc-tabs::before, .woocommerce-tabs ul.tabs.wc-tabs::after {
    display: none !important;
    content: none !important;
}

.woocommerce-tabs ul.tabs.wc-tabs > li {
    position: relative !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 9px !important;
    box-shadow: none !important;
}

.woocommerce-tabs ul.tabs.wc-tabs > li::before, .woocommerce-tabs ul.tabs.wc-tabs > li::after {
    display: none !important;
    content: none !important;
}

.woocommerce-tabs ul.tabs.wc-tabs > li > a {
    min-height: 40px !important;
    padding: 0 17px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 9px !important;
    color: #6c655e !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: none !important;
    transition: background-color .18s ease,
                color .18s ease,
                box-shadow .18s ease;
}

.woocommerce-tabs ul.tabs.wc-tabs > li:not(.active) > a:hover {
    background: #f4f1ee !important;
    color: #ea6d00 !important;
}

.woocommerce-tabs ul.tabs.wc-tabs > li.active {
    background: transparent !important;
}

.woocommerce-tabs ul.tabs.wc-tabs > li.active > a {
    background: #ffffff !important;
    color: #ea6d00 !important;
    box-shadow: 0 2px 7px rgba(59,40,75, .08),
                inset 0 -2px 0 #ea6d00 !important;
}

.woocommerce-tabs ul.tabs.wc-tabs > li > a:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(229,107,0, .12) !important;
}

@media (max-width: 767px) {
    .woocommerce-tabs ul.tabs.wc-tabs {
        width: 100% !important;
        justify-content: flex-start !important;
        overflow-x: auto !important;
        flex-wrap: nowrap !important;
        border-radius: 12px !important;
        scrollbar-width: none;
    }

    .woocommerce-tabs ul.tabs.wc-tabs::-webkit-scrollbar {
        display: none;
    }

    .woocommerce-tabs ul.tabs.wc-tabs > li {
        flex: 0 0 auto !important;
    }

    .woocommerce-tabs ul.tabs.wc-tabs > li > a {
        min-height: 38px !important;
        padding: 0 14px !important;
        font-size: 12px !important;
        white-space: nowrap !important;
    }
}

#tab-description {
    background: #ffffff !important;
    border: 1px solid #ede7e1 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    box-shadow: 0 5px 18px rgba(56,38,72, 0.025),
                0 12px 32px rgba(56,38,72, 0.025);
    overflow: hidden;
}

#tab-description .electro-description {
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 32px 36px !important;
    color: #5f5953;
    font-size: 14px;
    line-height: 1.65;
}

#tab-description .titulo-de-descripcion {
    margin: 0 0 26px !important;
    color: #382e40 !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    text-align: center !important;
    font-weight: 700 !important;

    letter-spacing: -0.3px;
}

#tab-description .electro-description > p:empty, #tab-description .descripcion_ultrapc > p:empty {
    display: none !important;
}

#tab-description .descripcion_ultrapc {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}

#tab-description .descripcion_ultrapc > p:not([class]) {
    grid-column: 1 / -1;
    margin: 0 !important;
    padding: 17px 20px !important;
    background: #fbfaf8;
    border: 1px solid #efeae5;
    border-radius: 12px;
    color: #7a756f !important;
    line-height: 1.6 !important;
}

#tab-description .link-en-descripcion {
    color: #ea6d00 !important;
    font-weight: 700;
    text-decoration: none !important;
}

#tab-description .link-en-descripcion:hover {
    color: #4a206f !important;
    text-decoration: underline !important;
}

#tab-description .condicion_parrafo {
    margin: 0 !important;
    padding: 18px 20px !important;
    background: #fcfbf9;
    border: 1px solid #ede8e2;
    border-radius: 12px;
    color: #645e57 !important;
    line-height: 1.65 !important;
}

#tab-description .condicion_parrafo::before {
    content: "Estado del Producto";
    display: block;
    margin-bottom: 8px;
    color: #382d42;
    font-size: 13px;
    font-weight: 800;
}

#tab-description .garantia_descripcion {
    grid-column: 1 / -1;
    margin: 0 !important;
    padding: 18px 20px !important;
    background: #faf9f7;
    border: 1px solid #ebe5de;
    border-radius: 12px;
    color: #665e56 !important;
    line-height: 1.65 !important;
}

#tab-description .garantia_descripcion::before {
    content: none;
}

#tab-description .garantia_descripcion .garantia-titulo {
    display: block;
    margin-bottom: 4px;
    color: #ea6d00 !important;
    font-size: 13px;
    font-weight: 800;
}

#tab-description .garantia_descripcion .garantia-titulo + br {
    display: none !important;
}

#tab-description .linea_divisora {
    display: none !important;
}

#tab-description .electro-description > p:not(.titulo-de-descripcion) {
    margin: 0 0 12px !important;
    padding: 16px 19px !important;
    background: #ffffff;
    border: 1px solid #efebe7;
    border-radius: 11px;
    color: #625c56 !important;
    line-height: 1.7 !important;
}

#tab-description .electro-description > p:last-child {
    margin-bottom: 0 !important;
}

#tab-description .product_meta {
    margin: 0 !important;
    padding: 18px 36px !important;
    background: #fbfaf9;
    border-top: 1px solid #efeae5;
    color: #8b8682;
    font-size: 11px;
    line-height: 1.6;
}

#tab-description .product_meta > span {
    display: block;
    margin-bottom: 4px;
}

#tab-description .product_meta a {
    color: #7b7066 !important;
    text-decoration: none !important;
}

#tab-description .product_meta a:hover {
    color: #ea6d00 !important;
}

@media (max-width: 767px) {
    #tab-description .electro-description {
        padding: 22px 18px !important;
    }

    #tab-description .titulo-de-descripcion {
        font-size: 20px !important;
        margin-bottom: 18px !important;
    }

    #tab-description .descripcion_ultrapc {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    #tab-description .descripcion_ultrapc > p:not([class]) {
        grid-column: auto;
    }

    #tab-description .product_meta {
        padding: 16px 18px !important;
    }
}

#tab-estado_tab {
    background: #ffffff !important;
    border: 1px solid #ede7e1 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    box-shadow: 0 5px 18px rgba(56,38,72, 0.025),
                0 12px 32px rgba(56,38,72, 0.025);
    overflow: hidden;
}

#tab-estado_tab .woocommerce-Tabs-panel-estado {
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 30px 36px !important;
}

#tab-estado_tab .woocommerce-Tabs-panel-estado h2 {
    margin: 0 0 14px !important;
    color: #382d41 !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px;
}

#tab-estado_tab .woocommerce-Tabs-panel-estado h2:not(:first-child) {
    margin-top: 28px !important;
}

#tab-estado_tab table.woocommerce-product-attributes.shop_attributes {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border: 1px solid #eee9e4 !important;
    border-radius: 14px !important;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(56,36,74, 0.02);
}

#tab-estado_tab table.woocommerce-product-attributes.shop_attributes tr {
    background: transparent !important;
}

#tab-estado_tab table.woocommerce-product-attributes.shop_attributes tr:not(:last-child) th, #tab-estado_tab table.woocommerce-product-attributes.shop_attributes tr:not(:last-child) td {
    border-bottom: 1px solid #f4f0ec !important;
}

#tab-estado_tab table.woocommerce-product-attributes.shop_attributes th, #tab-estado_tab table.woocommerce-product-attributes.shop_attributes td {
    padding: 15px 18px !important;
    vertical-align: top !important;
    background: #ffffff !important;
}

#tab-estado_tab table.woocommerce-product-attributes.shop_attributes th {
    width: 34% !important;
    color: #ea6d00 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: .15px !important;
    border-right: 1px solid #f4f1ee !important;
}

#tab-estado_tab table.woocommerce-product-attributes.shop_attributes td {
    color: #392f42 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    font-weight: 500 !important;
}

#tab-estado_tab table.woocommerce-product-attributes.shop_attributes td:empty::before {
    content: "Sin observaciones";
    color: #a7a39f;
    font-style: italic;
    font-weight: 400;
}

#tab-estado_tab table.woocommerce-product-attributes.shop_attributes tr:hover th, #tab-estado_tab table.woocommerce-product-attributes.shop_attributes tr:hover td {
    background: #fefdfc !important;
}

@media (max-width: 767px) {
    #tab-estado_tab .woocommerce-Tabs-panel-estado {
        padding: 22px 18px !important;
    }

    #tab-estado_tab .woocommerce-Tabs-panel-estado h2 {
        font-size: 18px !important;
    }

    #tab-estado_tab table.woocommerce-product-attributes.shop_attributes th, #tab-estado_tab table.woocommerce-product-attributes.shop_attributes td {
        display: block !important;
        width: 100% !important;
        border-right: 0 !important;
    }

    #tab-estado_tab table.woocommerce-product-attributes.shop_attributes th {
        padding-bottom: 6px !important;
        border-bottom: 0 !important;
    }

    #tab-estado_tab table.woocommerce-product-attributes.shop_attributes td {
        padding-top: 0 !important;
    }

    #tab-estado_tab table.woocommerce-product-attributes.shop_attributes tr:not(:last-child) td {
        border-bottom: 1px solid #f4f0ec !important;
    }
}

#tab-specification {
    background: #ffffff !important;
    border: 1px solid #ede7e1 !important;
    border-radius: 16px !important;
    padding: 30px 36px !important;
    box-shadow: 0 5px 18px rgba(56,38,72, 0.025),
                0 12px 32px rgba(56,38,72, 0.025);
    overflow: hidden;
}

#tab-specification > .titulo-de-descripcion, #tab-specification > .descripcion_ultrapc, #tab-specification > p:empty {
    display: none !important;
}

#tab-specification > h2 {
    position: relative;
    margin: 0 0 15px !important;
    padding: 0 0 11px !important;
    color: #382d41 !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px;
    border-bottom: 1px solid #f1ece8;
}

#tab-specification > h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 55px;
    height: 2px;
    background: #ea6d00;
    border-radius: 10px;
}

#tab-specification > h2:not(:first-of-type) {
    margin-top: 34px !important;
}

#tab-specification table.woocommerce-product-attributes.shop_attributes {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important;
    border: 1px solid #ede8e2 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 10px rgba(56,36,74, 0.02);
}

#tab-specification table.woocommerce-product-attributes.shop_attributes tr {
    background: transparent !important;
}

#tab-specification table.woocommerce-product-attributes.shop_attributes tr:not(:last-child) th,  #tab-specification table.woocommerce-product-attributes.shop_attributes tr:not(:last-child) td {
    border-bottom: 1px solid #f4f0ed !important;
}

#tab-specification table.woocommerce-product-attributes.shop_attributes th,  #tab-specification table.woocommerce-product-attributes.shop_attributes td {
    padding: 13px 18px !important;
    vertical-align: middle !important;
}

#tab-specification table.woocommerce-product-attributes.shop_attributes th {
    width: 34% !important;
    background: #fbfaf9 !important;
    color: #665f58 !important;
    font-size: 12px !important;
    line-height: 1.45 !important;
    font-weight: 700 !important;
    border-right: 1px solid #f4f0ed !important;
}

#tab-specification table.woocommerce-product-attributes.shop_attributes td {
    background: #ffffff !important;
    color: #392e42 !important;
    font-size: 13px !important;
    line-height: 1.55 !important;
    font-weight: 500 !important;
}

#tab-specification table.woocommerce-product-attributes.shop_attributes tr:hover th {
    background: #f9f6f4 !important;
}

#tab-specification table.woocommerce-product-attributes.shop_attributes tr:hover td {
    background: #fefdfc !important;
}

#tab-specification table.woocommerce-product-attributes.shop_attributes td:empty::before {
    content: "No especificado";
    color: #a8a4a0;
    font-style: italic;
    font-weight: 400;
}

#tab-specification table:first-of-type tr:nth-child(1) td {
    color: #ea6d00 !important;
    font-weight: 700 !important;
}

#tab-specification table:first-of-type tr:nth-child(9) td {
    font-weight: 700 !important;
}

#tab-specification table:first-of-type tr:nth-child(13) td {
    font-weight: 700 !important;
}

#tab-specification table:first-of-type tr:nth-child(15) td {
    font-weight: 700 !important;
}

#tab-specification table:first-of-type tr:nth-child(18) td {
    font-weight: 700 !important;
}

#tab-specification table:nth-of-type(2) td {
    line-height: 1.7 !important;
}

@media (max-width: 767px) {
    #tab-specification {
        padding: 22px 18px !important;
    }

    #tab-specification > h2 {
        font-size: 18px !important;
    }

    #tab-specification table.woocommerce-product-attributes.shop_attributes th,  #tab-specification table.woocommerce-product-attributes.shop_attributes td {
        display: block !important;
        width: 100% !important;
        border-right: 0 !important;
    }

    #tab-specification table.woocommerce-product-attributes.shop_attributes th {
        padding: 11px 14px 5px !important;
        border-bottom: 0 !important;
    }

    #tab-specification table.woocommerce-product-attributes.shop_attributes td {
        padding: 4px 14px 12px !important;
    }

    #tab-specification table.woocommerce-product-attributes.shop_attributes tr:not(:last-child) td {
        border-bottom: 1px solid #f4f0ed !important;
    }
}

#tab-garantia_tab {
    background: #ffffff !important;
    border: 1px solid #ede7e1 !important;
    border-radius: 16px !important;
    padding: 0 !important;
    box-shadow: 0 5px 18px rgba(56,38,72, 0.025),
                0 12px 32px rgba(56,38,72, 0.025);
    overflow: hidden;
}

#tab-garantia_tab #tab-garantia-poliza {
    max-width: 1100px;
    margin: 0 auto !important;
    padding: 30px 36px 38px !important;
    color: #635d57;
    font-size: 14px;
    line-height: 1.7;
}

#tab-garantia-poliza > p:first-child {
    position: relative;
    margin: 0 !important;
    padding: 22px 24px 22px 62px !important;
    background: #faf8f6 !important;
    border: 1px solid #ebe4de !important;
    border-radius: 14px !important;
    color: #574e44 !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

#tab-garantia-poliza > p:first-child::before {
    content: "✓";
    position: absolute;
    left: 20px;
    top: 22px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ea6d00;
    color: #ffffff;
    border-radius: 50%;
    font-size: 15px;
    font-weight: 800;
}

#tab-garantia-poliza > p:first-child::after {
    content: "Cobertura de este equipo";
    position: absolute;
    left: 62px;
    top: -12px;
    padding: 3px 10px;
    background: #ffffff;
    color: #ea6d00;
    border: 1px solid #ebe4de;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
}

#tab-garantia_tab #garantia-de-producto-page > .titulo-de-descripcion,  #tab-garantia_tab #garantia-de-producto-page > .descripcion_ultrapc,  #tab-garantia_tab #garantia-de-producto-page > p:empty {
    display: none !important;
}

#tab-garantia_tab .separador-garantia {
    display: none !important;
}

#tab-garantia_tab #garantia-de-producto-page {
    margin-top: 30px !important;
    padding: 0 !important;
}

#tab-garantia_tab #garantia-de-producto-page h2 {
    position: relative;
    margin: 32px 0 18px !important;
    padding: 0 0 12px !important;
    color: #382d41 !important;
    font-size: 21px !important;
    line-height: 1.25 !important;
    font-weight: 700 !important;
    letter-spacing: -0.2px;
    border-bottom: 1px solid #f0ece7;
}

#tab-garantia_tab #garantia-de-producto-page h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 58px;
    height: 2px;
    background: #ea6d00;
    border-radius: 5px;
}

#tab-garantia_tab #garantia-de-producto-page > p {
    margin: 0 0 18px !important;
    color: #6f6963 !important;
    font-size: 14px !important;
    line-height: 1.75 !important;
}

#tab-garantia_tab #garantia-de-producto-page p > strong:first-child {
    color: #3f3449;
    font-weight: 700;
}

#tab-garantia_tab #garantia-de-producto-page ul.wp-block-list {
    margin: 8px 0 24px !important;
    padding: 18px 22px 18px 44px !important;
    background: #fbfaf9;
    border: 1px solid #eee9e4;
    border-radius: 12px;
}

#tab-garantia_tab #garantia-de-producto-page ul.wp-block-list li {
    margin-bottom: 9px !important;
    padding-left: 3px;
    color: #69645e;
    line-height: 1.65;
}

#tab-garantia_tab #garantia-de-producto-page ul.wp-block-list li:last-child {
    margin-bottom: 0 !important;
}

#tab-garantia_tab #garantia-de-producto-page ul.wp-block-list li::marker {
    color: #ea6d00;
    font-weight: 700;
}

#tab-garantia_tab blockquote.wp-block-quote {
    margin: 18px 0 24px !important;
    padding: 18px 22px !important;
    background: #faf9f7 !important;
    border: 0 !important;
    border-left: 4px solid #ea6d00 !important;
    border-radius: 0 12px 12px 0;
    color: #68615a;
}

#tab-garantia_tab blockquote.wp-block-quote p {
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.7 !important;
}

#tab-garantia_tab #garantia-de-producto-page a {
    color: #ea6d00 !important;
    font-weight: 600;
    text-decoration: none !important;
    transition: color .18s ease,
                opacity .18s ease;
}

#tab-garantia_tab #garantia-de-producto-page a:hover {
    color: #461e69 !important;
    text-decoration: underline !important;
}

#tab-garantia_tab #garantia-de-producto-page p:has(> strong:first-child:last-child) {
    margin-top: 28px !important;
    margin-bottom: 12px !important;
    color: #392e42 !important;
}

#tab-garantia_tab #garantia-de-producto-page p:has(> strong:first-child:last-child) > strong {
    font-size: 15px;
    color: #392e42 !important;
    font-weight: 800;
}

#tab-garantia_tab #garantia-de-producto-page br + br {
    display: block;
    content: "";
    margin-top: 5px;
}

@media (max-width: 767px) {
    #tab-garantia_tab #tab-garantia-poliza {
        padding: 24px 18px 28px !important;
    }

    #tab-garantia-poliza > p:first-child {
        padding: 48px 18px 18px !important;
    }

    #tab-garantia-poliza > p:first-child::before {
        left: 18px;
        top: 14px;
    }

    #tab-garantia-poliza > p:first-child::after {
        left: 54px;
        top: 16px;
        border: 0;
        background: transparent;
    }

    #tab-garantia_tab #garantia-de-producto-page h2 {
        font-size: 18px !important;
    }

    #tab-garantia_tab #garantia-de-producto-page ul.wp-block-list {
        padding: 15px 15px 15px 34px !important;
    }
}





/* =========================================================
   07. PRODUCTO — Productos relacionados
   ========================================================= */

section.related.products {
    margin-top: 42px !important;
}

section.related.products > h2 {
    position: relative;
    margin: 0 0 24px !important;
    padding: 0 0 12px !important;
    color: #382e40 !important;
    font-size: 24px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    border-bottom: 1px solid #eee9e4;
}

section.related.products > h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 80px;
    height: 2px;
    background: #ea6d00;
    border-radius: 4px;
}

section.related.products > ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
    margin: 0 !important;
    padding: 0 !important;
}

section.related.products > ul.products > li.product {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

section.related.products > ul.products > li.product::before,  section.related.products > ul.products > li.product::after {
    display: none !important;
}

section.related.products .product-item__outer {
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}

section.related.products .product-item__inner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    min-height: 365px;
    padding: 16px !important;
    background: #ffffff !important;
    border: 1px solid #eee8e2 !important;
    border-radius: 15px !important;
    box-shadow: 0 3px 12px rgba(56,38,72,.025),
                0 10px 24px rgba(56,38,72,.03);
    overflow: hidden !important;
    transition: transform .18s ease,
                border-color .18s ease,
                box-shadow .18s ease;
}

section.related.products li.product:hover .product-item__inner {
    transform: translateY(-4px);
    border-color: #ddd8d4 !important;
    box-shadow: 0 9px 24px rgba(56,38,72,.08);
}

section.related.products .product-loop-header {
    margin: 0 !important;
    padding: 0 !important;
}

section.related.products .product-loop-header > .loop-product-categories {
    display: none !important;
}

section.related.products .product-loop-header > a.woocommerce-LoopProduct-link {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    text-decoration: none !important;
}

section.related.products .product-thumbnail {
    order: 1 !important;
    width: 100% !important;
    height: 175px !important;
    margin: 0 0 12px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden !important;
}

section.related.products .product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    max-width: 180px !important;
    max-height: 165px !important;
    object-fit: contain !important;
    margin: auto !important;
}

section.related.products .product-loop-header .woocommerce-loop-product__title {
    order: 2 !important;
    min-height: 56px !important;
    margin: 0 !important;
    color: #392e42 !important;
    font-size: 13px !important;
    line-height: 1.32 !important;
    font-weight: 700 !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden !important;
}

section.related.products .sale-perc {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 10 !important;
    margin: 0 !important;
}

section.related.products .sale-perc .porcentaje {
    width: 43px !important;
    height: 43px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(230,40,50,.18);
}

section.related.products .ofertas_div {
    display: none !important;
}

section.related.products .product-loop-body {
    display: none !important;
}

section.related.products .product-loop-footer > a.compare {
    display: none !important;
}

section.related.products .availability {
    display: none !important;
}

section.related.products .hover-area {
    display: none !important;
}

section.related.products .product-loop-footer {
    margin-top: auto !important;
    padding: 12px 0 0 !important;
    border: 0 !important;
}

section.related.products .contenedor-item-ultrapc {
    margin: 0 0 10px !important;
    line-height: 1.4 !important;
}

section.related.products .item-ultrapc.id {
    display: none !important;
}

section.related.products .item-ultrapc.item {
    display: inline-flex !important;
    padding: 3px 8px !important;
    background: #f7f4f1 !important;
    border-radius: 20px !important;
    color: #ea6d00 !important;
    font-size: 10px !important;
    font-weight: 700 !important;
}

section.related.products .condicion_item_ultrapc_archivos {
    display: block !important;
    margin: 6px 0 0 !important;
    color: #776e65 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

section.related.products .price-add-to-cart {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 !important;
    padding: 0 !important;
}

section.related.products .mas_IVA_contado {
    display: none !important;
}

section.related.products .price {
    margin: 0 !important;
    padding: 0 !important;
}

section.related.products .electro-price {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: baseline !important;
    gap: 6px !important;
}

section.related.products .price ins {
    text-decoration: none !important;
}

section.related.products .price ins .precio_ultrapc_by_h,  section.related.products .price > .electro-price > .precio_ultrapc_by_h {
    color: #ea6d00 !important;
    font-size: 19px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
}

section.related.products .price del {
    position: static !important;
    margin: 0 !important;
    opacity: 1 !important;
}

section.related.products .price del .precio_ultrapc_by_h {
    color: #a39e9a !important;
    font-size: 11px !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

section.related.products .add-to-cart-wrap {
    flex: 0 0 auto !important;
    margin: 0 !important;
}

section.related.products .add-to-cart-wrap .add_to_cart_button {
    width: 40px !important;
    min-width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    border: 0 !important;
    border-radius: 50% !important;
    background: #ea6d00 !important;
    color: #ffffff !important;
    font-size: 0 !important;
    box-shadow: 0 4px 11px rgba(229,107,0,.17);
    transition: background-color .18s ease,
                transform .18s ease,
                box-shadow .18s ease;
}

section.related.products .add-to-cart-wrap .add_to_cart_button:hover {
    background: #4a206f !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 16px rgba(229,107,0,.24);
}

@media (max-width: 991px) {
    section.related.products > ul.products {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    section.related.products > ul.products {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    section.related.products .product-item__inner {
        min-height: 320px;
        padding: 12px !important;
    }

    section.related.products .product-thumbnail {
        height: 135px !important;
    }

    section.related.products .product-loop-header .woocommerce-loop-product__title {
        font-size: 12px !important;
        min-height: 50px !important;
    }

    section.related.products .price ins .precio_ultrapc_by_h,  section.related.products .price > .electro-price > .precio_ultrapc_by_h {
        font-size: 16px !important;
    }
}

@media (max-width: 420px) {
    section.related.products > ul.products {
        grid-template-columns: 1fr !important;
    }
}





/* =========================================================
   08. PRODUCTO — Galería, fotos reales y stock (ajustes finales)
   ========================================================= */

.single-product .woocommerce-product-gallery {
    min-height: 590px !important;
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    padding-bottom: 105px !important;
}

.single-product .woocommerce-product-gallery .flex-viewport {
    flex: 0 0 auto;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
    margin-top: auto !important;
}

.single-product .boton_solicitar_fotos {
    position: relative !important;
    z-index: 10;
    width: 100% !important;
    max-width: 360px !important;
    margin: -91px auto 23px !important;
    padding: 0 !important;
    text-align: center !important;
}

.single-product .boton_solicitar_fotos::before {
    margin-bottom: 8px;
    color: #888481;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.single-product .boton_solicitar_fotos .boton-solicite-fotos {
    width: auto !important;
    min-height: 42px !important;
    padding: 0 21px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ea6d00 !important;
    border: 1px solid #ea6d00 !important;
    border-radius: 11px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(229,107,0, .14);
    transition: background-color .18s ease,
                transform .18s ease,
                box-shadow .18s ease;
}

.single-product .boton_solicitar_fotos .boton-solicite-fotos i {
    margin-right: 7px !important;
    font-size: 17px !important;
}

.single-product .boton_solicitar_fotos .boton-solicite-fotos:hover {
    background: #4c2172 !important;
    border-color: #4c2172 !important;
    transform: translateY(-2px);
    box-shadow: 0 7px 17px rgba(229,107,0, .20);
}

.single-product .summary.entry-summary {
    min-height: 590px !important;
    box-sizing: border-box !important;
}

@media (max-width: 991px) {
    .single-product .woocommerce-product-gallery, .single-product .summary.entry-summary {
        min-height: 0 !important;
    }

    .single-product .woocommerce-product-gallery {
        padding-bottom: 90px !important;
    }

    .single-product .boton_solicitar_fotos {
        margin-top: -78px !important;
        max-width: 100% !important;
    }
}

.single-product .boton_solicitar_fotos::before {
    content: none !important;
    display: none !important;
}

@media (min-width: 992px) {
    .single-product .single-product-wrapper.row {
        display: grid !important;
        grid-template-rows: auto
                        auto;
        column-gap: 14px !important;
        row-gap: 0 !important;
        align-items: stretch !important;
        position: relative !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .single-product .single-product-wrapper > .product-images-wrapper {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        margin: 0 !important;
        float: none !important;
        display: flex !important;
        flex-direction: column !important;
        align-self: stretch !important;
    }

    .single-product .product-images-wrapper > .woocommerce-product-gallery {
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding-bottom: 245px !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
    }

    .single-product .woocommerce-product-gallery .flex-control-thumbs {
        margin-top: auto !important;
    }

    .single-product .single-product-wrapper > .summary.entry-summary {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        max-width: none !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: 0 !important;
        float: none !important;
        align-self: stretch !important;
        box-sizing: border-box !important;
    }

    .single-product .single-product-wrapper > table.tabla_debajo_de_fotos,  .single-product .single-product-wrapper > table.tabla_debajo_de_fotos > tbody,  .single-product .single-product-wrapper > table.tabla_debajo_de_fotos > tbody > tr {
        display: contents !important;
    }

    .single-product .tabla_debajo_de_fotos .columna_fotos_referencia {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: end !important;
        z-index: 20 !important;
        pointer-events: none;
    }

    .single-product .tabla_debajo_de_fotos .texto_tipo_de_fotos {
        line-height: 1.2 !important;
    }

    .single-product .tabla_debajo_de_fotos .columna_boton_solicitar_fotos {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: end !important;
        justify-self: stretch !important;
        z-index: 21 !important;
    }

    .single-product .tabla_debajo_de_fotos .boton_solicitar_fotos {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        position: relative !important;
    }

    .single-product .boton_solicitar_fotos::before {
        content: none !important;
        display: none !important;
    }

    .single-product .boton_solicitar_fotos .boton-solicite-fotos {
        min-height: 42px !important;
        padding: 0 21px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ea6d00 !important;
        border: 1px solid #ea6d00 !important;
        border-radius: 11px !important;
        color: #ffffff !important;
        font-size: 13px !important;
        line-height: 1 !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(229,107,0,.14);
        transition: background-color .18s ease,
                        transform .18s ease,
                        box-shadow .18s ease;
    }

    .single-product .boton_solicitar_fotos .boton-solicite-fotos i {
        margin-right: 7px !important;
        font-size: 17px !important;
    }

    .single-product .boton_solicitar_fotos .boton-solicite-fotos:hover {
        background: #4c2172 !important;
        transform: translateY(-2px);
        box-shadow: 0 7px 17px rgba(229,107,0,.20);
    }

    .single-product .tabla_debajo_de_fotos .columna_categorias_resumidas {
        grid-column: 2 !important;
        grid-row: 2 !important;
        align-self: start !important;
        display: block !important;
        margin: 12px 0 0 !important;
    }

    .single-product .tabla_debajo_de_fotos .contenedor-categoria_text {
        margin-left: 8px !important;
        color: #888481;
        font-size: 13px;
    }

    .single-product .tabla_debajo_de_fotos tr:nth-child(2) td:last-child {
        display: none !important;
    }
}

.single-product .summary.entry-summary .availability {
    display: block !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}

.single-product .summary.entry-summary .availability .stock {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    max-width: none !important;
    min-width: max-content !important;
    white-space: nowrap !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    padding: 8px 12px !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
}

.single-product .summary.entry-summary .stock.only_s_left_in_stock_color {
    white-space: nowrap !important;
    width: max-content !important;
    min-width: max-content !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-wrap: nowrap !important;
    gap: 9px !important;
    width: 100% !important;
    margin: auto 0 0 !important;
    padding: 8px 0 0 !important;
    list-style: none !important;
    overflow: visible !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs > li {
    flex: 0 0 87px !important;
    width: 87px !important;
    height: 87px !important;
    margin: 0 !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border: 1px solid #ece6e0 !important;
    border-radius: 8px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    cursor: pointer;
    transition: border-color .18s ease,
                box-shadow .18s ease,
                transform .18s ease;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs > li > img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    object-fit: contain !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    opacity: 1 !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs > li:has(img.flex-active) {
    border-color: #ea6d00 !important;
    box-shadow: 0 0 0 1px rgba(229,107,0,.08),
                0 4px 12px rgba(229,107,0,.12);
}

.single-product .woocommerce-product-gallery .flex-control-thumbs img.flex-active {
    opacity: 1 !important;
}

.single-product .woocommerce-product-gallery .flex-control-thumbs > li:hover {
    border-color: #beb2a5 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(61,43,77,.08);
}

@media (max-width: 575px) {
    .single-product .woocommerce-product-gallery .flex-control-thumbs {
        gap: 6px !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        padding-bottom: 3px !important;
    }

    .single-product .woocommerce-product-gallery .flex-control-thumbs > li {
        flex-basis: 78px !important;
        width: 78px !important;
        height: 78px !important;
    }
}

@media (min-width: 992px) {
    .single-product .tabla_debajo_de_fotos .columna_fotos_referencia {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .single-product .tabla_debajo_de_fotos .tipo_de_fotos {
        width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .single-product .tabla_debajo_de_fotos .texto_tipo_de_fotos {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        margin: 0 auto !important;
        color: #8a8580 !important;
        font-size: 13px !important;
        font-weight: 600 !important;
    }

    .single-product .tabla_debajo_de_fotos .columna_boton_solicitar_fotos {
        width: 100% !important;
        margin: 0 0 15px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }
}

@media (min-width: 992px) {
    .single-product .summary.entry-summary .imagen-flotante-derecha {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        float: right !important;
        width: 235px !important;
        max-width: 43% !important;
        margin: 0
                        0
                        14px
                        22px !important;
        padding: 0 !important;
        z-index: auto !important;
        box-sizing: border-box !important;
    }

    .single-product .summary.entry-summary .imagen-flotante-derecha img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 235px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .single-product .summary.entry-summary .availability {
        position: static !important;
        float: none !important;
        display: block !important;
        width: auto !important;
        max-width: none !important;
        margin: 4px
                        0
                        18px
                        0 !important;
        padding: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .single-product .summary.entry-summary .availability .stock {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        white-space: nowrap !important;
        vertical-align: middle !important;
    }

    .single-product .summary.entry-summary .precio_ultrapc_sumario {
        clear: both !important;
        width: 100% !important;
    }
}

@media (max-width: 991px) {
    .single-product .summary.entry-summary .imagen-flotante-derecha {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        float: none !important;
        width: 220px !important;
        max-width: 100% !important;
        margin: 12px
                        0
                        14px
                        0 !important;
        padding: 0 !important;
    }

    .single-product .summary.entry-summary .imagen-flotante-derecha img {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        max-width: 220px !important;
        margin: 0 !important;
    }

    .single-product .summary.entry-summary .availability {
        position: static !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0
                        0
                        18px
                        0 !important;
        padding: 0 !important;
    }

    .single-product .summary.entry-summary .precio_ultrapc_sumario {
        clear: both !important;
    }
}





/* =========================================================
   09. PRODUCTO — Ofertas laterales / sidebar
   ========================================================= */

.single-product #sidebar .widget_electro_onsale_product_widget {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .section-onsale-product > header {
    display: none !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .section-onsale-product,  .single-product #sidebar .widget_electro_onsale_product_widget .onsale-products {
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .onsale-product {
    position: relative !important;
    width: 100% !important;
    margin: 0 !important;
    background: #ffffff !important;
    border: 1px solid #eee8e2 !important;
    border-radius: 15px !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    box-shadow: 0 3px 12px rgba(56,38,72,.025),
                0 10px 24px rgba(56,38,72,.03);
    transition: transform .18s ease,
                border-color .18s ease,
                box-shadow .18s ease;
}

.single-product #sidebar .widget_electro_onsale_product_widget .onsale-product:hover {
    transform: translateY(-3px);
    border-color: #ddd8d3 !important;
    box-shadow: 0 9px 24px rgba(56,38,72,.08);
}

.single-product #sidebar .widget_electro_onsale_product_widget .onsale-product > .header {
    display: none !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .onsale-product > a.woocommerce-LoopProduct-link {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .product-thumbnail {
    order: 1 !important;
    width: 100% !important;
    margin: 0 0 12px !important;
    padding: 5px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    overflow: hidden !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .product-thumbnail img {
    width: 100% !important;
    height: 100% !important;
    margin: auto !important;
    object-fit: contain !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .sale-perc {
    position: absolute !important;
    top: 7px !important;
    left: 7px !important;
    z-index: 20 !important;
    margin: 0 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .sale-perc .porcentaje {
    width: 42px !important;
    height: 42px !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg,#ff1010,#ff4040) !important;
    border-radius: 50% !important;
    color: #ffffff !important;
    font-size: 11px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 12px rgba(255,0,0,.20) !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .contenedor-item-ultrapc {
    order: 2 !important;
    margin: 0 0 9px !important;
    text-align: center !important;
    line-height: 1.3 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .item-ultrapc.item {
    display: inline-flex !important;
    padding: 4px 11px !important;
    background: #f7f4f1 !important;
    border-radius: 28px !important;
    color: #ea6d00 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .item-ultrapc.id {
    display: none !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .condicion_item_ultrapc_archivos {
    display: block !important;
    margin: 6px 0 0 !important;
    color: #776e65 !important;
    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .woocommerce-loop-product__title {
    order: 3 !important;
    margin: 0 !important;
    color: #392e42 !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: -webkit-box !important;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .onsale-product > .price {
    display: block !important;
    width: 100% !important;
    margin: 14px 0 0 !important;
    padding: 12px 0 0 !important;
    border-top: 1px solid #f4f0ed !important;
    text-align: center !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .electro-price {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 3px !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .mas_IVA_contado {
    display: block !important;
    margin: 0 0 2px !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .precio_contado {
    color: #8b8682 !important;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 500 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .price ins {
    text-decoration: none !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .price ins .precio_ultrapc_by_h {
    color: #ea6d00 !important;
    font-size: 22px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    letter-spacing: -.3px;
}

.single-product #sidebar .widget_electro_onsale_product_widget .price del {
    position: static !important;
    margin: 0 !important;
    opacity: 1 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .price del .precio_ultrapc_by_h {
    color: #a29e9a !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: line-through !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .deal-progress {
    display: none !important;
}

@media (max-width: 991px) {
    .single-product #sidebar .widget_electro_onsale_product_widget .onsale-product {
        max-width: 300px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

.single-product #sidebar .widget_electro_onsale_product_widget .onsale-product > a.woocommerce-LoopProduct-link {
    height: auto !important;
    min-height: 0 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .onsale-product {
    padding: 13px 14px 14px !important;
    min-height: 0 !important;
    height: auto !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .product-thumbnail {
    height: 145px !important;
    margin-bottom: 9px !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .product-thumbnail img {
    max-width: 160px !important;
    max-height: 140px !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .contenedor-item-ultrapc {
    margin-bottom: 8px !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .woocommerce-loop-product__title {
    min-height: 46px !important;
    font-size: 11.5px !important;
    line-height: 1.32 !important;
    margin-bottom: 0 !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .onsale-product > .price {
    margin-top: 8px !important;
    padding-top: 9px !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .price ins .precio_ultrapc_by_h {
    font-size: 21px !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget .price del .precio_ultrapc_by_h {
    font-size: 13px !important;
}

.single-product #sidebar .widget_electro_onsale_product_widget {
    margin-bottom: 18px !important;
}

@media (min-width: 992px) {
    .single-product .tabla_debajo_de_fotos .columna_fotos_referencia {
        width: auto !important;
        margin: 0 24px 69px !important;
        justify-self: stretch !important;
        background: transparent !important;
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .single-product .tabla_debajo_de_fotos .columna_fotos_referencia .tipo_de_fotos {
        background: transparent !important;
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .single-product .tabla_debajo_de_fotos .columna_fotos_referencia .texto_tipo_de_fotos {
        background: transparent !important;
        background-color: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .single-product .tabla_debajo_de_fotos td.columna_fotos_referencia {
        background: transparent !important;
    }
}

@media (min-width: 992px) {
    .single-product .single-product-wrapper.row {
        grid-template-columns: minmax(0, 42fr)
                        minmax(0, 58fr) !important;
    }
}





/* Ajuste final - imagen flotante derecha */
@media (min-width: 992px) {
    .single-product .summary.entry-summary .imagen-flotante-derecha {
        transform: translateY(-22px) !important;
    }
}

/* =========================================================
   ULTRAPC - Botón Consultar Stock vía WhatsApp
   Diseño ficha de producto
   ========================================================= */

body.single-product
.summary
a.boton_consultar_stock {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;

    height: 46px !important;
    min-width: 0 !important;
    padding: 0 18px !important;

    background: #ff9538 !important;
    border: 1px solid #ff9538 !important;
    border-radius: 12px !important;

    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap !important;

    box-shadow: 0 8px 18px rgba(255,149,56, 0.18) !important;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        box-shadow .2s ease,
        transform .2s ease !important;
}

body.single-product
.summary
a.boton_consultar_stock:hover {
    background: #ff7f0f !important;
    border-color: #ff7f0f !important;
    color: #ffffff !important;

    box-shadow: 0 10px 22px rgba(255,149,56, 0.24) !important;
    transform: translateY(-1px);
}

body.single-product
.summary
a.boton_consultar_stock:focus {
    color: #ffffff !important;
    outline: 2px solid rgba(255,149,56, 0.30);
    outline-offset: 2px;
}

body.single-product
.summary
a.boton_consultar_stock i {
    margin-right: 0 !important;
    font-size: 19px !important;
    line-height: 1 !important;
}

body.single-product
.summary
a.boton_consultar_stock span {
    line-height: 1 !important;
}

/* =========================================================
   ACCESORIOS ADICIONALES - COLORES DE CONDICIÓN
   ========================================================= */

/* USADO */
div.optional-accessories.products.container
.product.product_tag-usado
.condicion_item_ultrapc_archivos.usado {
    background: #f6f3f1 !important;
    border-color: #efd7b8 !important;
    color: #cb771d !important;
}

div.optional-accessories.products.container
.product.product_tag-usado
.condicion_item_ultrapc_archivos.usado::before {
    content: "✦" !important;
    color: #d9862f !important;
}

/* NUEVO */
div.optional-accessories.products.container
.product
.condicion_item_ultrapc_archivos.nuevo {
    background: #f9f6f4 !important;
    border-color: #f0ebe5 !important;
    color: #f67d13 !important;
}

div.optional-accessories.products.container
.product
.condicion_item_ultrapc_archivos.nuevo::before {
    content: "✦" !important;

    width: auto !important;
    height: auto !important;

    border: 0 !important;
    border-radius: 0 !important;

    transform: none !important;

    color: #ea6d00 !important;
}

/* =========================================================
   PRODUCTOS DESTACADOS - SIDEBAR FICHA PRODUCTO
   ========================================================= */

body.single-product #sidebar::before {
    content: "PRODUCTOS DESTACADOS";
    display: block;
    width: 100%;
    margin: 0 0 18px;
    color: #ea6d00 !important;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    letter-spacing: .2px;
}


/* =========================================================
   NOTA / DETALLES FUNCIONALES — REDISEÑO 2026
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .summary.entry-summary
    .contenedor_detalles_funcionales {

        display: flex !important;
        align-items: center !important;
        gap: 10px !important;

        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 44px !important;

        margin: 8px 0 14px !important;
        padding: 9px 12px 9px 14px !important;

        background: linear-gradient(
            90deg,
            #fbfaf8 0%,
            #fdfcfc 100%
        ) !important;

        border: 1px solid #eee8e3 !important;
        border-left: 4px solid #ea6d00 !important;
        border-radius: 10px !important;

        box-shadow: 0 2px 8px rgba(234,109,0, .05) !important;

        line-height: 1.35 !important;
        box-sizing: border-box !important;
    }

    body.single-product
    .summary.entry-summary
    .contenedor_detalles_funcionales br {
        display: none !important;
    }

    body.single-product
    .summary.entry-summary
    .contenedor_detalles_funcionales
    .pre_detalles_funcionales {

        display: inline-flex !important;
        align-items: center !important;
        flex: 0 0 auto !important;

        margin: 0 !important;
        padding: 4px 9px !important;

        background: transparent !important;
        border: none !important;
        border-radius: 999px !important;

        color: #ea6d00 !important;

        font-size: 14px !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
        letter-spacing: .4px !important;
        text-transform: uppercase !important;
    }

    body.single-product
    .summary.entry-summary
    .contenedor_detalles_funcionales
    .msj_normal_negrita {

        display: inline-block !important;

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

        color: #ea6d00 !important;

        font-size: 14px !important;
        line-height: 1.35 !important;
        font-weight: 700 !important;
    }
}


/* =========================================================
   STOCK FICHA PRODUCTO — CAPSULAS 2026
   Misma familia visual que condiciones OPEN BOX / SEMINUEVO
   ========================================================= */

/* Base común */
body.single-product
.summary.entry-summary
.availability
p.stock.woo-custom-stock-status {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    width: auto !important;
    min-width: 0 !important;

    margin: 0 !important;
    padding: 5px 12px !important;

    border-width: 1px !important;
    border-style: solid !important;
    border-radius: 999px !important;

    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    letter-spacing: .15px !important;

    box-shadow: none !important;
    text-shadow: none !important;
}

/* Indicador circular */
body.single-product
.summary.entry-summary
.availability
p.stock.woo-custom-stock-status::before {

    content: "" !important;

    display: inline-block !important;
    flex: 0 0 auto !important;

    width: 7px !important;
    height: 7px !important;

    border-radius: 50% !important;

    background: currentColor !important;
    box-shadow: 0 0 0 3px currentColor;
    opacity: .85;
}


/* =========================================================
   HAY EXISTENCIAS — VERDE
   ========================================================= */

body.single-product
.summary.entry-summary
.availability
p.stock.in_stock_color {

    background: #f5f2ef !important;
    border-color: #cae8d5 !important;

    color: #198754 !important;
}


/* =========================================================
   ULTIMO EN STOCK — AMBAR / NARANJO SUAVE
   ========================================================= */

body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color {

    background: #f6f3f1 !important;
    border-color: #f5d9a6 !important;

    color: #ef8a00 !important;
}


/* =========================================================
   STOCK FICHA PRODUCTO — FILA COMPACTA 2026
   Cápsula + cantidad, estilo condiciones
   ========================================================= */

body.single-product
.summary.entry-summary
.availability
.electro-stock-availability {

    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;

    gap: 7px !important;

    width: auto !important;
    max-width: 100% !important;

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

    line-height: 1 !important;
}


/* Cápsula HAY EXISTENCIAS */
body.single-product
.summary.entry-summary
.availability
p.stock.in_stock_color {

    margin: 0 !important;
    padding: 5px 11px !important;

    background: #f5f2ef !important;
    border: 1px solid #cae8d5 !important;
    border-radius: 999px !important;

    color: #198754 !important;

    font-size: 12px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;

    box-shadow: none !important;
}


/* Punto verde */
body.single-product
.summary.entry-summary
.availability
p.stock.in_stock_color::before {

    width: 8px !important;
    height: 8px !important;

    background: #198754 !important;
    border-radius: 50% !important;

    box-shadow: none !important;
    opacity: 1 !important;
}


/* Cantidad real: Stock: X */
body.single-product
.summary.entry-summary
.availability
#stock_qty.stock_qty {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    height: 34px !important;

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

    background: #f6f3f1 !important;

    border: 1px solid #fac597 !important;
    border-radius: 999px !important;

    color: #f37c14 !important;

    font-size: 14px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    white-space: nowrap !important;
    box-sizing: border-box !important;

    box-shadow: 0 1px 2px rgba(95,47,5, .05) !important;
}


/* Mantener ÚLTIMO EN STOCK compacto */
body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color {

    margin: 0 !important;
    padding: 5px 11px !important;

    font-size: 12px !important;
    line-height: 1.1 !important;

    border-radius: 999px !important;
}


/* =========================================================
   FICHA PRODUCTO — REACONDICIONADO / ULTRAOFERTA / CATALOGO
   Rediseño 2026
   ========================================================= */


/* =========================================================
   1. REACONDICIONADO
   Misma geometría visual que OPEN BOX / SEMINUEVO
   ========================================================= */

body.single-product
.summary.entry-summary
.contenedor-short-ultrapc
.condicion:is(
    .reacondicionado,
    .reac-sin-uso
),
body.single-product
.summary.entry-summary
.contenedor-short-ultrapc
.condicion[class*="reacondicionado"] {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;
    padding: 5px 12px !important;

    background: #f5f2ef !important;
    background-color: #f5f2ef !important;

    border: 1px solid #cae8d5 !important;
    border-radius: 999px !important;

    color: #198754 !important;

    font-size: 20px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;

    box-shadow: none !important;
    text-shadow: none !important;
}


/* Ícono INFO de REACONDICIONADO */
body.single-product
.summary.entry-summary
.contenedor-short-ultrapc
.condicion:is(
    .reacondicionado,
    .reac-sin-uso
)
.fa-info-circle,
body.single-product
.summary.entry-summary
.contenedor-short-ultrapc
.condicion[class*="reacondicionado"]
.fa-info-circle {

    margin-left: 5px !important;

    color: #198754 !important;
    -webkit-text-fill-color: #198754 !important;

    font-size: .9em !important;
}


/* =========================================================
   2. ULTRAOFERTA
   Badge compacto estilo referencia
   ========================================================= */

body.single-product
.summary.entry-summary
.contenedor-short-ultrapc
.ultraoferta {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    min-width: 0 !important;
    height: auto !important;

    margin: 0 0 7px 0 !important;
    padding: 4px 10px !important;

    position: static !important;
    left: auto !important;

    background: #ea6d00 !important;
    background-color: #ea6d00 !important;

    border: 0 !important;
    border-radius: 999px !important;

    color: #ffffff !important;

    font-size: 11px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: .15px !important;

    text-transform: uppercase !important;

    box-shadow: 0 2px 6px rgba(234,109,0, .18) !important;
}


/* =========================================================
   3. PRODUCTOS CATALOGO
   Quitar SOLO el Consulte Stock morado superior
   El botón azul permanece
   ========================================================= */

body.single-product
.product.product_tag-catalogo
.summary.entry-summary
.availability {

    display: none !important;
}


/* Compatibilidad con clase antigua .catalogo */
body.single-product
.product.catalogo
.summary.entry-summary
.availability {

    display: none !important;
}


/* =========================================================
   ULTIMO EN STOCK — INFO DE DISPONIBILIDAD 2026
   [ ¡Último en Stock! ⓘ ]
   ========================================================= */

body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color {

    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 5px !important;

    overflow: visible !important;
    cursor: help !important;
}


/* Quitar el punto ámbar anterior */
body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color::before {

    content: "Por favor confirme disponibilidad" !important;

    position: absolute !important;
    z-index: 50 !important;

    left: 50% !important;
    bottom: calc(100% + 9px) !important;

    transform: translateX(-50%) translateY(3px) !important;

    width: max-content !important;
    max-width: 240px !important;

    padding: 7px 10px !important;

    background: #362c3e !important;
    border: 0 !important;
    border-radius: 7px !important;

    color: #ffffff !important;

    font-size: 11px !important;
    line-height: 1.25 !important;
    font-weight: 600 !important;

    white-space: nowrap !important;

    box-shadow: 0 5px 14px rgba(54,44,62, .18) !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease !important;
}


/* Ícono INFO al final */
body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color::after {

    content: "\f05a" !important;

    display: inline-block !important;
    flex: 0 0 auto !important;

    margin: 0 !important;

    font-family: "Font Awesome 5 Free", "FontAwesome" !important;
    font-weight: 900 !important;

    font-size: 13px !important;
    line-height: 1 !important;

    color: #ef8a00 !important;

    transform-origin: center !important;

    animation:
        ultrapc-info-pulse-v3
        2.2s
        ease-in-out
        infinite !important;
}


/* Mostrar aviso */
body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color:hover::before {

    opacity: 1 !important;
    visibility: visible !important;

    transform: translateX(-50%) translateY(0) !important;
}


/* =========================================================
   FIX TOOLTIP — ULTIMO EN STOCK
   Evita heredar tamaño del antiguo punto circular
   ========================================================= */

body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color::before {

    display: block !important;

    width: max-content !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    padding: 7px 10px !important;

    line-height: 1.3 !important;

    box-sizing: border-box !important;
}


/* =========================================================
   NOTA — MULTIPLES MENSAJES
   Solo cuando existen detalle funcional + nota informativa
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .summary.entry-summary
    .contenedor_detalles_funcionales:has(> .detalles_funcionales):has(> .msj_normal_negrita) {

        display: grid !important;

        grid-template-columns: auto minmax(0, 1fr) !important;
        grid-template-rows: auto auto !important;

        column-gap: 14px !important;
        row-gap: 5px !important;

        align-items: start !important;
    }


    /* NOTA: queda fija a la izquierda */
    body.single-product
    .summary.entry-summary
    .contenedor_detalles_funcionales:has(> .detalles_funcionales):has(> .msj_normal_negrita)
    > .pre_detalles_funcionales {

        grid-column: 1 !important;
        grid-row: 1 / span 2 !important;

        align-self: start !important;

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

        font-size: 14px !important;
        line-height: 1.4 !important;
    }


    /* Detalle importante / funcional */
    body.single-product
    .summary.entry-summary
    .contenedor_detalles_funcionales:has(> .detalles_funcionales):has(> .msj_normal_negrita)
    > .detalles_funcionales {

        grid-column: 2 !important;
        grid-row: 1 !important;

        display: block !important;

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

        font-size: 14px !important;
        line-height: 1.4 !important;
        font-weight: 600 !important;
    }


    /* Nota informativa */
    body.single-product
    .summary.entry-summary
    .contenedor_detalles_funcionales:has(> .detalles_funcionales):has(> .msj_normal_negrita)
    > .msj_normal_negrita {

        grid-column: 2 !important;
        grid-row: 2 !important;

        display: block !important;

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

        font-size: 14px !important;
        line-height: 1.4 !important;
        font-weight: 700 !important;

        color: #ea6d00 !important;
    }


    /* El BR del PHP ya no es necesario visualmente */
    body.single-product
    .summary.entry-summary
    .contenedor_detalles_funcionales:has(> .detalles_funcionales):has(> .msj_normal_negrita)
    > br {

        display: none !important;
    }
}


/* =========================================================
   ULTIMO EN STOCK — ROJO DE ALERTA
   ========================================================= */

body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color {

    background: #faf8f6 !important;
    background-color: #faf8f6 !important;

    border-color: #ebe4dd !important;

    color: #b42318 !important;
}


/* Ícono informativo */
body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color::after {

    color: #b42318 !important;
}


/* =========================================================
   TOOLTIP CONDICIONES — MISMO ESTILO QUE ULTIMO EN STOCK
   ========================================================= */

body.single-product
.summary.entry-summary
.contenedor-short-ultrapc
.condicion[data-tooltip] {

    position: relative !important;
    overflow: visible !important;
    cursor: help !important;
}


/* Caja del tooltip */
body.single-product
.summary.entry-summary
.contenedor-short-ultrapc
.condicion[data-tooltip]::before {

    content: attr(data-tooltip) !important;

    display: block !important;
    position: absolute !important;
    z-index: 100 !important;

    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(100% + 9px) !important;

    transform: translateX(-50%) translateY(3px) !important;

    width: max-content !important;
    max-width: 300px !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 7px 10px !important;

    background: #362c3e !important;
    background-color: #362c3e !important;

    border: 0 !important;
    border-radius: 7px !important;

    color: #ffffff !important;

    font-size: 11px !important;
    line-height: 1.35 !important;
    font-weight: 600 !important;

    text-align: left !important;
    white-space: normal !important;

    box-shadow: 0 5px 14px rgba(54,44,62, .18) !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease !important;
}


/* Mostrar tooltip */
body.single-product
.summary.entry-summary
.contenedor-short-ultrapc
.condicion[data-tooltip]:hover::before {

    opacity: 1 !important;
    visibility: visible !important;

    transform: translateX(-50%) translateY(0) !important;
}


/* =========================================================
   DISPONIBILIDAD — STOCK NUMERICO
   Si existe stock normal, se muestra únicamente Stock: X
   ========================================================= */

body.single-product
.summary.entry-summary
.availability
p.stock.in_stock_color {
    display: none !important;
}

body.single-product
.summary.entry-summary
.availability
p.stock.in_stock_color::before,
body.single-product
.summary.entry-summary
.availability
p.stock.in_stock_color::after {
    content: none !important;
    display: none !important;
}


/* =========================================================
   ITEM FICHA PRODUCTO — AZUL CORPORATIVO + BRILLO
   ========================================================= */

body.single-product
.sku_en_sumario {
    margin-right: 15px !important;
}

body.single-product
.sku_en_sumario
span.sku_wrapper.sku_sumario {

    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;

    padding: 5px 17.5px !important;

    background: linear-gradient(180deg, #f58422 0%, #ea6d00 100%) !important;
    color: #ffffff !important;

    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 999px !important;

    font-size: 18.75px !important;
    line-height: 1.15 !important;
    font-weight: 800 !important;
    letter-spacing: .2px !important;

    box-shadow:
        0 4px 12px rgba(234,109,0, .18),
        inset 0 1px 0 rgba(255,255,255,.18) !important;

    text-shadow: 0 1px 1px rgba(0,0,0,.12) !important;
}

body.single-product
.sku_en_sumario
span.sku_wrapper.sku_sumario .sku {
    color: #ffffff !important;
}

/* brillo suave */
body.single-product
.sku_en_sumario
span.sku_wrapper.sku_sumario::after {

    content: "" !important;
    position: absolute !important;
    top: -35% !important;
    left: -45% !important;

    width: 28% !important;
    height: 170% !important;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.12) 35%,
        rgba(255,255,255,.38) 50%,
        rgba(255,255,255,.12) 65%,
        rgba(255,255,255,0) 100%
    ) !important;

    transform: rotate(18deg) !important;
    pointer-events: none !important;

    animation: ultrapc-item-shine 3.8s ease-in-out infinite !important;
}

@keyframes ultrapc-item-shine {
    0%   { left: -45%; opacity: 0; }
    8%   { opacity: 1; }
    22%  { left: 118%; opacity: 1; }
    30%  { opacity: 0; }
    100% { left: 118%; opacity: 0; }
}


/* =========================================================
   ITEM — AJUSTE ELEGANTE
   ITEM: 3457 + brillo sutil
   ========================================================= */

body.single-product
.sku_en_sumario
span.sku_wrapper.sku_sumario {
    font-size: 18.75px !important;
    font-weight: 800 !important;
    letter-spacing: .15px !important;
}

/* Separación después de ITEM: */
body.single-product
.sku_en_sumario
span.sku_wrapper.sku_sumario .sku {
    margin-left: 6.25px !important;

    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;
    letter-spacing: inherit !important;

    color: #ffffff !important;
}

/* Brillo más fino, lento y discreto */
body.single-product
.sku_en_sumario
span.sku_wrapper.sku_sumario::after {
    width: 20% !important;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.05) 35%,
        rgba(255,255,255,.20) 50%,
        rgba(255,255,255,.05) 65%,
        rgba(255,255,255,0) 100%
    ) !important;

    animation: ultrapc-item-shine-elegant 5.5s ease-in-out infinite !important;
}

@keyframes ultrapc-item-shine-elegant {
    0%   { left: -40%; opacity: 0; }
    10%  { opacity: .8; }
    24%  { left: 115%; opacity: .8; }
    30%  { opacity: 0; }
    100% { left: 115%; opacity: 0; }
}


/* =========================================================
   ITEM — BRILLO ELEGANTE PERO VISIBLE
   ========================================================= */

body.single-product
.sku_en_sumario
span.sku_wrapper.sku_sumario {
    position: relative !important;
    overflow: hidden !important;
}


/* Destello */
body.single-product
.sku_en_sumario
span.sku_wrapper.sku_sumario::after {

    content: "" !important;

    display: block !important;
    position: absolute !important;

    top: -40% !important;
    left: -55% !important;

    width: 32% !important;
    height: 180% !important;

    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,.10) 30%,
        rgba(255,255,255,.55) 50%,
        rgba(255,255,255,.10) 70%,
        rgba(255,255,255,0) 100%
    ) !important;

    transform: rotate(18deg) !important;

    opacity: 0 !important;
    pointer-events: none !important;

    animation: ultrapc-item-shine-visible 4s ease-in-out infinite !important;
}


@keyframes ultrapc-item-shine-visible {

    0% {
        left: -55%;
        opacity: 0;
    }

    8% {
        opacity: 1;
    }

    28% {
        left: 125%;
        opacity: 1;
    }

    34% {
        left: 125%;
        opacity: 0;
    }

    100% {
        left: 125%;
        opacity: 0;
    }
}


/* =========================================================
   CATEGORIAS PRODUCTO — BARRA BUSQUEDA DOOFINDER
   ========================================================= */

body.single-product .contenedor-categoria_text {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;

    gap: 7px !important;

    width: 100% !important;

    padding: 8px 10px !important;

    background: #fbfaf9 !important;
    border: 1px solid #f0ebe6 !important;
    border-radius: 10px !important;

    box-sizing: border-box !important;
}


/* Texto Buscar por */
body.single-product
.contenedor-categoria_text
.categoria_text {

    display: inline-flex !important;
    align-items: center !important;

    margin: 0 3px 0 0 !important;

    color: #7b7670 !important;

    font-size: 12px !important;
    line-height: 1 !important;
    font-weight: 700 !important;

    white-space: nowrap !important;
}


/* Contenedor de botones */
body.single-product
.contenedor-categoria_text
.categorias_ultrapc {

    display: inline-flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;

    gap: 6px !important;

    margin: 0 !important;
}


/* Cápsula clickeable */
body.single-product
.ultrapc-df-category {

    appearance: none !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
    padding: 5px 11px !important;

    background: #ea6d00 !important;

    border: 1px solid #ea6d00 !important;
    border-radius: 999px !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 12px !important;
    line-height: 1.1 !important;
    font-weight: 700 !important;

    cursor: pointer !important;

    box-shadow: 0 2px 6px rgba(234,109,0,.12) !important;

    transition:
        transform .16s ease,
        background-color .16s ease,
        box-shadow .16s ease !important;
}


body.single-product
.ultrapc-df-category:hover {

    background: #f58f37 !important;
    border-color: #f58f37 !important;

    transform: translateY(-1px) !important;

    box-shadow: 0 4px 10px rgba(234,109,0,.18) !important;
}


/* móvil */
@media (max-width: 767px) {

    body.single-product .contenedor-categoria_text {
        justify-content: flex-start !important;
        margin-bottom: 14px !important;
    }

    body.single-product .ultrapc-df-category {
        font-size: 11px !important;
        padding: 5px 10px !important;
    }
}


/* =========================================================
   TOOLTIPS INFO — AZUL CORPORATIVO
   Solo caja de texto; no modifica iconos ni flechas
   ========================================================= */

/* Tooltip de CONDICIÓN */
body.single-product
.summary.entry-summary
.contenedor-short-ultrapc
.condicion[data-tooltip]::before {

    background: #ea6d00 !important;
    background-color: #ea6d00 !important;

    color: #ffffff !important;

    font-size: 13.75px !important; /* +25% desde 11px */
    line-height: 1.4 !important;
    font-weight: 600 !important;

    padding: 9px 12px !important;
    border-radius: 8px !important;

    box-shadow: 0 6px 16px rgba(234,109,0,.22) !important;
}


/* Tooltip de ÚLTIMO EN STOCK */
body.single-product
.summary.entry-summary
.availability
p.stock.only_s_left_in_stock_color::before {

    background: #ea6d00 !important;
    background-color: #ea6d00 !important;

    color: #ffffff !important;

    font-size: 13.75px !important; /* +25% */
    line-height: 1.4 !important;
    font-weight: 600 !important;

    padding: 9px 12px !important;
    border-radius: 8px !important;

    box-shadow: 0 6px 16px rgba(234,109,0,.22) !important;
}


/* =========================================================
   CATEGORIAS — DENTRO DE TARJETA DERECHA
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .summary.entry-summary
    .contenedor-categoria_text.ultrapc-categorias-en-summary {

        width: 100% !important;
        max-width: none !important;

        margin: 13px 0 0 !important;
        padding: 8px 10px !important;

        box-sizing: border-box !important;

        justify-content: flex-start !important;

        background: #fbfaf8 !important;
        border: 1px solid #ece6e0 !important;
        border-radius: 10px !important;
    }

    /*
     * Al mover Categorías, la columna original queda vacía.
     */
    body.single-product
    .tabla_debajo_de_fotos
    .columna_categorias_resumidas:empty {

        display: none !important;
    }
}


/* =========================================================
   CATEGORIAS EN SUMMARY — TAMAÑO COMPACTO ORIGINAL
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .summary.entry-summary
    .contenedor-categoria_text.ultrapc-categorias-en-summary {

        min-height: 0 !important;
        height: auto !important;

        margin: 8px 0 0 !important;
        padding: 6px 9px !important;

        gap: 6px !important;

        border-radius: 9px !important;
    }


    /* Texto "Categorías:" */
    body.single-product
    .summary.entry-summary
    .contenedor-categoria_text.ultrapc-categorias-en-summary
    .categoria_text {

        margin: 0 2px 0 0 !important;

        font-size: 11px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
    }


    /* Cápsulas */
    body.single-product
    .summary.entry-summary
    .contenedor-categoria_text.ultrapc-categorias-en-summary
    .ultrapc-df-category {

        min-height: 0 !important;
        height: auto !important;

        margin: 0 !important;
        padding: 4px 10px !important;

        font-size: 11px !important;
        line-height: 1.1 !important;

        border-radius: 999px !important;
    }
}


/* =========================================================
   PRECIO OFERTA - PRECIO ANTERIOR ARRIBA
   ========================================================= */

.single-product .summary.entry-summary
.precio_ultrapc_sumario .precios_iva > .otros_medios {
    order: 1;
}

.single-product .summary.entry-summary
.precio_ultrapc_sumario .precios_iva > .precio_tbk_tachado {
    order: 2;
    display: block;
    margin: 0 0 2px !important;
}

.single-product .summary.entry-summary
.precio_ultrapc_sumario .precios_iva > .precio_oferta {
    order: 3;
}



/* =========================================================
   COMPARTIR PRODUCTO - BOTON UNIVERSAL
   ========================================================= */

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;

    min-height: 38px !important;
    padding: 8px 14px !important;
    margin: 0 !important;

    color: #ea6d00 !important;
    background: #fbfaf8 !important;

    border: 1px solid #e8e1da !important;
    border-radius: 10px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-decoration: none !important;

    box-shadow: 0 1px 3px rgba(234,109,0, .08) !important;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease !important;
}

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share:hover {
    color: #ea6d00 !important;
    background: #f7f4f2 !important;
    border-color: #dfd2c6 !important;

    box-shadow: 0 4px 10px rgba(234,109,0, .12) !important;
    transform: translateY(-1px);
}

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share:focus {
    color: #ea6d00 !important;
}

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share i {
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1 !important;
    color: inherit !important;
}

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share.is-copied {
    color: #198754 !important;
    background: #f5f2ef !important;
    border-color: #cae8d5 !important;

    box-shadow: 0 2px 8px rgba(25,135,84, .10) !important;
}


/* =========================================================
   FICHA PDF PRODUCTO - TARJETA INFORMATIVA
   ========================================================= */

/* Ocultar categorías y etiquetas del meta inferior */
body.single-product .product_meta > .sku_wrapper,
body.single-product .product_meta > .posted_in,
body.single-product .product_meta > .tagged_as {
    display: none !important;
}

/* Contenedor de la ficha técnica */
body.single-product
.product_meta
> .woocommerce-print-products.link-wrapper {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;

    width: 100%;
    max-width: 620px;

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

    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;
}

/* Título */
body.single-product
.product_meta
> .woocommerce-print-products.link-wrapper::before {
    content: "FICHA TÉCNICA DEL PRODUCTO";

    order: 1;

    display: block;

    margin: 0 0 4px;

    color: #ea6d00;

    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .15px;
}

/* Texto informativo */
body.single-product
.product_meta
> .woocommerce-print-products.link-wrapper::after {
    content: "Consulta las especificaciones y características completas de este producto.";

    order: 2;

    display: block;

    margin: 0 0 10px;

    color: #6d6965;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}

/* Botón PDF */
body.single-product
.product_meta
> .woocommerce-print-products.link-wrapper
> a.woocommerce-print-products-pdf-link {
    order: 3;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;

    width: auto;
    min-height: 40px;

    margin: 0 !important;
    padding: 8px 16px !important;

    background: #ea6d00 !important;
    border: 1px solid #ea6d00 !important;
    border-radius: 9px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.15;

    text-decoration: none !important;

    box-shadow: 0 4px 10px rgba(234,109,0, .16);

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

/* Texto del botón */
body.single-product
.product_meta
> .woocommerce-print-products.link-wrapper
> a.woocommerce-print-products-pdf-link::after {
    content: "DESCARGA AQUÍ EN PDF";
    color: #ffffff !important;
}

/* Icono PDF */
body.single-product
.product_meta
> .woocommerce-print-products.link-wrapper
> a.woocommerce-print-products-pdf-link
> i.fa-file-pdf {
    position: relative;

    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    flex: 0 0 27px;

    width: 27px;
    height: 27px;

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

    background: linear-gradient(145deg, #ff3535 0%, #e50914 55%, #c9000a 100%);
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 5px;

    color: #ffffff !important;

    font-size: 14px !important;
    line-height: 1 !important;

    box-shadow:
        0 2px 5px rgba(0,0,0,.20),
        inset 0 1px 0 rgba(255,255,255,.25);

    text-shadow: 0 1px 1px rgba(0,0,0,.18);
}

/* Hover */
body.single-product
.product_meta
> .woocommerce-print-products.link-wrapper
> a.woocommerce-print-products-pdf-link:hover {
    background: #f58f37 !important;
    border-color: #f58f37 !important;

    color: #ffffff !important;

    box-shadow: 0 6px 14px rgba(234,109,0, .22);

    transform: translateY(-1px);
}

body.single-product
.product_meta
> .woocommerce-print-products.link-wrapper
> a.woocommerce-print-products-pdf-link:hover::after {
    color: #ffffff !important;
}

/* Móvil */
@media (max-width: 767px) {

    body.single-product
    .product_meta
    > .woocommerce-print-products.link-wrapper {
        max-width: none;

        margin-top: 16px !important;
        padding: 14px 16px !important;
    }

    body.single-product
    .product_meta
    > .woocommerce-print-products.link-wrapper
    > a.woocommerce-print-products-pdf-link {
        width: 100%;

        padding-left: 14px !important;
        padding-right: 14px !important;

        text-align: center;
    }
}


/* =========================================================
   ACCIONES PRODUCTO - COMPARTIR / FAVORITOS / COMPARAR
   ========================================================= */

/* Los dos contenedores quedan visualmente en una misma fila */
body.single-product
.summary.entry-summary
> .action_buttons,
body.single-product
.summary.entry-summary
> .action-buttons {
    display: inline-flex !important;
    align-items: center !important;
    vertical-align: middle !important;

    padding: 0 !important;
    margin-top: 0 !important;
    margin-bottom: 10px !important;
}

body.single-product
.summary.entry-summary
> .action_buttons {
    margin-right: 8px !important;
}

body.single-product
.summary.entry-summary
> .action-buttons {
    gap: 8px !important;
    margin-right: 0 !important;
}


/* Limpiar contenedores internos de Favoritos */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-button,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse {
    display: inline-flex !important;
    align-items: center !important;

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


/* Favoritos + Comparar = mismo diseño que Compartir */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist a,

body.single-product
.summary.entry-summary
> .action-buttons
> .add-to-compare-link {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 38px !important;
    padding: 8px 14px !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    color: #ea6d00 !important;
    background: #fbfaf8 !important;

    border: 1px solid #e8e1da !important;
    border-radius: 10px !important;

    font-size: 14px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-decoration: none !important;
    white-space: nowrap !important;

    box-shadow: 0 1px 3px rgba(234,109,0, .08) !important;

    transition:
        background-color .18s ease,
        border-color .18s ease,
        box-shadow .18s ease,
        transform .18s ease !important;
}


/* Hover igual al botón Compartir */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist a:hover,

body.single-product
.summary.entry-summary
> .action-buttons
> .add-to-compare-link:hover {
    color: #ea6d00 !important;
    background: #f7f4f2 !important;
    border-color: #dfd2c6 !important;

    box-shadow: 0 4px 10px rgba(234,109,0, .12) !important;
    transform: translateY(-1px);
}


/* Corazón de Favoritos */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist
svg {
    width: 15px !important;
    height: 15px !important;

    margin: 0 7px 0 0 !important;

    color: inherit !important;
    fill: currentColor !important;
}


/* Icono de Comparar */
body.single-product
.summary.entry-summary
> .action-buttons
> .add-to-compare-link::before {
    content: "\f362";

    display: inline-block;

    margin-right: 7px;

    font-family: "Font Awesome 5 Free";
    font-size: 14px;
    font-weight: 900;
    line-height: 1;

    color: inherit;
}


/* MÓVIL - mantener los tres compactos */
@media (max-width: 480px) {

    body.single-product
    .summary.entry-summary
    > .action_buttons {
        margin-right: 6px !important;
    }

    body.single-product
    .summary.entry-summary
    > .action-buttons {
        gap: 6px !important;
    }

    body.single-product
    .summary.entry-summary
    .action_buttons
    .ultrapc-product-share,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-add-to-wishlist a,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    > .add-to-compare-link {
        min-height: 38px !important;
        padding: 8px 10px !important;

        font-size: 13px !important;
    }

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-add-to-wishlist
    svg {
        width: 14px !important;
        height: 14px !important;
        margin-right: 5px !important;
    }

    body.single-product
    .summary.entry-summary
    > .action-buttons
    > .add-to-compare-link::before {
        font-size: 13px;
        margin-right: 5px;
    }
}


/* =========================================================
   FAVORITOS - UN SOLO BOTON / CORAZON VACIO Y LLENO
   ========================================================= */

/*
 * ESTADO NORMAL
 * Corazón vacío.
 */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-button
a.single_add_to_wishlist
svg {
    fill: transparent !important;
    stroke: currentColor !important;
    stroke-width: 1.8 !important;
    stroke-linejoin: round !important;
}


/*
 * ESTADO AGREGADO
 * Ocultar textos auxiliares de YITH como "Añadido".
 */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse
.feedback,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse
.feedback {
    display: none !important;
}


/*
 * El contenedor agregado debe ocupar solamente
 * el espacio de un botón.
 */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse {
    display: inline-flex !important;
    align-items: center !important;

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


/*
 * Botón cuando el producto YA está en Favoritos.
 */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse
> a,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse
> a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    min-height: 38px !important;
    padding: 8px 14px !important;
    margin: 0 !important;

    box-sizing: border-box !important;

    color: #ea6d00 !important;
    background: #fbfaf8 !important;

    border: 1px solid #e8e1da !important;
    border-radius: 10px !important;

    font-size: 0 !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    text-decoration: none !important;
    white-space: nowrap !important;

    box-shadow: 0 1px 3px rgba(234,109,0, .08) !important;
}


/*
 * Corazón LLENO cuando ya está agregado.
 * También reemplaza cualquier check que agregue el tema.
 */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse
> a::before,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse
> a::before {
    content: "\f004" !important;

    display: inline-block !important;

    margin: 0 7px 0 0 !important;

    font-family: "Font Awesome 5 Free" !important;
    font-size: 15px !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    color: #ea6d00 !important;
}


/*
 * Reemplazar "Ir a Favoritos" por "Favoritos".
 */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse
> a::after,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse
> a::after {
    content: none;

    display: inline-block;

    font-size: 14px;
    font-weight: 700;
    line-height: 1;

    color: #ea6d00;
}


/* Hover */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse
> a:hover,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse
> a:hover {
    color: #ea6d00 !important;
    background: #f7f4f2 !important;
    border-color: #dfd2c6 !important;

    box-shadow: 0 4px 10px rgba(234,109,0, .12) !important;
    transform: translateY(-1px);
}


/* Ajuste móvil */
@media (max-width: 480px) {

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistaddedbrowse
    > a,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistexistsbrowse
    > a {
        padding: 8px 10px !important;
    }

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistaddedbrowse
    > a::before,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistexistsbrowse
    > a::before {
        margin-right: 5px !important;
        font-size: 14px !important;
    }

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistaddedbrowse
    > a::after,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistexistsbrowse
    > a::after {
        font-size: 13px !important;
    }
}


/* =========================================================
   MOBILE - ACCIONES EN UNA SOLA LINEA
   ========================================================= */
@media (max-width: 480px) {

    body.single-product .summary.entry-summary > .action_buttons,
    body.single-product .summary.entry-summary > .action-buttons {
        display: inline-flex !important;
        align-items: center !important;
        vertical-align: top !important;
        margin-bottom: 8px !important;
    }

    body.single-product .summary.entry-summary > .action_buttons {
        margin-right: 4px !important;
    }

    body.single-product .summary.entry-summary > .action-buttons {
        gap: 4px !important;
    }

    body.single-product .summary.entry-summary .action_buttons .ultrapc-product-share,
    body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-add-to-wishlist a,
    body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistaddedbrowse > a,
    body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistexistsbrowse > a,
    body.single-product .summary.entry-summary > .action-buttons > .add-to-compare-link {
        min-height: 34px !important;
        padding: 6px 8px !important;
        font-size: 12px !important;
        border-radius: 9px !important;
    }

    body.single-product .summary.entry-summary .action_buttons .ultrapc-product-share i,
    body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-add-to-wishlist svg,
    body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistaddedbrowse > a::before,
    body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistexistsbrowse > a::before,
    body.single-product .summary.entry-summary > .action-buttons > .add-to-compare-link::before {
        font-size: 12px !important;
        width: 12px !important;
        height: 12px !important;
        margin-right: 4px !important;
    }

    body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistaddedbrowse > a::after,
    body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistexistsbrowse > a::after {
        font-size: 12px !important;
    }
}


/* =========================================================
   FAVORITOS MOBILE - EVITAR TEXTO DUPLICADO
   ========================================================= */
@media (max-width: 480px) {

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistaddedbrowse
    > a,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistexistsbrowse
    > a {
        font-size: 0 !important;
    }

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistaddedbrowse
    > a::before,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistexistsbrowse
    > a::before {
        font-size: 12px !important;
    }

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistaddedbrowse
    > a::after,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistexistsbrowse
    > a::after {
        content: none !important;
        font-size: 12px !important;
    }
}


/* =========================================================
   ACCIONES PRODUCTO - COLORES FINALES
   Compartir negro / Favoritos rojo / Comparar azul
   ========================================================= */

/* COMPARTIR */
body.single-product .summary.entry-summary .action_buttons .ultrapc-product-share,
body.single-product .summary.entry-summary .action_buttons .ultrapc-product-share:hover,
body.single-product .summary.entry-summary .action_buttons .ultrapc-product-share:focus {
    color: #111111 !important;
}

/* FAVORITOS - estado normal */
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-add-to-wishlist a,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-add-to-wishlist a:hover,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-add-to-wishlist a:focus {
    color: #d62828 !important;
}

/* corazón vacío */
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-add-to-wishlist a svg {
    color: #d62828 !important;
    stroke: #d62828 !important;
}

/* FAVORITOS - estado agregado */
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistaddedbrowse > a,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistexistsbrowse > a,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistaddedbrowse > a:hover,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistexistsbrowse > a:hover,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistaddedbrowse > a:focus,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistexistsbrowse > a:focus {
    color: #d62828 !important;
}

body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistaddedbrowse > a::before,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistexistsbrowse > a::before,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistaddedbrowse > a::after,
body.single-product .summary.entry-summary > .action-buttons .yith-wcwl-wishlistexistsbrowse > a::after {
    color: #d62828 !important;
}


/* =========================================================
   ACCIONES PRODUCTO - TONALIDADES POR ACCION
   Compartir neutro / Favoritos rojo / Comparar azul
   ========================================================= */

/* COMPARTIR - negro / gris */
body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share:not(.is-copied) {
    color: #111111 !important;
    background: #f7f7f8 !important;
    border-color: #d5d7da !important;
    box-shadow: 0 1px 3px rgba(0,0,0, .06) !important;
}

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share:not(.is-copied):hover {
    color: #111111 !important;
    background: #eeeef0 !important;
    border-color: #bfc2c6 !important;
    box-shadow: 0 4px 10px rgba(0,0,0, .09) !important;
}


/* FAVORITOS - rojo suave */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist a,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a {
    color: #d62828 !important;
    background: #fbfaf9 !important;
    border-color: #f3c5c5 !important;
    box-shadow: 0 1px 3px rgba(214,40,40, .06) !important;
}


/* FAVORITOS hover */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist a:hover,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a:hover,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a:hover {
    color: #c51f1f !important;
    background: #f7f4f2 !important;
    border-color: #ecaaaa !important;
    box-shadow: 0 4px 10px rgba(214,40,40, .10) !important;
}


/* Mantener corazón rojo */
body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist svg,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a::before,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a::before,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a::after,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a::after {
    color: #d62828 !important;
}

/* =========================================================
   PRODUCTOS DESTACADOS SIDEBAR
   Condición sin franja de color
   ========================================================= */

.single-product
#sidebar
.widget_electro_onsale_product_widget
.condicion_item_ultrapc_archivos {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    min-height: 0 !important;
}

.single-product
#sidebar
.widget_electro_onsale_product_widget
.condicion_item_ultrapc_archivos::before,
.single-product
#sidebar
.widget_electro_onsale_product_widget
.condicion_item_ultrapc_archivos::after {
    display: none !important;
    content: none !important;
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - VISUAL
   Condición + stock / banner cuotas
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-cards {
    display: grid !important;
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr) !important;
    gap: 12px !important;

    width: 100% !important;
    margin: 12px 0 !important;

    clear: both !important;
    align-items: stretch !important;
    box-sizing: border-box !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card {
    min-width: 0 !important;
    min-height: 132px !important;

    padding: 16px 18px !important;

    background: linear-gradient(
        180deg,
        #fefdfc 0%,
        #fcfbfa 100%
    ) !important;

    border: 1px solid #ede6e0 !important;
    border-radius: 14px !important;

    box-shadow: 0 4px 14px rgba(234,109,0, 0.045) !important;

    box-sizing: border-box !important;
}


/* =========================================================
   TARJETA IZQUIERDA
   Condición + disponibilidad + stock
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;

    gap: 18px !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.contenedor-short-ultrapc {
    width: auto !important;

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

    float: none !important;
    position: static !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.availability {
    width: 100% !important;

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

    float: none !important;
    position: static !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.electro-stock-availability {
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;

    gap: 10px !important;

    width: 100% !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.electro-stock-availability
p.stock {
    margin: 0 !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
#stock_qty {
    margin: 0 !important;
}


/* =========================================================
   TARJETA DERECHA
   Banner cuotas
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 12px 20px !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments
.imagen-flotante-derecha {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: static !important;
    float: none !important;

    top: auto !important;
    right: auto !important;
    left: auto !important;

    width: 100% !important;
    height: auto !important;

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

    transform: none !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments
.imagen-flotante-derecha img {
    display: block !important;

    width: auto !important;
    max-width: 100% !important;
    max-height: 104px !important;
    height: auto !important;

    margin: 0 auto !important;

    object-fit: contain !important;
}


/* Producto sin banner de cuotas */

body.single-product
.summary.entry-summary
.ultrapc-product-info-cards--single {
    grid-template-columns: 1fr !important;
}


/* La nota queda debajo del nuevo bloque */

body.single-product
.summary.entry-summary
.ultrapc-product-info-cards
+ .contenedor_detalles_funcionales {
    clear: both !important;
    margin-top: 0 !important;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-cards {
        grid-template-columns: 1fr !important;

        gap: 9px !important;
        margin: 10px 0 !important;
    }

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card {
        min-height: 0 !important;

        padding: 13px 14px !important;

        border-radius: 12px !important;
    }

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status {
        gap: 11px !important;
    }

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments {
        min-height: 96px !important;

        padding: 10px 14px !important;
    }

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {
        max-height: 90px !important;
    }
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - BANNER MÁS VISIBLE
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments
.imagen-flotante-derecha img {
    width: 82% !important;
    max-width: 270px !important;
    max-height: none !important;
    height: auto !important;
}

@media (max-width: 767px) {
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {
        width: 78% !important;
        max-width: 250px !important;
        max-height: none !important;
    }
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - ESCALA REAL BANNER CUOTAS
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments {
    overflow: hidden !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments
.imagen-flotante-derecha {
    overflow: visible !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments
.imagen-flotante-derecha img {
    width: 100% !important;
    max-width: none !important;
    max-height: none !important;
    height: auto !important;

    transform: scale(1.65) !important;
    transform-origin: center center !important;
}

@media (max-width: 767px) {

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {
        width: 100% !important;
        max-width: none !important;
        transform: scale(1.45) !important;
    }
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - AJUSTE FINO BANNER CUOTAS
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments
.imagen-flotante-derecha img {
    transform: scale(1.82) !important;
    transform-origin: center center !important;
}

@media (max-width: 767px) {
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {
        transform: scale(1.55) !important;
    }
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - BANNER CUOTAS MÁS GRANDE
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments
.imagen-flotante-derecha img {
    transform: scale(2.05) !important;
    transform-origin: center center !important;
}

@media (max-width: 767px) {
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {
        transform: scale(1.70) !important;
    }
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - BANNER CUOTAS ESCALA 2.20
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--installments
.imagen-flotante-derecha img {
    transform: scale(2.20) !important;
    transform-origin: center center !important;
}

@media (max-width: 767px) {
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {
        transform: scale(1.80) !important;
    }
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - AJUSTE FINAL MOVIL
   ========================================================= */

@media (max-width: 767px) {

    /* Contenedor general */
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-cards {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        margin: 9px 0 !important;
    }


    /* Tarjeta condición + stock */
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status {
        min-height: 0 !important;

        padding: 12px 14px !important;

        gap: 10px !important;

        justify-content: center !important;
    }


    /* Tarjeta del banner */
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments {
        width: 100% !important;

        min-height: 115px !important;
        height: 115px !important;

        padding: 8px 12px !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: hidden !important;
    }


    /* Contenedor interno del banner */
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha {
        width: 100% !important;
        height: 100% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

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

        overflow: visible !important;
    }


    /* Imagen: completa, centrada y sin recorte */
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {
        display: block !important;

        width: 100% !important;
        max-width: 330px !important;

        height: auto !important;
        max-height: 105px !important;

        margin: 0 auto !important;

        object-fit: contain !important;

        transform: scale(1.08) !important;
        transform-origin: center center !important;
    }
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - MOVIL EN DOS COLUMNAS
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-cards {
        display: grid !important;

        grid-template-columns:
            minmax(0, 0.88fr)
            minmax(0, 1.12fr) !important;

        gap: 8px !important;

        width: 100% !important;
        margin: 9px 0 !important;

        align-items: stretch !important;
    }


    /* Ambos cuadros con la misma altura */

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card {
        width: 100% !important;

        min-width: 0 !important;
        min-height: 112px !important;
        height: 112px !important;

        box-sizing: border-box !important;

        border-radius: 12px !important;
    }


    /* Condición + stock */

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status {
        padding: 10px 10px !important;

        gap: 11px !important;

        justify-content: center !important;
        align-items: flex-start !important;
    }


    /* Banner */

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments {
        min-height: 112px !important;
        height: 112px !important;

        padding: 6px 8px !important;

        overflow: hidden !important;
    }

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha {
        width: 100% !important;
        height: 100% !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        overflow: visible !important;
    }

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {
        width: 100% !important;
        max-width: none !important;
        max-height: none !important;
        height: auto !important;

        transform: scale(1.28) !important;
        transform-origin: center center !important;

        object-fit: contain !important;
    }


    /* Si un producto NO tiene banner, la tarjeta ocupa todo */

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-cards--single {
        grid-template-columns: 1fr !important;
    }
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - ENCAJE FINAL BANNER MOVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments {
        padding: 8px 10px !important;
    }

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        max-height: 98px !important;

        object-fit: contain !important;

        transform: scale(1.05) !important;
        transform-origin: center center !important;
    }
}


/* =========================================================
   ULTRAPC PRODUCT INFO CARDS - CONDICION + STOCK MOVIL
   ========================================================= */

@media (max-width: 767px) {

    /* Tarjeta izquierda */
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status {
        align-items: center !important;
        justify-content: center !important;

        gap: 12px !important;

        padding: 10px 8px !important;
    }


    /* Condición centrada */
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status
    .contenedor-short-ultrapc {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;

        margin: 0 !important;
    }


    /* Disponibilidad / stock centrado */
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status
    .availability {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;

        margin: 0 !important;
    }

    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status
    .electro-stock-availability {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;

        margin: 0 !important;
        gap: 6px !important;
    }


    /* Evita márgenes heredados */
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status
    .condicion_item_ultrapc,
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status
    p.stock,
    body.single-product
    .summary.entry-summary
    .ultrapc-product-info-card--status
    #stock_qty {
        margin: 0 !important;
    }
}


/* =========================================================
   DESCRIPCION - CARACTERISTICAS + IDIOMA + SO
   Une visualmente ambos párrafos en una sola tarjeta
   ========================================================= */

/* Características Principales: parte superior */
#tab-description
.electro-description
> .descripcion_ultrapc
+ p
+ p {
    margin-bottom: 0 !important;

    padding-bottom: 10px !important;

    border-bottom: 0 !important;
    border-radius: 11px 11px 0 0 !important;
}


/* Idioma del teclado + Sistema Operativo: continuación */
#tab-description
.electro-description
> .descripcion_ultrapc
+ p
+ p
+ p {
    margin-top: 0 !important;
    margin-bottom: 12px !important;

    padding-top: 10px !important;

    border-top: 1px solid #f4f0ed !important;
    border-radius: 0 0 11px 11px !important;

    background: #ffffff !important;
}


/* Ajuste móvil */
@media (max-width: 767px) {

    #tab-description
    .electro-description
    > .descripcion_ultrapc
    + p
    + p {
        padding-bottom: 8px !important;
    }

    #tab-description
    .electro-description
    > .descripcion_ultrapc
    + p
    + p
    + p {
        padding-top: 8px !important;
    }
}


/* =========================================================
   DESCRIPCION - QUITAR LINEA INTERNA
   ========================================================= */

#tab-description
.electro-description
> .descripcion_ultrapc
+ p
+ p
+ p {
    border-top: 0 !important;
}


/* =========================================================
   FICHA PRODUCTO - NOTA CON BORDE UNIFORME
   ========================================================= */

body.single-product
.summary.entry-summary
.contenedor_detalles_funcionales {
    border: 1px solid #ede6e0 !important;
    border-left: 1px solid #ede6e0 !important;
}


/* =========================================================
   FICHA PRODUCTO - PRECIOS MODERNOS
   Precio final siempre azul
   ========================================================= */

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precios_iva {
    gap: 0 !important;
}


/* Título del medio de pago */

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.otros_medios {
    margin: 0 0 2px !important;

    color: #7a746e !important;

    font-size: 12px !important;
    line-height: 1.15 !important;
    font-weight: 600 !important;
}


/* =========================================================
   PRECIO ANTERIOR
   ========================================================= */

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_tbk_tachado {
    display: block !important;

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

    color: #9b9692 !important;

    font-family: inherit !important;
    font-size: 14px !important;
    line-height: 1.05 !important;
    font-weight: 500 !important;
    letter-spacing: -0.25px !important;

    opacity: .9 !important;
}

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_tbk_tachado
.woocommerce-Price-amount,
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_tbk_tachado
.woocommerce-Price-currencySymbol {
    color: inherit !important;

    font-family: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
    font-weight: inherit !important;
    letter-spacing: inherit !important;
}


/* =========================================================
   PRECIO FINAL
   Siempre azul, incluso cuando está en oferta
   ========================================================= */

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_oferta,

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_con_iva_tbk {
    display: block !important;

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

    color: #ea6d00 !important;

    font-family: inherit !important;
    font-size: 31px !important;
    line-height: .98 !important;
    font-weight: 800 !important;
    letter-spacing: -1.05px !important;

    white-space: nowrap !important;
}


/* Evitar que reglas legacy vuelvan a poner rojo */

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_oferta *,
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_con_iva_tbk * {
    color: #ea6d00 !important;
    font-family: inherit !important;
}


/* Tarjetas un poco más compactas verticalmente */

body.single-product
.summary.entry-summary
.precio_efectivo_upc,
body.single-product
.summary.entry-summary
.precio_tarjetas_upc {
    padding: 14px 20px !important;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 575px) {

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precios_iva {
        padding: 9px 10px !important;
        gap: 0 !important;
    }

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .otros_medios {
        margin-bottom: 2px !important;

        font-size: 10px !important;
        line-height: 1.15 !important;
    }

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_tbk_tachado {
        margin: 0 !important;

        font-size: 12px !important;
        line-height: 1 !important;
        letter-spacing: -0.2px !important;
    }

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_oferta,

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_con_iva_tbk {
        margin-top: 2px !important;

        font-size: 23px !important;
        line-height: .98 !important;
        font-weight: 800 !important;
        letter-spacing: -0.7px !important;
    }
}


/* =========================================================
   FICHA PRODUCTO - PULIDO FINAL PRECIOS
   ========================================================= */

/* Títulos de medios de pago con mayor definición */
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.otros_medios {
    color: #67605a !important;
    font-weight: 700 !important;
}


/* Precio vigente con un poco más de protagonismo */
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_oferta,

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_con_iva_tbk {
    font-size: 33px !important;
    line-height: .97 !important;
    font-weight: 800 !important;
    letter-spacing: -1.15px !important;
}


/* Mantener tamaño móvil actual */
@media (max-width: 575px) {

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_oferta,

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_con_iva_tbk {
        font-size: 23px !important;
        line-height: .98 !important;
        letter-spacing: -0.7px !important;
    }
}


/* =========================================================
   FICHA PRODUCTO - PRECIO AZUL CON BRILLO
   ========================================================= */

/* Fallback: azul sólido */
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_oferta,

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_con_iva_tbk {
    color: #f48728 !important;
    text-shadow:
        0 0 10px rgba(255,153,64, 0.14),
        0 0 22px rgba(255,153,64, 0.10) !important;
}

/* Versión moderna: degradado + brillo difuminado */
@supports ((-webkit-background-clip: text) or (background-clip: text)) {

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_oferta,

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_con_iva_tbk {
        background: linear-gradient(
            90deg,
            #f48728 0%,
            #f59440 35%,
            #f8aa65 68%,
            #ff9c45 100%
        ) !important;

        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        color: transparent !important;

        text-shadow:
            0 0 10px rgba(255,173,102, 0.16),
            0 0 24px rgba(255,173,102, 0.11),
            0 1px 0 rgba(255,255,255,0.18) !important;
    }
}

/* Que los spans internos no rompan el efecto */
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_oferta *,

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_con_iva_tbk * {
    color: inherit !important;
    -webkit-text-fill-color: inherit !important;
}

/* En móvil: brillo un poco más controlado */
@media (max-width: 575px) {
    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_oferta,

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_con_iva_tbk {
        text-shadow:
            0 0 8px rgba(255,173,102, 0.14),
            0 0 16px rgba(255,173,102, 0.08) !important;
    }
}


/* =========================================================
   FICHA PRODUCTO - ICONOS MEDIOS DE PAGO
   ========================================================= */

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.otros_medios {
    display: flex !important;
    align-items: center !important;
    gap: 7px !important;
}


/* Base de ambos iconos */
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_efectivo_upc
.otros_medios::before,

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_tarjetas_upc
.otros_medios::before {
    content: "" !important;

    display: inline-block !important;
    flex: 0 0 auto !important;

    width: 17px !important;
    height: 17px !important;

    background-color: #67605a !important;

    -webkit-mask-repeat: no-repeat !important;
    mask-repeat: no-repeat !important;

    -webkit-mask-position: center !important;
    mask-position: center !important;

    -webkit-mask-size: contain !important;
    mask-size: contain !important;
}


/* Banco / Transferencia */
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_efectivo_upc
.otros_medios::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 12 4l9 5'/%3E%3Cpath d='M5 10h14M6 10v7M10 10v7M14 10v7M18 10v7M4 18h16M3 21h18'/%3E%3C/g%3E%3C/svg%3E") !important;

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9 12 4l9 5'/%3E%3Cpath d='M5 10h14M6 10v7M10 10v7M14 10v7M18 10v7M4 18h16M3 21h18'/%3E%3C/g%3E%3C/svg%3E") !important;
}


/* Tarjeta / Crédito */
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_tarjetas_upc
.otros_medios::before {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 9h18M7 15h4'/%3E%3C/g%3E%3C/svg%3E") !important;

    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 9h18M7 15h4'/%3E%3C/g%3E%3C/svg%3E") !important;
}


/* Móvil */
@media (max-width: 575px) {

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .otros_medios {
        gap: 5px !important;
    }

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_efectivo_upc
    .otros_medios::before,

    body.single-product
    .summary.entry-summary
    .precio_ultrapc_sumario
    .precio_tarjetas_upc
    .otros_medios::before {
        width: 14px !important;
        height: 14px !important;
    }
}


/* =========================================================
   PRECIOS - ORDEN ENCABEZADO / PRECIO ANTERIOR / PRECIO FINAL
   ========================================================= */

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precios_iva {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
}

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.otros_medios {
    order: 1 !important;
}

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_tbk_tachado {
    order: 2 !important;
}

body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_oferta,
body.single-product
.summary.entry-summary
.precio_ultrapc_sumario
.precio_con_iva_tbk {
    order: 3 !important;
}


/* =========================================================
   DESCRIPCION - TARJETA NOTA / DETALLES FUNCIONALES
   ========================================================= */

#tab-description .otros_detalles_funcionales {
    margin: 0 !important;
    padding: 18px 20px !important;

    background: #fcfbf9 !important;
    border: 1px solid #ede8e2 !important;
    border-radius: 12px !important;

    color: #645e57 !important;
    line-height: 1.65 !important;

    display: flex !important;
    align-items: center !important;

    min-width: 0;
    overflow-wrap: anywhere;
}



/* =========================================================
   ACCESORIOS ADICIONALES — REDISEÑO FINAL 2026
   Referencia visual tarjetas UltraPC
   ========================================================= */

body.single-product
div.optional-accessories.products.container {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-top: 32px !important;
    margin-bottom: 38px !important;
    padding: 0 !important;
    overflow: visible !important;
}


/* =========================================================
   TÍTULO + LÍNEA
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.optional-accessories-title {
    position: relative !important;

    width: 100% !important;

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

    color: #49424f !important;

    font-size: 30px !important;
    font-weight: 600 !important;
    line-height: 1.2 !important;

    letter-spacing: -.35px !important;

    border-bottom: 1px solid #dedcda !important;
}

body.single-product
div.optional-accessories.products.container
.optional-accessories-title::after {
    content: "" !important;

    position: absolute !important;

    left: 0 !important;
    bottom: -1px !important;

    display: block !important;

    width: 200px !important;
    height: 2px !important;

    background: #ff7803 !important;

    border: 0 !important;
}


/* =========================================================
   CARRUSEL
   ========================================================= */

body.single-product
div.optional-accessories.products.container
> ul.products {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;

    gap: 12px !important;

    width: 100% !important;

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

    overflow-x: auto !important;
    overflow-y: hidden !important;

    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;

    scrollbar-width: none !important;
}

body.single-product
div.optional-accessories.products.container
> ul.products::-webkit-scrollbar {
    display: none !important;
}


/* =========================================================
   4 TARJETAS VISIBLES
   ========================================================= */

body.single-product
div.optional-accessories.products.container
> ul.products
> li.product {
    flex: 0 0 calc((100% - 36px) / 4) !important;

    width: calc((100% - 36px) / 4) !important;
    min-width: 0 !important;
    max-width: calc((100% - 36px) / 4) !important;

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

    scroll-snap-align: start !important;
}


/* =========================================================
   TARJETA
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.product-item__inner {
    position: relative !important;

    display: flex !important;
    flex-direction: column !important;

    box-sizing: border-box !important;

    width: 100% !important;
    height: 100% !important;
    min-height: 325px !important;

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

    background: #ffffff !important;

    border: 1px solid #ebe5de !important;
    border-radius: 16px !important;

    overflow: hidden !important;

    box-shadow:
        0 2px 4px rgba(48,30,64, .025),
        0 7px 16px rgba(48,30,64, .045) !important;

    transition:
        transform .20s ease,
        box-shadow .20s ease,
        border-color .20s ease !important;
}

body.single-product
div.optional-accessories.products.container
li.product:hover
.product-item__inner {
    transform: translateY(-2px) !important;

    border-color: #e0dad5 !important;

    box-shadow:
        0 5px 12px rgba(48,30,64, .07),
        0 12px 25px rgba(48,30,64, .07) !important;
}


/* =========================================================
   IMAGEN
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.product-thumbnail {
    height: 135px !important;
    min-height: 135px !important;

    margin: 0 0 10px !important;
    padding: 3px !important;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #fefdfc 100%
        ) !important;

    border-radius: 12px !important;
}

body.single-product
div.optional-accessories.products.container
.product-thumbnail img {
    width: 100% !important;
    height: 100% !important;

    object-fit: contain !important;

    transform: scale(1.04) !important;
}


/* =========================================================
   NOMBRE PRODUCTO
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.product-loop-header
.woocommerce-loop-product__title {
    min-height: 44px !important;
    max-height: 44px !important;

    margin: 0 0 9px !important;

    color: #2c1c3a !important;

    font-size: 11.5px !important;
    font-weight: 750 !important;
    line-height: 1.28 !important;
}


/* =========================================================
   DESCUENTO
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.sale-perc {
    top: 6px !important;
    left: 6px !important;
}

body.single-product
div.optional-accessories.products.container
.sale-perc
.porcentaje {
    min-width: 45px !important;

    height: 27px !important;
    min-height: 27px !important;

    padding: 0 9px !important;

    background:
        linear-gradient(
            135deg,
            #ff4650 0%,
            #ff2731 55%,
            #f81722 100%
        ) !important;

    border-radius: 999px !important;

    color: #ffffff !important;

    font-size: 10px !important;
    font-weight: 850 !important;
    line-height: 27px !important;

    box-shadow:
        0 4px 10px rgba(244,22,32, .23) !important;
}


/* =========================================================
   ITEM + CONDICIÓN
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.contenedor-item-ultrapc {
    display: flex !important;

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

    gap: 6px !important;

    height: 25px !important;
    min-height: 25px !important;

    margin: 0 0 8px !important;
}

body.single-product
div.optional-accessories.products.container
.item-ultrapc.item,

body.single-product
div.optional-accessories.products.container
.condicion_item_ultrapc_archivos {
    height: 23px !important;
    min-height: 23px !important;

    padding: 0 8px !important;

    border-radius: 999px !important;

    font-size: 8px !important;
    font-weight: 800 !important;
}


/* =========================================================
   PRECIO
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.price-add-to-cart {
    gap: 9px !important;

    margin: auto 0 0 !important;
    padding: 8px 0 0 !important;

    border-top: 0 !important;
}

body.single-product
div.optional-accessories.products.container
.price-add-to-cart
.price ins .precio_ultrapc_by_h,

body.single-product
div.optional-accessories.products.container
.price-add-to-cart
.price > .electro-price > .precio_ultrapc_by_h {
    color: #ff7803 !important;

    font-size: 21px !important;
    font-weight: 850 !important;
    line-height: 1 !important;

    letter-spacing: -.5px !important;
}


/* =========================================================
   BOTÓN AGREGAR
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.add-to-cart-wrap
.add_to_cart_button {
    width: 100% !important;

    height: 44px !important;
    min-height: 44px !important;
    max-height: 44px !important;

    background:
        linear-gradient(
            135deg,
            #f78520 0%,
            #ff7701 50%,
            #ec6e00 100%
        ) !important;

    border-radius: 999px !important;

    box-shadow:
        0 5px 11px rgba(243,113,0, .22) !important;
}

body.single-product
div.optional-accessories.products.container
.add-to-cart-wrap
.add_to_cart_button
.ultrapc-cart-label {
    color: #ffffff !important;

    font-size: 11.5px !important;
    font-weight: 800 !important;
}


/* =========================================================
   FAVORITO
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.yith-wcwl-add-to-wishlist {
    top: 10px !important;
    right: 10px !important;

    width: 28px !important;
    height: 28px !important;
}


/* =========================================================
   FLECHAS
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-prev,

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-next {
    top: 57% !important;

    width: 38px !important;
    height: 38px !important;

    background: rgba(255,255,255,.98) !important;

    border: 1px solid #ede8e2 !important;

    color: #fd7600 !important;

    box-shadow:
        0 5px 15px rgba(48,30,64,.12) !important;
}

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-prev {
    left: -48px !important;
}

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-next {
    right: -48px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (min-width: 768px) and (max-width: 1199px) {

    body.single-product
    div.optional-accessories.products.container
    > ul.products
    > li.product {
        flex: 0 0 calc((100% - 24px) / 3) !important;

        width: calc((100% - 24px) / 3) !important;
        max-width: calc((100% - 24px) / 3) !important;
    }

    body.single-product
    div.optional-accessories.products.container
    .ultrapc-carousel-prev {
        left: -16px !important;
    }

    body.single-product
    div.optional-accessories.products.container
    .ultrapc-carousel-next {
        right: -16px !important;
    }
}



/* =========================================================
   ACCESORIOS ADICIONALES — AJUSTE FLECHAS FINAL
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-prev {
    left: -28px !important;
}

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-next {
    right: -28px !important;
}



/* =========================================================
   ACCESORIOS ADICIONALES — FLECHAS ESTILO CÁPSULA AZUL
   ========================================================= */

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-prev,

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-next {
    position: absolute !important;
    z-index: 90 !important;
    top: 50% !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 34px !important;
    height: 60px !important;
    margin: 0 !important;
    padding: 0 !important;

    background:
        linear-gradient(
            180deg,
            #f48728 0%,
            #ff7701 55%,
            #e56b00 100%
        ) !important;

    border: 0 !important;
    border-radius: 18px !important;

    color: #ffffff !important;

    font-family: Arial, sans-serif !important;
    font-size: 34px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    box-shadow:
        0 6px 16px rgba(229,107,0, .22) !important;

    cursor: pointer !important;
    transform: translateY(-50%) !important;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        opacity .18s ease !important;
}

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-prev {
    left: -14px !important;
}

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-next {
    right: -14px !important;
}

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-prev:hover,

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-next:hover {
    transform: translateY(-50%) scale(1.03) !important;
    box-shadow:
        0 9px 18px rgba(229,107,0, .28) !important;
}

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-prev:disabled,

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-next:disabled {
    opacity: .30 !important;
    cursor: default !important;
    box-shadow: none !important;
}

@media (min-width: 768px) and (max-width: 1199px) {
    body.single-product
    div.optional-accessories.products.container
    .ultrapc-carousel-prev {
        left: -8px !important;
    }

    body.single-product
    div.optional-accessories.products.container
    .ultrapc-carousel-next {
        right: -8px !important;
    }
}

@media (max-width: 767px) {
    body.single-product
    div.optional-accessories.products.container
    .ultrapc-carousel-prev,

    body.single-product
    div.optional-accessories.products.container
    .ultrapc-carousel-next {
        display: none !important;
    }
}



/* =========================================================
   ACCESORIOS ADICIONALES — CAPAS PARA QUE LA FLECHA
   SIEMPRE QUEDE SOBRE LAS TARJETAS
   ========================================================= */

body.single-product
div.optional-accessories.products.container {
    isolation: isolate !important;
}

body.single-product
div.optional-accessories.products.container
> ul.products {
    position: relative !important;
    z-index: 1 !important;
}

body.single-product
div.optional-accessories.products.container
> ul.products
> li.product {
    position: relative !important;
    z-index: 1 !important;
}

body.single-product
div.optional-accessories.products.container
> ul.products
> li.product:hover,

body.single-product
div.optional-accessories.products.container
> ul.products
> li.product:focus-within {
    z-index: 2 !important;
}

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-prev,

body.single-product
div.optional-accessories.products.container
.ultrapc-carousel-next {
    z-index: 999 !important;
}


/* =========================================================
   ULTRAPC - CARRUSEL MINIATURAS GALERIA > 4
   ========================================================= */

.single-product .thumbnail-carousel-wrapper {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;

    width: 100% !important;
    max-width: 100% !important;

    margin: 0 auto !important;
}

.single-product .thumbnail-carousel-track {
    position: relative !important;

    max-width: 100% !important;

    overflow: hidden !important;
}

.single-product
.thumbnail-carousel-track
.flex-control-thumbs {
    justify-content: flex-start !important;

    width: max-content !important;
    min-width: 100% !important;

    margin: 0 !important;

    transform: translateX(0);
    transition: transform .25s ease;

    will-change: transform;
}

.single-product .thumb-arrow {
    display: none !important;

    flex: 0 0 36px !important;

    width: 36px !important;
    height: 36px !important;

    padding: 0 0 3px !important;

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

    border: 0 !important;
    border-radius: 50% !important;

    background: #ea6d00 !important;
    color: #ffffff !important;

    font-size: 28px !important;
    font-weight: 500 !important;
    line-height: 1 !important;

    cursor: pointer !important;

    box-shadow: 0 4px 12px rgba(234,109,0, .20) !important;

    transition:
        opacity .18s ease,
        transform .18s ease,
        box-shadow .18s ease !important;
}

.single-product
.thumbnail-carousel-wrapper.has-arrows
.thumb-arrow {
    display: inline-flex !important;
}

.single-product
.thumbnail-carousel-wrapper.has-arrows
.thumbnail-carousel-track {
    max-width: calc(100% - 92px) !important;
}

.single-product .thumb-arrow:not(.disabled):hover {
    transform: scale(1.08);
    box-shadow: 0 5px 15px rgba(234,109,0, .28) !important;
}

.single-product .thumb-arrow.disabled {
    opacity: .28 !important;
    cursor: default !important;
    pointer-events: none !important;
    box-shadow: none !important;
}

.single-product .thumb-arrow:focus-visible {
    outline: 2px solid #ea6d00 !important;
    outline-offset: 3px !important;
}

@media (max-width: 575px) {

    .single-product .thumbnail-carousel-wrapper {
        gap: 6px !important;
    }

    .single-product .thumb-arrow {
        flex-basis: 32px !important;
        width: 32px !important;
        height: 32px !important;
        font-size: 25px !important;
    }

    .single-product
    .thumbnail-carousel-wrapper.has-arrows
    .thumbnail-carousel-track {
        max-width: calc(100% - 76px) !important;
    }
}

/* =========================================================
   GALERIA - 4 MINIATURAS O MENOS
   Centrado extra para evitar cortes laterales
   ========================================================= */

.single-product
.thumbnail-carousel-wrapper:not(.has-arrows) {
    padding-left: 14px !important;
    padding-right: 14px !important;
    box-sizing: border-box !important;
}

.single-product
.thumbnail-carousel-wrapper:not(.has-arrows)
.thumbnail-carousel-track {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    overflow: visible !important;
}

.single-product
.thumbnail-carousel-wrapper:not(.has-arrows)
.thumbnail-carousel-track
.flex-control-thumbs {
    width: 100% !important;
    min-width: 0 !important;

    justify-content: center !important;

    margin-left: auto !important;
    margin-right: auto !important;

    transform: none !important;
}


/* =========================================================
   ULTRAPC - SPECS RAPIDAS BAJO GALERIA
   ========================================================= */

body.single-product .product-images-wrapper .upc-gallery-specs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0 8px;
    width: 100%;
}

body.single-product .product-images-wrapper .upc-gallery-spec {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    min-height: 82px;
    padding: 14px 12px;

    background: linear-gradient(180deg, #fcfcfb 0%, #f9f6f4 100%);
    border: 1px solid #f0ebe6;
    border-radius: 14px;

    box-shadow: 0 8px 20px rgba(234,109,0, 0.08);
    text-align: center;
}

body.single-product .product-images-wrapper .upc-gallery-spec__label {
    display: block;
    margin-bottom: 6px;

    color: #847e77;
    font-size: 11px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: .7px;
    text-transform: uppercase;
}

body.single-product .product-images-wrapper .upc-gallery-spec__value {
    display: block;

    color: #ea6d00;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.25;
}

body.single-product .product-images-wrapper .upc-gallery-spec--screen .upc-gallery-spec__value,
body.single-product .product-images-wrapper .upc-gallery-spec--gpu .upc-gallery-spec__value {
    font-size: 14px;
}

@media (max-width: 767px) {
    body.single-product .product-images-wrapper .upc-gallery-specs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        margin-top: 14px;
    }

    body.single-product .product-images-wrapper .upc-gallery-spec {
        min-height: 76px;
        padding: 12px 10px;
        border-radius: 12px;
    }

    body.single-product .product-images-wrapper .upc-gallery-spec__label {
        font-size: 10px;
        margin-bottom: 5px;
    }

    body.single-product .product-images-wrapper .upc-gallery-spec__value {
        font-size: 13px;
    }

    body.single-product .product-images-wrapper .upc-gallery-spec--screen .upc-gallery-spec__value,
    body.single-product .product-images-wrapper .upc-gallery-spec--gpu .upc-gallery-spec__value {
        font-size: 12px;
    }
}

/* =========================================================
   ULTRAPC - POSICION FINAL SPECS DENTRO DE GALERIA
   Desktop
   ========================================================= */

@media (min-width: 992px) {

    .single-product .single-product-wrapper > .product-images-wrapper {
        position: relative !important;
    }

    /*
     * Caso en que el bloque quede dentro de product-images-wrapper.
     * Se posiciona sobre el espacio libre inferior.
     */
    .single-product .product-images-wrapper > .upc-gallery-specs {
        position: absolute !important;
        left: 18px !important;
        right: 18px !important;
        bottom: 100px !important;

        width: auto !important;
        margin: 0 !important;

        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;

        z-index: 18 !important;
    }

    /*
     * Compatibilidad si WooCommerce lo entrega como hijo directo
     * del grid principal.
     */
    .single-product .single-product-wrapper > .upc-gallery-specs {
        grid-column: 1 !important;
        grid-row: 1 !important;

        align-self: end !important;
        justify-self: stretch !important;

        width: auto !important;
        margin: 0 18px 100px !important;

        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 10px !important;

        z-index: 18 !important;
    }

    /* Tarjetas más compactas */
    .single-product .upc-gallery-spec {
        min-height: 64px !important;
        padding: 9px 8px !important;

        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;

        border-radius: 12px !important;
    }

    .single-product .upc-gallery-spec__label {
        margin-bottom: 4px !important;
        font-size: 9px !important;
        line-height: 1.1 !important;
    }

    .single-product .upc-gallery-spec__value {
        font-size: 13px !important;
        line-height: 1.15 !important;
    }

    .single-product .upc-gallery-spec--gpu .upc-gallery-spec__value,
    .single-product .upc-gallery-spec--screen .upc-gallery-spec__value {
        font-size: 12px !important;
    }
}

/* =========================================================
   ULTRAPC - SPECS GALERIA / ESTILO FINAL CON ICONOS
   ========================================================= */

@media (min-width: 992px) {

    .single-product .upc-gallery-spec {
        min-height: 62px !important;
        padding: 10px 11px !important;

        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;

        gap: 9px !important;

        text-align: left !important;
    }

    /* Ocultar nombre del atributo */
    .single-product .upc-gallery-spec__label {
        display: none !important;
    }

    /* Valor */
    .single-product .upc-gallery-spec__value {
        flex: 1 1 auto !important;

        color: #462c5c !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        line-height: 1.18 !important;

        text-align: left !important;
    }

    .single-product .upc-gallery-spec--gpu .upc-gallery-spec__value,
    .single-product .upc-gallery-spec--screen .upc-gallery-spec__value {
        font-size: 11.5px !important;
    }

    /* Icono base */
    .single-product .upc-gallery-spec::before {
        flex: 0 0 30px;

        width: 30px;
        height: 30px;

        display: inline-flex;
        align-items: center;
        justify-content: center;

        color: #ea6d00;

        font-family: "Font Awesome 5 Free";
        font-size: 21px;
        font-weight: 900;
        line-height: 1;
    }

    /* CPU */
    .single-product .upc-gallery-spec--cpu::before {
        content: "\f2db";
    }

    /* RAM */
    .single-product .upc-gallery-spec--ram::before {
        content: "\f538";
    }

    /* SSD */
    .single-product .upc-gallery-spec--storage::before {
        content: "\f0a0";
    }

    /* GPU */
    .single-product .upc-gallery-spec--gpu::before {
        content: "\f03d";
    }

    /* Pantalla */
    .single-product .upc-gallery-spec--screen::before {
        content: "\f108";
    }

    /* Teclado */
    .single-product .upc-gallery-spec--keyboard::before {
        content: "\f11c";
    }
}

/* =========================================================
   ULTRAPC - SPECS GALERIA / PULIDO FINAL
   ========================================================= */

@media (min-width: 992px) {

    /* Tarjetas */
    .single-product .upc-gallery-spec {
        min-height: 60px !important;
        padding: 9px 10px !important;
        gap: 8px !important;
    }

    /* Iconos un poco más discretos */
    .single-product .upc-gallery-spec::before {
        flex-basis: 27px !important;
        width: 27px !important;
        height: 27px !important;
        font-size: 19px !important;
    }

    /* Texto principal */
    .single-product .upc-gallery-spec__value {
        font-size: 12px !important;
        line-height: 1.16 !important;
        display: flex !important;
        align-items: center !important;
        min-height: 30px !important;
    }

    /* GPU */
    .single-product .upc-gallery-spec--gpu .upc-gallery-spec__value {
        font-size: 11.5px !important;
    }

    /* Pantalla: evitar que se vea demasiado apretado */
    .single-product .upc-gallery-spec--screen .upc-gallery-spec__value {
        font-size: 10.8px !important;
        line-height: 1.12 !important;
    }

    /* Teclado */
    .single-product .upc-gallery-spec--keyboard .upc-gallery-spec__value {
        font-size: 11.5px !important;
    }

    /* Más separación antes de Fotos de Referencia */
    .single-product .tabla_debajo_de_fotos .columna_fotos_referencia {
        padding-top: 8px !important;
    }
}

/* =========================================================
   ULTRAPC - SPECS GALERIA / MAS AIRE LATERAL
   ========================================================= */

@media (min-width: 992px) {

    .single-product .product-images-wrapper > .upc-gallery-specs {
        left: 32px !important;
        right: 32px !important;
    }

    .single-product .single-product-wrapper > .upc-gallery-specs {
        margin-left: 32px !important;
        margin-right: 32px !important;
    }
}

/* =========================================================
   ULTRAPC - SPECS GALERIA / TEXTO EN UNA SOLA LINEA
   ========================================================= */

@media (min-width: 992px) {

    .single-product .upc-gallery-spec {
        gap: 6px !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .single-product .upc-gallery-spec::before {
        flex: 0 0 23px !important;
        width: 23px !important;
        height: 23px !important;
        font-size: 17px !important;
    }

    .single-product .upc-gallery-spec__value {
        min-width: 0 !important;
        min-height: 0 !important;

        display: block !important;

        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;

        font-size: 10.8px !important;
        line-height: 1 !important;
        letter-spacing: -0.15px !important;
    }

    .single-product .upc-gallery-spec--gpu .upc-gallery-spec__value,
    .single-product .upc-gallery-spec--keyboard .upc-gallery-spec__value {
        font-size: 10.5px !important;
    }

    .single-product .upc-gallery-spec--screen .upc-gallery-spec__value {
        font-size: 9.5px !important;
        letter-spacing: -0.3px !important;
    }
}

/* =========================================================
   ULTRAPC - SPECS GALERIA / AJUSTE FINAL UNA LINEA
   ========================================================= */

@media (min-width: 992px) {

    .single-product .upc-gallery-spec {
        gap: 5px !important;
        padding-left: 7px !important;
        padding-right: 7px !important;
    }

    .single-product .upc-gallery-spec::before {
        flex: 0 0 21px !important;
        width: 21px !important;
        height: 21px !important;
        font-size: 16px !important;
    }

    .single-product .upc-gallery-spec__value {
        width: 100% !important;
        min-width: 0 !important;

        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;

        font-size: 10.2px !important;
        line-height: 1 !important;
        letter-spacing: -0.2px !important;
    }

    .single-product .upc-gallery-spec--gpu .upc-gallery-spec__value,
    .single-product .upc-gallery-spec--keyboard .upc-gallery-spec__value {
        font-size: 9.8px !important;
        letter-spacing: -0.25px !important;
    }

    .single-product .upc-gallery-spec--screen .upc-gallery-spec__value {
        font-size: 8.8px !important;
        letter-spacing: -0.4px !important;
    }
}

/* =========================================================
   ULTRAPC - REVERTIR AL AJUSTE ANTERIOR DE UNA LINEA
   ========================================================= */

@media (min-width: 992px) {

    .single-product .upc-gallery-spec {
        gap: 6px !important;
        padding-left: 9px !important;
        padding-right: 9px !important;
    }

    .single-product .upc-gallery-spec::before {
        flex: 0 0 23px !important;
        width: 23px !important;
        height: 23px !important;
        font-size: 17px !important;
    }

    .single-product .upc-gallery-spec__value {
        min-width: 0 !important;
        min-height: 0 !important;
        display: block !important;
        white-space: nowrap !important;
        word-break: normal !important;
        overflow-wrap: normal !important;
        font-size: 10.8px !important;
        line-height: 1 !important;
        letter-spacing: -0.15px !important;
        width: auto !important;
    }

    .single-product .upc-gallery-spec--gpu .upc-gallery-spec__value,
    .single-product .upc-gallery-spec--keyboard .upc-gallery-spec__value {
        font-size: 10.5px !important;
    }

    .single-product .upc-gallery-spec--screen .upc-gallery-spec__value {
        font-size: 9.5px !important;
        letter-spacing: -0.3px !important;
    }
}

/* =========================================================
   ULTRAPC - ESTADO RESERVADO
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.ultrapc-product-reserved-pill {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: fit-content !important;

    margin: -4px 0 0 !important;
    padding: 6px 14px !important;

    background: #ffaf38 !important;
    border: 1px solid #ffa62b !important;
    border-radius: 999px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    letter-spacing: .1px !important;

    box-shadow: 0 3px 8px rgba(255,175,56, .18) !important;
}

/* =========================================================
   ULTRAPC - FILA INFERIOR PRODUCTOS CATALOGO
   Cotización Formal + Consulte Stock
   ========================================================= */

body.single-product
.product.product_tag-catalogo
.summary.entry-summary
.ultrapc-contenedor-cotizacion {
    display: inline-block !important;
    vertical-align: top !important;

    width: calc(50% - 6px) !important;
    margin: 14px 8px 0 0 !important;
}

body.single-product
.product.product_tag-catalogo
.summary.entry-summary
.ultrapc-contenedor-cotizacion
.ultrapc-boton-cotizacion {
    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
}

body.single-product
.product.product_tag-catalogo
.summary.entry-summary
> .boton_consultar_stock {
    display: inline-block !important;
    vertical-align: top !important;

    width: calc(50% - 6px) !important;
    margin: 14px 0 0 !important;
}

body.single-product
.product.product_tag-catalogo
.summary.entry-summary
> .boton_consultar_stock
> span.boton_consultar_stock {
    display: block !important;
    width: 100% !important;
}

body.single-product
.product.product_tag-catalogo
.summary.entry-summary
> .boton_consultar_stock
a.boton_consultar_stock {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 100% !important;
    min-height: 48px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* =========================================================
   ULTRAPC - AJUSTE FINAL FICHA CATALOGO
   ========================================================= */

/* Comparar alineado a la izquierda */
body.single-product
.product.product_tag-catalogo
.summary.entry-summary
.add-to-compare-link {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* Acercar Ultraoferta al bloque principal */
body.single-product
.product.product_tag-catalogo
.summary.entry-summary
> .contenedor-short-ultrapc:has(.ultraoferta) {
    margin-top: 12px !important;
    margin-bottom: 14px !important;
}


/* =========================================================
   ULTRAPC - RESERVADO estilo suave tipo "Último en Stock"
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.ultrapc-product-reserved-pill {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: fit-content !important;
    max-width: 100% !important;

    margin: 2px 0 0 !important;
    padding: 6px 14px !important;

    background: #f6f3f1 !important;
    border: 1px solid #f6c7a3 !important;
    border-radius: 999px !important;

    color: #e88943 !important;

    font-size: 12px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;

    box-shadow: none !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status {

    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 10px !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.contenedor-short-ultrapc {
    margin-bottom: 0 !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.availability {
    margin-top: 0 !important;
}

/* =========================================================
   ULTRAPC - CENTRADO VERTICAL CONDICION + RESERVADO
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status {
    justify-content: center !important;
    gap: 12px !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.ultrapc-product-reserved-pill {
    margin-top: 0 !important;
}


/* =========================================================
   ULTRAPC - CENTRADO FINAL TARJETA RESERVADO
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status:has(.ultrapc-product-reserved-pill) {
    padding-top: 26px !important;
    padding-bottom: 10px !important;
    justify-content: center !important;
}


/* =========================================================
   ULTRAPC - REACONDICIONADO / RESERVADO
   Centrado y con mayor aire lateral
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status:has(.ultrapc-product-reserved-pill) {
    align-items: center !important;
    justify-content: center !important;
    padding: 16px 18px !important;
}

/* Contenedor de condición centrado */
body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status:has(.ultrapc-product-reserved-pill)
> .contenedor-short-ultrapc {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
}

/* REACONDICIONADO un poco más compacto */
body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status:has(.ultrapc-product-reserved-pill)
.condicion.reacondicionado {
    font-size: 17px !important;
    padding-left: 12px !important;
    padding-right: 10px !important;
    white-space: nowrap !important;
}

/* Reservado centrado debajo */
body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status:has(.ultrapc-product-reserved-pill)
.ultrapc-product-reserved-pill {
    margin: 0 auto !important;
}

/* =========================================================
   ULTRAPC - ULTRAOFERTA MÁS VISIBLE EN FICHA
   ========================================================= */

body.single-product
.summary.entry-summary
.ultraoferta {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    padding: 7px 16px !important;

    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    border-radius: 999px !important;

    box-shadow: 0 4px 10px rgba(234,109,0, .22) !important;

    min-height: 30px !important;
}

/* =========================================================
   ULTRAPC - ULTRAOFERTA AJUSTE TAMAÑO FINAL
   ========================================================= */

body.single-product
.summary.entry-summary
.ultraoferta {
    padding: 8px 19px !important;

    font-size: 16px !important;
    font-weight: 900 !important;
    line-height: 1 !important;

    min-height: 34px !important;

    border-radius: 999px !important;
}

/* =========================================================
   ULTRAPC - COMPARAR SOBRE ULTRAOFERTA
   Solo REACONDICIONADO
   ========================================================= */

body.single-product
.product.product_tag-reacondicionado
.summary.entry-summary
.ultrapc-compare-reacondicionado {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: fit-content !important;

    margin: 8px 0 12px 0 !important;
}

/* =========================================================
   ULTRAPC - COMPARAR SOBRE ULTRAOFERTA
   AJUSTE FINAL SOLO REACONDICIONADO
   ========================================================= */

body.single-product
.product.product_tag-reacondicionado
.summary.entry-summary
.ultrapc-compare-reacondicionado {

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: max-content !important;
    min-width: 110px !important;

    margin: 14px 0 12px 0 !important;
    padding: 9px 15px !important;

    float: none !important;
    clear: both !important;

    background: #ffffff !important;
    border: 1px solid #eadfd4 !important;
    border-radius: 9px !important;

    color: #ea6d00 !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;

    text-decoration: none !important;
    text-align: center !important;

    box-shadow: 0 3px 8px rgba(234,109,0, .10) !important;
}

/* Reducir espacio entre Comparar y Ultraoferta */
body.single-product
.product.product_tag-reacondicionado
.summary.entry-summary
.ultrapc-compare-reacondicionado
+ .contenedor-short-ultrapc {
    margin-top: 0 !important;
}


/* =========================================================
   ULTRAPC - CENTRADO GLOBAL TARJETAS DE ESTADO
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status {
    align-items: center !important;
    text-align: center !important;
}

/* Condición principal */
body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
> .contenedor-short-ultrapc {
    width: 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

/* Reservado */
body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
> .ultrapc-product-reserved-pill {
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Disponibilidad / Último en Stock */
body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
> .availability {
    width: 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    margin-left: auto !important;
    margin-right: auto !important;
}

body.single-product
.summary.entry-summary
.ultrapc-product-info-card--status
.availability
.electro-stock-availability {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
}



/* =========================================================
   ULTRAPC - ORDEN GALERIA DESKTOP
   Miniaturas
   Fotos de Referencia
   Solicite Fotos Reales
   Especificaciones
   ========================================================= */

@media (min-width: 992px) {

    /* 1. SPECS pasan a la parte inferior */
    body.single-product
    .product-images-wrapper
    > .upc-gallery-specs {
        bottom: 18px !important;
    }

    /* Fallback si las specs son hijas directas del grid principal */
    body.single-product
    .single-product-wrapper
    > .upc-gallery-specs {
        margin-bottom: 18px !important;
    }

    /* 2. Fotos de Referencia sobre el botón */
    body.single-product
    .tabla_debajo_de_fotos
    .columna_fotos_referencia {
        margin: 0 24px 220px !important;
    }

    /* 3. Solicite Fotos Reales entre título y specs */
    body.single-product
    .tabla_debajo_de_fotos
    .columna_boton_solicitar_fotos {
        margin: 0 24px 168px !important;
    }

}

/* =========================================================
   ULTRAPC - CENTRADO EXACTO BOTON SOLICITE FOTOS
   ========================================================= */

@media (min-width: 992px) {

    body.single-product
    .tabla_debajo_de_fotos
    .columna_boton_solicitar_fotos {
        width: auto !important;

        margin-left: 24px !important;
        margin-right: 24px !important;
        margin-bottom: 168px !important;

        justify-self: stretch !important;

        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    body.single-product
    .tabla_debajo_de_fotos
    .columna_boton_solicitar_fotos
    .boton_solicitar_fotos {
        width: auto !important;
        margin: 0 auto !important;
    }

    body.single-product
    .tabla_debajo_de_fotos
    .columna_boton_solicitar_fotos
    .boton-solicite-fotos {
        margin-left: auto !important;
        margin-right: auto !important;
    }

}

/* =========================================================
   ULTRAPC - LUPA ZOOM CENTRADA SOBRE MINIATURAS
   ========================================================= */

@media (min-width: 992px) {

    /* La lupa pasa a formar parte del flujo de la galería */
    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger {

        position: static !important;

        order: 2 !important;
        align-self: center !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 52px !important;
        height: 52px !important;

        margin: auto auto 12px !important;
        padding: 0 !important;

        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;

        box-shadow: none !important;

        font-size: 0 !important;
        text-decoration: none !important;

        z-index: 25 !important;
    }

    /* Lupa azul con signo + */
    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger::before {

        content: "\f00e" !important;

        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;

        position: static !important;

        display: block !important;

        width: auto !important;
        height: auto !important;

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

        border: 0 !important;

        color: #ea6d00 !important;

        font-size: 42px !important;
        line-height: 1 !important;

        transform: none !important;
    }

    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger::after {
        content: none !important;
        display: none !important;
    }

    /* Imagen principal primero */
    body.single-product
    .woocommerce-product-gallery
    .flex-viewport {
        order: 1 !important;
    }

    /* Miniaturas inmediatamente debajo de la lupa */
    body.single-product
    .woocommerce-product-gallery
    .flex-control-thumbs {
        order: 3 !important;
        margin-top: 0 !important;
    }
}

/* =========================================================
   ULTRAPC - CORRECCION ORDEN GALERIA + LUPA
   Imagen > Lupa > Miniaturas
   ========================================================= */

@media (min-width: 992px) {

    body.single-product
    .product-images-wrapper
    > .woocommerce-product-gallery {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Imagen principal */
    body.single-product
    .woocommerce-product-gallery
    .flex-viewport {
        order: 1 !important;
    }

    /* Lupa funcional */
    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger {
        position: static !important;

        order: 2 !important;
        align-self: center !important;

        width: 34px !important;
        height: 34px !important;

        min-width: 34px !important;
        min-height: 34px !important;

        margin: 10px auto 12px !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;

        transform: none !important;

        font-size: 0 !important;
    }

    /* Ícono lupa azul más pequeño */
    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger::before {
        content: "\f00e" !important;

        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;

        position: static !important;

        width: auto !important;
        height: auto !important;

        color: #ea6d00 !important;

        font-size: 27px !important;
        line-height: 1 !important;

        border: 0 !important;
        margin: 0 !important;

        transform: none !important;
    }

    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger::after {
        content: none !important;
        display: none !important;
    }

    /* Miniaturas vuelven debajo de imagen/lupa */
    body.single-product
    .woocommerce-product-gallery
    .flex-control-thumbs {
        order: 3 !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

}

/* =========================================================
   ULTRAPC - CORRECCION ORDEN GALERIA + LUPA
   Imagen > Lupa > Miniaturas
   ========================================================= */

@media (min-width: 992px) {

    body.single-product
    .product-images-wrapper
    > .woocommerce-product-gallery {
        display: flex !important;
        flex-direction: column !important;
    }

    /* Imagen principal */
    body.single-product
    .woocommerce-product-gallery
    .flex-viewport {
        order: 1 !important;
    }

    /* Lupa funcional */
    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger {
        position: static !important;

        order: 2 !important;
        align-self: center !important;

        width: 34px !important;
        height: 34px !important;

        min-width: 34px !important;
        min-height: 34px !important;

        margin: 10px auto 12px !important;
        padding: 0 !important;

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;

        transform: none !important;

        font-size: 0 !important;
    }

    /* Ícono lupa azul más pequeño */
    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger::before {
        content: "\f00e" !important;

        font-family: "Font Awesome 5 Free" !important;
        font-weight: 900 !important;

        position: static !important;

        width: auto !important;
        height: auto !important;

        color: #ea6d00 !important;

        font-size: 27px !important;
        line-height: 1 !important;

        border: 0 !important;
        margin: 0 !important;

        transform: none !important;
    }

    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger::after {
        content: none !important;
        display: none !important;
    }

    /* Miniaturas vuelven debajo de imagen/lupa */
    body.single-product
    .woocommerce-product-gallery
    .flex-control-thumbs {
        order: 3 !important;

        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

}

/* =========================================================
   ULTRAPC - ORDEN REAL GALERIA DESKTOP
   Imagen > Lupa > Miniaturas
   Corrige wrapper del carrusel
   ========================================================= */

@media (min-width: 992px) {

    /* Imagen principal */
    body.single-product
    .woocommerce-product-gallery
    > .flex-viewport {
        order: 1 !important;
    }

    /* Lupa */
    body.single-product
    .woocommerce-product-gallery
    > .woocommerce-product-gallery__trigger {
        order: 2 !important;
    }

    /* El wrapper REAL de las miniaturas */
    body.single-product
    .woocommerce-product-gallery
    > .thumbnail-carousel-wrapper {
        order: 3 !important;

        width: 100% !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }

    /* Lista interna */
    body.single-product
    .thumbnail-carousel-wrapper
    .flex-control-thumbs {
        margin: 0 !important;
        padding-top: 8px !important;
    }

    /* Lupa un poco más pequeña */
    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger {
        width: 30px !important;
        height: 30px !important;
        min-width: 30px !important;
        min-height: 30px !important;

        margin: 8px auto 10px !important;
    }

    body.single-product
    .woocommerce-product-gallery
    .woocommerce-product-gallery__trigger::before {
        font-size: 23px !important;
    }
}

/* =========================================================
   ULTRAPC - SPECS GALERIA
   Hasta 2 líneas + tipografía más grande
   ========================================================= */

@media (min-width: 992px) {

    body.single-product
    .upc-gallery-spec {
        min-height: 68px !important;

        padding-left: 12px !important;
        padding-right: 12px !important;

        gap: 8px !important;
    }

    body.single-product
    .upc-gallery-spec__value {
        font-size: 13px !important;
        font-weight: 800 !important;
        line-height: 1.18 !important;

        white-space: normal !important;
        word-break: normal !important;
        overflow-wrap: normal !important;

        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        -webkit-line-clamp: 2 !important;

        overflow: hidden !important;

        text-align: left !important;
    }

    /* Textos que normalmente son más largos */
    body.single-product
    .upc-gallery-spec--gpu
    .upc-gallery-spec__value,

    body.single-product
    .upc-gallery-spec--screen
    .upc-gallery-spec__value,

    body.single-product
    .upc-gallery-spec--keyboard
    .upc-gallery-spec__value {
        font-size: 12.5px !important;
        line-height: 1.18 !important;
        letter-spacing: 0 !important;
    }

}

/* =========================================================
   ULTRAPC - VISOR DE IMAGEN / PHOTOSWIPE
   ========================================================= */

body.single-product .pswp {
    z-index: 999999 !important;
}

/* Fondo */
body.single-product .pswp__bg {
    background: rgba(14,11,17, .96) !important;
    opacity: 1 !important;
}

/* Barra superior transparente */
body.single-product .pswp__top-bar {
    background: transparent !important;
}

/* =========================================================
   BOTON CERRAR
   ========================================================= */

body.single-product .pswp__button--close {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;

    position: fixed !important;
    top: 22px !important;
    right: 22px !important;

    width: 52px !important;
    height: 52px !important;

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

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

    background: rgba(255,255,255,.96) !important;
    background-image: none !important;

    border: 1px solid rgba(255,255,255,.75) !important;
    border-radius: 50% !important;

    box-shadow:
        0 8px 25px rgba(0,0,0,.28),
        0 0 0 1px rgba(234,109,0,.06) !important;

    color: #ea6d00 !important;

    font-size: 0 !important;
    text-indent: 0 !important;

    z-index: 9999999 !important;

    cursor: pointer !important;

    transition:
        transform .18s ease,
        background .18s ease,
        box-shadow .18s ease !important;
}

body.single-product .pswp__button--close::before {
    content: "×" !important;

    display: block !important;

    position: static !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;

    color: #ea6d00 !important;

    font-family: Arial, sans-serif !important;
    font-size: 38px !important;
    font-weight: 300 !important;
    line-height: 1 !important;

    background: none !important;
}

body.single-product .pswp__button--close::after {
    content: none !important;
}

body.single-product .pswp__button--close:hover {
    background: #ffffff !important;

    transform: scale(1.08) !important;

    box-shadow:
        0 10px 30px rgba(0,0,0,.32),
        0 0 0 3px rgba(234,109,0,.12) !important;
}

/* =========================================================
   FLECHAS
   ========================================================= */

body.single-product .pswp__button--arrow--left,
body.single-product .pswp__button--arrow--right {

    width: 48px !important;
    height: 48px !important;

    margin-top: -24px !important;

    background-color: rgba(255,255,255,.12) !important;

    border-radius: 50% !important;

    opacity: 1 !important;

    transition:
        background .18s ease,
        transform .18s ease !important;
}

body.single-product .pswp__button--arrow--left:hover,
body.single-product .pswp__button--arrow--right:hover {
    background-color: rgba(255,255,255,.22) !important;
    transform: scale(1.06) !important;
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-product .pswp__button--close {
        top: 14px !important;
        right: 14px !important;

        width: 46px !important;
        height: 46px !important;
    }

    body.single-product .pswp__button--close::before {
        font-size: 34px !important;
    }

}

/* =========================================================
   ULTRAPC - PHOTOSWIPE PREMIUM
   ========================================================= */

body.single-product .pswp {
    z-index: 999999 !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

/* Fondo elegante */
body.single-product .pswp__bg {
    background: rgba(18,12,23, .91) !important;
    opacity: 1 !important;
}


/* =========================================================
   IMAGEN
   ========================================================= */

body.single-product .pswp__img {

    background: #ffffff !important;

    border-radius: 16px !important;

    box-shadow:
        0 25px 80px rgba(0,0,0,.45),
        0 0 0 1px rgba(255,255,255,.12) !important;
}


/* =========================================================
   CONTADOR 1 / 5
   ========================================================= */

body.single-product .pswp__counter {

    top: 20px !important;
    left: 22px !important;

    height: auto !important;

    padding: 8px 13px !important;

    background: rgba(255,255,255,.12) !important;

    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 999px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;

    opacity: 1 !important;

    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}


/* =========================================================
   BOTON CERRAR
   ========================================================= */

body.single-product .pswp__button--close {

    position: fixed !important;

    top: 20px !important;
    right: 22px !important;

    width: 112px !important;
    height: 46px !important;

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

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 7px !important;

    background: rgba(255,255,255,.97) !important;
    background-image: none !important;

    border: 0 !important;
    border-radius: 999px !important;

    box-shadow:
        0 8px 28px rgba(0,0,0,.28) !important;

    color: #ea6d00 !important;

    font-size: 0 !important;

    opacity: 1 !important;

    cursor: pointer !important;

    transition:
        transform .18s ease,
        box-shadow .18s ease !important;
}

body.single-product .pswp__button--close::before {

    content: "×" !important;

    position: static !important;

    display: block !important;

    width: auto !important;
    height: auto !important;

    margin: -2px 0 0 !important;

    background: none !important;

    color: #ea6d00 !important;

    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
}

body.single-product .pswp__button--close::after {

    content: "Cerrar" !important;

    display: block !important;

    position: static !important;

    width: auto !important;
    height: auto !important;

    background: none !important;

    color: #ea6d00 !important;

    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

body.single-product .pswp__button--close:hover {

    transform: translateY(-1px) scale(1.03) !important;

    box-shadow:
        0 12px 34px rgba(0,0,0,.35) !important;
}


/* =========================================================
   FLECHAS PREMIUM
   ========================================================= */

body.single-product .pswp__button--arrow--left,
body.single-product .pswp__button--arrow--right {

    position: fixed !important;

    top: 50% !important;

    width: 52px !important;
    height: 52px !important;

    margin-top: -26px !important;

    padding: 0 !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ea6d00 !important;
    background-image: none !important;

    border: 1px solid rgba(255,255,255,.18) !important;
    border-radius: 50% !important;

    box-shadow:
        0 8px 25px rgba(234,109,0,.35) !important;

    opacity: 1 !important;

    transition:
        transform .18s ease,
        background .18s ease,
        box-shadow .18s ease !important;
}

body.single-product .pswp__button--arrow--left {
    left: 24px !important;
}

body.single-product .pswp__button--arrow--right {
    right: 24px !important;
}

body.single-product .pswp__button--arrow--left::before,
body.single-product .pswp__button--arrow--right::before {

    position: static !important;

    width: auto !important;
    height: auto !important;

    margin: 0 !important;

    background: none !important;

    color: #ffffff !important;

    font-family: Arial, sans-serif !important;
    font-size: 34px !important;
    font-weight: 400 !important;
    line-height: .8 !important;
}

body.single-product .pswp__button--arrow--left::before {
    content: "‹" !important;
}

body.single-product .pswp__button--arrow--right::before {
    content: "›" !important;
}

body.single-product .pswp__button--arrow--left:hover,
body.single-product .pswp__button--arrow--right:hover {

    transform: scale(1.08) !important;

    background: #f78019 !important;

    box-shadow:
        0 10px 30px rgba(234,109,0,.48) !important;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.single-product .pswp__button--close {

        top: 12px !important;
        right: 12px !important;

        width: 48px !important;
        height: 48px !important;

        padding: 0 !important;
    }

    body.single-product .pswp__button--close::after {
        display: none !important;
    }

    body.single-product .pswp__button--close::before {
        font-size: 32px !important;
    }

    body.single-product .pswp__counter {
        top: 15px !important;
        left: 14px !important;
    }

    body.single-product .pswp__button--arrow--left,
    body.single-product .pswp__button--arrow--right {

        width: 44px !important;
        height: 44px !important;

        margin-top: -22px !important;
    }

    body.single-product .pswp__button--arrow--left {
        left: 10px !important;
    }

    body.single-product .pswp__button--arrow--right {
        right: 10px !important;
    }

    body.single-product .pswp__img {
        border-radius: 10px !important;
    }

}


/* =========================================================
   ULTRAPC - SPEC GPU
   Más espacio para mostrar modelo completo
   ========================================================= */

@media (min-width: 992px) {

    body.single-product
    .upc-gallery-spec--gpu
    .upc-gallery-spec__value {

        font-size: 11px !important;
        line-height: 1.12 !important;
        font-weight: 800 !important;

        -webkit-line-clamp: 2 !important;

        letter-spacing: -0.1px !important;
    }

}

/* =========================================================
   ULTRAPC - ICONO GPU TIPO TARJETA GRAFICA
   ========================================================= */

body.single-product
.product-images-wrapper
.upc-gallery-spec--gpu::before {

    content: "" !important;

    display: block !important;

    flex: 0 0 27px !important;

    width: 27px !important;
    height: 24px !important;

    min-width: 27px !important;

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

    background-color: transparent !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 48' fill='none' stroke='%23ea6d00' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='13' y='7' width='43' height='29' rx='3'/%3E%3Cpath d='M13 12H7v20h6'/%3E%3Ccircle cx='35' cy='21.5' r='8'/%3E%3Cpath d='M35 13.5v8l6 4M35 21.5l-7 4M35 21.5l2 8'/%3E%3Cpath d='M20 36v6M29 36v6M38 36v6M47 36v6'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: center !important;
    background-size: contain !important;

    border: 0 !important;

    font-size: 0 !important;
    line-height: 0 !important;
}


/* =========================================================
   ULTRAPC - SPEC CPU
   Reducir tipografía para mostrar modelo completo
   ========================================================= */

@media (min-width: 992px) {

    body.single-product
    .upc-gallery-spec--cpu
    .upc-gallery-spec__value {

        font-size: 11px !important;
        line-height: 1.12 !important;
        font-weight: 800 !important;

        -webkit-line-clamp: 2 !important;

        letter-spacing: -0.1px !important;
    }

}

@media (max-width: 767px) {

    body.single-product
    .upc-gallery-spec--cpu
    .upc-gallery-spec__value {

        font-size: 10.5px !important;
        line-height: 1.1 !important;

        -webkit-line-clamp: 2 !important;
    }

}


/* =========================================================
   ULTRAPC 2026 — TITULOS ACCESORIOS + RELACIONADOS
   Estilo centrado con líneas laterales
   ========================================================= */

body.single-product
.optional-accessories.products.container
> h2.optional-accessories-title,

body.single-product
section.related.products
> h2 {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 16px !important;

    width: 100% !important;

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

    color: #ea6d00 !important;

    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;

    text-align: center !important;
    text-transform: capitalize !important;

    border: 0 !important;
    border-bottom: 0 !important;

    background: transparent !important;
}


/* Líneas azules laterales */
body.single-product
.optional-accessories.products.container
> h2.optional-accessories-title::before,

body.single-product
.optional-accessories.products.container
> h2.optional-accessories-title::after,

body.single-product
section.related.products
> h2::before,

body.single-product
section.related.products
> h2::after {
    content: "" !important;

    position: static !important;

    display: block !important;

    width: 48px !important;
    height: 2px !important;

    flex: 0 0 48px !important;

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

    background: #ea6d00 !important;

    border: 0 !important;
    border-radius: 99px !important;

    transform: none !important;
}


/* Ajuste específico móvil */
@media (max-width: 575px) {

    body.single-product
    .optional-accessories.products.container
    > h2.optional-accessories-title,

    body.single-product
    section.related.products
    > h2 {
        gap: 10px !important;

        font-size: 20px !important;

        white-space: nowrap !important;
    }

    body.single-product
    .optional-accessories.products.container
    > h2.optional-accessories-title::before,

    body.single-product
    .optional-accessories.products.container
    > h2.optional-accessories-title::after,

    body.single-product
    section.related.products
    > h2::before,

    body.single-product
    section.related.products
    > h2::after {
        width: 28px !important;
        flex-basis: 28px !important;
    }
}



/* =========================================================
   ULTRAPC 2026 — FIX TITULO ACCESORIOS ADICIONALES
   ========================================================= */

body.single-product
.optional-accessories.products.container
> h2.optional-accessories-title {
    position: relative !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    gap: 16px !important;

    width: 100% !important;

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

    color: #ea6d00 !important;

    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.25 !important;

    text-align: center !important;

    border: 0 !important;
    background: transparent !important;
}


/* Línea izquierda + texto */
body.single-product
.optional-accessories.products.container
> h2.optional-accessories-title::before {
    content: "Accesorios Adicionales" !important;

    position: static !important;

    display: flex !important;
    align-items: center !important;

    width: auto !important;
    height: auto !important;
    flex: none !important;

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

    background: transparent !important;
    border: 0 !important;

    color: #ea6d00 !important;

    font-size: inherit !important;
    font-weight: inherit !important;
    line-height: inherit !important;

    text-transform: none !important;
}


/* Línea derecha */
body.single-product
.optional-accessories.products.container
> h2.optional-accessories-title::after {
    content: "" !important;

    position: static !important;

    display: block !important;

    width: 48px !important;
    height: 2px !important;
    flex: 0 0 48px !important;

    margin: 0 !important;

    background: #ea6d00 !important;

    border: 0 !important;
    border-radius: 99px !important;
}


/* Crear línea izquierda usando fondo del título */
body.single-product
.optional-accessories.products.container
> h2.optional-accessories-title {
    padding-left: 64px !important;

    background:
        linear-gradient(#ea6d00, #ea6d00)
        calc(50% - 174px) center / 48px 2px no-repeat !important;
}


@media (max-width: 575px) {

    body.single-product
    .optional-accessories.products.container
    > h2.optional-accessories-title {
        gap: 10px !important;
        padding-left: 38px !important;

        font-size: 20px !important;

        background:
            linear-gradient(#ea6d00, #ea6d00)
            calc(50% - 150px) center / 28px 2px no-repeat !important;
    }

    body.single-product
    .optional-accessories.products.container
    > h2.optional-accessories-title::after {
        width: 28px !important;
        flex-basis: 28px !important;
    }
}



/* =========================================================
   ULTRAPC 2026 — ESPECIFICACIONES
   Campos azules + mayúsculas / títulos capitalizados
   ========================================================= */

/* Títulos de la pestaña */
body.single-product
#tab-specification > h2 {
    text-transform: capitalize !important;
}


/* Nombres de campos */
body.single-product
#tab-specification
table.woocommerce-product-attributes.shop_attributes
th {
    color: #ea6d00 !important;

    text-transform: uppercase !important;

    font-weight: 700 !important;
    letter-spacing: .2px !important;
}


/* Asegurar color en textos internos del campo */
body.single-product
#tab-specification
table.woocommerce-product-attributes.shop_attributes
th * {
    color: inherit !important;
    text-transform: inherit !important;
}


/* Los valores permanecen con su formato original */
body.single-product
#tab-specification
table.woocommerce-product-attributes.shop_attributes
td {
    text-transform: none !important;
}


/* =========================================================
   ULTRAPC - PESTAÑAS PRODUCTO - TAMAÑO FINAL
   ========================================================= */

@media (min-width: 768px) {

    .woocommerce-tabs ul.tabs.wc-tabs {
        gap: 6px !important;
        padding: 6px !important;
    }

    .woocommerce-tabs ul.tabs.wc-tabs > li > a {
        min-height: 45px !important;
        padding: 0 20px !important;

        font-size: 14.6px !important;
        line-height: 1 !important;
    }

}


/* =========================================================
   ULTRAPC - ESTADO STOCK VISIBLE EN PRODUCT INFO CARD
   Corrige color blanco impuesto por Woo Custom Stock Status
   ========================================================= */

body.single-product.woocommerce
div.product
.ultrapc-product-info-card--status
.woo-custom-stock-status {
    color: #198754 !important;
    font-weight: 700 !important;
}



/* =========================================================
   ULTRAPC - FICHA PDF AL FINAL DE ESPECIFICACIONES
   ========================================================= */

body.single-product
#tab-specification
.ultrapc-specification-pdf {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;

    width: 100% !important;
    max-width: 620px !important;

    margin: 30px 0 0 !important;
    padding: 22px 0 0 !important;

    border-top: 1px solid #f1ece8 !important;

    background: transparent !important;
    box-shadow: none !important;
}


/* Título */
body.single-product
#tab-specification
.ultrapc-specification-pdf::before {
    content: "FICHA TÉCNICA DEL PRODUCTO";

    order: 1;

    display: block;

    margin: 0 0 4px;

    color: #ea6d00;

    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: .15px;
}


/* Descripción */
body.single-product
#tab-specification
.ultrapc-specification-pdf::after {
    content: "Consulta las especificaciones y características completas de este producto.";

    order: 2;

    display: block;

    margin: 0 0 10px;

    color: #6d6965;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
}


/* Botón */
body.single-product
#tab-specification
.ultrapc-specification-pdf
> a.woocommerce-print-products-pdf-link {
    order: 3;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;

    min-height: 40px;

    margin: 0 !important;
    padding: 8px 16px !important;

    background: #ea6d00 !important;
    border: 1px solid #ea6d00 !important;
    border-radius: 9px !important;

    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    text-decoration: none !important;

    box-shadow: 0 4px 10px rgba(234,109,0,.16);
}


/* Texto botón */
body.single-product
#tab-specification
.ultrapc-specification-pdf
> a.woocommerce-print-products-pdf-link::after {
    content: "DESCARGA AQUÍ EN PDF";

    color: #ffffff !important;
}


/* Icono PDF */
body.single-product
#tab-specification
.ultrapc-specification-pdf
.fa-file-pdf {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 27px;
    height: 27px;

    background:
        linear-gradient(
            145deg,
            #ff3535 0%,
            #e50914 55%,
            #c9000a 100%
        );

    border-radius: 5px;

    color: #ffffff !important;

    font-size: 14px !important;
}


/* Hover */
body.single-product
#tab-specification
.ultrapc-specification-pdf
> a.woocommerce-print-products-pdf-link:hover {
    background: #f58f37 !important;
    border-color: #f58f37 !important;

    transform: translateY(-1px);
}


/* Móvil */
@media (max-width: 767px) {

    body.single-product
    #tab-specification
    .ultrapc-specification-pdf {
        max-width: none !important;
        margin-top: 24px !important;
    }

    body.single-product
    #tab-specification
    .ultrapc-specification-pdf
    > a.woocommerce-print-products-pdf-link {
        width: 100% !important;
    }
}


/* =========================================================
   ULTRAPC - ESTRUCTURA FICHA 2026
   TARJETAS ENTREGA / PAGO / GARANTIA / SATISFACCION
   ========================================================= */

body.single-product .ultrapc-product-layout-structure {
    width: 100%;
}


/* GRID 2 x 2 */
body.single-product .ultrapc-product-benefits-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;

    width: 100% !important;

    margin: 8px 0 12px !important;
    padding: 0 !important;
}


/* TARJETA */
body.single-product .ultrapc-product-benefit-card {
    display: flex !important;
    align-items: flex-start !important;

    gap: 10px !important;

    min-width: 0 !important;
    min-height: 112px !important;

    padding: 13px 14px !important;

    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #fdfcfc 58%,
            #faf9f7 100%
        ) !important;

    border: 1px solid #ede6e0 !important;
    border-radius: 13px !important;

    box-shadow:
        0 2px 5px rgba(44,27,58, .04),
        0 7px 18px rgba(44,27,58, .035) !important;

    box-sizing: border-box !important;

    overflow: hidden !important;
}


/* ICONO PRINCIPAL */
body.single-product .ultrapc-product-benefit-icon {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 34px !important;

    width: 34px !important;
    height: 34px !important;

    margin: 0 !important;

    background: #f9f6f4 !important;

    border: 1px solid #eee8e2 !important;
    border-radius: 10px !important;

    color: #f0770d !important;

    font-size: 18px !important;
    line-height: 1 !important;
}


/* CONTENIDO */
body.single-product .ultrapc-product-benefit-content {
    display: flex !important;
    flex-direction: column !important;

    min-width: 0 !important;
    width: 100% !important;

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


/* TITULO */
body.single-product .ultrapc-product-benefit-title {
    margin: 1px 0 8px !important;
    padding: 0 !important;

    color: #372d3f !important;

    font-size: 17px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;

    letter-spacing: -.15px !important;
}


/* LINEAS ENTREGA / PAGO */
body.single-product .ultrapc-product-benefit-line {
    display: flex !important;
    align-items: center !important;

    gap: 7px !important;

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

    color: #5a554f !important;

    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 400 !important;
}


body.single-product .ultrapc-product-benefit-line:last-child {
    margin-bottom: 0 !important;
}


body.single-product .ultrapc-product-benefit-line i {
    flex: 0 0 15px !important;

    width: 15px !important;

    color: #7e7974 !important;

    font-size: 12px !important;

    text-align: center !important;
}


/* TEXTO GARANTIA / SATISFACCION */
body.single-product .ultrapc-product-benefit-description {
    margin: 0 !important;
    padding: 0 !important;

    color: #4c4553 !important;

    font-size: 13px !important;
    line-height: 1.35 !important;
    font-weight: 400 !important;
}


/* VARIACIONES SUAVES POR TARJETA */
body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-icon {
    color: #f37b11 !important;
}


body.single-product
.ultrapc-product-benefit-card--payment
.ultrapc-product-benefit-icon {
    color: #e06e0b !important;
}


body.single-product
.ultrapc-product-benefit-card--warranty
.ultrapc-product-benefit-icon {
    color: #f37b11 !important;
}


body.single-product
.ultrapc-product-benefit-card--satisfaction
.ultrapc-product-benefit-icon {
    color: #f37b11 !important;
}


/* =========================================================
   TABLET / MOBILE
   ========================================================= */

@media (max-width: 767px) {

    body.single-product .ultrapc-product-benefits-grid {
        gap: 7px !important;
        margin: 7px 0 10px !important;
    }


    body.single-product .ultrapc-product-benefit-card {
        min-height: 104px !important;

        gap: 7px !important;

        padding: 10px !important;

        border-radius: 11px !important;
    }


    body.single-product .ultrapc-product-benefit-icon {
        flex-basis: 28px !important;

        width: 28px !important;
        height: 28px !important;

        font-size: 15px !important;

        border-radius: 8px !important;
    }


    body.single-product .ultrapc-product-benefit-title {
        margin-bottom: 6px !important;

        font-size: 14px !important;
    }


    body.single-product .ultrapc-product-benefit-line,
    body.single-product .ultrapc-product-benefit-description {
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

}


/* MUY ANGOSTO */
@media (max-width: 420px) {

    body.single-product .ultrapc-product-benefits-grid {
        grid-template-columns: 1fr !important;
    }

    body.single-product .ultrapc-product-benefit-card {
        min-height: 0 !important;
    }

}



/* =========================================================
   ULTRAPC - FILA SUPERIOR PRODUCTO 2026
   ITEM / CONDICION / STOCK / MARCA
   ========================================================= */

@media (min-width: 768px) {

    body.single-product .ultrapc-product-top-meta-row {
        display: flex !important;
        align-items: center !important;

        gap: 10px !important;

        width: 100% !important;

        margin: 8px 0 4px !important;
        padding: 0 !important;
    }


    body.single-product .ultrapc-product-top-meta-left {
        display: flex !important;
        align-items: center !important;
        flex-wrap: wrap !important;

        gap: 8px !important;

        flex: 1 1 auto !important;
        min-width: 0 !important;

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


    /*
     * Quitamos márgenes estructurales antiguos
     * SOLO dentro de la nueva fila.
     */
    body.single-product
    .ultrapc-product-top-meta-row
    .sku_en_sumario,

    body.single-product
    .ultrapc-product-top-meta-row
    .contenedor-short-ultrapc,

    body.single-product
    .ultrapc-product-top-meta-row
    .availability,

    body.single-product
    .ultrapc-product-top-meta-row
    .ultrapc-product-reserved-pill {

        width: auto !important;
        max-width: none !important;

        margin: 0 !important;
    }


    /*
     * Evitar saltos artificiales dentro de la fila.
     */
    body.single-product
    .ultrapc-product-top-meta-row
    .contenedor-short-ultrapc {

        display: inline-flex !important;
        align-items: center !important;

        padding: 0 !important;
    }


    body.single-product
    .ultrapc-product-top-meta-row
    .availability {

        display: inline-flex !important;
        align-items: center !important;

        padding: 0 !important;
    }


    /*
     * MARCA
     */
    body.single-product .ultrapc-product-top-meta-brand {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        flex: 0 0 auto !important;

        margin-left: auto !important;
    }


    body.single-product
    .ultrapc-product-top-meta-brand
    .brand {

        display: flex !important;
        align-items: center !important;

        width: auto !important;

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


    body.single-product
    .ultrapc-product-top-meta-brand
    .brand img {

        display: block !important;

        width: auto !important;
        max-width: 125px !important;
        max-height: 38px !important;

        margin: 0 !important;
    }


    /*
     * El bloque antiguo continúa existiendo,
     * pero condición/stock ya están arriba.
     */
    body.single-product
    .ultrapc-product-info-cards
    .ultrapc-product-info-card--status {

        display: none !important;
    }


    /*
     * Al quedar solamente el banner,
     * ocupa todo el ancho.
     */
    body.single-product .ultrapc-product-info-cards {
        display: grid !important;
        grid-template-columns: 1fr !important;

        width: 100% !important;
    }


    body.single-product
    .ultrapc-product-info-card--installments {

        width: 100% !important;
        max-width: none !important;
        grid-column: 1 / -1 !important;
    }

}



/* =========================================================
   ULTRAPC - AJUSTE FINAL FILA SUPERIOR
   ITEM / CONDICION / STOCK / MARCA
   ========================================================= */

@media (min-width: 1200px) {

    body.single-product
    .ultrapc-product-top-meta-row {

        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;

        gap: 7px !important;

        width: 100% !important;

        margin: 8px 0 7px !important;
    }


    body.single-product
    .ultrapc-product-top-meta-left {

        display: flex !important;
        align-items: center !important;
        flex-wrap: nowrap !important;

        gap: 6px !important;

        flex: 1 1 auto !important;
        min-width: 0 !important;
    }


    /* ITEM */
    body.single-product
    .ultrapc-product-top-meta-row
    .sku_wrapper.sku_sumario {

        display: inline-flex !important;
        align-items: center !important;

        width: auto !important;

        margin: 0 !important;
        padding: 7px 14px !important;

        font-size: 16px !important;
        line-height: 1 !important;

        white-space: nowrap !important;

        border-radius: 999px !important;
    }


    body.single-product
    .ultrapc-product-top-meta-row
    .sku_wrapper.sku_sumario
    .sku {

        font-size: inherit !important;
        line-height: inherit !important;
    }


    /* CONDICION */
    body.single-product
    .ultrapc-product-top-meta-row
    .condicion_item_ultrapc {

        display: inline-flex !important;
        align-items: center !important;

        width: auto !important;

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


    body.single-product
    .ultrapc-product-top-meta-row
    .condicion_item_ultrapc
    .condicion {

        display: inline-flex !important;
        align-items: center !important;

        gap: 4px !important;

        width: auto !important;

        margin: 0 !important;
        padding: 6px 11px !important;

        font-size: 16px !important;
        line-height: 1.05 !important;

        white-space: nowrap !important;
    }


    body.single-product
    .ultrapc-product-top-meta-row
    .condicion_item_ultrapc
    .condicion i {

        font-size: 14px !important;
    }


    /* STOCK */
    body.single-product
    .ultrapc-product-top-meta-row
    .availability {

        display: inline-flex !important;
        align-items: center !important;

        flex: 0 0 auto !important;

        width: auto !important;

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


    body.single-product
    .ultrapc-product-top-meta-row
    .availability
    .electro-stock-availability {

        display: inline-flex !important;
        align-items: center !important;

        width: auto !important;

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


    body.single-product
    .ultrapc-product-top-meta-row
    .availability
    p.stock {

        display: inline-flex !important;
        align-items: center !important;

        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 6px 10px !important;

        font-size: 11px !important;
        line-height: 1 !important;
        font-weight: 700 !important;

        white-space: nowrap !important;

        border-radius: 999px !important;
    }


    /* MARCA */
    body.single-product
    .ultrapc-product-top-meta-brand {

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        flex: 0 0 92px !important;

        width: 92px !important;

        margin: 0 0 0 auto !important;
        padding: 0 !important;
    }


    body.single-product
    .ultrapc-product-top-meta-brand
    .brand {

        width: 100% !important;

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


    body.single-product
    .ultrapc-product-top-meta-brand
    .brand a {

        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;

        width: 100% !important;
    }


    body.single-product
    .ultrapc-product-top-meta-brand
    .brand img {

        display: block !important;

        width: auto !important;
        height: auto !important;

        max-width: 92px !important;
        max-height: 30px !important;

        margin: 0 !important;
    }


    /*
     * Seguridad adicional:
     * nunca mostrar la tarjeta antigua de status en desktop.
     */
    html body.single-product
    .summary.entry-summary
    .ultrapc-product-layout-structure
    .ultrapc-product-info-cards
    > .ultrapc-product-info-card--status {

        display: none !important;
    }

}



/* =========================================================
   ULTRAPC - FICHA COMPACTA 2026
   Ajuste de densidad similar a referencia
   ========================================================= */

@media (min-width: 1200px) {

    /* TÍTULO */
    body.single-product
    .summary.entry-summary
    .product_title {

        margin-bottom: 13px !important;

        font-size: 25px !important;
        line-height: 1.28 !important;
    }


    /* FILA ITEM / CONDICION / STOCK / MARCA */
    body.single-product
    .ultrapc-product-top-meta-row {

        margin-top: 0 !important;
        margin-bottom: 9px !important;
    }


    /* SN / ID / DATE */
    body.single-product
    .summary.entry-summary
    .contenedor-short-ultrapc:has(.modo_producto) {

        margin-top: 0 !important;
        margin-bottom: 7px !important;
        padding-top: 3px !important;
        padding-bottom: 5px !important;
    }


    /* DIVISOR */
    body.single-product
    .summary.entry-summary
    .single-product-title-divider {

        margin: 4px 0 9px !important;
    }


    /* BOTONES SUPERIORES */
    body.single-product
    .summary.entry-summary
    .action_buttons,

    body.single-product
    .summary.entry-summary
    .action-buttons {

        margin-bottom: 7px !important;
    }


    /* GRID INFORMATIVO */
    body.single-product
    .ultrapc-product-benefits-grid {

        gap: 8px !important;

        margin-top: 8px !important;
        margin-bottom: 9px !important;
    }


    /* TARJETAS MÁS COMPACTAS */
    body.single-product
    .ultrapc-product-benefit-card {

        min-height: 0 !important;
        height: 118px !important;

        gap: 9px !important;

        padding: 11px 12px !important;

        border-radius: 12px !important;
    }


    body.single-product
    .ultrapc-product-benefit-icon {

        flex: 0 0 34px !important;

        width: 34px !important;
        height: 34px !important;
    }


    body.single-product
    .ultrapc-product-benefit-title {

        margin: 1px 0 6px !important;

        font-size: 16px !important;
        line-height: 1.1 !important;
    }


    body.single-product
    .ultrapc-product-benefit-line,

    body.single-product
    .ultrapc-product-benefit-description {

        font-size: 12px !important;
        line-height: 1.3 !important;
    }


    body.single-product
    .ultrapc-product-benefit-line {

        margin-bottom: 4px !important;
    }


    /* BANNER CUOTAS */
    body.single-product
    .ultrapc-product-info-cards {

        margin-top: 0 !important;
        margin-bottom: 9px !important;
    }


    body.single-product
    .ultrapc-product-info-card--installments {

        min-height: 0 !important;
        height: 128px !important;

        padding: 5px 14px !important;

        overflow: hidden !important;

        border-radius: 12px !important;
    }


    body.single-product
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha {

        display: flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: 100% !important;
        height: 100% !important;

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


    body.single-product
    .ultrapc-product-info-card--installments
    .imagen-flotante-derecha img {

        display: block !important;

        width: auto !important;
        height: auto !important;

        max-width: 96% !important;
        max-height: 116px !important;

        margin: 0 auto !important;

        object-fit: contain !important;
    }


    /* PRECIOS */
    body.single-product
    .precio_ultrapc_sumario {

        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }


    /* VISUALIZACIONES */
    body.single-product
    .post-views {

        margin-top: 4px !important;
        margin-bottom: 10px !important;
    }


    /* BOTONES COMPRA */
    body.single-product
    .ultrapc-contenedor-cotizacion,

    body.single-product
    form.cart {

        margin-top: 0 !important;
    }

}



/* =========================================================
   ULTRAPC - OCULTAR CONTENEDOR INFO VACIO
   Banner de cuotas eliminado
   ========================================================= */

body.single-product
.ultrapc-product-info-cards:empty {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
}



/* =========================================================
   ULTRAPC - METODOS DE ENTREGA
   MANO SOSTENIENDO CAJA - SOLO CSS
   ========================================================= */

body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-icon {
    position: relative !important;
    overflow: visible !important;
}


/* Mano base */
body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-icon > i {
    position: relative !important;
    z-index: 1 !important;

    transform:
        translate(-3px, 4px)
        scale(.92) !important;

    transform-origin: center !important;
}


/* Caja */
body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-icon::after {
    content: "" !important;

    position: absolute !important;
    z-index: 2 !important;

    top: 5px !important;
    left: 15px !important;

    width: 11px !important;
    height: 9px !important;

    background:
        linear-gradient(
            90deg,
            #f38320 0%,
            #f38320 42%,
            #f3efeb 42%,
            #f3efeb 57%,
            #f38320 57%,
            #f38320 100%
        ) !important;

    border: 1px solid #ea720a !important;
    border-radius: 2px !important;

    box-shadow:
        0 1px 1px rgba(67,29,101, .12) !important;

    pointer-events: none !important;
}


/* pequeña línea inferior de la caja */
body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-icon::before {
    content: "" !important;

    position: absolute !important;
    z-index: 3 !important;

    top: 10px !important;
    left: 16px !important;

    width: 9px !important;
    height: 1px !important;

    background: rgba(212,99,0, .35) !important;

    pointer-events: none !important;
}



/* =========================================================
   ULTRAPC - METODOS DE ENTREGA
   CAPSULA DISPONIBLE
   ========================================================= */

body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-line {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}


/* cápsula Disponible */
body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-line::after {
    content: "Disponible" !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    flex: 0 0 auto !important;

    margin-left: 7px !important;
    padding: 3px 9px !important;

    background: #f6f3f0 !important;

    border: 1px solid #cdebd4 !important;
    border-radius: 999px !important;

    color: #39985a !important;

    font-size: 10px !important;
    line-height: 1 !important;
    font-weight: 500 !important;

    white-space: nowrap !important;

    box-shadow: 0 1px 2px rgba(35,120,65, .05) !important;
}



/* =========================================================
   ULTRAPC - ALINEAR DISPONIBLE EN ENTREGA
   ========================================================= */

body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-line > span {
    display: inline-block !important;

    width: 112px !important;
    min-width: 112px !important;

    margin: 0 !important;
}


body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-line::after {
    margin-left: 4px !important;

    min-width: 67px !important;

    text-align: center !important;
}



/* =========================================================
   ULTRAPC - AJUSTE FINO
   DISPONIBLE MAS CERCA DEL TEXTO
   ========================================================= */

body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-line > span {
    width: 98px !important;
    min-width: 98px !important;
}


body.single-product
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-line::after {
    margin-left: 2px !important;
}



/* =========================================================
   ULTRAPC - METODOS DE PAGO
   DISCLAIMER
   ========================================================= */

body.single-product
.ultrapc-product-benefit-card--payment
.ultrapc-product-benefit-content::after {
    content: "*RECUERDE REVISAR LOS TÉRMINOS Y CONDICIONES AL MOMENTO DEL PAGO." !important;

    display: block !important;

    width: 100% !important;

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

    color: #433d48 !important;

    font-size: 8px !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;

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


/* permitir que la tarjeta acomode bien el disclaimer */
body.single-product
.ultrapc-product-benefit-card--payment {
    padding-bottom: 8px !important;
}



/* =========================================================
   ULTRAPC - DISCLAIMER PAGO
   MAS GRANDE Y MAS ABAJO
   ========================================================= */

body.single-product
.ultrapc-product-benefit-card--payment
.ultrapc-product-benefit-content::after {
    margin-top: 9px !important;

    font-size: 9px !important;
    line-height: 1.22 !important;
    font-weight: 700 !important;

    text-align: center !important;
}



/* =========================================================
   ULTRAPC - STOCK FILA SUPERIOR
   > 1 unidad: ocultar Disponible y mostrar Stock: X
   1 unidad: mantener ¡Último en Stock!
   ========================================================= */

@media (min-width: 768px) {

    /*
     * Cuando existe cantidad de stock (>1),
     * ocultamos únicamente la cápsula "Disponible".
     */
    body.single-product
    .ultrapc-product-top-meta-row
    .availability:has(.stock_qty)
    p.stock {
        display: none !important;
    }


    /*
     * STOCK: X como cápsula
     */
    body.single-product
    .ultrapc-product-top-meta-row
    .availability
    .stock_qty {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;
        padding: 6px 11px !important;

        background: #f6f3f0 !important;

        border: 1px solid #fac699 !important;
        border-radius: 999px !important;

        color: #f37c14 !important;

        font-size: 13px !important;
        line-height: 1 !important;
        font-weight: 600 !important;

        white-space: nowrap !important;

        box-shadow:
            0 1px 2px rgba(95,47,5, .04) !important;
    }

}



/* =========================================================
   ULTRAPC - STOCK SUPERIOR FINAL
   >1: ocultar Disponible y mostrar Stock:X como cápsula
   1: mantener ¡Último en Stock!
   ========================================================= */

@media (min-width: 768px) {

    /*
     * Si en la fila existe stock_qty,
     * ocultar la etiqueta verde Disponible.
     */
    body.single-product
    .ultrapc-product-top-meta-left:has(.stock_qty)
    .availability p.stock {
        display: none !important;
    }


    /*
     * Stock: X con tamaño equivalente
     * a ITEM y CONDICIÓN.
     */
    body.single-product
    .ultrapc-product-top-meta-left
    .stock_qty {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex: 0 0 auto !important;

        width: auto !important;
        min-width: 0 !important;
        height: 32px !important;

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

        background: #f6f3f0 !important;

        border: 1px solid #fac597 !important;
        border-radius: 999px !important;

        color: #f37c14 !important;

        font-size: 14px !important;
        line-height: 1 !important;
        font-weight: 600 !important;

        white-space: nowrap !important;

        box-sizing: border-box !important;

        box-shadow:
            0 1px 2px rgba(95,47,5, .05) !important;
    }

}



/* =========================================================
   ULTRAPC - STOCK FILA SUPERIOR DEFINITIVO
   Stock > 1: solo mostrar Stock: X
   ========================================================= */

@media (min-width: 768px) {

    /*
     * Si existe stock_qty, ocultar cualquier texto
     * de disponibilidad adicional: Disponible / En stock.
     */
    body.single-product
    .ultrapc-product-top-meta-row
    .availability:has(.stock_qty)
    .electro-stock-availability > :not(.stock_qty) {
        display: none !important;
    }

    body.single-product
    .ultrapc-product-top-meta-row
    .availability:has(.stock_qty)
    p.stock {
        display: none !important;
    }


    /*
     * STOCK: X con la misma altura visual
     * que ITEM y CONDICIÓN.
     */
    body.single-product
    .ultrapc-product-top-meta-row
    .stock_qty {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        width: auto !important;
        min-width: 0 !important;
        height: 34px !important;

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

        background: #f6f3f1 !important;

        border: 1px solid #fac597 !important;
        border-radius: 999px !important;

        color: #f37c14 !important;

        font-size: 14px !important;
        line-height: 1 !important;
        font-weight: 600 !important;

        white-space: nowrap !important;
        box-sizing: border-box !important;

        box-shadow: 0 1px 2px rgba(95,47,5,.05) !important;
    }

}



/* =========================================================
   ULTRAPC - TOOLTIP INCLUYE REGALO
   MISMO AZUL QUE TOOLTIP DE CONDICION
   ========================================================= */

body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario[data-tooltip]::before {

    background: #ea6d00 !important;
    background-color: #ea6d00 !important;

    color: #ffffff !important;

    box-shadow: 0 6px 16px rgba(234,109,0, .22) !important;
}



/* =========================================================
   ULTRAPC - INCLUYE REGALO
   TEXTO E ICONO AZUL CORPORATIVO
   ========================================================= */

body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario {
    color: #ea6d00 !important;
}

body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario i {
    color: #ea6d00 !important;
}



/* =========================================================
   ULTRAPC - ALTURA METODOS ENTREGA / PAGO
   Evitar corte del disclaimer
   ========================================================= */

@media (min-width: 1200px) {

    body.single-product
    .ultrapc-product-benefit-card--delivery,
    body.single-product
    .ultrapc-product-benefit-card--payment {
        height: auto !important;
        min-height: 142px !important;
        padding-bottom: 12px !important;
    }

    body.single-product
    .ultrapc-product-benefit-card--payment
    .ultrapc-product-benefit-content {
        overflow: visible !important;
    }

}



/* =========================================================
   ULTRAPC - BENEFICIOS
   CENTRAR CONTENIDO Y APROVECHAR ESPACIO
   ========================================================= */

@media (min-width: 1200px) {

    body.single-product
    .ultrapc-product-benefit-card {
        align-items: center !important;
    }

    body.single-product
    .ultrapc-product-benefit-card
    .ultrapc-product-benefit-icon {
        flex: 0 0 auto !important;
        align-self: center !important;
    }

    body.single-product
    .ultrapc-product-benefit-card
    .ultrapc-product-benefit-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;

        flex: 1 1 auto !important;
        align-self: stretch !important;

        width: 100% !important;
        min-width: 0 !important;

        margin: 0 !important;
    }

    body.single-product
    .ultrapc-product-benefit-card
    .ultrapc-product-benefit-title {
        margin-top: 0 !important;
    }

    /* Garantía y satisfacción: especialmente centradas */
    body.single-product
    .ultrapc-product-benefit-card--warranty
    .ultrapc-product-benefit-content,

    body.single-product
    .ultrapc-product-benefit-card--satisfaction
    .ultrapc-product-benefit-content {
        justify-content: center !important;
    }

}



/* =========================================================
   ULTRAPC - TARJETAS BENEFICIOS
   ICONO Y TITULO SIEMPRE ARRIBA
   ========================================================= */

@media (min-width: 1200px) {

    body.single-product
    .ultrapc-product-benefit-card {
        align-items: flex-start !important;
    }

    body.single-product
    .ultrapc-product-benefit-card
    .ultrapc-product-benefit-icon {
        align-self: flex-start !important;
        margin-top: 0 !important;
    }

    body.single-product
    .ultrapc-product-benefit-card
    .ultrapc-product-benefit-content {
        justify-content: flex-start !important;
        align-self: stretch !important;
        height: 100% !important;
    }

    body.single-product
    .ultrapc-product-benefit-card
    .ultrapc-product-benefit-title {
        margin-top: 0 !important;
        margin-bottom: 7px !important;
    }

}



/* =========================================================
   ULTRAPC - FILA SUPERIOR
   CONDICION Y STOCK MISMO TAMAÑO QUE ITEM
   ========================================================= */

@media (min-width: 768px) {

    /* CONDICIÓN: NUEVO / OPEN BOX / SEMINUEVO / USADO... */
    body.single-product
    .ultrapc-product-top-meta-row
    .condicion_item_ultrapc
    .condicion {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        height: 34px !important;
        min-height: 34px !important;

        padding: 0 14px !important;

        font-size: 14px !important;
        line-height: 1 !important;
        font-weight: 800 !important;

        box-sizing: border-box !important;
        white-space: nowrap !important;
    }


    /* Ícono INFO dentro de condición */
    body.single-product
    .ultrapc-product-top-meta-row
    .condicion_item_ultrapc
    .condicion i {
        font-size: 13px !important;
        margin-left: 6px !important;
    }


    /* ÚLTIMO EN STOCK */
    body.single-product
    .ultrapc-product-top-meta-row
    .availability
    p.stock.only_s_left_in_stock_color {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        height: 34px !important;
        min-height: 34px !important;

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

        font-size: 14px !important;
        line-height: 1 !important;
        font-weight: 800 !important;

        box-sizing: border-box !important;
        white-space: nowrap !important;
    }


    /* STOCK NORMAL: Stock: X */
    body.single-product
    .ultrapc-product-top-meta-row
    .availability
    #stock_qty.stock_qty {
        height: 34px !important;
        min-height: 34px !important;

        padding-left: 14px !important;
        padding-right: 14px !important;

        font-size: 14px !important;
        font-weight: 800 !important;
    }

}



/* =========================================================
   ULTRAPC - ALINEACION CAPSULA STOCK FILA SUPERIOR
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .ultrapc-product-top-meta-row
    .availability {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;

        height: 34px !important;
        min-height: 34px !important;

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

        align-self: center !important;
    }

    body.single-product
    .ultrapc-product-top-meta-row
    .availability
    p.stock.only_s_left_in_stock_color {
        margin: 0 !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        vertical-align: middle !important;
    }

}



/* =========================================================
   ULTRAPC - AJUSTE FINO ALINEACION STOCK
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .ultrapc-product-top-meta-row
    .availability {
        position: relative !important;
        top: -1px !important;
    }

}



/* =========================================================
   ULTRAPC - AJUSTE FINO STOCK -3PX
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .ultrapc-product-top-meta-row
    .availability {
        top: -3px !important;
    }

}



/* =========================================================
   ULTRAPC - INCLUYE REGALO
   MEJORA VISUAL DEL ICONO
   ========================================================= */

body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;

    color: #ea6d00 !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 24px !important;
    height: 24px !important;

    margin: 0 !important;

    background: #f7f4f2 !important;
    border: 1px solid #e8e1da !important;
    border-radius: 8px !important;

    color: #ea6d00 !important;
    font-size: 14px !important;
    line-height: 1 !important;

    box-shadow: 0 2px 6px rgba(234,109,0, .10) !important;
}



/* =========================================================
   ULTRAPC - INCLUYE REGALO
   REEMPLAZAR ICONO POR UNO MAS BONITO
   ========================================================= */

body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}


/* Caja visual del icono */
body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario i {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 26px !important;
    height: 26px !important;

    margin: 0 !important;

    background: linear-gradient(180deg, #f4892d 0%, #ea6d00 100%) !important;
    border: 1px solid #f4831f !important;
    border-radius: 8px !important;

    box-shadow: 0 3px 8px rgba(234,109,0, .18) !important;

    color: #ffffff !important;
    font-size: 0 !important;
    line-height: 1 !important;
}


/* Reemplazo del glyph por uno tipo "gifts" */
body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario i::before {
    content: "\f79c" !important;
    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;

    font-size: 14px !important;
    line-height: 1 !important;

    color: #ffffff !important;
}



/* =========================================================
   ULTRAPC - ICONO REGALO PREMIUM
   ========================================================= */

body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario i {
    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 28px !important;
    height: 28px !important;

    margin: 0 !important;

    background:
        linear-gradient(145deg, #f59745 0%, #ea6d00 100%) !important;

    border: 1px solid rgba(234,109,0, .28) !important;
    border-radius: 9px !important;

    color: #ffffff !important;

    box-shadow:
        0 3px 8px rgba(234,109,0, .20),
        inset 0 1px 0 rgba(255,255,255,.25) !important;

    font-size: 0 !important;

    overflow: hidden !important;
}


/* Caja de regalo clásica con lazo */
body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario i::before {
    content: "\f06b" !important;

    font-family: "Font Awesome 5 Free" !important;
    font-style: normal !important;
    font-weight: 900 !important;

    font-size: 15px !important;
    line-height: 1 !important;

    color: #ffffff !important;

    position: relative !important;
    z-index: 2 !important;
}


/* pequeño brillo superior */
body.single-product
.summary.entry-summary
.contenedor-accesorios_sumario
.accesorios_sumario i::after {
    content: "" !important;

    position: absolute !important;

    width: 11px !important;
    height: 5px !important;

    top: 2px !important;
    left: 3px !important;

    background: rgba(255,255,255,.22) !important;
    border-radius: 50% !important;

    transform: rotate(-25deg) !important;
}



/* =========================================================
   ULTRAPC - CONSULTE STOCK
   MOSTRAR COMPARTIR / FAVORITOS / COMPARAR
   ========================================================= */

@media (min-width: 768px) {

    /*
     * Solo fichas que realmente contienen
     * el botón Consulte Stock.
     */
    body.single-product
    .summary.entry-summary:has(.boton_consultar_stock)
    > .action_buttons,

    body.single-product
    .summary.entry-summary:has(.boton_consultar_stock)
    > .action-buttons {
        display: inline-flex !important;
        align-items: center !important;
        visibility: visible !important;
        opacity: 1 !important;

        width: auto !important;
        height: auto !important;

        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }


    /* Compartir */
    body.single-product
    .summary.entry-summary:has(.boton_consultar_stock)
    .ultrapc-product-share {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }


    /* Favoritos */
    body.single-product
    .summary.entry-summary:has(.boton_consultar_stock)
    .yith-wcwl-add-to-wishlist,

    body.single-product
    .summary.entry-summary:has(.boton_consultar_stock)
    .yith-wcwl-add-button,

    body.single-product
    .summary.entry-summary:has(.boton_consultar_stock)
    .yith-wcwl-add-button > a {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }


    /* Comparar */
    body.single-product
    .summary.entry-summary:has(.boton_consultar_stock)
    .add-to-compare-link {
        display: inline-flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

}



/* =========================================================
   ULTRAPC - PLACAS MADRE REACONDICIONADAS
   COMPARTIR / FAVORITOS / COMPARAR EN UNA SOLA FILA
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action_buttons,

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action-buttons {
        display: inline-flex !important;
        align-items: center !important;
        vertical-align: middle !important;

        width: auto !important;
        max-width: none !important;

        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }


    /* Compartir separado suavemente del grupo */
    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action_buttons {
        margin-right: 8px !important;
    }


    /* Favoritos + Comparar nunca deben saltar de línea */
    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        gap: 8px !important;

        min-width: 0 !important;
    }


    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-add-to-wishlist,

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-add-button,

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action-buttons
    .add-to-compare-link {
        flex: 0 0 auto !important;

        width: auto !important;
        max-width: none !important;

        float: none !important;
        clear: none !important;

        position: static !important;

        margin: 0 !important;
    }

}



/* =========================================================
   ULTRAPC - ACCIONES PRODUCTO
   FIJAR COMPARTIR / FAVORITOS / COMPARAR DESPUES DE YITH
   ========================================================= */

@media (min-width: 768px) {

    /* Los dos bloques principales permanecen en línea */
    body.single-product
    .summary.entry-summary
    > .action_buttons,

    body.single-product
    .summary.entry-summary
    > .action-buttons {
        display: inline-flex !important;
        align-items: center !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        float: none !important;
        clear: none !important;

        vertical-align: top !important;

        margin-top: 0 !important;
        margin-bottom: 10px !important;

        box-sizing: border-box !important;
    }


    body.single-product
    .summary.entry-summary
    > .action_buttons {
        margin-right: 8px !important;
    }


    /*
     * Grupo Favoritos + Comparar.
     * Importante: YITH reemplaza Favoritos vía AJAX.
     */
    body.single-product
    .summary.entry-summary
    > .action-buttons {
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        white-space: nowrap !important;
    }


    /* Fragmento YITH después de cargar */
    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-add-to-wishlist,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-add-button,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistaddedbrowse,

    body.single-product
    .summary.entry-summary
    > .action-buttons
    .yith-wcwl-wishlistexistsbrowse {
        display: inline-flex !important;
        flex: 0 0 auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

        float: none !important;
        clear: none !important;

        position: static !important;

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


    /* Comparar nunca ocupa una línea completa */
    body.single-product
    .summary.entry-summary
    > .action-buttons
    > .add-to-compare-link {
        display: inline-flex !important;
        flex: 0 0 auto !important;

        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;

        float: none !important;
        clear: none !important;

        position: static !important;

        margin: 0 !important;
    }

}



/* =========================================================
   ULTRAPC - PLACAS MADRE REACONDICIONADAS
   ACCIONES EN UNA SOLA FILA - SOLUCION FINAL
   ========================================================= */

@media (min-width: 768px) {

    /*
     * Eliminamos visualmente los dos wrappers:
     *
     * action_buttons = Compartir
     * action-buttons = Favoritos + Comparar
     *
     * Los botones pasan a participar directamente
     * en la misma línea del summary.
     */
    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action_buttons,

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action-buttons {
        display: contents !important;
    }


    /* COMPARTIR */
    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action_buttons
    > .ultrapc-product-share {
        display: inline-flex !important;
        vertical-align: top !important;

        margin: 0 8px 10px 0 !important;
    }


    /* FAVORITOS - incluso después del AJAX de YITH */
    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action-buttons
    > .yith-wcwl-add-to-wishlist {
        display: inline-flex !important;
        vertical-align: top !important;

        width: auto !important;
        min-width: 0 !important;
        height: auto !important;

        float: none !important;
        clear: none !important;

        margin: 0 8px 10px 0 !important;
        padding: 0 !important;
    }


    /* COMPARAR */
    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .action-buttons
    > .add-to-compare-link {
        display: inline-flex !important;
        vertical-align: top !important;

        width: auto !important;
        min-width: max-content !important;
        max-width: none !important;

        float: none !important;
        clear: none !important;

        margin: 0 0 10px 0 !important;

        position: static !important;
    }

}



/* =========================================================
   ULTRAPC - FILA REAL DE ACCIONES
   PLACAS MADRE REACONDICIONADAS
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .summary.entry-summary
    > .ultrapc-product-actions-row {

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        align-items: center !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        width: 100% !important;

        margin: 0 0 10px !important;
        padding: 0 !important;
    }


    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-row
    > .action_buttons,

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-row
    > .action-buttons {

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        align-items: center !important;

        flex: 0 0 auto !important;

        width: auto !important;
        min-width: 0 !important;
        max-width: none !important;

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

        float: none !important;
        clear: none !important;
    }


    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-row
    > .action-buttons {
        gap: 8px !important;
    }


    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-row
    .yith-wcwl-add-to-wishlist,

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-row
    .yith-wcwl-add-button,

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-row
    .add-to-compare-link {

        flex: 0 0 auto !important;

        width: auto !important;
        max-width: none !important;

        margin: 0 !important;

        float: none !important;
        clear: none !important;
    }

}



/* =========================================================
   ULTRAPC - PLACAS MADRE REACONDICIONADAS
   FILA FINAL COMPARTIR / FAVORITOS / COMPARAR
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-final {

        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;

        align-items: center !important;
        justify-content: flex-start !important;

        gap: 8px !important;

        width: 100% !important;

        margin: 0 0 12px !important;
        padding: 0 !important;
    }


    /* =====================================================
       COMPARTIR
       ===================================================== */

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-final
    > .ultrapc-product-share {

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex: 0 0 auto !important;

        min-height: 38px !important;

        margin: 0 !important;
        padding: 8px 14px !important;

        background: #ffffff !important;
        color: #111111 !important;

        border: 1px solid #d8d6d5 !important;
        border-radius: 10px !important;

        box-shadow: 0 2px 5px rgba(0,0,0,.07) !important;

        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
    }


    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-final
    > .ultrapc-product-share i {

        margin: 0 7px 0 0 !important;

        font-size: 15px !important;

        color: #111111 !important;
    }


    /* =====================================================
       FAVORITOS
       ===================================================== */

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-final
    > .yith-wcwl-add-to-wishlist {

        display: inline-flex !important;
        align-items: center !important;

        flex: 0 0 auto !important;

        width: auto !important;
        height: auto !important;

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

        float: none !important;
        clear: none !important;
    }


    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-final
    .yith-wcwl-add-button {

        display: inline-flex !important;

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


    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-final
    .yith-wcwl-add-to-wishlist a {

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        min-height: 38px !important;

        margin: 0 !important;
        padding: 8px 14px !important;

        background: #fbfaf9 !important;
        color: #d62828 !important;

        border: 1px solid #f3c5c5 !important;
        border-radius: 10px !important;

        box-shadow: 0 1px 3px rgba(214,40,40,.06) !important;

        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1 !important;

        text-decoration: none !important;
        white-space: nowrap !important;
    }


    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-final
    .yith-wcwl-add-to-wishlist svg {

        width: 15px !important;
        height: 15px !important;

        margin: 0 7px 0 0 !important;

        color: #d62828 !important;

        fill: transparent !important;
        stroke: #d62828 !important;
        stroke-width: 1.8 !important;
    }


    /* =====================================================
       COMPARAR
       ===================================================== */

    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-final
    > .add-to-compare-link {

        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        flex: 0 0 auto !important;

        width: auto !important;
        min-width: max-content !important;
        min-height: 38px !important;

        margin: 0 !important;
        padding: 8px 14px !important;

        float: none !important;
        clear: none !important;

        position: static !important;

        background: #fbfaf8 !important;
        color: #ea6d00 !important;

        border: 1px solid #e8e1da !important;
        border-radius: 10px !important;

        box-shadow: 0 1px 3px rgba(234,109,0,.08) !important;

        font-size: 14px !important;
        font-weight: 700 !important;
        line-height: 1 !important;

        text-decoration: none !important;
        white-space: nowrap !important;
    }


    body.single-product
    .product.product_cat-placas-madres.product_tag-reacondicionado
    .ultrapc-product-actions-final
    > .add-to-compare-link::before {

        content: "\f362" !important;

        margin-right: 7px !important;

        font-family: "Font Awesome 5 Free" !important;
        font-size: 14px !important;
        font-weight: 900 !important;

        color: inherit !important;
    }

}



/* =========================================================
   ULTRAPC - METODOS DE ENTREGA
   DISTRIBUCION TIPO REFERENCIA
   ========================================================= */

@media (min-width: 1200px) {

    body.single-product
    .ultrapc-product-benefit-card--delivery {
        align-items: flex-start !important;
        padding: 12px 14px !important;
    }

    body.single-product
    .ultrapc-product-benefit-card--delivery
    .ultrapc-product-benefit-icon {
        flex: 0 0 34px !important;
        margin-top: 2px !important;
    }

    body.single-product
    .ultrapc-product-benefit-card--delivery
    .ultrapc-product-benefit-content {
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;

        width: 100% !important;
        min-width: 0 !important;

        padding-top: 0 !important;
    }

    body.single-product
    .ultrapc-product-benefit-card--delivery
    .ultrapc-product-benefit-title {
        margin: 0 0 6px !important;
        line-height: 1.1 !important;
    }

    /* Cada fila: iconito | texto | Disponible */
    body.single-product
    .ultrapc-product-benefit-card--delivery
    .ultrapc-product-benefit-line {
        display: grid !important;
        grid-template-columns: 16px 102px max-content !important;
        align-items: center !important;
        column-gap: 8px !important;

        width: 100% !important;

        margin: 0 0 6px !important;
        padding: 0 !important;
    }

    body.single-product
    .ultrapc-product-benefit-card--delivery
    .ultrapc-product-benefit-line:last-child {
        margin-bottom: 0 !important;
    }

    body.single-product
    .ultrapc-product-benefit-card--delivery
    .ultrapc-product-benefit-line i {
        width: 16px !important;
        min-width: 16px !important;

        margin: 0 !important;

        text-align: center !important;
    }

    body.single-product
    .ultrapc-product-benefit-card--delivery
    .ultrapc-product-benefit-line > span {
        display: block !important;

        width: auto !important;
        min-width: 0 !important;

        margin: 0 !important;
    }

    body.single-product
    .ultrapc-product-benefit-card--delivery
    .ultrapc-product-benefit-line::after {
        margin-left: 0 !important;
        justify-self: start !important;
    }

}



/* =========================================================
   ULTRAPC - CARGADORES
   VIDEO CENTRADO EN VISTA CLASICA
   ========================================================= */

body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description iframe,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description video,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .wp-block-embed,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .wp-block-embed__wrapper,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .fb-video,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .fb-post,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .fb_iframe_widget,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description blockquote {
    float: none !important;
    clear: both !important;
    display: block !important;

    margin-left: auto !important;
    margin-right: auto !important;
}


/* Contenedor del embed centrado */
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .wp-block-embed,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .fb-video,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .fb-post,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description blockquote {
    width: 100% !important;
    max-width: 420px !important;

    margin-top: 18px !important;
    margin-bottom: 18px !important;
}


/* Iframe / video con ancho clásico y centrado */
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description iframe,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description video {
    display: block !important;

    width: 100% !important;
    max-width: 420px !important;

    margin: 0 auto !important;
}




/* En móvil un poco más angosto y limpio */
@media (max-width: 767px) {

    body.single-product
    .product[class*="product_cat-carg"]
    .woocommerce-Tabs-panel--description .wp-block-embed,
    body.single-product
    .product[class*="product_cat-carg"]
    .woocommerce-Tabs-panel--description .fb-video,
    body.single-product
    .product[class*="product_cat-carg"]
    .woocommerce-Tabs-panel--description .fb-post,
    body.single-product
    .product[class*="product_cat-carg"]
    .woocommerce-Tabs-panel--description blockquote,
    body.single-product
    .product[class*="product_cat-carg"]
    .woocommerce-Tabs-panel--description iframe,
    body.single-product
    .product[class*="product_cat-carg"]
    .woocommerce-Tabs-panel--description video {
        max-width: 340px !important;
    }

}



/* =========================================================
   ULTRAPC - CARGADORES
   YOUTUBE EN FORMATO CLASICO HORIZONTAL 16:9
   ========================================================= */

body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description iframe[src*="youtube.com"],

body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description iframe[src*="youtu.be"],

body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description iframe[src*="youtube-nocookie.com"] {
    display: block !important;

    width: 100% !important;
    max-width: 560px !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;

    margin: 18px auto !important;

    float: none !important;
    clear: both !important;
}


/* Contenedores típicos de embed de WordPress */
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .wp-block-embed,

body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .wp-block-embed__wrapper,

body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .embed-youtube,

body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .video-container {
    display: block !important;

    width: 100% !important;
    max-width: 560px !important;

    margin: 18px auto !important;

    float: none !important;
    clear: both !important;
}


/* Evitar layout raro lado a lado con el texto */
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description p,
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description div {
    float: none !important;
}


/* Centrar bloques embebidos */
body.single-product
.product[class*="product_cat-carg"]
.woocommerce-Tabs-panel--description .wp-block-embed {
    text-align: center !important;
}



/* =========================================================
   ULTRAPC - GUIA PARA ELEGIR CARGADOR
   ========================================================= */

body.single-product .ultrapc-charger-guide {
    display: grid !important;
    grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr) !important;
    align-items: center !important;
    gap: 26px !important;

    width: 100% !important;

    margin: 22px 0 26px !important;
    padding: 22px !important;

    background:
        linear-gradient(
            135deg,
            #fcfcfb 0%,
            #fbf9f7 100%
        ) !important;

    border: 1px solid #ece6e0 !important;
    border-radius: 16px !important;

    box-shadow:
        0 4px 16px rgba(64,45,80, .06) !important;

    overflow: hidden !important;
}


/* =========================================================
   COLUMNA INFORMACION
   ========================================================= */

body.single-product
.ultrapc-charger-guide__info {
    min-width: 0 !important;
}


body.single-product
.ultrapc-charger-guide__eyebrow {
    display: flex !important;
    align-items: center !important;
    gap: 9px !important;

    margin: 0 0 10px !important;

    color: #ea6d00 !important;

    font-size: 11px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .8px !important;
}


body.single-product
.ultrapc-charger-guide__icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 31px !important;
    height: 31px !important;

    flex: 0 0 31px !important;

    background: #f7f4f1 !important;

    border: 1px solid #e8e0d9 !important;
    border-radius: 9px !important;

    color: #ff8012 !important;

    font-size: 14px !important;
}


body.single-product
.ultrapc-charger-guide__title {
    margin: 0 0 7px !important;

    color: #392e43 !important;

    font-family: Kanit, sans-serif !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}


body.single-product
.ultrapc-charger-guide__intro {
    margin: 0 0 15px !important;

    color: #7e7871 !important;

    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.45 !important;
}


/* =========================================================
   CHECKS
   ========================================================= */

body.single-product
.ultrapc-charger-guide__checks {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
}


body.single-product
.ultrapc-charger-guide__check {
    display: grid !important;
    grid-template-columns: 25px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 9px !important;

    margin: 0 !important;
    padding: 8px 10px !important;

    background: rgba(255,255,255,.72) !important;

    border: 1px solid #f0ebe6 !important;
    border-radius: 9px !important;
}


body.single-product
.ultrapc-charger-guide__check-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: 23px !important;
    height: 23px !important;

    background: #f3f0ec !important;

    border: 1px solid #c9ead8 !important;
    border-radius: 50% !important;

    color: #198754 !important;

    font-size: 12px !important;
    font-weight: 900 !important;
}


body.single-product
.ultrapc-charger-guide__check strong,
body.single-product
.ultrapc-charger-guide__check span {
    display: block !important;
}


body.single-product
.ultrapc-charger-guide__check strong {
    margin: 0 0 1px !important;

    color: #453b4d !important;

    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
}


body.single-product
.ultrapc-charger-guide__check div > span {
    color: #8a847d !important;

    font-size: 11.5px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}


/* =========================================================
   VIDEO YOUTUBE
   ========================================================= */

body.single-product
.ultrapc-charger-guide__media {
    width: 100% !important;
    min-width: 0 !important;

    margin: 0 !important;

    text-align: center !important;
}


body.single-product
.ultrapc-charger-guide__video {
    position: relative !important;

    width: 100% !important;
    aspect-ratio: 16 / 9 !important;

    margin: 0 !important;

    background: #1d1524 !important;

    border-radius: 13px !important;

    box-shadow:
        0 7px 20px rgba(29,21,36,.15) !important;

    overflow: hidden !important;
}


body.single-product
.ultrapc-charger-guide
.ultrapc-charger-guide__video iframe {
    position: absolute !important;
    inset: 0 !important;

    display: block !important;

    width: 100% !important;
    max-width: none !important;
    height: 100% !important;

    aspect-ratio: auto !important;

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

    border: 0 !important;
    border-radius: 0 !important;

    float: none !important;
}


body.single-product
.ultrapc-charger-guide__caption {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;

    margin-top: 8px !important;

    color: #8a847d !important;

    font-size: 11px !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
}


body.single-product
.ultrapc-charger-guide__caption .fa-youtube {
    color: #ff0033 !important;
    font-size: 13px !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991px) {

    body.single-product
    .ultrapc-charger-guide {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .ultrapc-charger-guide {
        margin: 16px 0 20px !important;
        padding: 15px !important;

        border-radius: 13px !important;
    }


    body.single-product
    .ultrapc-charger-guide__title {
        font-size: 18px !important;
    }


    body.single-product
    .ultrapc-charger-guide__intro {
        font-size: 13px !important;
    }


    body.single-product
    .ultrapc-charger-guide__check {
        padding: 8px !important;
    }


    body.single-product
    .ultrapc-charger-guide__video {
        border-radius: 10px !important;
    }

}



/* =========================================================
   ULTRAPC - FIX GUIA CARGADOR
   OCUPAR TODO EL ANCHO DE DESCRIPCION
   ========================================================= */


/* La guía es hija del grid .descripcion_ultrapc.
   Debe ocupar las DOS columnas del contenedor padre. */
body.single-product
#tab-description
.descripcion_ultrapc
> .ultrapc-charger-guide {
    grid-column: 1 / -1 !important;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    box-sizing: border-box !important;

    margin-left: 0 !important;
    margin-right: 0 !important;
}


/* Escritorio: dos columnas internas flexibles.
   Quitamos el mínimo rígido de 360px. */
@media (min-width: 992px) {

    body.single-product
    #tab-description
    .descripcion_ultrapc
    > .ultrapc-charger-guide {

        grid-template-columns:
            minmax(0, 0.95fr)
            minmax(0, 1.05fr) !important;

        gap: 28px !important;
    }

}


/* Contenido interno siempre puede reducirse correctamente */
body.single-product
.ultrapc-charger-guide__info,
body.single-product
.ultrapc-charger-guide__media,
body.single-product
.ultrapc-charger-guide__checks,
body.single-product
.ultrapc-charger-guide__check {
    min-width: 0 !important;
    max-width: 100% !important;
}


/* Video ocupa completamente su columna */
body.single-product
.ultrapc-charger-guide__video {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    aspect-ratio: 16 / 9 !important;
}


/* Tablet: una sola columna */
@media (max-width: 991px) {

    body.single-product
    #tab-description
    .descripcion_ultrapc
    > .ultrapc-charger-guide {

        grid-column: 1 / -1 !important;
        grid-template-columns: 1fr !important;

        width: 100% !important;
        gap: 18px !important;
    }

}


/* Móvil */
@media (max-width: 767px) {

    body.single-product
    #tab-description
    .descripcion_ultrapc
    > .ultrapc-charger-guide {

        grid-column: 1 !important;

        width: 100% !important;
        max-width: 100% !important;

        padding: 15px !important;
    }

}



/* =========================================================
   OFERTA DIECIOCHERA - FIESTAS PATRIAS CHILE
   Ficha de producto
   ========================================================= */

body.single-product .summary .contenedor-short-ultrapc {
    position: relative;
}

body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera {
    position: relative !important;
    display: inline-block !important;
    vertical-align: middle;
    margin: 2px 0 8px !important;
    padding: 16px 72px 24px 78px !important;

    background:
        linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(255,255,255,0) 28%) ,
        linear-gradient(180deg, #f37d16 0%, #e86c00 58%, #4d2273 100%) !important;

    color: #ffffff !important;
    font-size: 20px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
    letter-spacing: -.2px;
    white-space: nowrap;
    text-shadow: 0 1px 1px rgba(0,0,0,.12);

    border-radius: 8px 18px 34px 8px;
    border: 1px solid rgba(255,255,255,.16);

    box-shadow:
        0 10px 18px rgba(62,27,92, .12),
        0 4px 8px rgba(62,27,92, .10),
        inset 0 1px 0 rgba(255,255,255,.20);

    overflow: visible;

    left: auto !important;
    top: auto !important;
}

/* estrella */
body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera::before {
    content: "★";
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-56%);
    color: #ffffff;
    font-size: 30px;
    line-height: 1;
    text-shadow: 0 2px 3px rgba(0,0,0,.10);
    z-index: 3;
}

/* banderines / detalle patrio */
body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera::after {
    content: "";
    position: absolute;
    top: 8px;
    right: -6px;
    width: 140px;
    height: 42px;
    pointer-events: none;
    z-index: 4;

    background:
        /* cuerda */
        linear-gradient(35deg, transparent 0 35%, #f9f7f5 35% 37%, transparent 37% 100%),

        /* estrella pequeña */
        radial-gradient(circle at 36px 8px, #ffffff 0 2px, transparent 3px),

        /* banderín azul */
        linear-gradient(135deg, transparent 0 45%, #f37b12 46% 100%),
        linear-gradient(315deg, transparent 0 45%, #f37b12 46% 100%),

        /* banderín blanco */
        linear-gradient(135deg, transparent 0 45%, #ffffff 46% 100%),
        linear-gradient(315deg, transparent 0 45%, #ffffff 46% 100%),

        /* banderín rojo */
        linear-gradient(135deg, transparent 0 45%, #ef1c2d 46% 100%),
        linear-gradient(315deg, transparent 0 45%, #ef1c2d 46% 100%);

    background-size:
        86px 20px,
        10px 10px,
        22px 24px,
        22px 24px,
        22px 26px,
        22px 26px,
        22px 24px,
        22px 24px;

    background-position:
        18px 0,
        30px 2px,
        56px 10px,
        56px 10px,
        78px 12px,
        78px 12px,
        100px 14px,
        100px 14px;

    background-repeat: no-repeat;
}

/* zigzag izquierdo */
body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera {
    background-image:
        linear-gradient(135deg, rgba(255,255,255,.16) 0%, rgba(255,255,255,0) 28%),
        linear-gradient(180deg, #f37d16 0%, #e86c00 58%, #4d2273 100%),
        repeating-linear-gradient(
            135deg,
            rgba(255,255,255,.22) 0 4px,
            transparent 4px 8px
        );
    background-size:
        100% 100%,
        100% 100%,
        12px 24px;
    background-position:
        0 0,
        0 0,
        8px 7px;
    background-repeat:
        no-repeat,
        no-repeat,
        no-repeat;
}

/* franja inferior blanca y roja, tipo cinta */
body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera {
    box-shadow:
        0 10px 18px rgba(62,27,92, .12),
        0 4px 8px rgba(62,27,92, .10),
        inset 0 1px 0 rgba(255,255,255,.20),
        inset 0 -10px 0 #ffffff,
        inset 0 -18px 0 #ed1c24;
}

body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera span {
    color: inherit;
}

/* curvatura visual del borde inferior */
body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera {
    clip-path: polygon(
        0 0,
        95% 0,
        100% 8%,
        100% 72%,
        98% 88%,
        95% 96%,
        86% 100%,
        0 100%
    );
}

@media (max-width: 767px) {

    body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera {
        font-size: 16px !important;
        padding: 13px 58px 20px 58px !important;
        border-radius: 7px 14px 26px 7px;
    }

    body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera::before {
        left: 18px;
        font-size: 24px;
    }

    body.single-product .summary .contenedor-short-ultrapc .oferta-dieciochera::after {
        right: -8px;
        top: 7px;
        width: 110px;
        height: 34px;
        background-size:
            70px 16px,
            9px 9px,
            18px 20px,
            18px 20px,
            18px 20px,
            18px 20px,
            18px 20px,
            18px 20px;
        background-position:
            14px 0,
            24px 2px,
            44px 8px,
            44px 8px,
            62px 10px,
            62px 10px,
            80px 12px,
            80px 12px;
    }
}




/* =========================================================
   OFERTA DIECIOCHERA - FIESTAS PATRIAS V2
   Diseño inspirado en cinta chilena
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;

    min-height: 56px;

    /*
     * Espacio:
     * izquierda = estrella
     * derecha   = banderines
     * abajo     = cinta blanca/roja
     */
    padding: 0 82px 10px 56px !important;
    margin: 2px 0 8px !important;

    color: #ffffff !important;

    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: -.2px !important;
    white-space: nowrap !important;

    /*
     * CAPAS:
     * 1. zigzag decorativo izquierdo
     * 2. cinta blanca/roja inferior
     * 3. azul principal
     */
    background:

        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 100' preserveAspectRatio='none'%3E%3Cpolyline points='8,0 3,8 8,16 3,24 8,32 3,40 8,48 3,56 8,64 3,72 8,80 3,88 8,96' fill='none' stroke='%23ffffff' stroke-opacity='.28' stroke-width='2'/%3E%3C/svg%3E")
        left 5px top / 12px 100%
        no-repeat,

        linear-gradient(
            to bottom,
            transparent 0,
            transparent calc(100% - 10px),

            #ffffff calc(100% - 10px),
            #ffffff calc(100% - 6px),

            #e31b23 calc(100% - 6px),
            #e31b23 100%
        )
        center / 100% 100%
        no-repeat,

        linear-gradient(
            180deg,
            #f48728 0%,
            #f37609 40%,
            #df6800 72%,
            #4b2170 100%
        )
        center / 100% 100%
        no-repeat !important;


    border:
        1px solid rgba(75,33,112, .28) !important;

    border-radius:
        8px 15px 27px 8px !important;

    box-shadow:
        0 5px 10px rgba(75,33,112, .17),
        0 1px 2px rgba(52,22,78, .12),
        inset 0 1px 0 rgba(255,255,255,.28) !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.12) !important;

    clip-path: none !important;

    overflow: visible !important;

    left: auto !important;
    right: auto !important;
    top: auto !important;
}


/* =========================================================
   ESTRELLA GRANDE IZQUIERDA
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::before {

    content: "★" !important;

    position: absolute !important;

    left: 20px !important;
    top: 50% !important;

    transform:
        translateY(-62%) !important;

    width: auto !important;
    height: auto !important;

    display: block !important;

    color: #ffffff !important;

    font-size: 29px !important;
    font-weight: 400 !important;
    line-height: 1 !important;

    text-shadow:
        0 2px 3px rgba(0,0,0, .12) !important;

    background: none !important;

    z-index: 3;
}


/* =========================================================
   BANDERINES CHILENOS DERECHA
   Dibujados mediante SVG embebido en CSS
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::after {

    content: "" !important;

    position: absolute !important;

    width: 88px !important;
    height: 48px !important;

    right: -3px !important;
    top: 1px !important;

    margin: 0 !important;

    border: 0 !important;
    border-radius: 0 !important;

    box-shadow: none !important;

    background:

        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 110 60'%3E%3Cpath d='M5 3 C33 13 62 24 104 29' fill='none' stroke='%23f9f6f4' stroke-width='1.5'/%3E%3Cpolygon points='28,10 47,17 40,43 34,32' fill='%23dd6700'/%3E%3Cpolygon points='48,17 69,24 59,50 53,37' fill='%23ffffff'/%3E%3Cpolygon points='69,24 94,29 83,54 76,41' fill='%23ed1b2f'/%3E%3Cpolygon points='20,8 22,13 28,13 23,16 25,22 20,18 15,22 17,16 12,13 18,13' fill='%23ffffff'/%3E%3C/svg%3E")
        center / contain
        no-repeat !important;

    pointer-events: none !important;

    z-index: 5;
}


/* =========================================================
   AJUSTE MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        min-height: 48px;

        padding:
            0 67px 9px 47px !important;

        font-size: 17px !important;

        border-radius:
            7px 13px 23px 7px !important;
    }


    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera::before {

        left: 16px !important;

        font-size:
            24px !important;
    }


    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera::after {

        width: 72px !important;
        height: 39px !important;

        right: -2px !important;
        top: 2px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA - V3 FINAL
   Ajuste fiel a cinta Fiestas Patrias
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    min-height: 58px;

    padding:
        0 88px 10px 62px !important;

    font-size: 20px !important;
    font-weight: 700 !important;

    border: 0 !important;

    border-radius:
        9px 17px 30px 9px !important;

    /*
     * Fondo completo dibujado en SVG:
     * azul + zigzag + cinta blanca/roja curva
     */
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 92' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='blue' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f48a2d'/%3E%3Cstop offset='.5' stop-color='%23f3770c'/%3E%3Cstop offset='1' stop-color='%234e2274'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 3 H488 Q515 3 515 22 V61 Q515 72 506 79 Q497 86 484 87 H12 Q4 87 4 78 V13 Q4 3 12 3Z' fill='url(%23blue)'/%3E%3Cpath d='M12 70 C120 58 330 72 480 66 Q505 65 514 53 V66 Q508 78 489 82 C338 91 150 79 12 86 Z' fill='%23ffffff'/%3E%3Cpath d='M12 79 C125 68 337 82 485 73 Q507 71 514 61 V73 Q508 85 488 89 C330 96 145 87 12 91 Z' fill='%23e31b23'/%3E%3Cpath d='M13 7 L7 14 L13 21 L7 28 L13 35 L7 42 L13 49 L7 56 L13 63' fill='none' stroke='%23ffffff' stroke-opacity='.26' stroke-width='2'/%3E%3C/svg%3E")
        center / 100% 100%
        no-repeat !important;

    box-shadow:
        0 6px 12px rgba(75,33,112,.16),
        0 2px 4px rgba(52,22,78,.10) !important;

    overflow: visible !important;
}


/* Estrella principal */
body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::before {

    left: 22px !important;

    font-size: 31px !important;

    transform:
        translateY(-60%) !important;
}


/* Banderines derechos */
body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::after {

    width: 92px !important;
    height: 52px !important;

    right: -5px !important;
    top: -1px !important;

    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 64'%3E%3Cpath d='M5 4 C38 12 68 24 113 29' fill='none' stroke='%23fcfbfa' stroke-width='1.3'/%3E%3Cpolygon points='31,11 51,17 43,48 36,35' fill='%23df6d0b'/%3E%3Cpolygon points='52,17 74,24 65,53 58,39' fill='%23ffffff'/%3E%3Cpolygon points='75,24 101,29 91,55 84,42' fill='%23ed1b2f'/%3E%3Cpolygon points='22,7 24,12 30,12 25,16 27,22 22,18 17,22 19,16 14,12 20,12' fill='%23ffffff'/%3E%3C/svg%3E")
        center / contain
        no-repeat !important;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        min-height: 49px;

        padding:
            0 72px 9px 50px !important;

        font-size: 17px !important;
    }

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera::before {

        left: 17px !important;

        font-size: 25px !important;
    }

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera::after {

        width: 76px !important;
        height: 43px !important;

        right: -4px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA - V4
   Terminación fiel a referencia
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    min-height: 59px;

    padding:
        0 91px 11px 62px !important;

    /*
     * Azul + cinta blanca/roja con curva más pronunciada.
     */
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 92' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='b' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f48626'/%3E%3Cstop offset='.48' stop-color='%23f07509'/%3E%3Cstop offset='1' stop-color='%234b2170'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 3H488Q515 3 515 22V60Q515 70 507 77Q499 84 483 85H12Q4 85 4 77V13Q4 3 12 3Z' fill='url(%23b)'/%3E%3Cpath d='M11 68C104 54 277 68 444 65Q494 64 515 47V59Q502 73 476 78C320 88 129 72 11 85Z' fill='%23ffffff'/%3E%3Cpath d='M11 78C117 66 300 80 459 73Q498 71 515 59V72Q502 85 480 89C312 96 125 85 11 91Z' fill='%23e31b23'/%3E%3Cpath d='M13 7L7 14L13 21L7 28L13 35L7 42L13 49L7 56L13 63' fill='none' stroke='%23ffffff' stroke-opacity='.22' stroke-width='2'/%3E%3C/svg%3E")
        center / 100% 100%
        no-repeat !important;

    border-radius:
        9px 16px 29px 9px !important;

    box-shadow:
        0 5px 9px rgba(75,33,112,.13),
        0 2px 3px rgba(52,22,78,.08) !important;
}


/* Estrella principal: apenas más protagonista */
body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::before {

    left: 22px !important;

    font-size: 32px !important;

    transform:
        translateY(-61%) !important;
}


/* Banderines: más grandes y saliendo del borde */
body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::after {

    width: 105px !important;
    height: 57px !important;

    right: -14px !important;
    top: -3px !important;

    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 67'%3E%3Cpath d='M5 4C42 13 76 24 123 30' fill='none' stroke='%23fbfaf9' stroke-width='1.4'/%3E%3Cpolygon points='35,11 57,18 48,50 40,35' fill='%23e26d08'/%3E%3Cpolygon points='58,18 82,25 72,54 64,39' fill='%23ffffff'/%3E%3Cpolygon points='83,25 112,30 101,59 92,43' fill='%23ed1b2f'/%3E%3Cpolygon points='24,7 26,12 32,12 27,16 29,22 24,18 19,22 21,16 16,12 22,12' fill='%23ffffff'/%3E%3C/svg%3E")
        center / contain
        no-repeat !important;
}


/* Móvil */
@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        min-height: 50px;

        padding:
            0 75px 9px 50px !important;
    }

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera::before {

        font-size: 26px !important;
    }

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera::after {

        width: 84px !important;
        height: 46px !important;

        right: -10px !important;
        top: -2px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA - V5
   Ajustes finos finales
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    min-height: 59px;

    padding:
        0 94px 11px 62px !important;

    /*
     * Azul de fondo ligeramente distinto para que
     * el banderín azul no se pierda.
     * También se retocó la curva inferior izquierda.
     */
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 92' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='bg' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f59643'/%3E%3Cstop offset='.48' stop-color='%23f3811f'/%3E%3Cstop offset='1' stop-color='%23df6800'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 3H488Q515 3 515 22V60Q515 70 507 77Q499 84 483 85H12Q4 85 4 77V13Q4 3 12 3Z' fill='url(%23bg)'/%3E%3Cpath d='M12 70C28 69 42 66 58 66C130 65 235 67 330 69C397 70 448 69 487 66Q504 64 515 54V62Q508 76 486 81C434 86 365 84 287 81C199 78 115 75 64 76C41 76 24 79 12 84Z' fill='%23ffffff'/%3E%3Cpath d='M12 79C28 77 43 74 60 74C132 73 239 76 334 78C403 80 452 79 489 75Q506 73 515 64V73Q506 86 488 89C436 94 366 93 289 90C201 87 117 84 66 84C43 84 24 87 12 91Z' fill='%23e31b23'/%3E%3Cpath d='M13 7L7 14L13 21L7 28L13 35L7 42L13 49L7 56L13 63' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2'/%3E%3C/svg%3E")
        center / 100% 100%
        no-repeat !important;

    box-shadow:
        0 5px 9px rgba(75,33,112,.13),
        0 2px 3px rgba(52,22,78,.08) !important;
}


/* =========================================================
   BANDERINES - estrella pequeña dentro del azul
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::after {

    width: 108px !important;
    height: 58px !important;

    right: -15px !important;
    top: -3px !important;

    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 130 67'%3E%3Cpath d='M5 4C42 13 76 24 123 30' fill='none' stroke='%23fbfaf9' stroke-width='1.4'/%3E%3Cpolygon points='36,11 58,18 49,51 40,35' fill='%23c7620b'/%3E%3Cpolygon points='59,18 83,25 72,55 64,39' fill='%23ffffff'/%3E%3Cpolygon points='84,25 113,30 101,60 92,43' fill='%23ed1b2f'/%3E%3Cpolygon points='46,20 47.6,23.8 51.7,23.8 48.3,26.2 49.7,30.3 46,27.8 42.3,30.3 43.7,26.2 40.3,23.8 44.4,23.8' fill='%23ffffff'/%3E%3Cpolygon points='24,7 26,12 32,12 27,16 29,22 24,18 19,22 21,16 16,12 22,12' fill='%23ffffff'/%3E%3C/svg%3E")
        center / contain
        no-repeat !important;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        padding:
            0 77px 9px 50px !important;
    }

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera::after {

        width: 87px !important;
        height: 47px !important;

        right: -11px !important;
        top: -2px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA - V6
   Curva inferior izquierda refinada
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 520 92' preserveAspectRatio='none'%3E%3Cdefs%3E%3ClinearGradient id='bg' x1='0' y1='0' x2='0' y2='1'%3E%3Cstop offset='0' stop-color='%23f59643'/%3E%3Cstop offset='.48' stop-color='%23f3811f'/%3E%3Cstop offset='1' stop-color='%23df6800'/%3E%3C/linearGradient%3E%3C/defs%3E%3Cpath d='M12 3H488Q515 3 515 22V60Q515 70 507 77Q499 84 483 85H12Q4 85 4 77V13Q4 3 12 3Z' fill='url(%23bg)'/%3E%3Cpath d='M8 72 Q25 66 58 65 C135 62 238 66 334 68 C403 70 452 69 489 65 Q507 62 515 53 V63 Q507 75 486 80 C433 86 365 84 287 81 C198 78 115 75 63 76 Q27 77 8 86 Q4 82 8 72Z' fill='%23ffffff'/%3E%3Cpath d='M8 81 Q28 75 61 74 C137 71 242 75 337 78 C405 80 453 78 491 74 Q507 71 515 63 V74 Q505 85 488 89 C435 94 366 93 289 90 C201 87 117 84 66 84 Q29 85 8 91 Q4 87 8 81Z' fill='%23e31b23'/%3E%3Cpath d='M13 7L7 14L13 21L7 28L13 35L7 42L13 49L7 56L13 63' fill='none' stroke='%23ffffff' stroke-opacity='.16' stroke-width='2'/%3E%3C/svg%3E")
        center / 100% 100%
        no-repeat !important;
}



/* =========================================================
   OFERTA DIECIOCHERA - FONDO PNG DEFINITIVO
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    box-sizing: border-box !important;

    /* Proporción visual de la etiqueta */
    width: 320px !important;
    height: 64px !important;
    min-height: 0 !important;

    /*
     * Dejamos espacio para:
     * estrella izquierda + banderines derecha
     */
    padding:
        0 72px 2px 66px !important;

    margin:
        2px 0 8px !important;

    /* Imagen diseñada especialmente para esta etiqueta */
    background-image:
        url("../../img/oferta-dieciochera-bg.png") !important;

    background-repeat:
        no-repeat !important;

    background-position:
        center center !important;

    background-size:
        100% 100% !important;

    /* Texto real HTML */
    color:
        #ffffff !important;

    font-size:
        20px !important;

    font-weight:
        700 !important;

    line-height:
        1 !important;

    letter-spacing:
        -.2px !important;

    white-space:
        nowrap !important;

    text-align:
        center !important;

    text-shadow:
        0 1px 2px rgba(0,0,0,.14) !important;

    /* Quitar estilos anteriores V2-V6 */
    border:
        0 !important;

    border-radius:
        0 !important;

    box-shadow:
        none !important;

    clip-path:
        none !important;

    overflow:
        visible !important;

    left:
        auto !important;

    right:
        auto !important;

    top:
        auto !important;
}


/* =========================================================
   DESACTIVAR DECORACIONES CSS ANTERIORES
   La estrella y banderines ahora vienen dentro del PNG
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::before,

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::after {

    content:
        none !important;

    display:
        none !important;

    background:
        none !important;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        width:
            280px !important;

        height:
            56px !important;

        padding:
            0 62px 2px 58px !important;

        font-size:
            17px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA PNG - TAMAÑO Y ENCUADRE
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    /* Etiqueta más proporcionada */
    width: 365px !important;
    height: 76px !important;

    /*
     * COVER mantiene la proporción del PNG y elimina
     * gran parte del espacio transparente superior/inferior.
     */
    background-size: cover !important;
    background-position: center 44% !important;
    background-repeat: no-repeat !important;

    /* Espacio reservado para estrella y banderines */
    padding:
        0 80px 3px 72px !important;

    /* Texto */
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

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

    margin:
        2px 0 10px !important;
}


/* =========================================================
   MÓVIL
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        width: 310px !important;
        height: 65px !important;

        background-size: cover !important;
        background-position: center 44% !important;

        padding:
            0 68px 3px 61px !important;

        font-size: 17px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA PNG - AJUSTE TRAS RECORTE MANUAL
   PNG real: 2130 x 416 px
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    /* Proporción prácticamente idéntica al PNG */
    width: 390px !important;
    height: 76px !important;
    min-height: 0 !important;

    /* Ya no necesitamos recortar ni ampliar el fondo */
    background-image:
        url("../../img/oferta-dieciochera-bg.png") !important;

    background-size:
        100% 100% !important;

    background-position:
        center center !important;

    background-repeat:
        no-repeat !important;

    /*
     * Espacio interno:
     * estrella izquierda / banderines derecha
     */
    padding:
        0 88px 0 72px !important;

    /* Texto */
    font-size: 20px !important;
    font-weight: 700 !important;
    line-height: 1 !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    text-align: center !important;
    white-space: nowrap !important;

    /* pequeño ajuste óptico vertical */
    text-indent: 0 !important;

    margin:
        2px 0 10px !important;
}


/* Decoración incluida íntegramente en el PNG */
body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::before,

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera::after {

    content: none !important;
    display: none !important;
}


/* =========================================================
   MÓVIL
   Mantiene también la proporción del PNG
   ========================================================= */

@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        width: 310px !important;
        height: 61px !important;

        background-size:
            100% 100% !important;

        background-position:
            center center !important;

        padding:
            0 69px 0 57px !important;

        font-size:
            17px !important;

        margin-bottom:
            8px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA PNG - AJUSTE FINO DE TEXTO
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    font-size: 22px !important;
    font-weight: 700 !important;

    /* centra ópticamente entre estrella y banderines */
    text-indent: -5px !important;

    /* ajuste vertical mínimo */
    padding-top: 0 !important;
    padding-bottom: 2px !important;
}


@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        font-size: 18px !important;
        text-indent: -4px !important;

        padding-top: 0 !important;
        padding-bottom: 2px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA PNG - TAMAÑO 50%
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    width: 195px !important;
    height: 38px !important;
    min-height: 0 !important;

    background-size: 100% 100% !important;
    background-position: center center !important;

    /* Mitad aproximada de los espacios anteriores */
    padding:
        0 44px 1px 36px !important;

    /* Texto proporcional */
    font-size: 12px !important;
    font-weight: 700 !important;

    text-indent: -2px !important;

    margin:
        2px 0 7px !important;
}


/* MÓVIL */
@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        width: 195px !important;
        height: 38px !important;

        padding:
            0 44px 1px 36px !important;

        font-size: 12px !important;
        text-indent: -2px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA PNG - +20% SOBRE TAMAÑO 50%
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    width: 234px !important;
    height: 46px !important;
    min-height: 0 !important;

    background-size: 100% 100% !important;
    background-position: center center !important;

    padding:
        0 53px 1px 43px !important;

    font-size: 14px !important;
    font-weight: 700 !important;

    text-indent: -2px !important;

    margin:
        2px 0 8px !important;
}


/* MÓVIL */
@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        width: 234px !important;
        height: 46px !important;

        padding:
            0 53px 1px 43px !important;

        font-size: 14px !important;
        text-indent: -2px !important;
    }
}



/* =========================================================
   OFERTA DIECIOCHERA PNG - TEXTO MÁS GRANDE
   ========================================================= */

body.single-product
.summary
.contenedor-short-ultrapc
.oferta-dieciochera {

    font-size: 16px !important;
    font-weight: 700 !important;

    text-indent: -2px !important;
}


/* MÓVIL */
@media (max-width: 767px) {

    body.single-product
    .summary
    .contenedor-short-ultrapc
    .oferta-dieciochera {

        font-size: 16px !important;
    }
}




/* =========================================================
   ULTRAPC - TECLADO / PERMITIR TEXTO EN 3 LINEAS
   ========================================================= */

.single-product .upc-gallery-spec--keyboard {
    height: auto !important;
    min-height: 60px !important;
    overflow: visible !important;
}

.single-product
.upc-gallery-spec--keyboard
.upc-gallery-spec__value {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 36px !important;

    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;

    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;

    word-break: normal !important;
    overflow-wrap: normal !important;

    line-height: 1.15 !important;
}


/* Móvil */
@media (max-width: 991px) {

    .single-product
    .upc-gallery-spec--keyboard
    .upc-gallery-spec__value {
        white-space: normal !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 36px !important;
        line-height: 1.15 !important;
    }
}


/* =========================================================
   ULTRAPC - SPECS COMPLETAS / HASTA 3 LINEAS
   Procesador + GPU + Teclado
   ========================================================= */

/* Tarjetas que pueden necesitar más altura */
.single-product .upc-gallery-spec--cpu,
.single-product .upc-gallery-spec--gpu,
.single-product .upc-gallery-spec--keyboard {
    height: auto !important;
    min-height: 60px !important;
    overflow: visible !important;
}


/* Texto completo sin recorte */
.single-product .upc-gallery-spec--cpu .upc-gallery-spec__value,
.single-product .upc-gallery-spec--gpu .upc-gallery-spec__value,
.single-product .upc-gallery-spec--keyboard .upc-gallery-spec__value {
    display: flex !important;
    align-items: center !important;

    width: 100% !important;
    min-width: 0 !important;

    height: auto !important;
    min-height: 36px !important;

    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;

    -webkit-line-clamp: unset !important;
    -webkit-box-orient: initial !important;

    word-break: normal !important;
    overflow-wrap: anywhere !important;

    line-height: 1.15 !important;
}


/* ESCRITORIO */
@media (min-width: 992px) {

    .single-product .upc-gallery-spec--cpu .upc-gallery-spec__value {
        font-size: 11.5px !important;
    }

    .single-product .upc-gallery-spec--gpu .upc-gallery-spec__value {
        font-size: 11.2px !important;
    }

    .single-product .upc-gallery-spec--keyboard .upc-gallery-spec__value {
        font-size: 11.5px !important;
    }
}


/* MOVIL */
@media (max-width: 991px) {

    .single-product .upc-gallery-spec--cpu,
    .single-product .upc-gallery-spec--gpu,
    .single-product .upc-gallery-spec--keyboard {
        height: auto !important;
        overflow: visible !important;
    }

    .single-product .upc-gallery-spec--cpu .upc-gallery-spec__value,
    .single-product .upc-gallery-spec--gpu .upc-gallery-spec__value,
    .single-product .upc-gallery-spec--keyboard .upc-gallery-spec__value {
        height: auto !important;
        min-height: 36px !important;
        white-space: normal !important;
        overflow: visible !important;
        line-height: 1.15 !important;
    }
}

/* =========================================================
   ULTRAPC - ACCIONES PRODUCTO
   Compartir y Favoritos = mismo estilo visual que Comparar
   ========================================================= */

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share:not(.is-copied),

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist a,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a {
    color: #ea6d00 !important;
    background: #fbfaf8 !important;
    border-color: #e8e1da !important;
}

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share:not(.is-copied):hover,

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share:not(.is-copied):focus,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist a:hover,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist a:focus,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a:hover,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a:focus,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a:hover,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a:focus {
    color: #ea6d00 !important;
    background: #f7f4f2 !important;
    border-color: #dfd2c6 !important;
}

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist a svg,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a::before,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a::before,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a::after,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a::after {
    color: #ea6d00 !important;
    stroke: #ea6d00 !important;
}


/* =========================================================
   ULTRAPC - BOTONES DE ACCIONES PRODUCTO
   Reducción aproximada del 10%
   ========================================================= */

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist a,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a,

body.single-product
.summary.entry-summary
> .action-buttons
> .add-to-compare-link {
    min-height: 34px !important;
    padding: 7px 13px !important;
    font-size: 13px !important;
}

body.single-product
.summary.entry-summary
.action_buttons
.ultrapc-product-share i,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-add-to-wishlist svg,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistaddedbrowse > a::before,

body.single-product
.summary.entry-summary
> .action-buttons
.yith-wcwl-wishlistexistsbrowse > a::before,

body.single-product
.summary.entry-summary
> .action-buttons
> .add-to-compare-link::before {
    font-size: 13px !important;
    width: 13px !important;
    height: 13px !important;
}



/* ==========================================================================
   ULTRAPC - MODAL STOCK MÁXIMO EN FICHA DE PRODUCTO
   ========================================================================== */

body.upc-product-stock-modal-open {
    overflow: hidden;
}

.upc-product-stock-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;

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

    padding: 20px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity .18s ease,
        visibility .18s ease;
}

.upc-product-stock-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.upc-product-stock-modal__backdrop {
    position: absolute;
    inset: 0;

    background: rgba(29,21,36, .50);
    backdrop-filter: blur(3px);
}

.upc-product-stock-modal__dialog {
    position: relative;
    z-index: 2;

    width: min(100%, 480px);

    padding: 34px;

    background: #ffffff;

    border: 1px solid #f2eeea;
    border-radius: 18px;

    box-shadow:
        0 25px 65px rgba(29,21,36, .20);

    text-align: center;

    transform: translateY(12px) scale(.98);

    transition: transform .18s ease;
}

.upc-product-stock-modal.is-open
.upc-product-stock-modal__dialog {
    transform: translateY(0) scale(1);
}

.upc-product-stock-modal__close {
    position: absolute;

    top: 12px;
    right: 14px;

    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 50%;

    background: #f9f6f4;
    color: #7e7871;

    font-size: 23px;
    line-height: 1;

    cursor: pointer;
}

.upc-product-stock-modal__close:hover {
    background: #f3efeb;
    color: #261d2d;
}

.upc-product-stock-modal__icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 56px;
    height: 56px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #faf8f6;
    color: #dc2626;

    font-size: 27px;
    font-weight: 800;
}

.upc-product-stock-modal h3 {
    margin: 0 0 14px;

    color: #261d2d;

    font-size: 23px;
    line-height: 1.25;
    font-weight: 750;
}

.upc-product-stock-modal__message {
    color: #67625c;

    font-size: 14px;
    line-height: 1.6;
}

.upc-product-stock-modal__message p {
    margin: 0 0 10px;
}

.upc-product-stock-modal__solution {
    margin-top: 16px !important;

    padding: 13px 15px;

    background: #fbfaf9;
    border-radius: 10px;

    color: #493e53;
}

.upc-product-stock-modal__actions {
    display: flex;
    gap: 10px;

    margin-top: 22px;
}

.upc-product-stock-modal__cart,
.upc-product-stock-modal__ok {
    flex: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 44px;

    padding: 11px 18px;

    border-radius: 10px;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none !important;

    cursor: pointer;
}

.upc-product-stock-modal__cart {
    border: 1px solid #e8e1da;

    background: #ffffff;
    color: #f38320;
}

.upc-product-stock-modal__cart:hover {
    background: #fbfaf9;
    color: #e2710c;
}

.upc-product-stock-modal__ok {
    border: 1px solid #f38320;

    background: #f38320;
    color: #ffffff;
}

.upc-product-stock-modal__ok:hover {
    background: #e2710c;
    border-color: #e2710c;
}

@media (max-width: 600px) {

    .upc-product-stock-modal {
        padding: 14px;
    }

    .upc-product-stock-modal__dialog {
        padding: 30px 22px 22px;
        border-radius: 15px;
    }

    .upc-product-stock-modal h3 {
        font-size: 20px;
    }

    .upc-product-stock-modal__actions {
        flex-direction: column;
    }
}


/* =========================================================
   ULTRAPC - CINTA RESERVADO SOBRE GALERIA
   2026-09-28
   ========================================================= */

/*
 * La galería pasa a ser el contenedor de referencia
 * para la cinta.
 */
body.single-product
.product.product_tag-reservado
.woocommerce-product-gallery {
    position: relative !important;
    overflow: hidden !important;
}


/*
 * Cinta naranja diagonal.
 */
body.single-product
.product.product_tag-reservado
.woocommerce-product-gallery::before {

    content: "RESERVADO";

    position: absolute !important;

    top: 28px !important;
    right: -58px !important;

    width: 220px !important;
    height: 42px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    background: #ff9638 !important;
    color: #ffffff !important;

    border: 0 !important;

    font-family: inherit !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .8px !important;
    text-align: center !important;
    text-transform: uppercase !important;

    transform: rotate(45deg) !important;
    transform-origin: center !important;

    box-shadow:
        0 4px 12px rgba(0,0,0, .18),
        0 1px 2px rgba(0,0,0, .10) !important;

    z-index: 30 !important;

    pointer-events: none !important;
}


/*
 * Ocultamos la etiqueta "Reservado" del bloque de estado,
 * porque ahora se representa mediante la cinta.
 */
body.single-product
.summary.entry-summary
.ultrapc-product-reserved-pill {
    display: none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 991.98px) {

    body.single-product
    .product.product_tag-reservado
    .woocommerce-product-gallery::before {

        top: 25px !important;
        right: -62px !important;

        width: 220px !important;
        height: 40px !important;

        font-size: 15px !important;
    }
}


/* =========================================================
   MOVIL
   ========================================================= */

@media (max-width: 767.98px) {

    body.single-product
    .product.product_tag-reservado
    .woocommerce-product-gallery::before {

        top: 23px !important;
        right: -62px !important;

        width: 210px !important;
        height: 38px !important;

        font-size: 14px !important;
        letter-spacing: .6px !important;
    }
}



/* =========================================================
   ULTRAPC - RESERVADO / STOCK NATIVO
   Solo neutraliza reglas antiguas que ocultaban el stock.
   NO modifica diseño, texto, tooltip ni comportamiento.
   ========================================================= */

/* Escritorio */
body.single-product
.product.product_tag-reservado
.ultrapc-product-top-meta-row
.availability {
    display: inline-flex !important;
    visibility: visible !important;
}

body.single-product
.product.product_tag-reservado
.ultrapc-product-top-meta-row
p.stock.woo-custom-stock-status {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.single-product
.product.product_tag-reservado
.ultrapc-product-top-meta-row
span#stock_qty.stock_qty {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/*
 * El antiguo CSS creaba la palabra "Reservado"
 * sobre electro-stock-availability.
 * Se elimina SOLO ese pseudo-elemento antiguo.
 *
 * NO tocar p.stock::before porque ahí vive el tooltip
 * original "Por favor confirme disponibilidad".
 */
body.single-product
.product.product_tag-reservado
.ultrapc-product-top-meta-row
.electro-stock-availability::before {
    content: none !important;
    display: none !important;
}


/* Móvil */
body.single-product
.product.product_tag-reservado
.ultrapc-product-info-card--status
.availability {
    display: inline-flex !important;
    visibility: visible !important;
}

body.single-product
.product.product_tag-reservado
.ultrapc-product-info-card--status
p.stock.woo-custom-stock-status {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.single-product
.product.product_tag-reservado
.ultrapc-product-info-card--status
span#stock_qty.stock_qty {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
}

body.single-product
.product.product_tag-reservado
.ultrapc-product-info-card--status
.electro-stock-availability::before {
    content: none !important;
    display: none !important;
}


/* =========================================================
   ULTRAPC - ALINEACION STOCK SUPERIOR RESERVADO
   Igualar posicion con ITEM y CONDICION
   ========================================================= */

@media (min-width: 768px) {

    body.single-product
    .ultrapc-product-top-meta-left {
        align-items: center !important;
    }

    body.single-product
    .product.product_tag-reservado
    .ultrapc-product-top-meta-row
    .availability {
        display: inline-flex !important;
        align-items: center !important;
        margin: 0 !important;
    }

    body.single-product
    .product.product_tag-reservado
    .ultrapc-product-top-meta-row
    p.stock.woo-custom-stock-status {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;

        height: 32px !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;

        vertical-align: middle !important;
        align-self: center !important;
        box-sizing: border-box !important;
    }
}



/* =========================================================
   ULTRAPC - STOCK > 1
   Si mostramos cantidad exacta (Stock: X),
   no mostrar además "Hay existencias".
   ========================================================= */

/* Escritorio */
body.single-product
.product.product_tag-reservado
.ultrapc-product-top-meta-row
.availability:has(.stock_qty)
p.stock {
    display: none !important;
}


/* Móvil */
body.single-product
.product.product_tag-reservado
.ultrapc-product-info-card--status
.availability:has(.stock_qty)
p.stock {
    display: none !important;
}

/* =========================================================
   ULTRAPC - AGOTADO CONSOLIDADO
   Misma geometría base que la condición USADO.
   Solo afecta el badge AGOTADO del meta superior.
   ========================================================= */


/* Cápsula completa: texto + icono
   Medidas tomadas de USADO mediante getComputedStyle().
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-badge-wrap {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;

    height: 34px !important;
    min-height: 34px !important;
    min-width: 0 !important;

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

    box-sizing: border-box !important;

    position: relative !important;

    background-color: #faf8f6 !important;

    border: 1px solid #ebe4dd !important;
    border-radius: 999px !important;

    color: #b42318 !important;
    -webkit-text-fill-color: #b42318 !important;

    font-size: 14px !important;
    line-height: 14px !important;
    font-weight: 800 !important;

    vertical-align: middle !important;
}


/* Availability solo actúa como contenedor interno */
body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-badge-wrap
.availability {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;

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


/* Texto AGOTADO:
   neutralizamos el estilo grande/gris heredado de stock */
body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-badge-wrap
.availability
p.stock.woo-custom-stock-status.out_of_stock_color {

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

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

    background: transparent !important;
    background-color: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: #b42318 !important;
    -webkit-text-fill-color: #b42318 !important;

    font-size: 14px !important;
    line-height: 14px !important;
    font-weight: 800 !important;

    letter-spacing: normal !important;
    text-transform: uppercase !important;

    position: static !important;

    box-shadow: none !important;
    text-shadow: none !important;
}


/* Sin punto de stock delante o detrás */
body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-badge-wrap
p.stock.woo-custom-stock-status.out_of_stock_color::before,

body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-badge-wrap
p.stock.woo-custom-stock-status.out_of_stock_color::after {

    content: none !important;
    display: none !important;
}


/* Contenedor de la i:
   permanece dentro del flujo de la cápsula */
body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-badge-wrap
> .upc-outofstock-info {

    position: relative !important;

    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

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

    flex: none !important;

    transform: none !important;

    cursor: help !important;
    outline: none !important;

    z-index: 30 !important;
}


/* i de AGOTADO:
   mismas medidas calculadas que la i de USADO */
body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-badge-wrap
.fa-info-circle.upc-outofstock-info__icon {

    position: relative !important;
    top: 3px !important;

    display: block !important;

    width: auto !important;
    height: auto !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 0 0 6px !important;
    padding: 0 0 5px !important;

    background: transparent !important;

    border: 0 !important;
    border-radius: 0 !important;

    color: #b42318 !important;
    -webkit-text-fill-color: #b42318 !important;

    font-family: "Font Awesome 5 Free" !important;
    font-size: 13px !important;
    font-style: normal !important;
    font-weight: 900 !important;
    line-height: 13px !important;

    vertical-align: middle !important;

    box-shadow: none !important;

    /* Mismo latido que la i de USADO.
       Se retiro "transform: none" porque una declaracion !important
       anula la animacion (las animaciones no ganan a !important). */
    animation: ultrapc-info-pulse-v3 2.2s ease-in-out infinite !important;
}


body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-badge-wrap
.fa-info-circle.upc-outofstock-info__icon::before {

    color: #b42318 !important;
    -webkit-text-fill-color: #b42318 !important;

    font-size: 13px !important;
    line-height: 13px !important;
}


/* =========================================================
   TOOLTIP AGOTADO
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-info__tooltip {

    display: block !important;

    position: absolute !important;
    z-index: 100 !important;

    left: 50% !important;
    right: auto !important;
    top: auto !important;
    bottom: calc(100% + 9px) !important;

    transform: translateX(-50%) translateY(3px) !important;

    width: max-content !important;
    max-width: 300px !important;
    min-width: 0 !important;

    height: auto !important;

    margin: 0 !important;
    padding: 9px 12px !important;

    background: #ea6d00 !important;

    border: 0 !important;
    border-radius: 8px !important;

    color: #ffffff !important;

    font-family: inherit !important;
    font-size: 13.75px !important;
    font-weight: 600 !important;
    line-height: 1.4 !important;

    text-align: left !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    white-space: normal !important;

    box-shadow: 0 6px 16px rgba(234,109,0,.22) !important;

    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transition:
        opacity .18s ease,
        transform .18s ease,
        visibility .18s ease !important;
}


body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-info__tooltip::after {

    content: "" !important;

    position: absolute !important;

    top: 100% !important;
    left: 50% !important;

    transform: translateX(-50%) !important;

    width: 0 !important;
    height: 0 !important;

    border-left: 6px solid transparent !important;
    border-right: 6px solid transparent !important;
    border-bottom: 0 !important;
    border-top: 6px solid #ea6d00 !important;
}


body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-info:hover
.upc-outofstock-info__tooltip,

body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-info:focus
.upc-outofstock-info__tooltip,

body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-info:focus-within
.upc-outofstock-info__tooltip {

    opacity: 1 !important;
    visibility: visible !important;

    transform: translateX(-50%) translateY(0) !important;
}


@media (max-width: 575px) {

    body.single-product
    .summary.entry-summary
    .ultrapc-product-top-meta-row
    .upc-outofstock-info__tooltip {

        width: 280px !important;
        max-width: 75vw !important;
        min-width: 0 !important;
    }
}



/* =========================================================
   ULTRAPC - TOOLTIP AGOTADO TEXTO BLANCO
   Corrige herencia de -webkit-text-fill-color.
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-info__tooltip,

body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-info__tooltip * {

    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* ULTRAPC TOP META AVAILABILITY FIX - START */

/*
 * Normaliza el indicador de disponibilidad dentro
 * de la fila superior de metadatos del producto.
 *
 * Solo escritorio: el CSS móvil mantiene su
 * comportamiento independiente.
 */
@media (min-width: 992px) {

    body.single-product
    .summary.entry-summary
    .ultrapc-product-top-meta-row
    .availability {

        display: inline-flex !important;

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

        width: auto !important;
        min-width: 0 !important;

        height: 34px !important;
        min-height: 34px !important;

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

        vertical-align: middle !important;

        box-sizing: border-box !important;
    }

    body.single-product
    .summary.entry-summary
    .ultrapc-product-top-meta-row
    .availability
    .electro-stock-availability {

        display: inline-flex !important;

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

        width: auto !important;
        height: 34px !important;

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

        vertical-align: middle !important;

        box-sizing: border-box !important;
    }
}

/* ULTRAPC TOP META AVAILABILITY FIX - END */

/* ULTRAPC PRODUCT CARD WISHLIST CENTER - START */

/*
 * Centra el corazón de Favoritos en las tarjetas
 * mostradas dentro de la ficha individual del producto.
 *
 * No cambia la posición de la caja; solamente centra
 * su contenido.
 */

body.single-product .products li.product
.yith-wcwl-add-to-wishlist a,

body.single-product .product-item
.yith-wcwl-add-to-wishlist a,

body.single-product li.product
a.add_to_wishlist,

body.single-product .product-item
a.add_to_wishlist {

    display: flex !important;

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

    padding: 0 !important;

    text-align: center !important;
    line-height: 1 !important;

    box-sizing: border-box !important;
}


/*
 * Neutraliza desplazamientos del icono interno.
 */
body.single-product .products li.product
.yith-wcwl-add-to-wishlist a i,

body.single-product .product-item
.yith-wcwl-add-to-wishlist a i,

body.single-product .products li.product
.yith-wcwl-add-to-wishlist a svg,

body.single-product .product-item
.yith-wcwl-add-to-wishlist a svg {

    margin: 0 !important;

    position: static !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    transform: none !important;
}

/* ULTRAPC PRODUCT CARD WISHLIST CENTER - END */

/* ULTRAPC BENEFITS GEMINI CSS ONLY — BEGIN v1 */
/* Aislamiento: SOLO la cuadrícula de beneficios dentro de la ficha individual. */
body.single-product .ultrapc-product-benefits-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  gap: 12px !important;
  margin: 12px 0 16px !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card {
  display: grid !important;
  grid-template-columns: 38px minmax(0, 1fr) !important;
  grid-auto-rows: min-content !important;
  align-content: start !important;
  align-items: start !important;
  column-gap: 10px !important;
  row-gap: 0 !important;
  height: auto !important;
  min-height: 112px !important;
  max-height: none !important;
  min-width: 0 !important;
  max-width: 100% !important;
  width: auto !important;
  margin: 0 !important;
  padding: 15px 14px !important;
  border: 1px solid #eee9e4 !important;
  border-radius: 15px !important;
  background: #ffffff !important;
  box-shadow: 0 2px 8px rgba(48,33,61, .045) !important;
  color: #372d3f !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: visible !important;
}

body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-icon {
  grid-column: 1 !important;
  grid-row: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: start !important;
  justify-self: start !important;
  width: 38px !important;
  height: 38px !important;
  min-width: 0 !important;
  min-height: 0 !important;
  flex: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 10px !important;
  border: 1px solid #f6f3f0 !important;
  background: #f9f8f6 !important;
  color: #f57e16 !important;
  font-size: 18px !important;
  box-sizing: border-box !important;
}

/* El contenido se convierte en elementos de la MISMA cuadrícula, sin tocar HTML. */
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-content {
  display: contents !important;
}

body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-title {
  grid-column: 2 !important;
  grid-row: 1 !important;
  display: block !important;
  min-width: 0 !important;
  width: auto !important;
  height: auto !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  font-size: 15px !important;
  line-height: 1.26 !important;
  font-weight: 700 !important;
  letter-spacing: -.2px !important;
  color: #2a1f34 !important;
  text-align: left !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}

body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--delivery .ultrapc-product-benefit-title::after,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--payment .ultrapc-product-benefit-title::after {
  display: block !important;
  margin-top: 4px !important;
  font-size: 10.5px !important;
  line-height: 1.3 !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  color: #8e8984 !important;
  white-space: normal !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--delivery .ultrapc-product-benefit-title::after {
  content: "Opciones para recibir tu compra" !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--payment .ultrapc-product-benefit-title::after {
  content: "Flexibilidad para pagar tu pedido" !important;
}

/* Filas de entrega y pago: ocupan el ancho completo sin modificar el DOM. */
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-line {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: 16px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 8px !important;
  row-gap: 2px !important;
  width: 100% !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 9px 0 0 !important;
  padding: 9px 10px !important;
  border: 1px solid #f5f2ee !important;
  border-radius: 10px !important;
  background: #fbfaf9 !important;
  box-sizing: border-box !important;
  color: #5b5650 !important;
  font-size: 11.5px !important;
  line-height: 1.35 !important;
  font-weight: 400 !important;
  text-align: left !important;
  white-space: normal !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-line i {
  display: inline-block !important;
  grid-column: 1 !important;
  flex: none !important;
  width: 16px !important;
  min-width: 0 !important;
  margin: 0 !important;
  font-size: 13px !important;
  text-align: center !important;
  color: #7a746e !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-line > span {
  display: block !important;
  grid-column: 2 !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  margin: 0 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
}

body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--delivery .ultrapc-product-benefit-line {
  grid-template-columns: 16px minmax(0, 1fr) auto !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--delivery .ultrapc-product-benefit-line::after {
  content: "Disponible" !important;
  display: inline-flex !important;
  grid-column: 3 !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: end !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: none !important;
  flex: none !important;
  margin: 0 !important;
  padding: 4px 7px !important;
  border: 1px solid #bfead8 !important;
  border-radius: 999px !important;
  background: #f6f3f1 !important;
  color: #168662 !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  line-height: 1.1 !important;
  white-space: nowrap !important;
}

/* No fabricar íconos auxiliares antiguos alrededor de la mano. */
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--delivery .ultrapc-product-benefit-icon::before,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--delivery .ultrapc-product-benefit-icon::after {
  content: none !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--delivery .ultrapc-product-benefit-icon > i {
  transform: none !important;
}

/* Garantía y satisfacción mantienen su propio bloque de título + descripción. */
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--warranty .ultrapc-product-benefit-content,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--satisfaction .ultrapc-product-benefit-content {
  display: flex !important;
  grid-column: 2 !important;
  grid-row: 1 !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-self: start !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--warranty .ultrapc-product-benefit-title,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--satisfaction .ultrapc-product-benefit-title {
  grid-column: auto !important;
  grid-row: auto !important;
}

/* Cuotas: el texto ya depende de $mostrar_cuotas en PHP; no inventarlo. */
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--payment .ultrapc-product-benefit-line:last-of-type > span {
  color: #e7720c !important;
  font-weight: 500 !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--payment .ultrapc-product-benefit-content::after {
  grid-column: 1 / -1 !important;
  display: block !important;
  width: 100% !important;
  height: auto !important;
  margin: 11px 0 0 !important;
  padding: 0 2px !important;
  font-size: 9px !important;
  line-height: 1.4 !important;
  font-weight: 500 !important;
  letter-spacing: .1px !important;
  text-transform: none !important;
  text-align: left !important;
  color: #9c9691 !important;
  box-sizing: border-box !important;
}

body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-description {
  display: block !important;
  grid-column: 2 !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  font-size: 11.5px !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  color: #5b5650 !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
/* Etiquetas neutrales; no prometen coberturas o cambios no verificados. */
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--warranty::after,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--satisfaction::after {
  grid-column: 2 !important;
  grid-row: 2 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-self: start !important;
  margin-top: 8px !important;
  padding: 4px 9px !important;
  border: 1px solid #f2eeea !important;
  border-radius: 999px !important;
  background: #f9f8f6 !important;
  font-size: 9px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  color: #807a73 !important;
  white-space: normal !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--warranty::after {
  content: "Según producto" !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--satisfaction::after {
  content: "Aplican condiciones" !important;
}

/* Si la ficha completa es estrecha, evitar dos columnas comprimidas. */
@media (max-width: 1399px) {
  body.single-product .ultrapc-product-benefits-grid {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
@media (max-width: 767px) {
  body.single-product .ultrapc-product-benefits-grid {
    gap: 9px !important;
    margin: 10px 0 13px !important;
  }
  body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card {
    padding: 12px !important;
    grid-template-columns: 33px minmax(0, 1fr) !important;
    column-gap: 9px !important;
    min-height: 0 !important;
  }
  body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-icon {
    width: 33px !important;
    height: 33px !important;
    font-size: 16px !important;
  }
  body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-title {
    font-size: 14px !important;
  }
  body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-line,
  body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-description {
    font-size: 11px !important;
  }
}
/* ULTRAPC BENEFITS GEMINI CSS ONLY — END v1 */

/* ULTRAPC BENEFITS ICONS V1 BEGIN - 20261014 */
/* Solo sustitución gráfica. Preserva las dimensiones de cada icono y toda la maquetación actual. */
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--delivery > .ultrapc-product-benefit-icon,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--payment > .ultrapc-product-benefit-icon,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--warranty > .ultrapc-product-benefit-icon,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--satisfaction > .ultrapc-product-benefit-icon {
  background-color: transparent !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: contain !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--delivery > .ultrapc-product-benefit-icon {
  background-image: url('/wp-content/themes/electro-child/assets/images/ultrapc-benefits-icons-v1/entrega.png') !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--payment > .ultrapc-product-benefit-icon {
  background-image: url('/wp-content/themes/electro-child/assets/images/ultrapc-benefits-icons-v1/pago.png') !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--warranty > .ultrapc-product-benefit-icon {
  background-image: url('/wp-content/themes/electro-child/assets/images/ultrapc-benefits-icons-v1/garantia.png') !important;
}
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card--satisfaction > .ultrapc-product-benefit-icon {
  background-image: url('/wp-content/themes/electro-child/assets/images/ultrapc-benefits-icons-v1/satisfaccion.png') !important;
}
/* Ocultar Font Awesome y pseudo-elementos antiguos dentro del recuadro del icono. */
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card > .ultrapc-product-benefit-icon > i,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card > .ultrapc-product-benefit-icon::before,
body.single-product .ultrapc-product-benefits-grid .ultrapc-product-benefit-card > .ultrapc-product-benefit-icon::after {
  display: none !important;
  content: none !important;
}
/* ULTRAPC BENEFITS ICONS V1 END - 20261014 */

/* ULTRAPC OCULTAR ETIQUETAS BENEFICIOS V1 */

body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--warranty::after,

body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--satisfaction::after {
    content: none !important;
    display: none !important;
}

/* FIN ULTRAPC OCULTAR ETIQUETAS BENEFICIOS V1 */


/* ULTRAPC AVISO STOCK ENTREGA V1 */

body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--delivery {
    position: relative !important;
    box-sizing: border-box !important;
    height: auto !important;
    min-height: 250px !important;
    padding-bottom: 82px !important;
}

body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--delivery::after {
    content: "ⓘ  *SI HAY POCAS UNIDADES, POR FAVOR CONSULTE STOCK ANTES DE COMPRAR." !important;

    display: block !important;
    position: absolute !important;

    left: 17px !important;
    right: 16px !important;
    bottom: 15px !important;

    width: auto !important;
    height: auto !important;

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

    text-indent: -18px !important;
    text-align: left !important;

    color: #aca6a0 !important;
    font-size: 10px !important;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    letter-spacing: .25px !important;

    white-space: normal !important;
    overflow-wrap: break-word !important;
    pointer-events: none !important;
}

@media (max-width: 575px) {
    body.single-product
    .ultrapc-product-benefits-grid
    .ultrapc-product-benefit-card--delivery {
        min-height: 245px !important;
        padding-bottom: 85px !important;
    }
}

/* FIN ULTRAPC AVISO STOCK ENTREGA V1 */






/* ULTRAPC AJUSTE ALINEACION SIN ALTERAR FILAS V2 */

@media (min-width: 768px) {

    body.single-product
    .ultrapc-product-benefits-grid
    .ultrapc-product-benefit-card--payment {
        position: relative !important;
        height: auto !important;
        min-height: 250px !important;
        padding-bottom: 82px !important;
    }

    body.single-product
    .ultrapc-product-benefits-grid
    .ultrapc-product-benefit-card--payment
    .ultrapc-product-benefit-content::after {
        position: absolute !important;
        left: 17px !important;
        right: 16px !important;
        bottom: 15px !important;
        width: auto !important;
        margin: 0 !important;
        text-align: left !important;
        color: #aca6a0 !important;
        font-size: 10px !important;
        line-height: 1.45 !important;
    }
}

/* FIN ULTRAPC AJUSTE ALINEACION SIN ALTERAR FILAS V2 */

/* ULTRAPC BENEFICIOS COMPACTOS V1 */

@media (min-width: 768px) {

    body.single-product
    .ultrapc-product-benefits-grid
    > .ultrapc-product-benefit-card--delivery,

    body.single-product
    .ultrapc-product-benefits-grid
    > .ultrapc-product-benefit-card--payment {

        height: auto !important;
        min-height: 210px !important;

        padding-bottom: 52px !important;

        box-sizing: border-box !important;
    }

    /* Avisos inferiores a la misma altura */

    body.single-product
    .ultrapc-product-benefits-grid
    .ultrapc-product-benefit-card--delivery::after,

    body.single-product
    .ultrapc-product-benefits-grid
    .ultrapc-product-benefit-card--payment
    .ultrapc-product-benefit-content::after {

        bottom: 12px !important;
    }
}

/* FIN ULTRAPC BENEFICIOS COMPACTOS V1 */


/* ULTRAPC ICONO CIRCLE INFO STOCK V1 */

body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--delivery::after {

    content: "SI HAY POCAS UNIDADES, POR FAVOR CONSULTE STOCK ANTES DE COMPRAR." !important;

    padding-left: 19px !important;
    text-indent: 0 !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23aca6a0'/%3E%3Ccircle cx='8' cy='4.6' r='0.95' fill='white'/%3E%3Crect x='7.2' y='7' width='1.6' height='5' rx='.6' fill='white'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: 0 2px !important;
    background-size: 12px 12px !important;
}

/* FIN ULTRAPC ICONO CIRCLE INFO STOCK V1 */


/* ULTRAPC ICONO INFO METODOS PAGO V1 */

body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--payment
.ultrapc-product-benefit-content::after {

    content: "RECUERDE REVISAR LOS TÉRMINOS Y CONDICIONES AL MOMENTO DEL PAGO." !important;

    padding-left: 19px !important;
    text-indent: 0 !important;

    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='7' fill='%23aca6a0'/%3E%3Ccircle cx='8' cy='4.6' r='0.95' fill='white'/%3E%3Crect x='7.2' y='7' width='1.6' height='5' rx='.6' fill='white'/%3E%3C/svg%3E") !important;

    background-repeat: no-repeat !important;
    background-position: 0 2px !important;
    background-size: 12px 12px !important;
}

/* FIN ULTRAPC ICONO INFO METODOS PAGO V1 */


/* ULTRAPC OCULTAR SUBTITULOS BENEFICIOS V1 */

body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-title::after,

body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--payment
.ultrapc-product-benefit-title::after {

    content: none !important;
    display: none !important;

}

/* FIN ULTRAPC OCULTAR SUBTITULOS BENEFICIOS V1 */



/* =========================================================
   ULTRAPC - CHIP DE ENTREGA (HTML REAL)
   "Disponible" verde / "No disponible" rojo si esta agotado.
   El texto lo genera el PHP; aqui solo se estiliza.
   ========================================================= */

/* El chip ya no se genera con CSS content: se anula el pseudo-elemento. */
body.single-product
.ultrapc-product-layout-structure
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-line::after {
    content: none !important;
    display: none !important;

    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: none !important;
    box-shadow: none !important;
    min-width: 0 !important;
}

/* Chip normal: producto con stock */
body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-line .ultrapc-benefit-chip {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;

    grid-column: 3 !important;
    justify-self: end !important;
    flex: none !important;

    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;

    margin: 0 !important;
    padding: 4px 7px !important;

    background: #f6f3f1 !important;
    border: 1px solid #bfead8 !important;
    border-radius: 999px !important;

    color: #168662 !important;
    font-size: 9px !important;
    font-weight: 600 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;

    box-shadow: 0 1px 2px rgba(35,120,65, .05) !important;
}

/* Chip de producto AGOTADO */
body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--delivery
.ultrapc-product-benefit-line .ultrapc-benefit-chip--outofstock {
    padding: 3px 6px !important;

    background: #f9f8f6 !important;
    border-color: #eee8e3 !important;
    color: #d83a3a !important;

    font-size: 8px !important;
    letter-spacing: 0 !important;

    box-shadow: 0 1px 2px rgba(150,30,30, .05) !important;
}

/* Con producto agotado el chip es mas largo: menos espacio para no cortar palabras */
body.single-product
.ultrapc-product-benefits-grid
.ultrapc-product-benefit-card--delivery.ultrapc-delivery-outofstock
.ultrapc-product-benefit-line {
    column-gap: 5px !important;
}


/* =========================================================
   ULTRAPC - BRILLO DE LA i DE AGOTADO
   Mismo reflejo metalico que la i de USADO, en rojo.
   Reutiliza las animaciones ya definidas en style_ultrapc.css.
   ========================================================= */

body.single-product
.summary.entry-summary
.ultrapc-product-top-meta-row
.upc-outofstock-badge-wrap
.fa-info-circle.upc-outofstock-info__icon::after {
    content: "\f05a" !important;

    position: absolute !important;
    inset: 0 !important;

    font-family: "Font Awesome 5 Free" !important;
    font-weight: 900 !important;
    font-style: normal !important;
    line-height: 13px !important;

    color: rgba(255,255,255, .95) !important;
    -webkit-text-fill-color: rgba(255,255,255, .95) !important;

    pointer-events: none !important;

    /* Comienza oculto: la animacion lo hace recorrer el icono.
       Sin !important: una declaracion !important anularia la animacion
       de clip-path y el reflejo quedaria recortado a ancho cero. */
    clip-path: polygon(0% 0%, 0% 0%, 0% 100%, 0% 100%);

    animation: ultrapc-info-metal-overlay 6s ease-in-out infinite !important;
}


/* =========================================================
   ULTRAPC - BRILLO DE LA i DE "ULTIMO EN STOCK"
   Mismo reflejo que la i de USADO / AGOTADO.
   Aqui el glifo vive en el ::after (el ::before es el tooltip),
   por lo que el reflejo se pinta con degradado de texto animado.
   NOTA: background-position no lleva !important porque lo anima
   el keyframe (un !important anularia la animacion).
   ========================================================= */

@supports ((-webkit-background-clip: text) or (background-clip: text)) {

    body.single-product
    .summary.entry-summary
    .availability
    p.stock.only_s_left_in_stock_color::after {

        background-image: linear-gradient(
            105deg,
            #b42318 0%,
            #b42318 38%,
            #d9503f 44%,
            #ffffff 50%,
            #d9503f 56%,
            #b42318 62%,
            #b42318 100%
        ) !important;

        background-size: 500% 100% !important;
        background-repeat: no-repeat !important;

        -webkit-background-clip: text !important;
        background-clip: text !important;

        color: transparent !important;
        -webkit-text-fill-color: transparent !important;

        /* El pulso ya existia; se suma el destello en la cadencia del logo */
        animation:
            ultrapc-info-pulse-v3 2.2s ease-in-out infinite,
            ultrapc-info-logo-shine 6s ease-in-out infinite !important;
    }
}
