/* Scoped to QQDL mapped options. BestVM variables follow live light/dark switching. */
#order-standard_cart .qqdl-order-panel { padding: 22px; margin: 20px 0; border: 1px solid var(--bv-border, #d5deeb); border-radius: 14px; background: var(--bv-panel, #fff); color: var(--bv-text, #233650); }
#order-standard_cart .qqdl-order-badge { display: inline-block; padding: 5px 10px; border-radius: 20px; color: var(--bv-accent, #2458b8); background: var(--bv-soft, #edf3ff); font-size: 12px; font-weight: 600; }
#order-standard_cart .qqdl-order-title { margin: 14px 0 8px; font-size: 22px; color: var(--bv-text, #233650); }
#order-standard_cart .qqdl-order-detail, #order-standard_cart .qqdl-order-help, #order-standard_cart .qqdl-order-price-note, #order-standard_cart .qqdl-order-policy { color: var(--bv-text, #52647c); font-size: 13px; line-height: 1.7; }
#order-standard_cart .qqdl-order-price-note { margin: 12px 0 0; }
#order-standard_cart .qqdl-order-summary { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--bv-border, #d5deeb); font-size: 13px; line-height: 1.8; }
#order-standard_cart .qqdl-order-selection, #order-standard_cart .qqdl-order-cart-summary { overflow-wrap: anywhere; color: var(--bv-text, #233650); }
#order-standard_cart .qqdl-order-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
#order-standard_cart .qqdl-order-options > .row { display: contents; }
#order-standard_cart .qqdl-order-options > .row > [class*="col-"] { width: auto; max-width: 100%; padding: 0; min-width: 0; }
#order-standard_cart .qqdl-order-field { height: 100%; margin: 0; padding: 18px; background: var(--bv-panel, #fff); border: 1px solid var(--bv-border, #d5deeb); border-radius: 12px; }
#order-standard_cart .qqdl-order-field label { color: var(--bv-text, #233650); font-weight: 600; }
#order-standard_cart .qqdl-order-field .form-control { color: var(--bv-text, #233650); background: var(--bv-panel-alt, #f6f8fc); border: 1px solid var(--bv-border, #d5deeb); border-radius: 8px; max-width: 100%; height: 42px; }
#order-standard_cart .qqdl-order-help { margin: 10px 0 0; }
#order-standard_cart .qqdl-order-quantity { display: flex; align-items: center; gap: 8px; width: 100%; }
#order-standard_cart .qqdl-order-quantity input { width: 86px; min-width: 0; text-align: center; flex: 1 1 60px; max-width: 110px; padding: 6px; }
#order-standard_cart .qqdl-order-step { flex: 0 0 38px; height: 42px; padding: 0; border-radius: 8px; border: 1px solid var(--bv-border, #d5deeb); background: var(--bv-panel-alt, #f6f8fc); color: var(--bv-text, #233650); font-size: 20px; }
#order-standard_cart .qqdl-order-step:hover:not(:disabled) { background: var(--bv-soft, #edf3ff); color: var(--bv-accent, #2458b8); }
#order-standard_cart .qqdl-order-step:disabled { opacity: .45; cursor: not-allowed; }
#order-standard_cart .qqdl-order-step:focus-visible, #order-standard_cart .qqdl-order-field .form-control:focus-visible { outline: 2px solid var(--bv-accent, #2458b8); outline-offset: 2px; }
#order-standard_cart .qqdl-order-unit { white-space: nowrap; color: var(--bv-text, #52647c); }
#order-standard_cart .qqdl-order-policy { margin: 12px 0 0; }
#order-standard_cart .bv-plan > .qqdl-order-policy { padding: 0 20px 18px; }
#order-standard_cart .qqdl-order-cart-summary { font-size: 13px; margin: 12px 0 0; }
@media (max-width: 767px) { #order-standard_cart .qqdl-order-options { grid-template-columns: minmax(0, 1fr); } #order-standard_cart .qqdl-order-panel { padding: 16px; } }

#order-standard_cart .qqdl-order-options .qqdl-order-field > label { display: block; margin-bottom: 8px; }
#order-standard_cart .qqdl-order-options .qqdl-order-field select.form-control { display: block; width: 100%; }
#order-standard_cart .qqdl-order-options .qqdl-order-quantity input.form-control { width: 86px; max-width: 110px; }

.qqdl-order-stock{margin-top:12px;padding:10px 12px;border:1px solid var(--bv-border,#d8dee8);border-radius:8px;background:var(--bv-soft,#f5f7fa);color:var(--bv-text,#243047)}
.qqdl-order-stock .btn{margin-inline-start:10px}

/* Product navigation uses existing theme tokens, including live dark mode. */
#order-standard_cart .qqdl-product-navigation { margin: 0 0 24px; color: var(--bv-text, #233650); }
#order-standard_cart .qqdl-category-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
#order-standard_cart .qqdl-category-button, #order-standard_cart .qqdl-duration-choice { padding: 10px 16px; border: 1px solid var(--bv-border, #d5deeb); border-radius: 9px; background: var(--bv-panel, #fff); color: var(--bv-text, #233650); }
#order-standard_cart .qqdl-category-button[aria-pressed="true"], #order-standard_cart .qqdl-duration-choice[aria-pressed="true"] { border-color: var(--bv-accent, #2458b8); background: var(--bv-soft, #edf3ff); color: var(--bv-accent, #2458b8); }
#order-standard_cart .qqdl-product-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
#order-standard_cart .qqdl-product-choice { display: flex; flex-direction: column; gap: 8px; padding: 18px; border: 1px solid var(--bv-border, #d5deeb); border-radius: 12px; background: var(--bv-panel, #fff); color: var(--bv-text, #233650); text-decoration: none; min-width: 0; }
#order-standard_cart .qqdl-product-choice span { font-size: 13px; line-height: 1.65; }
#order-standard_cart .qqdl-product-choice small { margin-top: auto; color: var(--bv-muted, #607088); }
#order-standard_cart a.qqdl-product-choice:hover, #order-standard_cart .qqdl-product-choice[aria-current="page"] { border-color: var(--bv-accent, #2458b8); background: var(--bv-soft, #edf3ff); color: var(--bv-text, #233650); }
#order-standard_cart .qqdl-product-choice[aria-disabled="true"] { border-style: dashed; }
#order-standard_cart .qqdl-duration-choices { display: flex; flex-wrap: wrap; gap: 8px; }
#order-standard_cart select.qqdl-duration-native { position: absolute; width: 1px; height: 1px; clip-path: inset(50%); overflow: hidden; }
#order-standard_cart select.qqdl-duration-native:focus { position: static; width: 100%; height: 42px; clip-path: none; }
/* One edge for selection/focus: suppress native mouse outlines and theme shadows. */
#order-standard_cart .qqdl-category-button, #order-standard_cart .qqdl-duration-choice, #order-standard_cart .qqdl-product-choice { box-shadow: none; }
#order-standard_cart .qqdl-category-button:focus, #order-standard_cart .qqdl-duration-choice:focus, #order-standard_cart .qqdl-product-choice:focus { outline: none; box-shadow: none; }
#order-standard_cart .qqdl-category-button:focus-visible, #order-standard_cart .qqdl-duration-choice:focus-visible, #order-standard_cart .qqdl-product-choice:focus-visible { outline: 2px solid var(--bv-accent, #2458b8); outline-offset: -2px; text-decoration: underline; text-underline-offset: 3px; }
#order-standard_cart [hidden] { display: none !important; }
@media (max-width: 767px) { #order-standard_cart .qqdl-product-choices { grid-template-columns: minmax(0, 1fr); } #order-standard_cart .qqdl-category-button { flex: 1; padding: 10px; } }

/* Category products keep native inputs and their WHMCS identities. */
.qqdl-order-options .form-group[hidden] { display: none !important; }
#order-standard_cart .qqdl-order-options .qqdl-subtype-column { grid-column: 1 / -1; }

/* A single category selector replaces redundant category product cards. */
#order-standard_cart .qqdl-navigation-step { margin: 0 0 10px; font-size: 12px; font-weight: 600; color: var(--bv-muted, #607088); }
#order-standard_cart .qqdl-category-buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-bottom: 22px; }
#order-standard_cart .qqdl-category-button { min-height: 46px; font-weight: 600; overflow-wrap: anywhere; }
#order-standard_cart .qqdl-product-choice { gap: 6px; padding: 20px; }
#order-standard_cart .qqdl-product-choice strong { font-size: 17px; line-height: 1.4; }
#order-standard_cart .qqdl-product-choice small { padding-top: 12px; font-weight: 600; }
#order-standard_cart a.qqdl-product-choice small { color: var(--bv-accent, #2458b8); }
#order-standard_cart .qqdl-product-choice[aria-disabled="true"] { background: var(--bv-panel-alt, #f6f8fc); color: var(--bv-muted, #607088); }
#order-standard_cart .qqdl-navigation-note { margin: 14px 0 0; font-size: 13px; line-height: 1.6; color: var(--bv-muted, #607088); }
#order-standard_cart.qqdl-configure-page .qqdl-order-panel { padding: 18px; margin: 12px 0 20px; }
#order-standard_cart.qqdl-configure-page .qqdl-order-title { margin: 10px 0 6px; font-size: 20px; }
#order-standard_cart.qqdl-configure-page .qqdl-order-detail { margin-bottom: 0; }
#order-standard_cart.qqdl-configure-page .qqdl-order-summary { margin-top: 12px; padding-top: 10px; }
#order-standard_cart.qqdl-configure-page .qqdl-order-options .form-group { margin-bottom: 0; padding: 14px; border: 1px solid var(--bv-border, #d5deeb); border-radius: 10px; background: var(--bv-panel, #fff); height: 100%; }
#order-standard_cart.qqdl-configure-page .qqdl-order-help { margin: 8px 0 0; font-size: 12px; color: var(--bv-muted, #607088); }
#order-standard_cart.qqdl-configure-page .qqdl-order-options { margin-bottom: 20px; align-items: stretch; }
@media (max-width: 767px) {
    #order-standard_cart .qqdl-category-buttons { gap: 6px; }
    #order-standard_cart .qqdl-category-button { font-size: 13px; padding: 10px 6px; }
    #order-standard_cart .qqdl-product-choice { padding: 16px; }
    #order-standard_cart .qqdl-product-choice small { padding-top: 6px; }
    #order-standard_cart.qqdl-configure-page .qqdl-order-panel { padding: 14px; }
}

.bv-body #order-standard_cart.qqdl-configure-page .product-info { padding: 14px 18px; margin-bottom: 14px; }
.bv-body #order-standard_cart.qqdl-configure-page .product-info p { margin-bottom: 6px; }
.bv-body #order-standard_cart.qqdl-configure-page .product-info .product-title { color: var(--bv-text, #233650); font-weight: 600; }

#order-standard_cart .qqdl-native-selection { padding: 10px 0; border-top: 1px solid var(--bv-border, #d5deeb); margin-top: 10px; }
#order-standard_cart .qqdl-native-selection-line { margin: 5px 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; color: var(--bv-text, #233650); }

.qqdl-existing-service{margin:0 0 20px;padding:16px;border:1px solid var(--bv-border,#dce2ea);border-left:4px solid var(--bv-accent,#3478ed);border-radius:8px;background:var(--bv-panel,#fff);color:var(--bv-text,#243247);overflow-wrap:anywhere}.qqdl-existing-service p{margin:0 0 12px}.qqdl-existing-service a{display:inline-block;white-space:normal}
