/* QuBot X – WooCommerce dark skin */
.qx-woo{padding-top:50px;padding-bottom:90px}
.woocommerce,.woocommerce-page{color:var(--qx-text)}
.woocommerce .woocommerce-breadcrumb{color:#777;font-size:.85rem;margin-bottom:20px}.woocommerce .woocommerce-breadcrumb a{color:#aaa}
.woocommerce-products-header__title,.product_title{color:#fff}
.woocommerce .woocommerce-result-count{color:#888}
.woocommerce .woocommerce-ordering select{background:#0b1122;color:#fff}
/* Product grid */
.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin:0;padding:0}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none}
.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:var(--qx-surface);border:1px solid var(--qx-border);border-radius:var(--qx-radius);padding:22px;display:flex;flex-direction:column;transition:border-color .2s,transform .2s}
.woocommerce ul.products li.product:hover{border-color:rgba(34,229,122,.5);transform:translateY(-3px)}
.woocommerce ul.products li.product img{border-radius:10px;margin-bottom:14px}
.woocommerce ul.products li.product .woocommerce-loop-product__title{color:#fff;font-size:1.1rem}
.woocommerce ul.products li.product .price,.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--qx-accent)!important;font-weight:800;font-size:1.4rem}
.woocommerce ul.products li.product .button{margin-top:auto}
.qx-period{color:#999;font-size:.8em;font-weight:500}
.woocommerce span.onsale{background:var(--qx-accent);color:#04121a}
/* Buttons */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,.woocommerce #respond input#submit,.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt,.wc-block-components-button:not(.is-link){background:linear-gradient(135deg,var(--qx-accent),var(--qx-accent2))!important;color:#04121a!important;border:0!important;border-radius:10px!important;font-weight:700!important;padding:13px 22px!important;text-shadow:none}
.woocommerce a.button:hover,.woocommerce button.button:hover{filter:brightness(1.08)}
.woocommerce button.button:disabled,.woocommerce button.button:disabled[disabled]{opacity:.5}
/* Single product */
.woocommerce div.product{display:grid;grid-template-columns:1fr 1fr;gap:50px}
.woocommerce div.product div.images,.woocommerce div.product div.summary{width:auto!important;float:none!important}
.woocommerce div.product .woocommerce-tabs,.woocommerce div.product .related,.woocommerce div.product .upsells{grid-column:1/-1}
.woocommerce div.product .woocommerce-product-gallery__image img{border-radius:var(--qx-radius)}
.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0;margin:0 0 20px}
.woocommerce div.product .woocommerce-tabs ul.tabs::before{border-color:var(--qx-border)}
.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--qx-surface);border-color:var(--qx-border);border-radius:10px 10px 0 0}
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,.woocommerce div.product .woocommerce-tabs ul.tabs li::after{display:none}
.woocommerce div.product .woocommerce-tabs ul.tabs li a{color:#bbb}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#1a2238;border-bottom-color:#1a2238}.woocommerce div.product .woocommerce-tabs ul.tabs li.active a{color:var(--qx-accent)}
.woocommerce .quantity .qty{background:#0b1122;color:#fff;border:1px solid var(--qx-border);border-radius:8px;padding:10px}
.product_meta{color:#888;font-size:.88rem}.product_meta a{color:#bbb}
/* Notices */
.woocommerce-message,.woocommerce-info,.woocommerce-error,.wc-block-components-notice-banner{background:var(--qx-surface)!important;color:#ddd!important;border:1px solid var(--qx-border)!important;border-top:3px solid var(--qx-accent)!important;border-radius:10px}
.woocommerce-error{border-top-color:var(--qx-down)!important}
.woocommerce-message::before,.woocommerce-info::before{color:var(--qx-accent)}
.qx-signup-note{background:rgba(34,229,122,.1);border:1px solid rgba(34,229,122,.4);color:var(--qx-accent);padding:14px 18px;border-radius:10px;margin-bottom:24px;font-weight:600}
/* Tables (cart, order) */
.woocommerce table.shop_table{background:var(--qx-surface);border:1px solid var(--qx-border);border-radius:var(--qx-radius);border-collapse:separate;overflow:hidden;color:#ddd}
.woocommerce table.shop_table th{color:#fff;background:#141b30}
.woocommerce table.shop_table td,.woocommerce table.shop_table th{border-color:var(--qx-border)!important;padding:14px 16px}
.woocommerce table.shop_table a{color:#fff}
.woocommerce a.remove{color:var(--qx-down)!important}.woocommerce a.remove:hover{background:var(--qx-down);color:#fff!important}
.woocommerce .cart-collaterals .cart_totals h2,.woocommerce-checkout h3{font-size:1.3rem}
/* Forms */
.woocommerce form .form-row label{color:#ccc;font-weight:500}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.select2-container--default .select2-selection--single{background:#0b1122!important;color:#fff!important;border:1px solid var(--qx-border)!important;border-radius:8px!important;padding:11px 12px;min-height:46px}
.select2-container--default .select2-selection--single .select2-selection__rendered{color:#fff;line-height:24px}
.select2-dropdown{background:#0b1122;color:#fff;border-color:var(--qx-border)}
.woocommerce form .form-row input.input-text:focus{border-color:var(--qx-accent)!important;outline:none}
.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon{background:var(--qx-surface);border:1px solid var(--qx-border)!important;border-radius:var(--qx-radius);padding:28px}
.woocommerce .col2-set,.woocommerce-page .col2-set{display:grid;grid-template-columns:1fr 1fr;gap:30px}
.woocommerce .col2-set .col-1,.woocommerce .col2-set .col-2{width:auto!important;float:none!important}
.woocommerce .col2-set::before,.woocommerce .col2-set::after{display:none}
/* Checkout */
#order_review_heading{margin-top:30px}
.woocommerce-checkout #payment{background:var(--qx-surface);border:1px solid var(--qx-border);border-radius:var(--qx-radius)}
.woocommerce-checkout #payment ul.payment_methods{border-color:var(--qx-border)}
.woocommerce-checkout #payment div.payment_box{background:#1a2238;color:#ccc}.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#1a2238}
.woocommerce-privacy-policy-text,.woocommerce-terms-and-conditions-wrapper{color:#999;font-size:.88rem}
/* Block cart/checkout (WooCommerce Blocks) */
.wp-block-woocommerce-checkout,.wp-block-woocommerce-cart{color:#ddd}
.wc-block-components-text-input input,.wc-block-components-combobox .wc-block-components-combobox-control input,.wc-blocks-components-select__select,.wc-block-components-textarea{background:#0b1122!important;color:#fff!important;border-color:#2a3352!important}
.wc-block-components-text-input label,.wc-block-components-combobox label,.wc-blocks-components-select__label{color:#999!important}
.wc-block-checkout__sidebar,.wp-block-woocommerce-checkout-order-summary-block,.wc-block-components-sidebar{background:var(--qx-surface);border:1px solid var(--qx-border);border-radius:var(--qx-radius);padding:10px 18px}
.wc-block-components-radio-control__option,.wc-block-components-checkbox__label,.wc-block-components-title,.wc-block-components-checkout-step__title,.wc-block-components-totals-item,.wc-block-components-product-name{color:#e5e5e5!important}
.wc-block-components-formatted-money-amount,.wc-block-components-totals-footer-item .wc-block-components-totals-item__value{color:var(--qx-accent)}
.wc-block-components-checkbox .wc-block-components-checkbox__input[type=checkbox],.wc-block-checkout__add-note .wc-block-components-checkbox__input{background:#0b1122!important;border:1px solid #3a4566!important}
.wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:var(--qx-accent)}
.wc-block-components-radio-control-accordion-option,.wc-block-components-radio-control--highlight-checked{border-color:var(--qx-border)!important}
/* My account */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:240px 1fr;gap:34px}
.woocommerce-account:not(.logged-in) .woocommerce{display:block}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{width:auto!important;float:none!important}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:10px;background:var(--qx-surface);border:1px solid var(--qx-border);border-radius:var(--qx-radius)}
.woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;border-radius:8px;color:#ccc}
.woocommerce-MyAccount-navigation li.is-active a,.woocommerce-MyAccount-navigation li a:hover{background:rgba(34,229,122,.12);color:var(--qx-accent)}
/* Order received */
.woocommerce-order .woocommerce-thankyou-order-received{font-size:1.25rem;color:#fff;background:rgba(34,197,94,.08);border:1px solid rgba(34,197,94,.35);padding:18px 22px;border-radius:12px}
.woocommerce ul.order_details{display:flex;flex-wrap:wrap;gap:14px;padding:0;margin:24px 0}
.woocommerce ul.order_details li{background:var(--qx-surface);border:1px solid var(--qx-border)!important;border-radius:10px;padding:14px 18px;margin:0!important;color:#999;float:none}
.woocommerce ul.order_details li strong{color:#fff}
.wc-block-order-confirmation-status{color:#fff}
@media (max-width:820px){.woocommerce ul.products,.woocommerce div.product,.woocommerce .col2-set,.woocommerce-account .woocommerce{grid-template-columns:1fr}}
/* Checkout checkboxes (block checkout + WP components), v1.2 */
.wp-block-woocommerce-checkout input[type=checkbox],.wp-block-woocommerce-cart input[type=checkbox],.wc-block-components-checkbox input[type=checkbox],.components-checkbox-control__input[type=checkbox],.woocommerce form .form-row input[type=checkbox]{-webkit-appearance:none!important;appearance:none!important;background:#0b1122!important;background-color:#0b1122!important;border:1px solid #3a4566!important;border-radius:4px!important;width:20px!important;height:20px!important;min-width:20px;box-shadow:none!important;cursor:pointer;position:relative;vertical-align:middle}
.wp-block-woocommerce-checkout input[type=checkbox]:checked,.wp-block-woocommerce-cart input[type=checkbox]:checked,.wc-block-components-checkbox input[type=checkbox]:checked,.components-checkbox-control__input[type=checkbox]:checked,.woocommerce form .form-row input[type=checkbox]:checked{background:var(--qx-accent)!important;border-color:var(--qx-accent)!important}
.woocommerce form .form-row input[type=checkbox]:checked::after{content:"";position:absolute;left:6px;top:2px;width:5px;height:10px;border:solid #04121a;border-width:0 2px 2px 0;transform:rotate(45deg)}
.wc-block-components-checkbox .wc-block-components-checkbox__mark{fill:#04121a!important}
.wc-block-components-radio-control__input{background:#0b1122!important;border-color:#3a4566!important}
.wc-block-components-radio-control__input:checked::before{background:var(--qx-accent)!important}
/* QuBot X additions: header cart badge, shop/cart polish, classic #payment */
.woocommerce-cart .qx-woo,.woocommerce-checkout .qx-page,.woocommerce-account .qx-page{max-width:1200px}
.woocommerce-checkout #payment ul.payment_methods li{color:var(--qx-text);list-style:none}
.woocommerce-checkout #payment ul.payment_methods li label{color:#fff;font-weight:600}
.woocommerce-checkout #payment ul.payment_methods li input[type=radio]{accent-color:var(--qx-accent)}
.woocommerce-checkout #payment div.form-row{padding:1em}
.woocommerce .woocommerce-customer-details address,.woocommerce-account address{border-color:var(--qx-border)!important;color:var(--qx-text);border-radius:12px;padding:14px}
.woocommerce-cart .wc-block-cart,.wp-block-woocommerce-cart{margin-top:10px}
.wc-block-components-panel__button,.wc-block-components-totals-coupon__button{color:#fff!important}
.wc-block-components-product-metadata,.wc-block-components-order-summary-item__description{color:var(--qx-muted)}
.wc-block-components-order-summary-item__quantity{background:var(--qx-accent)!important;color:#04121a!important;border-color:var(--qx-accent)!important;box-shadow:none!important}
.wc-block-components-express-payment-continue-rule,.wc-block-components-checkout-step__description{color:var(--qx-muted)}
.wc-block-checkout__actions_row .wc-block-components-checkout-return-to-cart-button{color:var(--qx-muted)}
.wc-block-components-radio-control-accordion-content{color:var(--qx-text)}
/* My Account grid: WooCommerce adds a notices wrapper as first child, so place items explicitly */
.woocommerce-account .woocommerce{grid-template-columns:240px minmax(0,1fr);row-gap:0}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper{grid-column:1/-1}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper:not(:empty){margin-bottom:20px}
.woocommerce-account .woocommerce-MyAccount-navigation{grid-column:1;align-self:start}
.woocommerce-account .woocommerce-MyAccount-content{grid-column:2;min-width:0}
.woocommerce-MyAccount-navigation a,.woocommerce-MyAccount-navigation a:hover{text-decoration:none!important}
@media (max-width:820px){.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{grid-column:1}.woocommerce-account .woocommerce-MyAccount-navigation{margin-bottom:24px}}
.woocommerce .button.qp-danger,.woocommerce a.button.qp-danger{background:transparent!important;color:var(--qx-down)!important;border:1px solid var(--qx-down)!important}
/* 2.0 mobile pass */
.woocommerce-MyAccount-navigation li a{min-height:44px;display:flex;align-items:center}
.woocommerce ul.products li.product .woocommerce-loop-product__link{display:block}
.woocommerce ul.products li.product .button{min-height:44px;display:inline-flex;align-items:center;justify-content:center}
.woocommerce table.shop_table{max-width:100%}
.woocommerce-MyAccount-content{overflow-wrap:anywhere}
@media (min-width:561px) and (max-width:820px){.woocommerce ul.products{grid-template-columns:1fr 1fr}}
@media (max-width:767px){
	.qx-woo{padding-top:30px;padding-bottom:56px}
	.woocommerce div.product{gap:24px}
	.woocommerce div.product form.cart{display:flex;flex-wrap:wrap;gap:10px}
	.woocommerce div.product form.cart .button{flex:1 1 auto}
	.woocommerce form.login,.woocommerce form.register,.woocommerce form.checkout_coupon{padding:20px}
	.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,.wc-block-components-text-input input{font-size:16px!important}
	.woocommerce .col2-set,.woocommerce-page .col2-set{gap:18px}
	/* Responsive shop tables (orders, order details, classic cart) become stacked cards */
	.woocommerce table.shop_table_responsive thead{display:none}
	.woocommerce table.shop_table_responsive tbody tr{display:block;border-bottom:1px solid var(--qx-border)}
	.woocommerce table.shop_table_responsive tbody tr:last-child{border-bottom:0}
	.woocommerce table.shop_table_responsive tbody tr>th,.woocommerce table.shop_table_responsive tr td{display:block;text-align:right!important;padding:11px 16px;border:0!important;background:transparent}
	.woocommerce table.shop_table_responsive tbody tr>th{background:#141b30}
	.woocommerce table.shop_table_responsive tbody tr>th[data-title]::before,.woocommerce table.shop_table_responsive tr td[data-title]::before{content:attr(data-title) ": ";float:left;font-weight:600;color:#fff;margin-right:12px}
	.woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;align-items:center}
	.woocommerce table.shop_table_responsive tr td.woocommerce-orders-table__cell-order-actions::before{margin-right:auto}
	.woocommerce table.shop_table_responsive tr td .button{margin:0}
	.woocommerce-info .button,.woocommerce-message .button,.woocommerce-error .button{float:none!important;display:flex!important;width:100%;margin:12px 0 0!important}
	/* Non-responsive tables (order details, wallets) scroll inside their box */
	.woocommerce-MyAccount-content table:not(.shop_table_responsive),.woocommerce-order-details table,.woocommerce-table--order-details{display:block;overflow-x:auto;-webkit-overflow-scrolling:touch}
	.woocommerce-account .woocommerce-MyAccount-navigation ul{display:flex;flex-wrap:wrap;gap:6px;padding:8px}
	.woocommerce-account .woocommerce-MyAccount-navigation li{flex:1 1 calc(50% - 6px)}
	.woocommerce-account .woocommerce-MyAccount-navigation li a{justify-content:center;text-align:center;padding:10px 8px;background:rgba(255,255,255,.03)}
	.woocommerce ul.order_details{flex-direction:column}
	.wc-block-components-sidebar,.wc-block-checkout__sidebar{padding:6px 12px}
}
.woocommerce form .form-row label.woocommerce-form__label-for-checkbox,.woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:8px;min-height:44px}
@media (max-width:820px){.woocommerce-account .woocommerce{grid-template-columns:minmax(0,1fr)}}
.woocommerce a.button,.woocommerce button.button{display:inline-flex;align-items:center;justify-content:center}
.product_meta a{display:inline-flex;align-items:center;min-height:44px}
.woocommerce div.product div.images .woocommerce-product-gallery__trigger{width:44px;height:44px}
.wc-block-components-panel__button{min-height:44px}
.wc-block-components-address-form__address_2-toggle{display:inline-flex;align-items:center;min-height:44px}
.wc-block-components-radio-control__option,.wc-block-components-checkbox label{min-height:44px}
