/* Modo presupuesto. Se carga solo con RPC_MODO_PRESUPUESTO activo (functions.php). */

/* Precios */
.price,
.wd-sticky-btn .wd-sticky-btn-cart .price,
body:not(.woocommerce-account) .woocommerce-Price-amount,
.rh-col__t .p,.rh-prob__r b,
.rpc-calc__tot,.rpc-calc__env,.rpc-calc__pres,
.rpc-rec__r .pm,.rpc-rec__r .tot,.rpc-rec__nota,
.rpc-bq__p small,
.rh-head__d>p,
.widget_rpc_precio_m2,.widget_price_filter,.wd-pf-price{display:none!important}

/* Botones de compra */
.wd-add-btn>a:not(.rpc-mp-wa),
.summary form.cart:not(.variations_form),
.summary .variations_form .single_variation_wrap,
.wd-sticky-btn form.cart,
.wd-sticky-btn .wd-sticky-add-to-cart{display:none!important}

/* Carrito y cuenta */
.wd-header-cart,.cart-widget-side,.wd-header-my-account{display:none!important}

/* Cabecera: teléfono y WhatsApp */
.rpc-mp-hc{display:inline-flex;align-items:center;gap:22px}
.rpc-mp-hc .rpc-htel{gap:.65em}
.rpc-mp-hc .rpc-htel>.rpc-i{width:22px;height:22px;color:var(--orange2)}
.rpc-mp-hc .rpc-htel>span{display:block;line-height:1.2}
.rpc-mp-hc .rpc-htel small{display:block;font:600 .7rem/1.3 var(--body);color:rgba(255,255,255,.65)}
.rpc-mp-hwa{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:999px;background:var(--wa);color:#fff!important;font:700 .86rem var(--body);white-space:nowrap;transition:filter .2s,transform .2s}
.rpc-mp-hwa:hover{filter:brightness(1.08);transform:translateY(-1px);color:#fff!important}
.rpc-mp-hwa:focus-visible{outline:3px solid #fff;outline-offset:2px}
.rpc-mp-hwa .rpc-i{width:19px;height:19px;flex:none}
@media(max-width:1279.98px){.rpc-mp-hwa{font-size:0;gap:0;padding:0;width:44px;justify-content:center}.rpc-mp-hwa .rpc-i{width:22px;height:22px}}

/* Envío y recogida */
.rpc-aviso,
.widget:has(a[href*="filter_entrega"]),
.rpc-chips a[href*="filter_entrega"],
.rpc-rec__o button[data-v="casa"]{display:none!important}

/* Descuento, campaña y métodos de pago */
.onsale,.product-labels .onsale,.rpc-label-camp,.rpc-camp,.rh-cupon,.rh-campana,
a[href*="/metodos-de-pago/"]{display:none!important}

/* Tarjetas: sin valoraciones, con categoría y datos */
.wd-product .star-rating{display:none!important}
.wd-product .wd-entities-title{min-height:0}
.wd-product .product-element-bottom>.wrap-price{margin-top:auto!important;width:100%!important;align-self:stretch}
.wd-product .wrap-price .rpc-mp-dat{width:100%}
.wd-product.wd-hover-fw-button .product-element-bottom>.wd-add-btn{margin-top:0!important}
.rpc-mp-cat{font:700 .68rem/1.3 var(--body);letter-spacing:.12em;text-transform:uppercase;color:var(--orange)}
.rpc-mp-dat{list-style:none;margin:0 0 6px!important;padding:10px 0 0!important;border-top:1px solid var(--sand);display:grid;gap:5px}
.rpc-mp-dat li{display:flex;align-items:center;gap:7px;margin:0!important;font:600 .8rem/1.3 var(--body);color:var(--muted)}
.rpc-mp-dat .rpc-i{width:15px;height:15px;flex:none;color:var(--orange)}

/* Botón de presupuesto, con el mismo naranja */
.rpc-mp-wa{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:0 16px;border-radius:999px;background:var(--orange)!important;color:#fff!important;font:700 .9rem var(--body);text-decoration:none;white-space:nowrap;transition:background .2s}
.rpc-mp-wa:hover{background:var(--orange2)!important;color:#fff!important}
.rpc-mp-wa:focus-visible{outline:3px solid var(--orange2);outline-offset:2px}
.rpc-mp-wa .rpc-i{width:18px;height:18px;flex:none}
.rpc-mp-wa--ficha{min-height:50px;font-size:1rem;margin:0 0 16px}
.wd-sticky-btn .rpc-mp-wa{flex:none;margin:0}
@media(max-width:768.98px){.wd-sticky-btn .rpc-mp-wa{flex:1 1 100%}}
@media(max-width:480px){.wd-product .wd-add-btn>a.rpc-mp-wa{padding:0 6px!important;gap:5px;font-size:.78rem!important}.wd-product .rpc-mp-wa .rpc-i{width:14px;height:14px}}
@media(max-width:380px){.wd-product .rpc-mp-wa .rpc-i{display:none}}
