/* Rudem Plugin W.1 — front (carrito, checkout y mini carrito). */
.rgr-panel{display:grid;gap:12px;margin:0 0 24px}
.rgr-panel[hidden]{display:none}
.rgr-msg{display:flex;gap:10px;align-items:flex-start;padding:12px 16px;border-radius:10px;font-size:15px;line-height:1.45;background:#eef6ff;color:#0b3a66;border:1px solid #c6ddf5}
.rgr-msg--success{background:#ecf8f0;color:#14532d;border-color:#b7e2c5}
.rgr-msg--error{background:#fdecec;color:#7f1d1d;border-color:#f3c2c2}
.rgr-msg__icon{flex:0 0 auto}
.rgr-progress{padding:14px 16px;border-radius:10px;background:#fff8e6;border:1px solid #f1dc9f;color:#4a3700}
.rgr-progress__text{margin:0 0 8px;font-weight:600;font-size:15px}
.rgr-progress__bar{height:8px;border-radius:99px;background:#f3e6bf;overflow:hidden}
.rgr-progress__bar span{display:block;height:100%;border-radius:inherit;background:#111;transition:width .4s ease}
.rgr-offer{display:flex;flex-wrap:wrap;gap:12px 20px;align-items:center;justify-content:space-between;padding:16px;border-radius:12px;background:#111;color:#fff;margin:0}
.rgr-offer--compact{background:#f6f6f6;color:#1d1d1d;border:1px solid #e3e3e3}
.rgr-offer__body{flex:1 1 260px;min-width:0}
.rgr-offer__title{margin:0 0 2px;font-weight:700;font-size:16px;color:inherit}
.rgr-offer__text{margin:0;font-size:14px;opacity:.9;color:inherit}
.rgr-offer__actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.rgr-offer__label{font-size:13px;font-weight:600;width:100%;color:inherit}
.rgr-offer select{min-height:42px;min-width:160px;border-radius:8px;padding:0 12px;border:1px solid #cfcfcf;background:#fff;color:#111}
.rgr-offer .rgr-offer__button{min-height:42px;border-radius:8px;padding:0 18px;font-weight:700;background:#fff;color:#111;border:0;cursor:pointer}
.rgr-offer--compact .rgr-offer__button{background:#111;color:#fff}
.rgr-offer .rgr-offer__button:focus-visible,.rgr-offer select:focus-visible{outline:3px solid #ffbf00;outline-offset:2px}
.rgr-offer .rgr-offer__button[disabled]{opacity:.6;cursor:progress}
/* Etiqueta «Regalo»: contraste AA (blanco sobre #0f5132 = 9.2:1). */
.rgr-badge{display:inline-block;margin-left:6px;padding:2px 8px;border-radius:99px;background:#0f5132;color:#fff;font-size:11px;font-weight:700;letter-spacing:.02em;text-transform:uppercase;vertical-align:middle;line-height:1.6}
.rgr-qty{display:inline-block;min-width:2em;text-align:center;font-weight:600}
.rgr-gift-item del{opacity:.6}
.rgr-gift-item .wc-block-components-product-name::before{content:"🎁 ";}
.rgr-gift-item .wc-block-components-product-metadata .wc-block-components-product-details__name{font-weight:700;color:#0f5132}
.rgr-mini{margin:0 0 12px;padding:10px 12px;border-radius:8px;background:#fff8e6;border:1px solid #f1dc9f;color:#4a3700;font-size:13px;line-height:1.4}
.rgr-mini--ready{background:#ecf8f0;border-color:#b7e2c5;color:#14532d}
/* Woodmart: el pie del mini carrito no tiene margen lateral; cada hijo trae 15px propios. */
.widget_shopping_cart .rgr-mini,.shopping-cart-widget-footer .rgr-mini{box-sizing:border-box;width:auto;max-width:calc(100% - 30px);margin:0 15px 12px;padding:10px 12px;overflow-wrap:anywhere}
@media (max-width:600px){.rgr-offer__actions{width:100%}.rgr-offer select,.rgr-offer .rgr-offer__button{flex:1 1 100%}}
