/* XNINE glue: design tokens of the reference store + WordPress wrapper neutralisation. */
:root {
	--font-main: "Dubai"; --font-light: "Dubai"; --font-regular: "Dubai"; --font-medium: "Dubai-Medium"; --font-bold: "Dubai-Bold";
	--color-text: #222222;
	--color-primary: var(--wp--preset--color--axios-primary, #1a1a1a);
	--color-primary-dark: #161616; --color-primary-light: #3c3c3c;
	--color-title: #1a1a1a; --color-secondary: #1a1a1a;
	--color-primary-reverse: #e6e6e6; --color-text-reverse: #e6e6e6; --color-reverse-text: #e6e6e6; --color-reverse-primary: #000000;
	--page-height: 100%; --theme-primary-color: #1a1a1a;
}

/* The reference markup is: body > .app-inner(flex column) > header, main, footer. */
.wp-site-blocks > .wp-block-template-part { display: contents; }

@media (max-width: 767px) { .axios-hide-mobile { display: none !important; } }
@media (min-width: 768px) { .axios-hide-desktop { display: none !important; } }

/* Toasts */
.axios-toasts { position: fixed; inset-inline: 0; top: 16px; z-index: 10000; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.axios-toast { background: #1a1a1a; color: #fff; padding: 10px 18px; border-radius: 999px; font-size: 14px; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s; box-shadow: 0 6px 20px rgba(0,0,0,.15); }
.axios-toast.is-in { opacity: 1; transform: none; }
.axios-toast--error { background: #b91c1c; }
[hidden] { display: none !important; }

/* WordPress adds a block gap between top-level elements; the reference has none (kept at tag-level specificity so class margins such as the footer's still apply). */
html :where(.wp-site-blocks) > * { margin-block-start: 0; }

/* ==========================================================================
   Checkout / order confirmation: native WooCommerce blocks in XNINE identity
   ========================================================================== */
.axios-checkout { padding-top: 2rem; padding-bottom: 4rem; font-family: var(--font-main), sans-serif; color: var(--color-text); }
.axios-checkout :where(h1, h2, h3, .wc-block-components-title) { font-family: var(--font-main), sans-serif; font-weight: 700; color: #111827; }
.axios-checkout .wc-block-components-title, .axios-checkout .wc-block-components-checkout-step__title { font-size: 1.125rem; line-height: 1.75rem; }
.axios-checkout .wc-block-components-sidebar-layout { gap: 2rem; }
.axios-checkout .wc-block-components-text-input input,
.axios-checkout .wc-block-components-textarea,
.axios-checkout .wc-blocks-components-select .wc-blocks-components-select__container,
.axios-checkout .wc-block-components-form .wc-block-components-text-input input { border-radius: 16px !important; border-color: #e5e7eb !important; background: #fff; font-family: var(--font-main), sans-serif; }
.axios-checkout .wc-block-components-text-input input:focus,
.axios-checkout .wc-blocks-components-select__select:focus { border-color: var(--color-primary) !important; box-shadow: 0 0 0 1px var(--color-primary) !important; outline: none; }
.axios-checkout .wc-block-components-button:not(.is-link),
.axios-order-confirmation .wp-element-button { background: var(--color-primary) !important; color: var(--color-primary-reverse) !important; border-radius: 16px !important; min-height: 2.75rem; font-family: var(--font-bold), var(--font-main), sans-serif; font-weight: 700; border: 1px solid var(--color-primary) !important; transition: background-color .2s; }
.axios-checkout .wc-block-components-button:not(.is-link):hover { background: var(--color-primary-dark) !important; }
.axios-checkout .wc-block-components-sidebar .wc-block-components-panel,
.axios-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block { border: 0 !important; }
.axios-checkout .wp-block-woocommerce-checkout-order-summary-block { background: #f3f4f6; border-radius: 1rem !important; padding: .5rem 1rem; }
.axios-checkout .wc-block-components-totals-wrapper { border-color: #e5e7eb !important; }
.axios-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-family: var(--font-bold), var(--font-main), sans-serif; font-weight: 700; }
.axios-checkout .wc-block-components-product-price__value.is-discounted,
.axios-checkout .wc-block-components-order-summary-item__individual-price ins { color: #991b1b; text-decoration: none; }
.axios-checkout .wc-block-components-sale-badge, .axios-checkout .wc-block-components-product-badge { background: #991b1b !important; color: #fff !important; border: 0 !important; border-radius: 9999px !important; }
.axios-checkout .wc-block-components-order-summary-item__quantity { background: var(--color-primary) !important; color: #fff !important; border: 0 !important; box-shadow: none !important; }
.axios-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-radius: 6px; border-color: #d1d5db; }
.axios-checkout .wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--color-primary); border-color: var(--color-primary); }
.axios-checkout .wc-block-components-radio-control__input:checked { border-color: var(--color-primary); }
.axios-checkout .wc-block-components-radio-control__input:checked::before { background: var(--color-primary); }
.axios-checkout .wc-block-components-radio-control-accordion-option, .axios-checkout .wc-block-components-radio-control--highlight-checked::after { border-radius: 16px !important; }
.axios-checkout .wc-block-components-notice-banner { border-radius: 16px; }
.axios-checkout a { color: var(--color-primary); text-decoration: underline; text-underline-offset: 3px; }
.axios-checkout .wc-block-components-checkout-return-to-cart-button { text-decoration: none; color: #6b7280; }
@media (max-width: 767px) { .axios-checkout { padding-top: 1rem; padding-bottom: 2rem; } }
.axios-checkout .wc-blocks-components-select__container, .axios-checkout .wc-blocks-components-select__select { border-radius: 16px !important; }
.axios-checkout .wc-blocks-components-select__container { border: 1px solid #e5e7eb !important; overflow: hidden; }
