/* QNTM Store — WooCommerce dressed in the site's own tokens (loaded from qntm.css). */
.qntm-store-main { min-height: 70vh; padding-top: 122px; }
.qntm-store-hero { padding: 64px 0 28px; border-bottom: 1px solid var(--qntm-line); }
.qntm-store-hero--slim { padding: 40px 0 8px; border-bottom: 0; }
.qntm-store-body { padding: 48px 0 110px; }
.qntm-store-content { color: rgba(241, 239, 233, .84); font-size: 15px; line-height: 1.7; }
.qntm-store-content a { color: var(--qntm-gold); }
.qntm-store-content a:hover, .qntm-store-content a:focus-visible { color: var(--qntm-ivory); }
.qntm-store-content h1, .qntm-store-content h2, .qntm-store-content h3, .qntm-store-content h4 { font-family: var(--font-display); font-weight: 300; letter-spacing: .16em; text-transform: uppercase; color: var(--qntm-ivory); }
.qntm-store-content h2 { font-size: 22px; }
.qntm-store-content h3 { font-size: 16px; }
.qntm-store .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons: same language as .qntm-button */
.qntm-store .button, .qntm-store button.button, .qntm-store a.button, .qntm-store input[type="submit"], .qntm-store .wp-element-button,
.qntm-store .wc-block-components-button:not(.is-link), .qntm-store .wp-block-button__link {
    display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px; border: 1px solid var(--qntm-ivory); border-radius: 0;
    background: var(--qntm-ivory); color: #111; font: 600 10px/1 var(--font-body); letter-spacing: .14em; text-transform: uppercase; cursor: pointer; transition: background-color .25s, color .25s, border-color .25s;
}
.qntm-store .button:hover, .qntm-store a.button:hover, .qntm-store input[type="submit"]:hover, .qntm-store .wp-element-button:hover,
.qntm-store .wc-block-components-button:not(.is-link):hover, .qntm-store .wp-block-button__link:hover,
.qntm-store .button:focus-visible, .qntm-store .wc-block-components-button:not(.is-link):focus-visible { border-color: var(--qntm-gold); background: var(--qntm-gold); color: #080808; }
.qntm-store .button.alt, .qntm-store .single_add_to_cart_button, .qntm-store .checkout-button { border-color: var(--qntm-gold); background: var(--qntm-gold); color: #080808; }
.qntm-store .button.alt:hover, .qntm-store .single_add_to_cart_button:hover, .qntm-store .checkout-button:hover { background: var(--qntm-ivory); border-color: var(--qntm-ivory); }
.qntm-store .button.disabled, .qntm-store .button:disabled, .qntm-store .wc-block-components-button[disabled] { opacity: .4; cursor: not-allowed; }
.qntm-store .wc-block-components-button.outlined, .qntm-store .wc-block-components-button.is-link { background: transparent; color: var(--qntm-ivory); border-color: var(--qntm-line-strong); }

/* Forms */
.qntm-store input[type="text"], .qntm-store input[type="email"], .qntm-store input[type="tel"], .qntm-store input[type="password"], .qntm-store input[type="number"], .qntm-store input[type="search"],
.qntm-store textarea, .qntm-store select, .qntm-store .select2-selection,
.qntm-store .wc-block-components-text-input input, .qntm-store .wc-block-components-textarea, .qntm-store .wc-blocks-components-select__select, .qntm-store .wc-block-components-combobox .wc-block-components-combobox-control input {
    min-height: 48px; padding: 12px 16px; border: 1px solid var(--qntm-line-strong); border-radius: 0; background: rgba(0, 0, 0, .35); color: var(--qntm-ivory); font: 300 15px/1.4 var(--font-body);
}
.qntm-store input:focus, .qntm-store textarea:focus, .qntm-store select:focus { outline: 0; border-color: var(--qntm-gold); }
.qntm-store label, .qntm-store .wc-block-components-text-input label { color: var(--qntm-muted); font-size: 11px; letter-spacing: .08em; }
.qntm-store input[type="checkbox"], .qntm-store input[type="radio"] { accent-color: var(--qntm-gold); }
.qntm-store ::placeholder { color: var(--qntm-soft); }
.qntm-store fieldset { border: 1px solid var(--qntm-line); padding: 18px 22px; }

/* Notices */
.qntm-store .woocommerce-message, .qntm-store .woocommerce-info, .qntm-store .woocommerce-error, .qntm-store .wc-block-components-notice-banner {
    margin: 0 0 28px; padding: 16px 20px; border: 1px solid var(--qntm-line-strong); border-left: 3px solid var(--qntm-gold); background: var(--qntm-panel); color: var(--qntm-ivory); list-style: none;
}
.qntm-store .woocommerce-error { border-left-color: #c46a5a; }
.qntm-store .woocommerce-message .button { margin-right: 18px; min-height: 40px; }

/* Product grid (shop and related) */
.qntm-store ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.qntm-store ul.products::before, .qntm-store ul.products::after { display: none; }
.qntm-store ul.products li.product { position: relative; margin: 0; padding: 0; border: 1px solid var(--qntm-line); background: var(--qntm-panel); }
.qntm-store ul.products li.product a { color: var(--qntm-ivory); }
.qntm-store ul.products li.product img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; margin: 0; }
.qntm-store .woocommerce-loop-product__title { margin: 0; padding: 18px 18px 6px; font: 400 13px/1.4 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.qntm-store ul.products li.product .price { display: block; padding: 0 18px 14px; color: var(--qntm-gold); font-size: 13px; }
.qntm-store ul.products li.product .button { margin: 0 18px 20px; min-height: 42px; }
.qntm-store .woocommerce-result-count, .qntm-store .woocommerce-ordering { margin: 0 0 24px; color: var(--qntm-muted); font-size: 12px; }
.qntm-store .onsale { position: absolute; top: 12px; left: 12px; z-index: 2; min-width: 0; min-height: 0; padding: 6px 10px; border-radius: 0; background: var(--qntm-gold); color: #080808; font-size: 9px; font-weight: 600; letter-spacing: .14em; line-height: 1; text-transform: uppercase; }
.qntm-store nav.woocommerce-pagination ul { display: flex; gap: 8px; padding: 0; border: 0; list-style: none; }
.qntm-store nav.woocommerce-pagination ul li { border: 0; }
.qntm-store nav.woocommerce-pagination a, .qntm-store nav.woocommerce-pagination span { display: block; padding: 10px 14px; border: 1px solid var(--qntm-line); color: var(--qntm-ivory); }
.qntm-store nav.woocommerce-pagination .current { border-color: var(--qntm-gold); background: var(--qntm-gold); color: #080808; }

/* Single product */
.qntm-store div.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.qntm-store div.product > .woocommerce-tabs, .qntm-store div.product > .related, .qntm-store div.product > .upsells { grid-column: 1 / -1; }
.qntm-store div.product .woocommerce-product-gallery { position: relative; width: 100%; margin: 0; border: 1px solid var(--qntm-line); background: var(--qntm-panel); }
.qntm-store div.product .woocommerce-product-gallery img { width: 100%; height: auto; }
.qntm-store div.product .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 8px 0 0; padding: 0; list-style: none; }
.qntm-store div.product .flex-control-thumbs img { opacity: .6; cursor: pointer; border: 1px solid var(--qntm-line); }
.qntm-store div.product .flex-control-thumbs img.flex-active, .qntm-store div.product .flex-control-thumbs img:hover { opacity: 1; }
.qntm-store div.product .summary { float: none; width: auto; }
.qntm-store div.product .product_title { margin: 0 0 14px; font: 300 30px/1.2 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.qntm-store div.product p.price, .qntm-store div.product span.price { margin: 0 0 22px; color: var(--qntm-gold); font-size: 22px; font-weight: 300; }
.qntm-store .woocommerce-product-details__short-description { color: var(--qntm-muted); }
.qntm-store table.variations { width: 100%; margin: 24px 0 8px; border: 0; }
.qntm-store table.variations th, .qntm-store table.variations td { display: block; padding: 0 0 10px; border: 0; }
.qntm-store table.variations label { color: var(--qntm-ivory); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.qntm-store .reset_variations { display: inline-block; margin-top: 8px; font-size: 11px; color: var(--qntm-muted); }
.qntm-store form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin: 22px 0; }
.qntm-store form.cart.variations_form { display: block; }
.qntm-store .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 18px; }
.qntm-store .quantity input.qty { width: 84px; text-align: center; }
.qntm-store .product_meta { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--qntm-line); color: var(--qntm-soft); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.qntm-store .product_meta > span { display: block; margin-bottom: 6px; }
.qntm-store .woocommerce-tabs ul.tabs { display: flex; flex-wrap: wrap; gap: 28px; margin: 0 0 28px; padding: 0; border-bottom: 1px solid var(--qntm-line); list-style: none; }
.qntm-store .woocommerce-tabs ul.tabs::before, .qntm-store .woocommerce-tabs ul.tabs::after { display: none; }
.qntm-store .woocommerce-tabs ul.tabs li { margin: 0; padding: 0; border: 0; background: none; }
.qntm-store .woocommerce-tabs ul.tabs li::before, .qntm-store .woocommerce-tabs ul.tabs li::after { display: none; }
.qntm-store .woocommerce-tabs ul.tabs li a { display: block; padding: 12px 0; color: var(--qntm-muted); font-size: 10px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; }
.qntm-store .woocommerce-tabs ul.tabs li.active a { color: var(--qntm-gold); box-shadow: 0 1px 0 var(--qntm-gold); }
.qntm-store .related > h2, .qntm-store .upsells > h2 { margin: 56px 0 24px; }
.qntm-store .star-rating { color: var(--qntm-gold); }

/* Tables: cart, order, account */
.qntm-store table.shop_table, .qntm-store table.shop_table_responsive, .qntm-store table.my_account_orders, .qntm-store table.woocommerce-table { width: 100%; border: 1px solid var(--qntm-line); border-collapse: collapse; background: var(--qntm-panel); }
.qntm-store table.shop_table th, .qntm-store table.shop_table td, .qntm-store table.woocommerce-table th, .qntm-store table.woocommerce-table td { padding: 16px 18px; border: 0; border-bottom: 1px solid var(--qntm-line); color: var(--qntm-ivory); text-align: left; vertical-align: middle; }
.qntm-store table.shop_table th { color: var(--qntm-muted); font-size: 10px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.qntm-store table.shop_table img { width: 64px; height: auto; }
.qntm-store td.product-remove a.remove { color: var(--qntm-muted) !important; font-size: 20px; }
.qntm-store td.product-remove a.remove:hover { background: none; color: var(--qntm-gold) !important; }
.qntm-store .cart_totals, .qntm-store .woocommerce-checkout-review-order { padding: 24px; border: 1px solid var(--qntm-line); background: var(--qntm-panel); }
.qntm-store .cart-collaterals .cart_totals { float: none; width: 100%; max-width: 480px; margin-left: auto; }
.qntm-store .actions .coupon { display: flex; gap: 10px; }
.qntm-store .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; }

/* Classic checkout and account */
.qntm-store form.checkout, .qntm-store .woocommerce-checkout { display: block; }
.qntm-store .col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.qntm-store .col2-set .col-1, .qntm-store .col2-set .col-2 { float: none; width: auto; }
.qntm-store form.login, .qntm-store form.register, .qntm-store form.woocommerce-form-login, .qntm-store form.woocommerce-form-register { padding: 28px; border: 1px solid var(--qntm-line); border-radius: 0; background: var(--qntm-panel); }
.qntm-store .woocommerce-form-row, .qntm-store .form-row { margin: 0 0 18px; padding: 0; }
.qntm-store .woocommerce-form-row label, .qntm-store .form-row label { display: block; margin-bottom: 8px; }
.qntm-store .woocommerce-MyAccount-navigation ul { margin: 0 0 32px; padding: 0; list-style: none; border: 1px solid var(--qntm-line); }
.qntm-store .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--qntm-line); }
.qntm-store .woocommerce-MyAccount-navigation li:last-child { border-bottom: 0; }
.qntm-store .woocommerce-MyAccount-navigation a { display: block; padding: 14px 18px; color: var(--qntm-muted); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; }
.qntm-store .woocommerce-MyAccount-navigation .is-active a, .qntm-store .woocommerce-MyAccount-navigation a:hover { color: var(--qntm-gold); }
.qntm-store .woocommerce-account .woocommerce { display: grid; grid-template-columns: 260px 1fr; gap: 48px; }
.qntm-store .woocommerce-account:not(.logged-in) .woocommerce { display: block; }
.qntm-store .woocommerce-MyAccount-navigation, .qntm-store .woocommerce-MyAccount-content { float: none; width: auto; }
.qntm-store #payment { border-radius: 0; background: var(--qntm-panel); }
.qntm-store #payment ul.payment_methods { border-bottom: 1px solid var(--qntm-line); }
.qntm-store #payment div.payment_box { border-radius: 0; background: rgba(255, 255, 255, .04); color: var(--qntm-muted); }
.qntm-store #payment div.payment_box::before { display: none; }

/* Cart and Checkout blocks */
.qntm-store .wc-block-components-sidebar-layout { gap: 40px; }
.qntm-store .wp-block-woocommerce-cart, .qntm-store .wp-block-woocommerce-checkout { color: var(--qntm-ivory); }
.qntm-store .wc-block-components-main, .qntm-store .wc-block-components-sidebar { padding-top: 0; }
.qntm-store .wc-block-cart-items, .qntm-store .wc-block-cart-items td, .qntm-store .wc-block-cart-items th { border-color: var(--qntm-line) !important; }
.qntm-store .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block, .qntm-store .wc-block-components-order-summary, .qntm-store .wc-block-checkout__sidebar .wc-block-components-totals-wrapper { border-color: var(--qntm-line); }
.qntm-store .wc-block-components-totals-item__value, .qntm-store .wc-block-components-product-price, .qntm-store .wc-block-formatted-money-amount { color: var(--qntm-ivory); }
.qntm-store .wc-block-components-product-name, .qntm-store .wc-block-components-title, .qntm-store .wc-block-components-checkout-step__title { font-family: var(--font-display); font-weight: 300; letter-spacing: .12em; text-transform: uppercase; color: var(--qntm-ivory); text-decoration: none; }
.qntm-store .wc-block-components-checkout-step__description, .qntm-store .wc-block-components-product-metadata, .qntm-store .wc-block-components-totals-item__label { color: var(--qntm-muted); }
.qntm-store .wc-block-components-text-input.is-active label, .qntm-store .wc-block-components-text-input input:-webkit-autofill + label { color: var(--qntm-soft); }
.qntm-store .wc-block-components-radio-control__option, .qntm-store .wc-block-components-radio-control-accordion-option, .qntm-store .wc-block-components-radio-control--highlight-checked::after { border-color: var(--qntm-line) !important; }
.qntm-store .wc-block-components-radio-control__option-checked { box-shadow: inset 0 0 0 1px var(--qntm-gold); }
.qntm-store .wc-block-components-panel__button, .qntm-store .wc-block-components-checkbox label { color: var(--qntm-ivory); }
.qntm-store .wc-block-components-quantity-selector { border-color: var(--qntm-line-strong); background: rgba(0, 0, 0, .35); }
.qntm-store .wc-block-components-quantity-selector input { min-height: 0; border: 0; background: transparent; }
.qntm-store .wc-block-components-product-badge, .qntm-store .wc-block-components-order-summary-item__quantity { border-color: var(--qntm-gold); background: var(--qntm-gold); color: #080808; }
.qntm-store .wc-block-components-notice-banner > svg { background: var(--qntm-gold); }
.qntm-store .wc-block-components-checkout-return-to-cart-button { color: var(--qntm-muted); }
.qntm-store .wc-block-components-address-card { border-color: var(--qntm-line); }
.qntm-store .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { color: var(--qntm-gold); font-size: 20px; }
.qntm-store .wc-block-components-order-summary__content, .qntm-store .wc-block-components-shipping-rates-control__package { background: transparent; }
.qntm-store .wc-block-components-skeleton__element { background: var(--qntm-line); }

/* Breadcrumb */
.qntm-store .woocommerce-breadcrumb { margin: 0 0 28px; color: var(--qntm-soft); font-size: 10px; letter-spacing: .24em; text-transform: uppercase; }
.qntm-store .woocommerce-breadcrumb a { color: var(--qntm-muted); }

@media (max-width: 1000px) {
    .qntm-store ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .qntm-store div.product { grid-template-columns: 1fr; gap: 32px; }
    .qntm-store .woocommerce-account .woocommerce { grid-template-columns: 1fr; gap: 28px; }
    .qntm-store .col2-set { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 560px) {
    .qntm-store ul.products { grid-template-columns: 1fr; }
    .qntm-store-main { padding-top: 96px; }
    .qntm-store div.product .product_title { font-size: 24px; }
    .qntm-store table.shop_table th, .qntm-store table.shop_table td { padding: 12px; }
}

/* ---- Fixes after first live review: WooCommerce's own stylesheet wins on specificity, so these are firm ---- */
.qntm-store .woocommerce-products-header__title.page-title, .qntm-store .woocommerce-products-header { display: none; }
.qntm-store div.product div.images, .qntm-store div.product div.summary, .qntm-store div.product .woocommerce-product-gallery { float: none !important; width: 100% !important; margin: 0 !important; }
.qntm-store div.product div.images .woocommerce-product-gallery__wrapper { margin: 0; }
.qntm-store div.product div.images img { display: block; width: 100%; height: auto; }
.qntm-store div.product .flex-control-nav.flex-control-thumbs { position: static; }
.qntm-store div.product .flex-control-thumbs li { width: auto; float: none; }
.qntm-store div.product form.cart .single_add_to_cart_button, .qntm-store .woocommerce div.product form.cart .button,
.qntm-store .woocommerce a.button.alt, .qntm-store .woocommerce button.button.alt, .qntm-store .woocommerce input.button.alt, .qntm-store .woocommerce #respond input#submit.alt {
    min-height: 52px; border: 1px solid var(--qntm-gold) !important; border-radius: 0; background: var(--qntm-gold) !important; color: #080808 !important; font-weight: 600; letter-spacing: .14em;
}
.qntm-store .woocommerce a.button.alt:hover, .qntm-store .woocommerce button.button.alt:hover, .qntm-store div.product form.cart .single_add_to_cart_button:hover { border-color: var(--qntm-ivory) !important; background: var(--qntm-ivory) !important; }
.qntm-store .woocommerce a.button, .qntm-store .woocommerce button.button, .qntm-store .woocommerce input.button { border-radius: 0; font-weight: 600; letter-spacing: .14em; }
.qntm-store .woocommerce div.product .woocommerce-tabs ul.tabs li, .qntm-store .woocommerce div.product .woocommerce-tabs ul.tabs li.active { border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
.qntm-store .woocommerce div.product .woocommerce-tabs ul.tabs li a { color: var(--qntm-muted) !important; padding: 12px 0 !important; }
.qntm-store .woocommerce div.product .woocommerce-tabs ul.tabs li.active a { color: var(--qntm-gold) !important; }
.qntm-store .woocommerce div.product .woocommerce-tabs .panel { margin: 0 0 40px; padding: 0; background: transparent; border: 0; }
.qntm-store .woocommerce div.product .woocommerce-tabs .panel > h2:first-child { font-size: 18px; }
.qntm-store .woocommerce-tabs .panel p, .qntm-store .woocommerce-tabs .panel li { max-width: 760px; }
.qntm-store .woocommerce div.product p.price, .qntm-store .woocommerce div.product span.price { color: var(--qntm-gold); }
.qntm-store .woocommerce div.product .woocommerce-variation-price .price { font-size: 20px; }
.qntm-store .woocommerce ul.products li.product .price { color: var(--qntm-gold); }
.qntm-store table.variations select { width: 100%; max-width: 320px; }
.qntm-header-logout { white-space: nowrap; }
.qntm-store .qntm-header .qntm-header-tools { align-items: center; }
.qntm-store .woocommerce .quantity .qty { background: rgba(0, 0, 0, .35); color: var(--qntm-ivory); }
.qntm-store .woocommerce #reviews #comments ol.commentlist li .comment-text { border-color: var(--qntm-line); border-radius: 0; }
.qntm-store .woocommerce form .form-row input.input-text, .qntm-store .woocommerce form .form-row textarea { background: rgba(0, 0, 0, .35); color: var(--qntm-ivory); }
.qntm-store .woocommerce-checkout #payment, .qntm-store .woocommerce-checkout #payment div.payment_box { background: var(--qntm-panel); color: var(--qntm-muted); }
.qntm-store .woocommerce-checkout #payment ul.payment_methods li { border-color: var(--qntm-line); }
.qntm-store .qntm-store-content > h1.page-title { display: none; }
.qntm-store .woocommerce ul.products li.product, .qntm-store ul.products[class*="columns-"] li.product { float: none !important; width: auto !important; margin: 0 !important; clear: none !important; }
.qntm-store .woocommerce ul.products li.product a img { margin: 0; }
.qntm-store .woocommerce-result-count { float: none; }
.qntm-store .woocommerce-ordering { float: none; margin-left: auto; }
.qntm-store .qntm-store-content > .woocommerce-result-count, .qntm-store .qntm-store-content > .woocommerce-ordering { display: inline-block; vertical-align: middle; }
.qntm-store .qntm-store-content > .woocommerce-ordering { float: right; }
body.woocommerce-account.logged-in .qntm-store-content > .woocommerce { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 48px; align-items: start; }
body.woocommerce-account .woocommerce-MyAccount-navigation, body.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; }
body.woocommerce-account .woocommerce-MyAccount-navigation ul { margin: 0; }
body.woocommerce-account .woocommerce-MyAccount-content { color: var(--qntm-muted); }
body.woocommerce-account .woocommerce-MyAccount-content a { color: var(--qntm-gold); }
@media (max-width: 1000px) { body.woocommerce-account.logged-in .qntm-store-content > .woocommerce { grid-template-columns: 1fr; gap: 28px; } }
.qntm-store .wc-block-cart__empty-cart__title, .qntm-store .wp-block-woocommerce-empty-cart-block h2 { font-family: var(--font-display); font-weight: 300; letter-spacing: .16em; text-transform: uppercase; }
.qntm-store .wp-block-woocommerce-empty-cart-block img, .qntm-store .wp-block-woocommerce-empty-cart-block svg { opacity: .5; }

/* ---- Cart and Checkout blocks: the block stylesheet assumes a light page, so colours are forced ---- */
.qntm-store .wp-block-woocommerce-cart, .qntm-store .wp-block-woocommerce-checkout, .qntm-store .wc-block-components-sidebar-layout,
.qntm-store .wc-block-components-sidebar, .qntm-store .wc-block-components-main { color: var(--qntm-ivory) !important; }
.qntm-store .wc-block-components-sidebar-layout { display: flex !important; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.qntm-store .wc-block-components-sidebar-layout .wc-block-components-main { flex: 1 1 560px; width: auto !important; padding: 0 !important; min-width: 0; }
.qntm-store .wc-block-components-sidebar-layout .wc-block-components-sidebar { flex: 0 1 420px; width: auto !important; padding: 0 !important; min-width: 0; }
.qntm-store .wc-block-components-sidebar-layout .wc-block-components-sidebar { padding: 24px !important; border: 1px solid var(--qntm-line); background: var(--qntm-panel); }
.qntm-store .wc-block-components-text-input input[type="text"], .qntm-store .wc-block-components-text-input input[type="email"], .qntm-store .wc-block-components-text-input input[type="tel"],
.qntm-store .wc-block-components-text-input input[type="password"], .qntm-store .wc-block-components-text-input input[type="number"], .qntm-store .wc-block-components-form .wc-block-components-text-input input,
.qntm-store .wc-block-components-textarea, .qntm-store .wc-blocks-components-select .wc-blocks-components-select__select, .qntm-store .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
.qntm-store .wc-block-components-address-form input, .qntm-store .wc-block-components-country-input select {
    border: 1px solid var(--qntm-line-strong) !important; border-radius: 0 !important; background: rgba(0, 0, 0, .35) !important; color: var(--qntm-ivory) !important; box-shadow: none !important;
}
.qntm-store .wc-block-components-text-input label, .qntm-store .wc-blocks-components-select__label, .qntm-store .wc-block-components-combobox .components-form-field label { color: var(--qntm-soft) !important; }
.qntm-store .wc-blocks-components-select .wc-blocks-components-select__container { background: transparent !important; border-radius: 0; }
.qntm-store .wc-blocks-components-select__expand { fill: var(--qntm-ivory); }
.qntm-store .wc-block-components-text-input.has-error input { border-color: #c46a5a !important; }
.qntm-store .wc-block-components-order-summary, .qntm-store .wc-block-components-totals-wrapper, .qntm-store .wc-block-components-totals-item, .qntm-store .wc-block-components-product-name,
.qntm-store .wc-block-components-order-summary-item__description, .qntm-store .wc-block-components-product-price, .qntm-store .wc-block-components-product-metadata__description { color: var(--qntm-ivory) !important; }
.qntm-store .wc-block-components-totals-wrapper { border-color: var(--qntm-line) !important; }
.qntm-store .wc-block-checkout__payment-method .wc-block-components-radio-control, .qntm-store .wc-block-components-radio-control__option { background: transparent; color: var(--qntm-ivory); }
.qntm-store .wc-block-components-radio-control__label, .qntm-store .wc-block-components-radio-control__description { color: var(--qntm-ivory); }
.qntm-store .wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: #080808; }
.qntm-store .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-color: var(--qntm-line-strong); background: transparent; }
.qntm-store .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--qntm-gold); border-color: var(--qntm-gold); }
.qntm-store .wc-block-components-button:not(.is-link) { border-radius: 0 !important; }
.qntm-store .wc-block-cart__submit-button, .qntm-store .wc-block-components-checkout-place-order-button { border-color: var(--qntm-gold) !important; background: var(--qntm-gold) !important; color: #080808 !important; min-height: 56px; }
.qntm-store .wc-block-cart__submit-button:hover, .qntm-store .wc-block-components-checkout-place-order-button:hover { border-color: var(--qntm-ivory) !important; background: var(--qntm-ivory) !important; }
.qntm-store .wc-block-components-express-payment { margin-bottom: 28px; }
.qntm-store .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::before, .qntm-store .wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container::after { border-color: var(--qntm-line); }
.qntm-store .wc-block-components-express-payment-continue-rule { color: var(--qntm-muted); }
.qntm-store .wc-block-components-express-payment-continue-rule::before, .qntm-store .wc-block-components-express-payment-continue-rule::after { border-color: var(--qntm-line); }
.qntm-store .wc-block-components-express-payment__content { background: transparent; }
.qntm-store .wc-block-cart-item__remove-link, .qntm-store .wc-block-components-product-metadata, .qntm-store .wc-block-components-product-details { color: var(--qntm-muted) !important; }
.qntm-store .wc-block-cart-items .wc-block-cart-items__row img { background: #fff; }
.qntm-store .wc-block-components-quantity-selector__button { color: var(--qntm-ivory) !important; opacity: .8; }
.qntm-store .wc-block-components-totals-coupon-link, .qntm-store .wc-block-components-panel__button { color: var(--qntm-ivory) !important; }
.qntm-store .wc-block-components-totals-coupon__form input { background: rgba(0, 0, 0, .35) !important; color: var(--qntm-ivory) !important; }
@media (max-width: 860px) { .qntm-store .wc-block-components-sidebar-layout { display: block !important; } .qntm-store .wc-block-components-sidebar-layout .wc-block-components-sidebar { margin-top: 28px; } }

/* ---- /store front page (front-page.php): edge-to-edge like the site's home ---- */
body.qntm-store-home .qntm-store-main { padding-top: 0; }
body.qntm-store-home .qv-hero-content { max-width: 820px; }
.qntm-available__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.qntm-available__item { display: flex; flex-direction: column; border: 1px solid var(--qntm-line); background: var(--qntm-panel); }
.qntm-available__item.is-lead { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: stretch; }
.qntm-available__media { display: block; overflow: hidden; background: #0d0d0c; }
.qntm-available__media img { width: 100%; height: 100%; min-height: 360px; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .9s ease; }
.qntm-available__item:hover .qntm-available__media img { transform: scale(1.03); }
.qntm-available__item.is-lead .qntm-available__media img { aspect-ratio: auto; max-height: 640px; }
.qntm-available__body { display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: clamp(24px, 4vw, 64px); }
.qntm-available__body h3 { margin: 0; font: 300 clamp(24px, 3vw, 40px)/1.15 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.qntm-available__text { max-width: 460px; margin: 0; color: var(--qntm-muted); }
.qntm-available__price { margin: 6px 0 14px; color: var(--qntm-gold); font-size: 20px; letter-spacing: .04em; }
.qntm-available__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.qntm-store-all { margin: 40px 0 0; text-align: center; }
.qntm-store-close__inner { max-width: 760px; margin: 0 auto; text-align: center; }
.qntm-store-close__inner .qv-lede { margin: 1.6rem auto 2.2rem; }
div.qv-card { cursor: default; }
@media (max-width: 900px) {
    .qntm-available__grid { grid-template-columns: 1fr; }
    .qntm-available__item.is-lead { grid-template-columns: 1fr; }
    .qntm-available__media img { min-height: 0; max-height: 480px; }
}

/* ---- The activation code, on the thank-you page and in the account ---- */
.qntm-activation { margin: 48px 0 0; padding: 36px clamp(20px, 4vw, 48px); border: 1px solid var(--qntm-gold); background: var(--qntm-panel); }
.qntm-activation h2 { margin: 0 0 22px; font-size: 22px; }
.qntm-activation h3 { margin: 30px 0 14px; color: var(--qntm-gold); font: 600 10px/1 var(--font-body); letter-spacing: .3em; text-transform: uppercase; }
.qntm-activation__unit { margin: 0 0 14px; padding: 18px 20px; border: 1px solid var(--qntm-line-strong); background: rgba(0, 0, 0, .3); text-align: center; }
.qntm-activation__label { margin: 0 0 10px; color: var(--qntm-gold); font: 600 10px/1.4 var(--font-body); letter-spacing: .28em; text-transform: uppercase; }
.qntm-activation__code { margin: 0; color: var(--qntm-ivory); font: 400 clamp(15px, 2.6vw, 21px)/1.5 "Courier New", monospace; letter-spacing: .08em; word-break: break-all; cursor: copy; }
.qntm-activation__code.is-copied::after { content: " ✓"; color: var(--qntm-gold); }
.qntm-activation__private { margin: 0 0 4px; color: var(--qntm-muted); font-size: 13px; }
.qntm-activation__steps { margin: 0 0 20px; padding-left: 20px; color: var(--qntm-muted); }
.qntm-activation__steps li { margin-bottom: 8px; }
.qntm-activation__pending { margin: 32px 0 0; padding: 16px 20px; border: 1px solid var(--qntm-line-strong); color: var(--qntm-muted); }

/* ---- Thank-you page: what to explore next ---- */
.qntm-upsell { margin: 56px 0 0; }
.qntm-upsell h2 { margin: 0 0 8px; font-size: 22px; }
.qntm-upsell__sub { margin: 0 0 22px; color: var(--qntm-muted); }
.qntm-upsell__listed { margin: 0 0 22px; padding: 12px 16px; border-left: 2px solid var(--qntm-gold); background: var(--qntm-panel); color: var(--qntm-ivory); }
.qntm-upsell__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0 0 26px; }
.qntm-upsell__card { display: flex; flex-direction: column; border: 1px solid var(--qntm-line); background: var(--qntm-panel); color: var(--qntm-ivory) !important; text-decoration: none; transition: border-color .25s; }
.qntm-upsell__card:hover, .qntm-upsell__card:focus-visible { border-color: var(--qntm-gold); outline: 0; }
.qntm-upsell__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.qntm-upsell__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 20px; }
.qntm-upsell__body strong { font: 400 13px/1.4 var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.qntm-upsell__body em { color: var(--qntm-muted); font-size: 13px; font-style: normal; }
.qntm-upsell__body small { color: var(--qntm-gold); font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
@media (max-width: 860px) { .qntm-upsell__grid { grid-template-columns: 1fr; } .qntm-upsell__card { flex-direction: row; } .qntm-upsell__card img { width: 110px; aspect-ratio: 1; } }

/* Colour swatches on the product page. */
.qntm-swatches { display: flex; flex-wrap: wrap; gap: 14px; padding: 6px 4px; }
.qntm-swatch { position: relative; width: 38px; height: 38px; padding: 0; border: 1px solid var(--qntm-line-strong, rgba(255,255,255,.3)); border-radius: 50%; background: var(--swatch, transparent); cursor: pointer; transition: transform .2s; }
.qntm-swatch::after { content: ""; position: absolute; inset: -5px; border: 1px solid transparent; border-radius: 50%; transition: border-color .2s; }
.qntm-swatch:hover, .qntm-swatch:focus-visible { outline: 0; transform: scale(1.06); }
.qntm-swatch[aria-pressed="true"]::after { border-color: var(--qntm-gold, #c9a45c); }
.qntm-swatch.is-text { width: auto; min-width: 54px; height: 44px; padding: 0 16px; border-radius: 0; background: transparent; color: inherit; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; }
.qntm-swatch.is-text::after { border-radius: 0; inset: -4px; }

/* Shop grid cards: one inner padding for title, price and button; readable button text. */
.qntm-store .woocommerce ul.products li.product .woocommerce-loop-product__title,
.qntm-store ul.products li.product .woocommerce-loop-product__title { padding: 18px 18px 8px !important; font-size: 13px; }
.qntm-store .woocommerce ul.products li.product .price,
.qntm-store ul.products li.product .price { margin: 0 !important; padding: 0 18px 16px !important; }
.qntm-store ul.products li.product a.button,
.qntm-store .woocommerce ul.products li.product a.button { display: inline-flex; align-items: center; justify-content: center; margin: 0 18px 20px !important; padding: 0 28px; color: #080808 !important; background: var(--qntm-ivory); border: 1px solid var(--qntm-ivory); }
.qntm-store ul.products li.product a.button:hover, .qntm-store ul.products li.product a.button:focus-visible,
.qntm-store .woocommerce ul.products li.product a.button:hover { color: #080808 !important; background: var(--qntm-gold); border-color: var(--qntm-gold); }

/* "New in store" and other product blocks: every thumbnail the same size, full strength. */
.qntm-store .wc-block-grid__products { display: grid !important; grid-template-columns: repeat(var(--qntm-cols, 4), minmax(0, 1fr)); gap: 22px; margin: 0; padding: 0; list-style: none; }
.qntm-store .wc-block-grid.has-3-columns .wc-block-grid__products { --qntm-cols: 3; }
.qntm-store .wc-block-grid.has-2-columns .wc-block-grid__products { --qntm-cols: 2; }
.qntm-store .wc-block-grid__product { width: auto !important; max-width: none !important; margin: 0 !important; padding: 0; border: 1px solid var(--qntm-line); background: var(--qntm-panel); flex: none !important; }
.qntm-store .wc-block-grid__product-image { width: 100% !important; margin: 0 0 6px; }
.qntm-store .wc-block-grid__product-image a { display: block; }
.qntm-store .wc-block-grid__product-image img { display: block; width: 100% !important; height: auto !important; aspect-ratio: 4 / 5; object-fit: cover; opacity: 1 !important; filter: none !important; }
.qntm-store .wc-block-grid__product-title, .qntm-store .wc-block-grid__product-price { padding: 0 18px; }
.qntm-store .wc-block-grid__product-add-to-cart { padding: 0 18px 20px; }
@media (max-width: 900px) { .qntm-store .wc-block-grid__products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .qntm-store .wc-block-grid__products { grid-template-columns: 1fr; } }
.qntm-store .wc-block-grid__product-link, .qntm-store .wc-block-grid__product-image { display: block !important; width: 100% !important; }
.qntm-store .wc-block-grid__product-title { display: block; text-align: center; }

/* The sign-in page: one door for the site and the store. */
.qntm-login { display: grid; place-items: center; min-height: 70vh; padding: 72px 20px 96px; background: radial-gradient(ellipse at 50% 0%, rgba(189, 154, 104, .09), transparent 60%); }
.qntm-login__card { width: 100%; max-width: 440px; padding: 44px 40px 36px; border: 1px solid var(--qntm-line-strong); background: var(--qntm-panel); }
.qntm-login__h { margin: 10px 0 8px; font: 300 clamp(26px, 5vw, 34px)/1.15 var(--font-display); letter-spacing: .06em; }
.qntm-login__sub { margin: 0 0 28px; color: var(--qntm-muted); font-size: 14px; }
.qntm-login__form label { display: block; margin: 18px 0 8px; color: var(--qntm-muted); font: 600 10px/1 var(--font-display); letter-spacing: .22em; text-transform: uppercase; }
.qntm-login__form input[type="text"], .qntm-login__form input[type="password"] { width: 100%; min-height: 50px; padding: 0 16px; border: 1px solid var(--qntm-line-strong); border-radius: 0; background: var(--qntm-black); color: var(--qntm-ivory); font-size: 16px; }
.qntm-login__form input:focus-visible { border-color: var(--qntm-gold); outline: 0; }
.qntm-login__form .qntm-login__remember { display: flex; align-items: center; gap: 10px; margin: 18px 0 24px; color: var(--qntm-soft, var(--qntm-muted)); font: 400 13px/1.3 var(--font-body); letter-spacing: .02em; text-transform: none; }
.qntm-login__form .qntm-login__remember input { accent-color: var(--qntm-gold); }
.qntm-login__form .qntm-button { width: 100%; justify-content: center; }
.qntm-login__msg { margin: 0 0 6px; padding: 12px 14px; border: 1px solid var(--qntm-line-strong); color: var(--qntm-ivory); font-size: 13px; }
.qntm-login__msg--error { border-color: rgba(190, 90, 80, .6); color: #e8b4ac; }
.qntm-login__links { margin: 22px 0 0; text-align: center; font-size: 12px; letter-spacing: .08em; }
.qntm-login__links a { color: var(--qntm-gold); text-underline-offset: 4px; }
.qntm-login__new { margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--qntm-line); color: var(--qntm-muted); font-size: 12px; line-height: 1.6; text-align: center; }
@media (max-width: 520px) { .qntm-login__card { padding: 32px 22px 28px; } }
