/* Scoped sidebar styles: do not inherit legacy Bootstrap table/card dimensions. */
.vh-summary{--vh-ink:#152238;--vh-muted:#637187;--vh-border:#e8edf3;background:#fff;border:1px solid #e2e8f0;border-radius:20px;color:var(--vh-ink);box-shadow:0 8px 32px #0f172a06;overflow:hidden;font-size:14px;line-height:1.5;container-type:inline-size}
.vh-summary *{box-sizing:border-box}
.vh-summary-header{display:flex;align-items:center;gap:12px;padding:22px 22px 20px;border-bottom:1px solid var(--vh-border)}
.vh-summary-header>div{min-width:0;flex:1}
.vh-summary-header h2{font-size:18px;line-height:1.3;font-weight:750;letter-spacing:-.025em;margin:0;color:var(--vh-ink)}
.vh-summary-header p{font-size:12px;color:var(--vh-muted);margin:4px 0 0}
.vh-summary-symbol{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;color:#e66a12;background:#fff4e9;border-radius:12px}
.vh-summary-count{display:grid;place-items:center;min-width:25px;height:25px;padding:0 6px;background:#f1f5f9;border:1px solid #e8edf3;border-radius:8px;color:#54657b;font-size:12px;font-weight:700}
.vh-summary-products{list-style:none;margin:0;padding:0 22px}
.vh-summary-product{list-style:none;padding:19px 0;border-bottom:1px solid var(--vh-border)}
.vh-summary-product:last-child{border-bottom:0}
.vh-summary-product-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px}
.vh-summary-product h3{color:var(--vh-ink);font-size:15px;line-height:1.45;font-weight:700;letter-spacing:-.01em;overflow-wrap:anywhere;margin:0;min-width:0}
.vh-summary-price{flex-shrink:0;color:var(--vh-ink);font-size:15px;font-weight:700;white-space:nowrap;font-variant-numeric:tabular-nums}
.vh-summary-domain{display:flex;gap:7px;align-items:center;margin:8px 0 0;font-size:13px;color:#596b81}
.vh-summary-domain span{overflow-wrap:anywhere;min-width:0}
.vh-summary-domain svg{width:14px;height:14px;flex-shrink:0;color:#8a9ab0}
.vh-summary-period{font-size:12px;color:var(--vh-muted);margin:5px 0 0}
.vh-summary-product-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:12px}
.vh-summary-state{font-size:11px;font-weight:600;line-height:1.4;color:#577261;background:#f0f7f2;padding:4px 8px;border-radius:6px}
.vh-summary-product.is-current .vh-summary-state{color:#9b571d;background:#fff4e8}
.vh-summary-actions{display:flex;align-items:center;gap:6px;margin-left:auto;flex-shrink:0}
.vh-summary-remove{display:inline-flex!important;margin:0!important;padding:0!important}
.vh-summary-icon{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;min-width:38px;padding:0;border:1px solid #dce4ed;border-radius:10px;background:#fff;color:#526780;cursor:pointer;transition:background-color .15s,border-color .15s,color .15s;text-decoration:none;flex-shrink:0}
.vh-summary-icon:hover{border-color:#f8c59b;color:#b75816;background:#fff7f0}
.vh-summary-icon.is-danger{color:#b94444}
.vh-summary-icon.is-danger:hover{color:#b4232d;border-color:#fecaca;background:#fff1f2}
.vh-summary-icon:focus-visible,.vh-summary button:focus-visible,.vh-summary a:focus-visible,.vh-summary summary:focus-visible{outline:3px solid #fb923c;outline-offset:3px}
.vh-summary-charges{list-style:none;margin:12px 0 0;padding:10px 0 0 10px;border-left:2px solid #edf1f6;font-size:12px;color:var(--vh-muted)}
.vh-summary-charges li{display:flex;justify-content:space-between;gap:12px;margin:5px 0}
.vh-summary-charges strong{white-space:nowrap;font-weight:500;font-variant-numeric:tabular-nums}
.vh-summary-preview-note{background:#fff9f2;border:1px solid #faead7;border-radius:10px;font-size:11px;line-height:1.55;color:#916634;margin:0 22px 18px;padding:10px 12px}
.vh-summary-breakdown{margin:0 22px;padding:17px 0 5px;border-top:1px solid var(--vh-border);font-size:13px;color:var(--vh-muted)}
.vh-summary-breakdown>div,.vh-summary-renewal dl>div{display:flex;justify-content:space-between;gap:16px;margin:6px 0}
.vh-summary dt{font-weight:400}
.vh-summary dd{margin:0;font-weight:600;color:var(--vh-ink);white-space:nowrap;font-variant-numeric:tabular-nums}
.vh-summary-breakdown .is-discount,.vh-summary-breakdown .is-discount dd{color:#16805b}
.vh-summary-total{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:10px 22px 0;padding:15px 0;border-top:1px solid var(--vh-border)}
.vh-summary-total>span{font-size:13px;font-weight:600}
.vh-summary-total>strong{font-size:29px;font-weight:750;letter-spacing:-.05em;line-height:1.1;white-space:nowrap;font-variant-numeric:tabular-nums}
.vh-summary-tax-note{font-size:11px;line-height:1.6;color:var(--vh-muted);margin:0 22px 18px}
.vh-summary-renewal{padding:13px 15px;margin:5px 22px 20px;background:#f7f9fc;border:1px solid #e8edf4;border-radius:12px}
.vh-summary-renewal h3{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:650;letter-spacing:0;margin:0 0 8px}
.vh-summary-renewal h3 svg{width:15px;height:15px;color:#778ba4}
.vh-summary-renewal dl{margin:0;font-size:12px;color:var(--vh-muted)}
.vh-summary-coupon{border-top:1px solid var(--vh-border);padding:15px 22px}
.vh-summary-coupon>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;cursor:pointer;color:#53657d;font-size:12px;font-weight:600}
.vh-summary-coupon>summary::-webkit-details-marker{display:none}
.vh-summary-coupon>summary span{font-size:19px;font-weight:400;line-height:1;transition:transform .15s}
.vh-summary-coupon[open]>summary span{transform:rotate(45deg)}
.vh-summary-coupon form{margin:12px 0 0}
.vh-summary-coupon label{display:block;margin-bottom:5px;font-size:12px;color:var(--vh-muted)}
.vh-summary-coupon .input-group{display:flex;gap:8px;position:static;align-items:stretch;width:100%}
.vh-summary-coupon .form-control{width:0;flex:1;min-width:0;border:1px solid #dce4ed;border-radius:9px!important;padding:8px 10px;height:38px;font-size:13px}
.vh-summary-coupon-submit{border:0;border-radius:9px!important;color:#fff;background:#18273f;padding:8px 12px;font-size:12px;font-weight:600;cursor:pointer}
.vh-summary-coupon-submit:disabled{opacity:.5;cursor:wait}
.vh-summary [data-vh-coupon-error]{font-size:12px;color:#b4232d;margin:8px 0 0}
.vh-summary-footer{border-top:1px solid var(--vh-border);padding:14px 22px 17px;display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap;background:#fbfcfe}
.vh-summary-footer>a{display:flex;align-items:center;gap:4px;font-size:12px;font-weight:600;color:#475b76;text-decoration:none}
.vh-summary-footer>a:hover{color:#e56816}
.vh-summary-footer>a svg{width:13px;height:13px}
.vh-summary-empty-form{margin:0}
.vh-summary-empty-button{display:flex;align-items:center;gap:5px;border:0;background:none;padding:5px 0;color:#8a6870;font-size:11px;cursor:pointer}
.vh-summary-empty-button:hover{color:#b4232d}
.vh-summary-empty-button svg{width:13px;height:13px}
.vh-summary-error{font-size:12px;line-height:1.6;border:1px solid #fecaca;background:#fff1f2;color:#b4232d;border-radius:10px;margin:16px 20px;padding:12px}
.vh-summary [hidden]{display:none!important}
.vh-summary-empty{padding:24px;margin:0;font-size:13px;color:var(--vh-muted)}
#order-summary[aria-busy="true"] .vh-summary-total{opacity:.45}
#order-summary{scrollbar-width:thin;scrollbar-color:#d8e0eb transparent}
.vh-summary-dialog{margin:auto;border:1px solid #e2e8f0;border-radius:18px;padding:25px;width:min(440px,calc(100% - 32px));color:#152238;box-shadow:0 24px 100px #0f172a40}
.vh-summary-dialog::backdrop{background:#0f172a70;backdrop-filter:blur(3px)}
.vh-summary-dialog h2{font-size:20px;font-weight:700;margin:0 0 12px;letter-spacing:-.02em}
.vh-summary-dialog p{font-size:14px;line-height:1.65;color:#637187;margin:8px 0;overflow-wrap:anywhere}
.vh-summary-dialog [data-vh-confirm-name]{font-weight:650;color:#152238}
.vh-summary-dialog>div{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
.vh-summary-dialog button{border:1px solid #dce4ed;border-radius:10px;background:#fff;font-size:13px;font-weight:600;padding:10px 16px;cursor:pointer}
.vh-summary-dialog [data-vh-summary-confirm]{color:#fff;border-color:#152238;background:#152238}
.vh-summary-dialog [data-vh-summary-confirm].is-danger{background:#b4232d;border-color:#b4232d}
@container(max-width:310px){.vh-summary-header,.vh-summary-footer{padding-left:16px;padding-right:16px}.vh-summary-products{padding-left:16px;padding-right:16px}.vh-summary-header{gap:9px}.vh-summary-header h2{font-size:16px}.vh-summary-symbol{width:34px;height:34px}.vh-summary-total>strong{font-size:26px}.vh-summary-header p{font-size:11px}}
@media(prefers-reduced-motion:reduce){.vh-summary *{transition:none!important;scroll-behavior:auto!important}}

@media(min-width:1024px){.vh-config-layout{grid-template-columns:minmax(0,1fr) minmax(320px,390px);gap:32px}.vh-config-main,.vh-config-aside{grid-column:auto;min-width:0}}

#summary-details .vh-summary-coupon-submit{margin:0}
