/* Shop2 · tarjetas de producto. Originalmente estilos inline en single_product_custom.php.
 * Mantener estas reglas aqui: deben estar disponibles antes de pintar el HTML.
 * No contiene consentimientos, tags, pixeles ni reglas de pagos. */

.single-product .entry-summary #units-sold.wao-sales-card {
        display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
        gap:0!important;width:100%!important;max-width:100%!important;height:auto!important;
        min-height:0!important;margin:0 0 16px!important;padding:8px 4px!important;
        background:#fff!important;border:1px solid #e0dcd5!important;border-radius:16px!important;
        box-shadow:none!important;clip-path:none!important;animation:none!important;
        line-height:1.45!important;box-sizing:border-box!important;color:#182333!important;
    }
    #units-sold.wao-sales-card .wao-sales-item {display:flex;align-items:center;gap:7px;min-width:0;text-align:left;justify-content:center;padding:0 6px;box-sizing:border-box;}
    #units-sold.wao-sales-card .wao-sales-item + .wao-sales-item {border-left:1px solid #eeece7;padding-left:6px;}
    #units-sold.wao-sales-card .wao-sales-icon {display:flex;align-items:center;justify-content:center;width:30px;height:30px;flex:0 0 30px;border-radius:9px;background:#f6f5f2;color:#71808f;}
    #units-sold.wao-sales-card .wao-sales-text {font-size:11px!important;font-weight:500!important;line-height:1.5!important;white-space:nowrap!important;overflow-wrap:normal;}
    #units-sold.wao-sales-card .wao-sales-stock .wao-sales-icon {background:#eff6f1;color:#466c5b;}
    @media(max-width:480px){.single-product .entry-summary #units-sold.wao-sales-card{padding:7px 3px!important;gap:0!important;}#units-sold.wao-sales-card .wao-sales-item{gap:5px;padding:0 4px;}#units-sold.wao-sales-card .wao-sales-item + .wao-sales-item{padding-left:4px;}#units-sold.wao-sales-card .wao-sales-text{font-size:10px!important;}#units-sold.wao-sales-card .wao-sales-icon{width:25px;height:25px;flex-basis:25px;}}
    @media(max-width:380px){#units-sold.wao-sales-card .wao-sales-icon{width:20px;height:24px;flex-basis:20px;}#units-sold.wao-sales-card .wao-sales-item{gap:3px;padding:0 2px;}#units-sold.wao-sales-card .wao-sales-item + .wao-sales-item{padding-left:2px;}#units-sold.wao-sales-card .wao-sales-text{font-size:9px!important;}}
    #units-sold.wao-sales-card .wao-sales-tax .wao-sales-icon {background:#eff6f1;color:#466c5b;}
    #units-sold.wao-sales-card .wao-sales-tax .wao-sales-text {white-space:normal!important;text-wrap:balance;}
    @media(max-width:600px){
        .single-product .entry-summary #units-sold.wao-sales-card {grid-template-columns:repeat(2,minmax(0,1fr))!important;row-gap:8px!important;}
        #units-sold.wao-sales-card .wao-sales-item {justify-content:flex-start;padding:0 8px;}
        #units-sold.wao-sales-card .wao-sales-item:nth-child(3) {border-left:0;padding-left:8px;}
        #units-sold.wao-sales-card .wao-sales-item:nth-child(n+3) {border-top:1px solid #eeece7;padding-top:8px;}
    }

/* Botones de pago: solo CSS; metodos por blog_id siguen en funciones PHP. */
body.single-product .button-wrap.wao-payment-icons {
        display:flex!important;
        flex-direction:row!important;
        flex-wrap:nowrap!important;
        gap:10px!important;
        width:100%!important;
        max-width:100%!important;
        min-width:0!important;
        box-sizing:border-box;
        margin:10px 0 14px!important;
        padding:0!important;
        background:transparent!important;
        border:0!important;
        box-shadow:none!important;
    }
    body.single-product .button-wrap.wao-payment-icons > a.single_add_to_cart_button_custom {
        display:flex!important;
        align-items:center!important;
        justify-content:center!important;
        flex:1 1 0!important;
        width:0!important;
        min-width:0!important;
        max-width:none!important;
        height:44px!important;
        min-height:44px!important;
        margin:0!important;
        padding:10px 12px!important;
        box-sizing:border-box!important;
        float:none!important;
        gap:0!important;
        border:0!important;
        border-radius:8px!important;
        box-shadow:none!important;
        text-decoration:none!important;
        transition:transform .18s ease, filter .18s ease;
    }
    body.single-product .button-wrap.wao-payment-icons > a.single_add_to_cart_button_custom:hover {
        filter:brightness(.96)!important;
        transform:translateY(-2px)!important;
    }
    body.single-product .button-wrap.wao-payment-icons > a.single_add_to_cart_button_custom:focus-visible {
        outline:2px solid #334155!important;
        outline-offset:3px;
    }
    body.single-product .button-wrap.wao-payment-icons > a.single_add_to_cart_button_custom > img {
        display:block!important;
        flex:0 1 auto!important;
        width:auto!important;
        max-width:100%!important;
        min-width:0!important;
        height:23px!important;
        max-height:23px!important;
        margin:0!important;
        padding:0!important;
        object-fit:contain!important;
    }
    /* Optical sizing: wide wordmarks need more breathing room. */
    body.single-product .button-wrap.wao-payment-icons > a[method-payment="paypal"] > img {
        width:86px!important;
        height:22px!important;
    }
    body.single-product .button-wrap.wao-payment-icons > a[method-payment="googlepay"] > img {
        width:70px!important;
    }
    body.single-product .button-wrap.wao-payment-icons > a[method-payment="applepay"] > img {
        width:66px!important;
    }
    body.single-product .button-wrap.wao-payment-icons > a[method-payment="amazonpay"] > img {
        width:96px!important;
        height:22px!important;
    }
    @media (max-width:480px) {
        body.single-product .button-wrap.wao-payment-icons { gap:6px!important; }
        body.single-product .button-wrap.wao-payment-icons > a.single_add_to_cart_button_custom {
            padding:10px 8px!important;
        }
    }
    @media (prefers-reduced-motion:reduce) {
        body.single-product .button-wrap.wao-payment-icons > a.single_add_to_cart_button_custom {
            transition:none;
        }
        body.single-product .button-wrap.wao-payment-icons > a.single_add_to_cart_button_custom:hover {
            transform:none!important;
        }
    }

/* Compatibilidad: colores e iconos SVG sin cambios en contenido. */
/* Componente aislados del CSS del tema: un solo bloque visible sin subtítulo. */
        .wao-compat-compact,
        .wao-compat-compact *{box-sizing:border-box!important}
        .wao-compat-compact{
            container-type:inline-size;display:block!important;width:100%!important;
            max-width:100%!important;min-width:0!important;margin:0 0 16px!important;
            padding:8px!important;border:1px solid #e4e7ed!important;border-radius:14px!important;
            background:#fff!important;box-shadow:0 2px 9px rgba(26,40,65,.055)!important;
            font-family:inherit!important;font-style:normal!important;line-height:1.2!important;
            overflow:hidden!important;clear:both!important
        }
        .wao-compat-compact .wao-c4-grid{
            display:grid!important;grid-template-columns:minmax(145px,0.85fr) minmax(0,2fr)!important;
            gap:8px!important;align-items:stretch!important;min-width:0!important;
            margin:0!important;padding:0!important
        }
        .wao-compat-compact .wao-c4-panel{
            display:flex!important;flex-direction:column!important;min-width:0!important;
            margin:0!important;padding:0!important;border:1px solid!important;
            border-radius:11px!important;overflow:hidden!important;box-shadow:none!important;
        }
        .wao-compat-compact .wao-c4-ok{border-color:#a9daba!important;background:#f1faf3!important}
        .wao-compat-compact .wao-c4-no{border-color:#e9b5bd!important;background:#fff5f6!important}
        .wao-compat-compact .wao-c4-head{
            display:flex!important;align-items:center!important;justify-content:center!important;
            gap:7px!important;width:100%!important;min-height:29px!important;
            margin:0!important;padding:5px 8px!important;border:0!important;border-radius:0!important;
            color:#305941!important;font-size:13px!important;font-weight:600!important;
            letter-spacing:0!important;line-height:1.2!important;white-space:normal!important;text-align:center!important;
        }
        .wao-compat-compact .wao-c4-ok .wao-c4-head{background:#c2e9cb!important;color:#2b6240!important}
        .wao-compat-compact .wao-c4-no .wao-c4-head{background:#f3cbd0!important;color:#8b424c!important}
        .wao-compat-compact .wao-c4-head svg{
            display:block!important;flex:0 0 17px!important;width:17px!important;height:17px!important;
            margin:0!important;padding:0!important;color:inherit!important;fill:none!important;
            stroke:currentColor!important;stroke-linecap:round!important;stroke-linejoin:round!important;
        }
        .wao-compat-compact .wao-c4-body{
            display:flex!important;align-items:center!important;justify-content:center!important;
            flex:1 1 auto!important;min-height:46px!important;margin:0!important;
            padding:6px 8px!important;border:0!important;border-radius:0!important;
            background:transparent!important;min-width:0!important;
        }
        .wao-compat-compact .wao-c4-windows{
            display:flex!important;align-items:center!important;justify-content:center!important;
            gap:8px!important;min-width:0!important;color:#10274c!important;
            font-size:17px!important;font-weight:650!important;line-height:1.1!important;
            white-space:nowrap!important;margin:0!important;padding:0!important
        }
        .wao-compat-compact .wao-c4-windows svg{
            display:block!important;flex:0 0 25px!important;width:25px!important;height:25px!important;
            margin:0!important;padding:0!important;color:#1587dc!important;fill:currentColor!important
        }
        .wao-compat-compact .wao-c4-systems{
            display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
            align-items:center!important;justify-items:center!important;gap:2px!important;
            width:100%!important;min-width:0!important;margin:0!important;padding:0!important;
        }
        .wao-compat-compact .wao-c4-system{
            display:flex!important;flex-direction:column!important;align-items:center!important;
            justify-content:center!important;gap:3px!important;min-width:0!important;
            width:100%!important;margin:0!important;padding:0 1px!important;
            border:0!important;border-radius:0!important;background:transparent!important;
            box-shadow:none!important;color:#4b5563!important;font-size:10px!important;
            font-weight:500!important;text-align:center!important;line-height:1.1!important;
        }
        .wao-compat-compact .wao-c4-symbol{
            display:block!important;position:relative!important;width:25px!important;height:22px!important;
            flex:0 0 22px!important;margin:0!important;padding:0!important;
        }
        .wao-compat-compact .wao-c4-symbol > svg{
            display:block!important;width:21px!important;height:21px!important;
            margin:0 auto!important;padding:0!important;border:0!important;
            background:none!important;box-shadow:none!important;transform:none!important;
        }
        .wao-compat-compact .wao-c4-osname{
            display:block!important;width:100%!important;margin:0!important;padding:0!important;
            color:#535e6c!important;font:inherit!important;letter-spacing:-.1px!important;
            text-align:center!important;white-space:nowrap!important;
        }
        /* Adaptación por ancho REAL de la ficha: evita solapamientos. */
        @container (max-width: 570px){
            .wao-compat-compact .wao-c4-grid{grid-template-columns:1fr!important;gap:6px!important}
            .wao-compat-compact .wao-c4-panel.wao-c4-ok{flex-direction:row!important;align-items:stretch!important;min-height:38px!important}
            .wao-compat-compact .wao-c4-ok .wao-c4-head{width:42%!important;flex:0 0 42%!important;min-height:36px!important}
            .wao-compat-compact .wao-c4-ok .wao-c4-body{min-height:36px!important;padding:4px 8px!important}
            .wao-compat-compact .wao-c4-panel.wao-c4-no{flex-direction:column!important}
            .wao-compat-compact .wao-c4-no .wao-c4-head{min-height:27px!important}
            .wao-compat-compact .wao-c4-no .wao-c4-body{min-height:44px!important;padding:5px 8px!important}
        }
        @container (max-width: 350px){
            .wao-compat-compact .wao-c4-head{font-size:12px!important;padding:4px 6px!important}
            .wao-compat-compact .wao-c4-windows{font-size:15px!important}
            .wao-compat-compact .wao-c4-system{font-size:9px!important}
            .wao-compat-compact .wao-c4-no .wao-c4-body{padding:5px 3px!important}
            .wao-compat-compact .wao-c4-symbol{width:22px!important}
            .wao-compat-compact .wao-c4-symbol > svg{width:19px!important;height:19px!important}
        }
        @container (max-width: 265px){
            .wao-compat-compact .wao-c4-system{font-size:8px!important}
            .wao-compat-compact .wao-c4-symbol{width:19px!important}
            .wao-compat-compact .wao-c4-symbol > svg{width:17px!important;height:17px!important}
            .wao-compat-compact .wao-c4-ok .wao-c4-head{width:48%!important;flex-basis:48%!important}
            .wao-compat-compact .wao-c4-windows{font-size:13px!important;gap:4px!important}
            .wao-compat-compact .wao-c4-windows svg{width:19px!important;height:19px!important;flex-basis:19px!important}
        }
        @container (max-width: 215px){
            .wao-compat-compact .wao-c4-systems{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px 2px!important}
        }

.wao-support-card {
        width:100%; max-width:100%; min-width:0; margin:20px 0 0; padding:18px;
        background:#fff; border:1px solid #e0dcd5; border-radius:16px;
        box-sizing:border-box; font-family:inherit; color:#182333;
        text-align:left; line-height:1.45; font-weight:400;
    }
    .wao-support-card * { box-sizing:border-box; }
    .wao-support-card .wao-sc-header { display:flex; align-items:center; gap:12px; margin:0 0 14px; }
    .wao-support-card .wao-sc-icon { display:flex; align-items:center; justify-content:center; flex:0 0 42px; width:42px; height:42px; border-radius:12px; background:#f6f5f2; color:#657584; }
    .wao-support-card .wao-sc-title { margin:0!important; padding:0!important; border:0!important; color:#182333!important; font-size:16px!important; line-height:1.3!important; font-weight:600!important; text-transform:none!important; letter-spacing:0!important; }
    .wao-support-card .wao-sc-subtitle { margin:3px 0 0!important; padding:0!important; color:#84909e; font-size:11px; line-height:1.4; }
    .wao-support-card .wao-sc-languages { margin:0!important; padding:0!important; color:#657584; font-size:12px; line-height:1.65; font-weight:400; }
    .wao-support-card .wao-sc-footer { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px 12px; border-top:1px solid #eeece7; padding-top:12px; margin-top:14px; }
    .wao-support-card .wao-sc-flags { display:flex; align-items:center; gap:4px; flex-shrink:0; }
    .wao-support-card .wao-sc-flag { display:block; width:21px; height:21px; border-radius:50%; overflow:hidden; box-shadow:0 0 0 1px #e8e8e5; }
    .wao-support-card .wao-sc-flag svg { display:block; width:100%; height:100%; }
    .wao-support-card .wao-sc-response { display:inline-flex; align-items:center; gap:5px; color:#466c5b; background:#eff6f1; border-radius:20px; padding:6px 9px; font-size:10px; line-height:1.3; font-weight:500; }
    .wao-support-card .wao-sc-response svg { flex-shrink:0; }
    @media(max-width:480px) {
        .wao-support-card { padding:15px; margin-top:16px; }
        .wao-support-card .wao-sc-title { font-size:15px!important; }
        .wao-support-card .wao-sc-flag { width:19px; height:19px; }
    }
