/* Scoped to WooCommerce public pages only; compatible with shortcode and block layouts. */
body.qsb-woo-branded{--qsb-navy:#0a2b67;--qsb-red:#a70f13;--qsb-ink:#17243c;--qsb-line:#e3e9f3;--qsb-muted:#61708a}
.qsb-woo-branded .qsb-brand-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 30px;margin:12px 0 30px;border:1px solid var(--qsb-line);border-radius:22px;background:linear-gradient(120deg,#f6f9ff 0%,#fff 72%);box-shadow:0 12px 35px rgba(10,43,103,.07)}
.qsb-woo-branded .qsb-brand-hero__main{flex:1;min-width:0}
.qsb-woo-branded .qsb-brand-hero__main img{display:block;width:min(100%,310px);height:auto;max-height:85px;object-fit:contain;object-position:left center}
.qsb-woo-branded .qsb-brand-hero__partner{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:140px}
.qsb-woo-branded .qsb-brand-hero__partner span{font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--qsb-muted)}
.qsb-woo-branded .qsb-brand-hero__partner img{display:block;width:min(100%,185px);height:auto;max-height:54px;object-fit:contain;object-position:right center;background:var(--qsb-navy);padding:9px 12px;border-radius:10px;box-sizing:border-box}
.qsb-woo-branded .woocommerce{color:var(--qsb-ink)}
.qsb-woo-branded .woocommerce-MyAccount-navigation{float:left;width:26%;margin:0 0 30px}
.qsb-woo-branded .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:12px;background:#f6f8fc;border:1px solid var(--qsb-line);border-radius:17px;overflow:hidden}
.qsb-woo-branded .woocommerce-MyAccount-navigation li{list-style:none;margin:2px 0;padding:0}
.qsb-woo-branded .woocommerce-MyAccount-navigation a{display:block;padding:12px 14px;border-radius:10px;color:var(--qsb-navy);font-weight:600;text-decoration:none!important;transition:background .15s,color .15s}
.qsb-woo-branded .woocommerce-MyAccount-navigation li.is-active a,.qsb-woo-branded .woocommerce-MyAccount-navigation a:hover{background:var(--qsb-navy);color:#fff}
.qsb-woo-branded .woocommerce-MyAccount-content{float:right;width:70%;padding:24px;background:#fff;border:1px solid var(--qsb-line);border-radius:17px;box-shadow:0 8px 24px rgba(10,43,103,.045);box-sizing:border-box;min-height:250px}
.qsb-woo-branded .woocommerce-MyAccount-content h2,.qsb-woo-branded .woocommerce-MyAccount-content h3{color:var(--qsb-navy)}
.qsb-woo-branded .woocommerce a:not(.button){color:var(--qsb-navy)}
.qsb-woo-branded .woocommerce button.button,.qsb-woo-branded .woocommerce a.button,.qsb-woo-branded .woocommerce input.button,.qsb-woo-branded .wc-block-components-button:not(.is-link){background:var(--qsb-navy);color:#fff;border:0;border-radius:10px;padding:13px 19px;font-weight:700;transition:background .15s}
.qsb-woo-branded .woocommerce button.button:hover,.qsb-woo-branded .woocommerce a.button:hover,.qsb-woo-branded .woocommerce input.button:hover,.qsb-woo-branded .wc-block-components-button:not(.is-link):hover{background:var(--qsb-red);color:#fff}
.qsb-woo-branded .woocommerce input.input-text,.qsb-woo-branded .woocommerce select,.qsb-woo-branded .woocommerce textarea,.qsb-woo-branded .wc-block-components-text-input input{border:1px solid #ccd6e5;border-radius:9px;padding:11px 13px;background:#fff;max-width:100%}
.qsb-woo-branded .woocommerce input:focus,.qsb-woo-branded .woocommerce textarea:focus{outline:2px solid #a9c2ed;outline-offset:1px}
.qsb-woo-branded .woocommerce table.shop_table{border:1px solid var(--qsb-line);border-radius:12px;overflow:hidden}
.qsb-woo-branded .woocommerce table.shop_table th{background:#f1f5fc;color:var(--qsb-navy);padding:13px}
.qsb-woo-branded .woocommerce table.shop_table td{padding:13px;border-color:var(--qsb-line)}
.qsb-woo-branded .woocommerce-message,.qsb-woo-branded .woocommerce-info{border-top-color:var(--qsb-navy);background:#f4f7fd;border-radius:9px}
.qsb-woo-branded .woocommerce-error{border-top-color:var(--qsb-red);border-radius:9px}
.qsb-woo-branded .qsb-customer-licenses>p{color:var(--qsb-muted);line-height:1.65}
.qsb-woo-branded .qsb-customer-licenses h2{margin-top:0}
@media(max-width:767px){.qsb-woo-branded .qsb-brand-hero{padding:18px;gap:15px;flex-wrap:wrap}.qsb-woo-branded .qsb-brand-hero__main img{max-width:240px}.qsb-woo-branded .qsb-brand-hero__partner{align-items:flex-start}.qsb-woo-branded .qsb-brand-hero__partner img{max-width:155px}.qsb-woo-branded .woocommerce-MyAccount-navigation,.qsb-woo-branded .woocommerce-MyAccount-content{float:none;width:100%;margin-bottom:18px}.qsb-woo-branded .woocommerce-MyAccount-content{padding:17px}.qsb-woo-branded .woocommerce table.shop_table{display:block;overflow-x:auto}}

/* Keep menu labels visible on hover, keyboard focus and selected states. */
body.qsb-woo-branded .woocommerce-MyAccount-navigation li:hover > a,
body.qsb-woo-branded .woocommerce-MyAccount-navigation a:hover,
body.qsb-woo-branded .woocommerce-MyAccount-navigation a:focus-visible,
body.qsb-woo-branded .woocommerce-MyAccount-navigation li.is-active > a,
body.qsb-woo-branded .woocommerce-MyAccount-navigation li.is-active > a:hover{color:#fff!important;background-color:var(--qsb-navy)!important}
body.qsb-woo-branded .woocommerce-MyAccount-navigation li:hover > a *,
body.qsb-woo-branded .woocommerce-MyAccount-navigation li.is-active > a *{color:#fff!important}
/* QuickSale customer dashboard */
.qsb-woo-branded .qsb-account-dashboard{color:var(--qsb-ink)}
.qsb-woo-branded .qsb-account-welcome{background:linear-gradient(125deg,#0a2b67,#163f84);color:#fff;border-radius:16px;padding:26px;margin-bottom:18px}
.qsb-woo-branded .qsb-account-welcome .qsb-eyebrow{font-size:11px;font-weight:750;letter-spacing:.12em;color:#cbdcf8}
.qsb-woo-branded .qsb-account-welcome h2{color:#fff;margin:10px 0 8px;font-size:clamp(23px,2.5vw,31px);line-height:1.2}
.qsb-woo-branded .qsb-account-welcome p{color:#e0e9f9;margin:0;line-height:1.6}
.qsb-woo-branded .qsb-account-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}
.qsb-woo-branded .qsb-account-stat{background:#f5f8fe;border:1px solid var(--qsb-line);border-radius:13px;padding:17px 14px;display:flex;flex-direction:column;gap:6px}
.qsb-woo-branded .qsb-account-stat strong{color:var(--qsb-navy);font-size:27px;line-height:1.2}
.qsb-woo-branded .qsb-account-stat span{color:var(--qsb-muted);font-size:12px;font-weight:600}
.qsb-woo-branded .qsb-account-section-title{font-size:19px;margin:0 0 14px;color:var(--qsb-navy)}
.qsb-woo-branded .qsb-account-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.qsb-woo-branded .qsb-account-actions a.qsb-account-tile{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:9px;padding:20px 18px;border:1px solid var(--qsb-line);border-radius:15px;background:#fff;text-decoration:none!important;color:var(--qsb-ink)!important;transition:border-color .18s,transform .18s,box-shadow .18s}
.qsb-woo-branded .qsb-account-actions a.qsb-account-tile:hover,.qsb-woo-branded .qsb-account-actions a.qsb-account-tile:focus-visible{border-color:#b3c7e7;transform:translateY(-2px);box-shadow:0 12px 24px rgba(10,43,103,.09)}
.qsb-woo-branded .qsb-account-tile-icon{display:grid;place-items:center;background:#f1f5fd;border-radius:11px;width:43px;height:43px;font-size:22px}
.qsb-woo-branded .qsb-account-tile strong{font-size:16px;color:var(--qsb-navy)}
.qsb-woo-branded .qsb-account-tile > span:not(.qsb-account-tile-icon):not(.qsb-account-tile-arrow){font-size:12px;color:var(--qsb-muted);line-height:1.5}
.qsb-woo-branded .qsb-account-tile-arrow{position:absolute;right:18px;top:22px;color:var(--qsb-red);font-size:22px}
.qsb-woo-branded .qsb-account-note{margin:21px 0 0;font-size:12px;color:var(--qsb-muted);line-height:1.6}
@media(max-width:767px){.qsb-woo-branded .qsb-account-welcome{padding:20px}.qsb-woo-branded .qsb-account-stats{gap:8px}.qsb-woo-branded .qsb-account-stat{padding:12px 9px}.qsb-woo-branded .qsb-account-stat strong{font-size:22px}.qsb-woo-branded .qsb-account-actions{grid-template-columns:1fr}}

/* Hide WooCommerce stock dashboard introduction only on account home. */
body.qsb-account-home .woocommerce-MyAccount-content > p{display:none}

/* QuickSale 0.15.3: complete customer and checkout visual system */
body.qsb-woo-branded .woocommerce-MyAccount-navigation a:focus-visible{outline:3px solid #a9c2ed;outline-offset:2px}
body.qsb-woo-branded .woocommerce-MyAccount-content{line-height:1.6}
body.qsb-woo-branded .woocommerce-MyAccount-content > h2:first-child{margin-top:0}
body.qsb-woo-branded .woocommerce-MyAccount-content .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body.qsb-woo-branded .woocommerce-MyAccount-content .woocommerce-Address{float:none;width:auto;min-width:0;margin:0;padding:18px;border:1px solid var(--qsb-line);border-radius:14px;background:#f8faff}
body.qsb-woo-branded .woocommerce-Address-title h3{font-size:18px;margin:0 0 12px}
body.qsb-woo-branded .woocommerce-MyAccount-content fieldset{border:1px solid var(--qsb-line);border-radius:13px;padding:18px;margin:22px 0}
body.qsb-woo-branded .woocommerce-MyAccount-content legend{font-weight:750;color:var(--qsb-navy);padding:0 8px}
body.qsb-woo-branded .woocommerce form .form-row{margin-bottom:14px}
body.qsb-woo-branded .woocommerce form .form-row label{color:var(--qsb-navy);font-weight:650;margin-bottom:5px}
body.qsb-woo-branded .woocommerce form .form-row input.input-text,body.qsb-woo-branded .woocommerce form .form-row textarea{width:100%;box-sizing:border-box}
body.qsb-woo-branded .woocommerce .select2-container .select2-selection{border:1px solid #ccd6e5;border-radius:9px;min-height:42px;padding:6px 8px}
body.qsb-woo-branded .woocommerce .woocommerce-Button,body.qsb-woo-branded .woocommerce .button,body.qsb-woo-branded .wc-block-components-button:not(.is-link){cursor:pointer;box-shadow:none}
body.qsb-woo-branded .woocommerce .woocommerce-orders-table__cell-order-actions a{margin:3px}
body.qsb-woo-branded .woocommerce .woocommerce-order-details,body.qsb-woo-branded .woocommerce .woocommerce-customer-details{margin-top:22px}
body.qsb-woo-branded .woocommerce .woocommerce-order-details h2,body.qsb-woo-branded .woocommerce .woocommerce-customer-details h2{color:var(--qsb-navy)}
body.qsb-woo-branded .woocommerce .woocommerce-order-overview{background:#f5f8fe;border:1px solid var(--qsb-line);border-radius:14px;padding:18px;display:flex;flex-wrap:wrap;gap:15px}
body.qsb-woo-branded .woocommerce .woocommerce-order-overview li{margin:0;padding:0 15px 0 0;border-color:var(--qsb-line)}
body.qsb-woo-branded .woocommerce .woocommerce-customer-details address{border:1px solid var(--qsb-line);border-radius:12px;padding:18px;background:#f8faff}
body.qsb-woo-branded .woocommerce .woocommerce-form-login,body.qsb-woo-branded .woocommerce .woocommerce-form-register,body.qsb-woo-branded .woocommerce .woocommerce-form-coupon{border:1px solid var(--qsb-line);border-radius:15px;padding:22px;background:#fff}
body.qsb-woo-branded .woocommerce .woocommerce-billing-fields,body.qsb-woo-branded .woocommerce .woocommerce-shipping-fields,body.qsb-woo-branded .woocommerce .woocommerce-additional-fields,body.qsb-woo-branded .woocommerce #order_review,body.qsb-woo-branded .woocommerce .cart_totals,body.qsb-woo-branded .woocommerce .woocommerce-checkout-review-order{border:1px solid var(--qsb-line);border-radius:16px;padding:20px;background:#fff;margin-bottom:20px;box-sizing:border-box}
body.qsb-woo-branded .woocommerce .woocommerce-billing-fields h3,body.qsb-woo-branded .woocommerce .woocommerce-shipping-fields h3,body.qsb-woo-branded .woocommerce .cart_totals h2,body.qsb-woo-branded .woocommerce #order_review_heading{color:var(--qsb-navy)}
body.qsb-woo-branded .woocommerce #payment{background:#f5f8fe;border:1px solid var(--qsb-line);border-radius:14px}
body.qsb-woo-branded .woocommerce #payment div.payment_box{background:#fff;border:1px solid var(--qsb-line);border-radius:9px}
body.qsb-woo-branded .woocommerce #payment div.payment_box:before{display:none}
body.qsb-woo-branded .woocommerce .cart-collaterals .cart_totals{float:none;width:100%}
body.qsb-woo-branded .woocommerce table.shop_table td a{font-weight:650}
body.qsb-woo-branded .wc-block-components-sidebar,body.qsb-woo-branded .wc-block-cart-items,body.qsb-woo-branded .wc-block-components-order-summary,body.qsb-woo-branded .wc-block-checkout__main .wc-block-components-checkout-step{border-color:var(--qsb-line);border-radius:13px}
body.qsb-woo-branded .wc-block-components-title,body.qsb-woo-branded .wc-block-components-checkout-step__title{color:var(--qsb-navy)}
body.qsb-woo-branded .wc-block-components-button:not(.is-link){background:var(--qsb-navy);color:#fff;border-radius:11px;font-weight:750}
body.qsb-woo-branded .wc-block-components-button:not(.is-link):hover{background:var(--qsb-red);color:#fff}
body.qsb-woo-branded .wc-block-components-text-input input,body.qsb-woo-branded .wc-blocks-components-select .wc-blocks-components-select__select{border-color:#ccd6e5;border-radius:9px}
/* Branded license cards */
.qsb-woo-branded .qsb-licenses-heading{margin-bottom:22px}
.qsb-woo-branded .qsb-eyebrow{font-size:11px;letter-spacing:.1em;font-weight:750;color:#55719b}
.qsb-woo-branded .qsb-licenses-heading h2{margin:8px 0 9px;font-size:clamp(24px,2.5vw,30px)}
.qsb-woo-branded .qsb-licenses-heading p,.qsb-woo-branded .qsb-license-footnote{color:var(--qsb-muted);line-height:1.7}
.qsb-woo-branded .qsb-license-grid{display:grid;grid-template-columns:1fr;gap:17px}
.qsb-woo-branded .qsb-license-card{border:1px solid var(--qsb-line);border-radius:16px;padding:22px;background:#fff;box-shadow:0 7px 20px rgba(10,43,103,.04)}
.qsb-woo-branded .qsb-license-card-top{display:flex;justify-content:space-between;gap:14px;align-items:center;border-bottom:1px solid var(--qsb-line);padding-bottom:15px}
.qsb-woo-branded .qsb-license-card-top h3{margin:6px 0 0;font-size:25px;color:var(--qsb-navy)}
.qsb-woo-branded .qsb-license-status{padding:6px 11px;border-radius:99px;font-size:12px;font-weight:750;background:#f2f4f7;color:#42526c}
.qsb-woo-branded .qsb-status-active{background:#e7f7ef;color:#137a48}
.qsb-woo-branded .qsb-status-suspended,.qsb-woo-branded .qsb-status-expired{background:#fff0f0;color:#a70f13}
.qsb-woo-branded .qsb-status-grace{background:#fff6df;color:#986100}
.qsb-woo-branded .qsb-license-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.qsb-woo-branded .qsb-license-facts>div{background:#f6f8fd;border:1px solid var(--qsb-line);border-radius:11px;padding:13px;display:flex;flex-direction:column;gap:5px}
.qsb-woo-branded .qsb-license-facts span{font-size:12px;color:var(--qsb-muted)}
.qsb-woo-branded .qsb-license-facts strong{color:var(--qsb-navy)}
.qsb-woo-branded .qsb-license-domains{border-top:1px solid var(--qsb-line);padding-top:14px}
.qsb-woo-branded .qsb-license-domains strong{color:var(--qsb-navy)}
.qsb-woo-branded .qsb-license-domains ul{margin:9px 0 0;padding-left:19px}
.qsb-woo-branded .qsb-license-domains p{margin:9px 0 0;color:var(--qsb-muted)}
.qsb-woo-branded .qsb-license-empty{text-align:center;padding:36px 20px;background:#f6f8fd;border:1px dashed #cbd7e8;border-radius:16px}
.qsb-woo-branded .qsb-license-empty>span{font-size:35px}
.qsb-woo-branded .qsb-license-empty h3{margin:12px 0;color:var(--qsb-navy)}
.qsb-woo-branded .qsb-license-empty p{color:var(--qsb-muted);max-width:520px;margin:0 auto 20px}
.qsb-woo-branded .qsb-license-support{display:inline-block;padding:11px 18px;background:var(--qsb-navy);border-radius:9px;color:#fff!important;text-decoration:none!important;font-weight:700}
.qsb-woo-branded .qsb-license-support:hover{background:var(--qsb-red)}
@media(max-width:767px){body.qsb-woo-branded .woocommerce-MyAccount-content .woocommerce-Addresses{grid-template-columns:1fr}.qsb-woo-branded .qsb-license-facts{grid-template-columns:1fr}.qsb-woo-branded .qsb-license-card{padding:17px}body.qsb-woo-branded .woocommerce .woocommerce-billing-fields,body.qsb-woo-branded .woocommerce .woocommerce-shipping-fields,body.qsb-woo-branded .woocommerce .woocommerce-additional-fields,body.qsb-woo-branded .woocommerce #order_review{padding:15px}}
