.dc-header-cart{display:inline-flex;align-items:center;gap:7px;min-height:44px;border:1px solid var(--line);border-radius:12px;padding:8px 11px;background:var(--surface);color:var(--ink);font-size:13px;flex-shrink:0;cursor:pointer}.dc-header-cart svg{width:22px;height:22px}.dc-header-cart b{background:#4169e1;color:white;min-width:22px;padding:3px;border-radius:20px;font-size:12px}#dc-shop-dialog{width:min(950px,calc(100vw - 24px));max-height:calc(100dvh - 100px);padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--surface,#fff);color:var(--ink,#20304d);overflow:auto}#dc-shop-dialog::backdrop{background:#07132899;backdrop-filter:blur(6px)}#dc-shop-dialog header{display:flex;justify-content:space-between;gap:18px;align-items:start}#dc-shop-dialog h2{font-size:clamp(24px,4vw,36px);margin:8px 0 18px;letter-spacing:-.03em}#dc-shop-dialog button,#dc-customer button{min-height:44px;border:1px solid var(--line);border-radius:10px;padding:10px 15px;background:var(--surface);color:var(--ink);cursor:pointer;font-size:14px}#dc-shop-dialog button:disabled{opacity:.55;cursor:not-allowed}#dc-shop-dialog button:focus-visible,#dc-customer button:focus-visible{outline:3px solid #03becd;outline-offset:3px}.dc-shop-notice{padding:15px 18px;border-radius:12px;background:var(--surface);box-shadow:inset 4px 0 #4169e1;border:1px solid var(--line);font-size:14px;line-height:1.65}.dc-cart-row{display:grid;grid-template-columns:68px 1fr auto;gap:16px;padding:18px 0;border-bottom:1px solid var(--line);align-items:center}.dc-cart-row img{width:68px;height:92px;object-fit:contain}.dc-cart-row h3{font-size:18px;margin:0 0 8px}.dc-cart-row p{margin:5px 0}.dc-cart-total{display:flex;justify-content:space-between;gap:16px;padding:24px 0;font-size:22px}.dc-shop-actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:20px 0}.dc-shop-actions a{min-height:44px;display:inline-flex;align-items:center;color:var(--ink)}#dc-shop-dialog #dc-checkout{background:#4169e1;color:white}.dc-shop-small{font-size:13px;line-height:1.65;color:var(--muted)}.dc-complements{border-top:1px solid var(--line);margin-top:24px;padding-top:20px}.dc-complements>div{display:flex;justify-content:space-between;gap:14px;align-items:center;padding:12px 0;border-bottom:1px solid var(--line)}.dc-complements small{display:block;margin-top:5px}.dc-price{font-size:17px!important;line-height:1.5!important;letter-spacing:0!important;color:var(--ink)!important;display:flex;gap:8px;align-items:center}.dc-price del{font-size:14px;opacity:.8}#dc-shop-message{position:fixed;z-index:20000;left:50%;bottom:90px;transform:translateX(-50%);max-width:min(650px,calc(100vw - 24px));padding:16px 20px;background:#163475;color:white;border-radius:12px;box-shadow:0 10px 30px #07172b44;opacity:0;pointer-events:none;transition:opacity .15s}#dc-shop-message.visible{opacity:1}.dc-shop-product{display:grid;grid-template-columns:minmax(150px,30%) 1fr;gap:25px;line-height:1.7}.dc-shop-product>img{width:100%;max-height:430px;object-fit:contain}.dc-shop-product button,.dc-shop-product a{margin:6px}.dc-shop-product a{display:inline-block;color:var(--ink)}#dc-customer{margin-block:30px;padding:24px;border:1px solid var(--line);border-radius:16px;background:var(--surface);color:var(--ink);line-height:1.65}#dc-customer form{display:flex;flex-wrap:wrap;gap:14px;padding:18px 0;align-items:end;border-bottom:1px solid var(--line)}#dc-customer label{display:flex;flex-direction:column;gap:6px;flex:1 1 240px;font-size:14px}#dc-customer input{min-height:44px;font-size:16px;background:var(--surface);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:9px 12px}#dc-customer h2{font-size:28px}#dc-customer h3{font-size:22px}.dc-order{border:1px solid var(--line);padding:18px;margin:16px 0;border-radius:14px}.dc-order button{margin:6px}.dc-order h4{font-size:17px;margin:0}#dc-customer [role=status]{color:var(--ink);font-weight:600}.site-header{flex-wrap:wrap}
@media(max-width:600px){.dc-header-cart>span{display:none}.dc-header-cart{padding:7px 9px}.dc-header-cart svg{width:20px}.dc-cart-row{grid-template-columns:52px 1fr;gap:12px}.dc-cart-row img{width:52px;height:78px}.dc-cart-row>button{grid-column:2;justify-self:start}#dc-shop-dialog{padding:16px;max-height:calc(100dvh - 84px)}.dc-cart-row h3{font-size:16px}.dc-shop-product{grid-template-columns:1fr}.dc-shop-product>img{max-height:230px}.dc-complements>div{align-items:start;flex-direction:column}#dc-customer{padding:16px}#dc-customer form{display:block}#dc-customer input{width:100%;box-sizing:border-box;margin-bottom:12px}.dc-cart-total{font-size:20px}}
.library-edition-links .dc-product-services a,.dc-product-services-compact a{background:var(--surface)!important;color:var(--ink)!important;border:1px solid var(--line);padding:10px 12px;border-radius:8px;text-decoration:none}.library-edition-links .dc-product-services{flex-wrap:wrap}

.dc-header-cart{text-decoration:none}.dc-header-cart:focus-visible{outline:3px solid #03becd;outline-offset:3px}

#dc-customer button.dc-account-action-pending:disabled {
  background: #294db8;
  border-color: #294db8;
  color: #fff;
  cursor: wait;
  opacity: 1;
}

#dc-customer .dc-password-field {
  display: grid;
  gap: 6px;
  flex: 1 1 240px;
  min-width: 0;
}

#dc-customer .dc-password-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

#dc-customer .dc-password-entry input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
}

#dc-customer .dc-password-entry button {
  min-width: 92px;
}

@media (max-width: 600px) {
  #dc-customer .dc-password-field { margin-bottom: 12px; }
}
/* Il pulsante del carrello resta dentro la barra, non sopra il contenuto. */
body.dc-platform .site-header .nav-right .dc-header-cart{min-height:40px;order:0;justify-content:center}
@media(max-width:420px){body.dc-platform .site-header .nav-right .dc-header-cart{gap:3px;padding:6px 5px}body.dc-platform .site-header .nav-right .dc-header-cart svg{width:18px;height:18px}body.dc-platform .site-header .nav-right .dc-header-cart b{min-width:18px;font-size:11px;padding:2px}body.dc-platform .site-header .nav-right.dc-has-cart .nav-toggle{padding-inline:8px}body.dc-platform .site-header .nav-right.dc-has-cart .dc-cerca-btn{padding-inline:8px}}
@media(max-width:420px){body.dc-platform .site-header .nav-right.dc-has-cart .nav-toggle{font-size:14px}}
