/* NO.EM STORE — carrello (anteprima approvata il 15/10/2026) */
.noem-steps { display: flex; align-items: center; gap: 14px; font: 700 13px var(--noem-sans); letter-spacing: .6px; color: var(--noem-text-2); }
.noem-steps span { display: flex; align-items: center; gap: 8px; }
.noem-steps b { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid #B9C4D0; font-size: 12px; }
.noem-steps .is-on { color: var(--noem-blue-dark); }
.noem-steps .is-on b { background: var(--noem-blue-dark); border-color: var(--noem-blue-dark); color: #fff; }
.noem-steps .is-done { color: #2E8B57; }
.noem-steps .is-done b { background: #2E8B57; border-color: #2E8B57; color: #fff; }
.noem-steps i { width: 40px; height: 1.5px; background: #E3E8EE; }

.noem-cart { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; padding-top: 26px; padding-bottom: 50px; align-items: start; }
.noem-cart .noem-freeship { display: block; margin: 0 0 18px; padding: 14px 18px; border-radius: 14px; }
.woocommerce-notices-wrapper:empty { display: none; }

/* gruppi */
.noem-group { border: 1px solid #E3E8EE; border-radius: 16px; margin-bottom: 18px; overflow: hidden; background: #fff; }
.noem-ghead { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid #E3E8EE; }
.noem-ghead h2 { margin: 0; font: 700 18px/1.2 var(--noem-serif); color: var(--noem-blue-dark); }
.noem-ghead small { display: block; margin-top: 2px; font: 400 13px var(--noem-sans); color: var(--noem-text-2); }
.noem-ok { margin-left: auto; padding: 6px 12px; border-radius: 999px; background: #E7F5EC; color: #2E8B57; font: 700 12.5px var(--noem-sans); white-space: nowrap; }
.noem-need { margin-left: auto; font: 700 12.5px var(--noem-sans); color: #B8844A; white-space: nowrap; }
.noem-group-promo { border: 1.5px solid var(--noem-champagne); box-shadow: 0 8px 26px rgba(184, 132, 74, .14); }
.noem-group-promo .noem-ghead { background: linear-gradient(100deg, #12528C, #2369A7); border-bottom: 0; }
.noem-group-promo .noem-ghead h2 { color: #fff; }
.noem-group-promo .noem-ghead small { color: rgba(255, 255, 255, .85); }
.noem-seal { flex: none; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #f3dfbf, #D7AE78 50%, #b8844a); color: #12528C; font: 900 20px/1 var(--noem-serif); box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.noem-group-promo.is-pending { border-style: dashed; border-color: #C9D6E3; box-shadow: none; }
.noem-group-promo.is-pending .noem-ghead { background: var(--noem-sky); }
.noem-group-promo.is-pending .noem-ghead h2 { color: var(--noem-blue-dark); }
.noem-group-promo.is-pending .noem-ghead small { color: var(--noem-text-2); }
.noem-group-promo.is-pending .noem-seal { background: #fff; color: var(--noem-blue-dark); border: 2px dashed var(--noem-champagne); box-shadow: none; }

/* righe */
.noem-crow { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto 130px; gap: 18px; align-items: center; padding: 16px 18px; border-bottom: 1px solid #E3E8EE; }
.noem-crow:last-child { border-bottom: 0; }
.noem-crow-img img { display: block; width: 96px; height: 96px; margin: 0; border-radius: 12px; object-fit: cover; }
.noem-crow h3 { margin: 2px 0 4px; font: 700 15px/1.35 var(--noem-sans); }
.noem-crow h3 a { color: var(--noem-text); }
.noem-crow-meta { font-size: 13px; color: var(--noem-text-2); }
.noem-crow-meta dl { display: inline; margin: 0; }
.noem-crow-meta dt, .noem-crow-meta dd { display: inline; margin: 0; }
.noem-crow-meta dd p { display: inline; margin: 0 8px 0 0; }
.noem-crow-meta .remove { display: inline !important; width: auto !important; height: auto !important; margin-left: 4px; border: 0 !important; color: var(--noem-blue) !important; font-weight: 700; font-size: 13px !important; line-height: 1 !important; }
.noem-crow-meta .remove:hover { background: none !important; text-decoration: underline; }
.noem-crow-qty .quantity { display: flex; align-items: center; margin: 0; border: 1px solid #E3E8EE; border-radius: 999px; overflow: hidden; }
.noem-crow-qty .quantity input[type=button] { width: 38px; height: 38px; margin: 0; border: 0; background: #fff; color: var(--noem-blue-dark); box-shadow: none; }
.noem-crow-qty .quantity input.qty { width: 42px; height: 38px; margin: 0; border: 0; box-shadow: none; text-align: center; font-weight: 700; }
.noem-crow-amount { text-align: right; }
.noem-crow-amount strong { display: block; font: 700 18px var(--noem-sans); color: var(--noem-blue-dark); white-space: nowrap; }
.noem-crow.is-free { background: linear-gradient(90deg, #FFF8F0, #fff 60%); }
.noem-crow.is-free .noem-crow-img img { outline: 2px solid var(--noem-champagne); outline-offset: 2px; }
/* importo dell'omaggio barrato in obliquo in rosso */
.noem-strike { position: relative; display: inline-block !important; padding: 0 4px; color: var(--noem-text-2) !important; }
.noem-strike::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 2.5px; border-radius: 2px; background: #D93025; transform: rotate(-14deg); }
.noem-strike-s { display: block; color: var(--noem-text-2); text-decoration: line-through; text-decoration-color: #D93025; }
.noem-gift { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: #D93025; color: #fff; font: 800 12px var(--noem-sans); letter-spacing: 1px; white-space: nowrap; }
.noem-gift svg { width: 14px; height: 14px; }
.noem-gsum { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px 18px; background: #FBF6EE; font-size: 14px; }
.noem-gsum-tot { color: var(--noem-blue-dark); }
.noem-gsum-save { color: #2E8B57; font-size: 15px; }
.noem-suggest { display: flex; gap: 12px; padding: 0 18px 16px; overflow-x: auto; }
.noem-sug { flex: none; display: flex; align-items: center; gap: 10px; width: 260px; padding: 8px; border: 1px solid #E3E8EE; border-radius: 12px; background: #fff; font-size: 13px; line-height: 1.3; }
.noem-sug img { width: 56px; height: 56px; margin: 0; border-radius: 9px; object-fit: cover; }
.noem-sug > div { flex: 1; }
.noem-sug strong { display: block; color: var(--noem-blue-dark); }
.noem-sug-add { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--noem-blue-dark); color: #fff; }
.noem-sug-add svg { width: 16px; height: 16px; }
.noem-cart-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: space-between; }
.noem-cart-actions .noem-btn-outline { height: 42px; padding: 0 18px; font-size: 12px; }
.noem-update[disabled] { opacity: .45; }

/* riepilogo */
.noem-summary { position: sticky; top: calc(var(--noem-hdr, 0px) + 16px); border: 1px solid #E3E8EE; border-radius: 16px; padding: 20px; background: #fff; box-shadow: 0 8px 26px rgba(18, 82, 140, .08); }
.noem-summary h2 { margin: 0 0 14px; font: 700 22px var(--noem-serif); color: var(--noem-blue-dark); }
.noem-line { display: flex; justify-content: space-between; gap: 10px; margin: 9px 0; font-size: 14.5px; }
.noem-line.is-disc { color: #D93025; font-weight: 700; }
.noem-line.is-pts { color: #B8844A; font-weight: 700; }
.noem-line.is-free strong { color: #2E8B57; }
.noem-line a { font-weight: 400; font-size: 12.5px; margin-left: 4px; }
.noem-total { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 6px; padding-top: 14px; border-top: 1px solid #E3E8EE; }
.noem-total span { font: 700 16px var(--noem-sans); }
.noem-total strong, .noem-total .amount { font: 800 26px var(--noem-sans); color: var(--noem-blue-dark); }
.noem-saved { margin: 0 0 16px; padding: 8px 12px; border-radius: 10px; background: #E7F5EC; color: #2E8B57; font: 700 13.5px var(--noem-sans); text-align: center; }
.noem-coupon { display: flex; gap: 8px; margin-bottom: 6px; }
.noem-coupon input { flex: 1; height: 44px; margin: 0; border: 1px solid #E3E8EE; border-radius: 10px; box-shadow: none; }
.noem-coupon button { height: 44px; min-height: 0; margin: 0; padding: 0 16px; border-radius: 10px; background: var(--noem-pearl); color: var(--noem-blue-dark); font: 700 13px var(--noem-sans); text-transform: none; }
.noem-note { margin: 0 0 14px; font-size: 12.5px; color: var(--noem-text-2); }
.noem-proceed { width: 100%; height: 54px; margin-top: 10px; font-size: 14px; }
.noem-proceed svg { width: 18px; height: 18px; }
.noem-trust { display: grid; gap: 8px; margin-top: 16px; font-size: 13px; color: var(--noem-text-2); }
.noem-trust div { display: flex; align-items: center; gap: 8px; }
.noem-trust svg { width: 18px; height: 18px; color: var(--noem-blue); }
.noem-mobile-total { display: none; }

@media (max-width: 1023px) { .noem-cart { grid-template-columns: minmax(0, 1fr); } .noem-summary { position: static; } }
@media (max-width: 767px) {
    .noem-steps { display: none; }
    .noem-crow { grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; gap: 10px 12px; padding: 14px; }
    .noem-crow-img img { width: 76px; height: 76px; }
    .noem-crow-qty { grid-column: 2; grid-row: 2; }
    .noem-crow-amount { grid-column: 2; grid-row: 2; justify-self: end; align-self: center; }
    .noem-ghead { padding: 12px 14px; }
    .noem-seal { width: 46px; height: 46px; font-size: 17px; }
    .noem-ok, .noem-need { display: none; }
    .noem-gsum { flex-direction: column; align-items: flex-start; gap: 2px; padding: 10px 14px; }
    .noem-mobile-total { display: flex; align-items: center; gap: 12px; position: sticky; bottom: 0; z-index: 60; padding: 12px 16px; background: #fff; border-top: 1px solid #E3E8EE; box-shadow: 0 -6px 18px rgba(18, 82, 140, .1); }
    .noem-mobile-total div { font-size: 12.5px; color: var(--noem-text-2); }
    .noem-mobile-total strong, .noem-mobile-total .amount { display: block; font: 800 20px var(--noem-sans); color: var(--noem-blue-dark); }
    .noem-mobile-total .noem-btn-primary { flex: 1; height: 50px; padding: 0 14px; }
}
.noem-cart-empty { margin: 30px auto 50px; max-width: 640px; }
.noem-cart-empty p { color: var(--noem-text-2); margin: 8px 0 18px; }
.woocommerce-cart .cart-empty.woocommerce-info, .woocommerce-cart .return-to-shop { display: none; }
