/* NR Boost */
.nrb-bar{margin:0 0 14px;padding:10px 12px;background:#faf3ec;border:1px solid #f0dcc8;border-radius:8px;font-size:14px;line-height:1.35;color:#333}
.nrb-bar.nrb-ok{background:#eef8ee;border-color:#cfe8cf}
.nrb-bar .nrb-text b{color:#111}
.nrb-bar .nrb-track{height:6px;margin-top:8px;background:#eadfd3;border-radius:6px;overflow:hidden}
.nrb-bar .nrb-fill{height:100%;background:#F19D76;border-radius:6px;transition:width .4s ease}
.nrb-bar.nrb-ok .nrb-fill{background:#4caf50}
#blockcart-modal .nrb-bar{margin:0 0 12px}
.blockcart .nrb-bar{margin:8px 10px}
.nrb-pdp{margin:12px 0 4px;padding:10px 12px;border:1px solid #eee;border-radius:8px;background:#fafafa;font-size:13.5px;line-height:1.4;color:#333}
.nrb-pdp-row{display:flex;gap:8px;align-items:flex-start;padding:3px 0}
.nrb-pdp-row .nrb-ico{width:18px;flex:0 0 18px;text-align:center}
.nrb-pdp a{text-decoration:underline;color:inherit}
.nrb-pdp-cart{margin-top:6px;padding-top:6px;border-top:1px dashed #e3e3e3;color:#555}
.nrb-news{background:#f7f1ea;padding:44px 16px;margin-top:40px}
.nrb-news-in{max-width:640px;margin:0 auto;text-align:center}
.nrb-news-title{font-size:26px;margin:0 0 8px;color:#222;font-weight:700}
.nrb-news-sub{font-size:15px;color:#444;margin:0 0 18px}
.nrb-news-row{display:flex;gap:8px;max-width:520px;margin:0 auto}
.nrb-news-row input{flex:1;min-width:0;height:48px;padding:0 14px;border:1px solid #ddd;border-radius:6px;font-size:15px;background:#fff}
.nrb-news-row button{height:48px;padding:0 22px;border:0;border-radius:6px;background:#222;color:#fff;font-size:15px;font-weight:600;cursor:pointer}
.nrb-news-row button:hover{background:#000}
.nrb-news-row button[disabled]{opacity:.6;cursor:default}
.nrb-news-gdpr{margin-top:10px;font-size:12px;color:#666;text-align:left;max-width:520px;margin-left:auto;margin-right:auto}
.nrb-news-note{text-align:center}.nrb-news-note a{color:#666;text-decoration:underline}
.nrb-news-gdpr label{display:flex;gap:8px;align-items:flex-start;font-weight:400}
.nrb-news-msg{margin-top:10px;font-size:14px;min-height:1em}
.nrb-news-msg.nrb-ok{color:#2e7d32;font-weight:600}
.nrb-news-msg.nrb-err{color:#c62828}
@media (max-width:480px){.nrb-news-row{flex-direction:column}.nrb-news-row button{width:100%}.nrb-news-title{font-size:22px}}
/* nasconde le giacenze nelle griglie prodotto */
.nrb-hideqty .product-miniature .product-quantities{display:none!important}

/* stelle vuote (0 recensioni) nascoste nelle griglie, spazio mantenuto */
.comments_note.nrb-nostars .star_content{visibility:hidden}

.nrb-pdp-row.nrb-scarce{color:#b23b00;font-weight:600}

/* bottone WhatsApp fisso (solo mobile/tablet) */
.nrb-wa{display:none;position:fixed;left:14px;bottom:66px;z-index:9999;align-items:center;gap:8px;padding:10px 14px;border-radius:30px;background:#25D366;color:#fff;font-size:14px;font-weight:600;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.25)}
.nrb-wa:hover{color:#fff;background:#1ebe5a}
@media (max-width:991px){.nrb-wa{display:flex}}

/* cross-sell nel carrello */
.nrb-xsell{margin:18px 0 0;padding:18px 16px;background:#fff;border:1px solid #eee;border-radius:8px}
.nrb-xsell-title{font-size:20px;margin:0 0 4px;color:#222}
.nrb-xsell-sub{font-size:13px;color:#666;margin:0 0 14px}
.nrb-xsell-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}
.nrb-xsell-item{text-align:center;display:flex;flex-direction:column;gap:6px}
.nrb-xsell-img img{width:100%;height:auto;border-radius:6px;background:#fafafa}
.nrb-xsell-name{font-size:13px;line-height:1.3;color:#222;text-decoration:none;min-height:2.6em}
.nrb-xsell-price{font-weight:700;color:#222}
.nrb-xsell-add{margin-top:auto;height:38px;border:0;border-radius:6px;background:#222;color:#fff;font-size:14px;font-weight:600;cursor:pointer}
.nrb-xsell-add:hover{background:#000}.nrb-xsell-add[disabled]{opacity:.6;cursor:default}
@media (max-width:767px){.nrb-xsell-grid{grid-template-columns:repeat(2,1fr)}}

/* titolo (Sig./Sig.ra) nascosto nel form cliente: campo facoltativo e inutile */
.customer-form .form-group:has(input[name="id_gender"]),.js-customer-form .form-group:has(input[name="id_gender"]){display:none}

.nrb-blog{margin:24px 0}
.nrb-xsell-grid.nrb-grid-3{grid-template-columns:repeat(3,1fr)}
@media (max-width:767px){.nrb-xsell-grid.nrb-grid-3{grid-template-columns:repeat(2,1fr)}}

/* checkout: evidenzia i campi obbligatori mancanti */
small.nrb-req{color:#c62828;font-weight:600;font-size:.9em;position:static!important;display:inline!important;width:auto!important;height:auto!important;border:0!important;background:none!important;margin-left:4px}
.nrb-invalid{outline:2px solid #c62828!important;outline-offset:2px;border-color:#c62828!important}
input[type="checkbox"].nrb-invalid{box-shadow:0 0 0 3px rgba(198,40,40,.35);border-radius:2px}
.nrb-form-hint{clear:both;margin:12px 0 0;padding:10px 12px;background:#fdecea;border:1px solid #f5c2c0;border-radius:6px;color:#8a1c1c;font-size:14px;line-height:1.4}

/* pagamento: spiega perché il bottone è disattivato */
#payment-confirmation button[disabled]{pointer-events:none}
.nrb-pay-hint{margin:10px 0 0;padding:10px 12px;background:#fff8e1;border:1px solid #f3dd9a;border-radius:6px;color:#6b4f00;font-size:14px;line-height:1.4}
.nrb-flash{outline:3px solid #c62828;outline-offset:4px;border-radius:4px;transition:outline-color .3s}

/* checkout: errori del server ben visibili (es. email già registrata) */
.nrb-step-alert{margin:0 0 16px;padding:12px 14px;background:#fdecea;border:1px solid #f5c2c0;border-left:4px solid #c62828;border-radius:6px;color:#5f1414;font-size:14px;line-height:1.45}
.nrb-step-actions{margin-top:10px;display:flex;gap:14px;align-items:center;flex-wrap:wrap}
.nrb-step-actions button{height:40px;padding:0 20px;border:0;border-radius:6px;background:#222;color:#fff;font-weight:600;cursor:pointer}
.nrb-step-actions a{color:#5f1414;text-decoration:underline}

.manufacturer.nrb-empty,.product_desc .manufacturer:empty{display:none!important}

/* box frutta a scelta */
.nrb-boxpage #add-to-cart-or-refresh .product-variants,.nrb-boxpage .product-customization{display:none!important}
.nrb-box{margin:16px 0;padding:16px;border:1px solid #e3e6dc;border-radius:10px;background:#f8faf5}
.nrb-box-title{font-size:16px;font-weight:700;color:#2f3b2a;margin:0 0 4px}
.nrb-box-rule{margin:0 0 12px;font-size:13px;line-height:1.45;color:#555}
.nrb-box-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px}
.nrb-box-slot{display:flex;align-items:center;gap:8px;margin:0;font-weight:400}
.nrb-box-n{flex:0 0 26px;height:26px;border-radius:50%;background:#c9a24a;color:#fff;font-size:13px;font-weight:700;display:flex;align-items:center;justify-content:center}
.nrb-box-slot select{flex:1;min-width:0;height:42px;padding:0 6px;border:1px solid #cfd5c6;border-radius:6px;background:#fff;font-size:13px;color:#222}
.nrb-box-slot select.nrb-box-pr{border-color:#c9a24a;background:#fffaf0}
.nrb-box-slot select.nrb-invalid{border-color:#c62828}
.nrb-box-total{margin-top:12px;font-size:15px;color:#2f3b2a}
.nrb-box-total b{font-size:18px}
.nrb-box-total span{display:block;font-size:12px;color:#777;margin-top:2px}
.nrb-box-premium .nrb-box-total span{color:#8a6a1c}
.nrb-box-msg{font-size:13px;margin-top:6px;min-height:0}
.nrb-box-msg.nrb-err{color:#c62828;font-weight:600}
.nrb-box-msg.nrb-ok{color:#2e7d32}
.nrb-busy{opacity:.6;pointer-events:none}
.nrb-cust{font-size:13px;color:#555;margin-top:4px;line-height:1.4}
@media (max-width:575px){.nrb-box{padding:12px}.nrb-box-grid{grid-template-columns:1fr}.nrb-box-slot select{height:44px;font-size:16px}}
.nrb-tallinfo .product-content-container.is-fixed{position:relative!important;top:auto!important;bottom:auto!important;width:auto!important}
.nrb-boxpage .product-pack,.nrb-boxpage .product-pack-container,.nrb-boxpage section.product-pack{display:none!important}
