/* MojoAi · WooCommerce styles (v0.3). Loaded only on shop, product, cart, checkout and account pages. */

.mj-shop { padding-block: 24px 0; }
.woocommerce-breadcrumb { font-size: 13px; color: var(--mj-dim); margin-bottom: 8px; }
.woocommerce-breadcrumb a { color: var(--mj-dim); }
.woocommerce-breadcrumb a:hover { color: var(--mj-text); }
.woocommerce .onsale { display: none; }
.woocommerce .star-rating { display: none; }

/* ------------------------------------------------------------------ archive */
.mj-shop-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 28px; }
.mj-shop-head__count { margin: 4px 0 0; }
.term-description, .page-description { color: var(--mj-muted); max-width: 760px; margin: -12px 0 28px; }
.mj-toolbar .woocommerce-ordering { margin: 0; }
.mj-toolbar select { min-height: 44px; width: auto; min-width: 200px; font-size: 14px; }

.mj-shop-layout { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.mj-shop-aside { flex: 1 1 260px; max-width: 300px; position: sticky; top: calc(var(--mj-header-h) + 24px); }
.admin-bar .mj-shop-aside { top: calc(var(--mj-header-h) + 56px); }
.mj-shop-main { flex: 999 1 560px; min-width: 0; }

.mj-active-filters { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mj-active-filters .mj-tag { gap: 6px; min-height: 34px; }

.woocommerce ul.products, ul.products {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px;
}
ul.products::before, ul.products::after { content: none !important; }
ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; }

.mj-pcard { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 22px; transition: border-color .15s, transform .15s; }
.mj-pcard:hover { border-color: var(--mj-line2); }
.mj-pcard__head { display: flex; align-items: center; gap: 12px; }
.mj-pcard__title-wrap { min-width: 0; flex: 1; }
.mj-pcard__title { margin: 0; font-size: 16px; line-height: 1.5; font-weight: 700; }
.mj-pcard__link { color: var(--mj-text); text-decoration: none; }
.mj-pcard__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.mj-pcard__link:hover { text-decoration: none; }
.mj-pcard:focus-within { outline: 2px solid var(--mj-primary); outline-offset: 2px; }
.mj-pcard__link:focus-visible { outline: none; }
.mj-pcard__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mj-pcard__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 16px; margin-top: auto; }
.mj-pcard__foot .price { font-size: 20px; line-height: 1.4; min-width: 0; }
.mj-pcard__foot .mj-btn { flex: none; }
.mj-pcard__foot { flex-wrap: wrap; }
@media (min-width: 961px) { .mj-pcard__foot .price { font-size: 18px; } }
.mj-pcard__foot .mj-btn, .mj-pcard__foot .mj-chip { position: relative; z-index: 1; }
.mj-empty { text-align: center; padding: 48px 24px; }

/* filters */
.mj-filters { padding: 0; }
.mj-filters__toggle { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 20px; font-weight: 700; cursor: pointer; list-style: none; }
.mj-filters__toggle::-webkit-details-marker { display: none; }
.mj-filters__form { display: flex; flex-direction: column; gap: 22px; padding: 4px 20px 20px; }
.mj-fgroup { border: 0; margin: 0; padding: 0; min-width: 0; }
.mj-fgroup legend { padding: 0; }
.mj-check { display: flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; font-size: 14px; font-weight: 600; }
.mj-check__text { flex: 1; }
.mj-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--mj-c, var(--mj-primary)); flex: none; }
.mj-fgroup__instant { padding-top: 14px; }
.mj-opt--check { cursor: pointer; position: relative; }
.mj-opt--check:has(input:checked) { border-color: var(--mj-primary); background: var(--mj-primary-soft); box-shadow: inset 0 0 0 1px var(--mj-primary); }
.mj-opt--check:has(input:focus-visible) { outline: 2px solid var(--mj-primary); outline-offset: 2px; }
.mj-js .mj-filters__actions { display: none; }
@media (min-width: 961px) {
	.mj-filters__toggle { pointer-events: none; }
	.mj-filters__toggle svg { display: none; }
}
@media (max-width: 960px) {
	.mj-shop-aside { position: static; max-width: none; flex-basis: 100%; }
	.mj-js .mj-filters__actions { display: block; position: sticky; bottom: 76px; }
}

/* ------------------------------------------------------------------ single product */
.mj-single { padding-top: 8px; }
.mj-single__grid { display: flex; flex-wrap: wrap; gap: 56px; align-items: flex-start; }
.mj-single__info { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 32px; }
.mj-single__info > .product_title, .mj-single .product_title { margin: 0; font-size: 36px; line-height: 1.35; font-weight: 800; }
.mj-single__head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: -16px; }
.mj-single__head .mj-tile { margin-inline-end: 6px; }
.mj-single .woocommerce-product-details__short-description { color: var(--mj-muted); font-size: 18px; max-width: 600px; margin-top: -20px; }
.mj-single .woocommerce-product-details__short-description p:last-child { margin-bottom: 0; }
.mj-trust { list-style: none; margin: -12px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 13px; color: var(--mj-muted); }
.mj-trust li { display: flex; align-items: center; gap: 8px; }
.mj-trust svg { color: var(--mj-primary-text); }
.mj-single__block h2 { margin-bottom: 16px; }
.mj-tl--plain .mj-tl__dot { border-style: solid; }
@media (max-width: 768px) {
	.mj-single__grid { gap: 32px; }
	.mj-single__info > .product_title, .mj-single .product_title { font-size: 26px; }
	.mj-single .woocommerce-product-details__short-description { font-size: 15px; }
}

/* buy box */
.mj-buy { flex: 0 1 440px; min-width: 0; width: 100%; padding: 28px; border-radius: var(--mj-r-xl); position: sticky; top: calc(var(--mj-header-h) + 24px); display: flex; flex-direction: column; gap: 18px; }
.admin-bar .mj-buy { top: calc(var(--mj-header-h) + 56px); }
@media (max-width: 960px) { .mj-buy { position: static; flex-basis: 100%; } }
.mj-buy__tags { display: flex; flex-wrap: wrap; gap: 6px; }
.mj-buy__meter[hidden] { display: none; }
.mj-buy__price-label { margin-bottom: -16px; }
.mj-buy > .price, .mj-buy .woocommerce-variation-price .price { font-size: 32px; line-height: 1.3; margin: 0; display: block; }
.mj-buy .stock { margin: 0; font-size: 13px; font-weight: 700; }
.mj-buy .stock.in-stock { color: var(--mj-mint-text); }
.mj-buy .stock.out-of-stock { color: var(--mj-danger); }
.mj-buy__secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin: -6px 0 0; }

.mj-buy form.cart { display: flex; flex-direction: column; gap: 16px; margin: 0; padding-top: 18px; border-top: 1px solid var(--mj-line); }
.mj-buy form.cart:not(.variations_form), .mj-buy .woocommerce-variation-add-to-cart { display: flex; flex-direction: row; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.mj-buy .single_add_to_cart_button { flex: 1 1 200px; min-height: 56px; font-size: 16px; }
.mj-buy .quantity { flex: 0 0 auto; }
.mj-buy .quantity .qty { width: 76px; min-height: 56px; text-align: center; direction: ltr; padding: 0 8px; }
.mj-buy .quantity:has(input[type="hidden"]) { display: none; }

/* customer field (from MojoAi Manager) */
.mj-customer-field { flex: 1 1 100%; }
.mj-customer-field label { display: block; font-size: 13px; font-weight: 700; color: var(--mj-muted); margin-bottom: 8px; }
.mj-customer-field input { width: 100%; }
.mj-req { color: var(--mj-danger); }

/* variations → swatches */
.mj-buy table.variations { width: 100%; border: 0; margin: 0; border-collapse: collapse; background: none; }
.mj-buy table.variations tbody, .mj-buy table.variations tr, .mj-buy table.variations th, .mj-buy table.variations td { display: block; padding: 0; border: 0; text-align: right; background: none; }
.mj-buy table.variations tr + tr { margin-top: 18px; }
.mj-buy table.variations th.label { font-size: 13px; font-weight: 700; color: var(--mj-muted); margin-bottom: 8px; line-height: 1.6; }
.mj-buy table.variations th.label label { font-weight: 700; }
.mj-swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(84px, 1fr)); gap: 8px; }
.mj-swatches--few { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.mj-has-swatches select { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.mj-buy .reset_variations { display: inline-block; margin-top: 10px; font-size: 13px; color: var(--mj-dim); }
.mj-buy .woocommerce-variation-description { color: var(--mj-muted); font-size: 14px; }
.mj-buy .single_variation_wrap { display: flex; flex-direction: column; gap: 14px; }

/* sections under product */
.mj-sections { margin-top: 80px; display: grid; gap: 64px; max-width: 860px; }
.mj-section-block h2 { margin-bottom: 20px; }
.related.products, .upsells.products { margin-top: 80px; }
.related.products > h2, .upsells.products > h2 { font-size: 24px; margin-bottom: 20px; }

/* mobile buy bar */
.mj-buybar { position: fixed; inset-inline: 0; bottom: 0; z-index: 45; display: flex; align-items: center; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: color-mix(in srgb, var(--mj-bg) 94%, transparent); backdrop-filter: blur(12px); border-top: 1px solid var(--mj-line); }
.mj-buybar[hidden] { display: none; }
.mj-buybar__price { flex: 1; min-width: 0; line-height: 1.4; }
.mj-buybar__price .price, .mj-buybar__price .amount { font-size: 18px; font-weight: 800; }
@media (min-width: 961px) { .mj-buybar { display: none !important; } }

/* ------------------------------------------------------------------ cart & checkout */
.woocommerce .quantity .qty { width: 80px; min-height: 44px; padding: 0 8px; text-align: center; direction: ltr; }
.woocommerce-cart .mj-entry, .woocommerce-checkout .mj-entry, .woocommerce-account .mj-entry { max-width: none !important; }
.woocommerce-cart .mj-entry > *, .woocommerce-checkout .mj-entry > *, .woocommerce-account .mj-entry > * { max-width: none !important; }
.woocommerce table.cart img { width: 48px; height: 48px; border-radius: 12px; object-fit: cover; }
.woocommerce table.cart .product-name a { color: var(--mj-text); font-weight: 700; }
.woocommerce table.cart .product-remove a.remove { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; color: var(--mj-dim) !important; font-size: 20px; text-decoration: none; }
.woocommerce table.cart .product-remove a.remove:hover { background: var(--mj-danger-soft); color: var(--mj-danger) !important; }
.woocommerce table.cart td.actions { background: var(--mj-bg2); }
.woocommerce table.cart td.actions .coupon { display: inline-flex; gap: 8px; align-items: center; }
.woocommerce table.cart td.actions .coupon .input-text { width: 200px; min-height: 44px; }
.woocommerce table.cart td.actions .button { min-height: 44px; }
.woocommerce table.cart td.actions > .button { background: transparent; color: var(--mj-text); border-color: var(--mj-line2); }
.woocommerce dl.variation { margin: 4px 0 0; font-size: 13px; color: var(--mj-muted); display: grid; grid-template-columns: auto 1fr; gap: 2px 8px; }
.woocommerce dl.variation dt, .woocommerce dl.variation dd, .woocommerce dl.variation dd p { margin: 0; font-weight: 400; }
.cart-collaterals .cart_totals { padding: 24px; border: 1px solid var(--mj-line); border-radius: var(--mj-r-lg); background: var(--mj-surface); }
.cart-collaterals .cart_totals h2 { font-size: 18px; }
.cart-collaterals .cart_totals table.shop_table { border: 0; background: none; }
.wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 56px; font-size: 16px; }
.woocommerce .order-total .amount { font-size: 20px; font-weight: 800; }

.woocommerce form .form-row { margin: 0 0 16px; padding: 0; }
.woocommerce form .form-row .required { color: var(--mj-danger); text-decoration: none; }
.woocommerce form .form-row.woocommerce-invalid input.input-text { border-color: var(--mj-danger); }
.woocommerce-checkout h3 { font-size: 18px; margin: 0 0 16px; }
#customer_details { margin-bottom: 32px; }
#order_review_heading { margin-top: 8px; }
.woocommerce-checkout #payment { border: 1px solid var(--mj-line); border-radius: var(--mj-r-lg); background: var(--mj-surface); }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0; padding: 12px; border-bottom: 1px solid var(--mj-line); display: grid; gap: 8px; }
.woocommerce-checkout #payment ul.payment_methods li { padding: 14px; border: 1px solid var(--mj-line); border-radius: var(--mj-r); }
.woocommerce-checkout #payment ul.payment_methods li:has(input:checked) { border-color: var(--mj-primary); background: var(--mj-primary-soft); }
.woocommerce-checkout #payment ul.payment_methods li label { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; cursor: pointer; }
.woocommerce-checkout #payment ul.payment_methods li img { max-height: 28px; width: auto; vertical-align: middle; }
.woocommerce-checkout #payment div.payment_box { margin-top: 10px; padding: 12px; border-radius: 12px; background: var(--mj-bg2); color: var(--mj-muted); font-size: 14px; }
.woocommerce-checkout #payment div.payment_box::before { content: none; }
.woocommerce-checkout #payment div.form-row { padding: 16px; margin: 0; }
.woocommerce-checkout #place_order { width: 100%; min-height: 56px; font-size: 16px; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: var(--mj-muted); }
.woocommerce-form-coupon-toggle .woocommerce-info, .woocommerce-form-login-toggle .woocommerce-info { display: block; }
.checkout_coupon, .woocommerce-form-login { padding: 20px; border: 1px solid var(--mj-line); border-radius: var(--mj-r-lg); background: var(--mj-surface); margin-bottom: 24px; }
.select2-container .select2-selection--single { height: 50px !important; border: 1px solid var(--mj-line2) !important; border-radius: var(--mj-r) !important; background: var(--mj-surface) !important; }
.select2-container .select2-selection__rendered { line-height: 48px !important; color: var(--mj-text) !important; padding-inline: 14px !important; }
.select2-dropdown { background: var(--mj-surface) !important; border-color: var(--mj-line2) !important; color: var(--mj-text); }

/* order received */
.woocommerce-order-overview { list-style: none; margin: 0 0 32px; padding: 20px; display: flex; flex-wrap: wrap; gap: 16px 32px; border: 1px solid var(--mj-line); border-radius: var(--mj-r-lg); background: var(--mj-surface); }
.woocommerce-order-overview li { font-size: 13px; color: var(--mj-muted); }
.woocommerce-order-overview li strong { display: block; font-size: 15px; color: var(--mj-text); }
.woocommerce-order-details, .woocommerce-customer-details { margin-top: 32px; }
.woocommerce-customer-details address { padding: 20px; border: 1px solid var(--mj-line); border-radius: var(--mj-r-lg); background: var(--mj-surface); font-style: normal; }

/* ------------------------------------------------------------------ my account */
.woocommerce-account .woocommerce { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.woocommerce-account .woocommerce > .woocommerce-notices-wrapper { flex-basis: 100%; }
.woocommerce-MyAccount-navigation { float: none !important; width: auto !important; flex: 1 1 240px; max-width: 260px; padding: 12px; border: 1px solid var(--mj-line); border-radius: var(--mj-r-lg); background: var(--mj-surface); box-shadow: var(--mj-shadow); }
.woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.woocommerce-MyAccount-navigation a { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: 12px; color: var(--mj-muted); font-weight: 600; font-size: 14px; text-decoration: none; }
.woocommerce-MyAccount-navigation a:hover { background: var(--mj-surface2); color: var(--mj-text); text-decoration: none; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--mj-surface2); color: var(--mj-text); }
.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 8px; padding-top: 8px; border-top: 1px solid var(--mj-line); }
.woocommerce-MyAccount-content { float: none !important; width: auto !important; flex: 999 1 560px; min-width: 0; max-width: 100%; }
.woocommerce-MyAccount-content > p:first-child { color: var(--mj-muted); }
.woocommerce-MyAccount-content mark { background: none; color: var(--mj-text); font-weight: 700; }
.woocommerce-orders-table .button, .woocommerce-MyAccount-content .button { min-height: 40px; padding: 0 14px; font-size: 13px; }
.woocommerce-orders-table__cell-order-status { white-space: nowrap; }
.woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.woocommerce-Address { padding: 20px; border: 1px solid var(--mj-line); border-radius: var(--mj-r-lg); background: var(--mj-surface); }
.woocommerce-Address address { font-style: normal; color: var(--mj-muted); }
.woocommerce-account fieldset { border: 1px solid var(--mj-line); border-radius: var(--mj-r-lg); padding: 20px; margin: 24px 0; }
.woocommerce-account fieldset legend { padding: 0 8px; font-weight: 700; }
@media (max-width: 960px) {
	.woocommerce-MyAccount-navigation { max-width: 100%; min-width: 0; flex-basis: 100%; }
	.woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 4px; }
	.woocommerce-MyAccount-navigation a { white-space: nowrap; }
	.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0; padding: 0; border: 0; }
}

/* login / register */
.woocommerce-account:not(.logged-in) .woocommerce { display: block; }
#customer_login { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
#customer_login .u-column1, #customer_login .u-column2 { float: none; width: auto; padding: 24px; border: 1px solid var(--mj-line); border-radius: var(--mj-r-lg); background: var(--mj-surface); }
#customer_login h2 { font-size: 20px; }
.woocommerce-form-login__rememberme { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; }
.woocommerce-LostPassword { font-size: 14px; }

/* responsive tables (shop_table_responsive) */
@media (max-width: 768px) {
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: block; border-bottom: 1px solid var(--mj-line); }
	.woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; text-align: left; border: 0; padding: 10px 16px; }
	.woocommerce table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 700; color: var(--mj-muted); text-align: right; }
	.woocommerce table.shop_table_responsive tr td.product-remove::before, .woocommerce table.shop_table_responsive tr td.actions::before { content: none; }
	.woocommerce table.shop_table_responsive, .woocommerce table.shop_table_responsive tbody { display: block; width: 100%; }
	.woocommerce table.cart td.actions { display: flex; flex-direction: column; gap: 10px; }
	.woocommerce table.cart td.actions .coupon { display: flex; flex-wrap: wrap; width: 100%; gap: 8px; }
	.woocommerce table.cart td.actions .coupon .input-text { flex: 1 1 140px; width: auto; min-width: 0; }
	.woocommerce table.cart td.actions .button { width: 100%; }
	.woocommerce table.cart td.actions .coupon .button { flex: 1 1 120px; width: auto; }
}

/* ------------------------------------------------------------------ customer panel (mojoai-manager) */
.mj-dash { display: grid; gap: 20px; }
.mj-dash__head p { margin: 6px 0 0; }
.mj-dash__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: start; }
.mj-dash .mj-card h2 + p { margin-top: 6px; }
.mj-wallet .mj-price { margin: 8px 0 16px; }
.mj-sub { display: flex; align-items: center; gap: 16px 20px; padding-block: 14px; flex-wrap: wrap; }
.mj-sub__info { flex: 1 1 180px; min-width: 0; }
.mj-sub__meter { flex: 1.4 1 200px; }
.mj-warn-text { color: var(--mj-amber-text); font-weight: 700; }
.mj-pos { color: var(--mj-mint-text); font-weight: 700; }
.mj-neg { color: var(--mj-danger); font-weight: 700; }
.mj-banner { display: flex; overflow: hidden; background: linear-gradient(120deg, var(--mj-primary-soft), var(--mj-mint-soft)), var(--mj-surface); }
.mj-banner__media { flex: 0 0 34%; min-height: 140px; }
.mj-banner__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mj-banner__body { padding: 22px 24px; display: grid; gap: 8px; justify-items: start; align-content: center; }
.mj-banner__body p { margin: 0; }
.mj-msg-row { padding-block: 12px; display: grid; gap: 6px; justify-items: start; }
.mj-msg-row p { margin: 0; }
.mj-orders-list { list-style: none; margin: 0; padding: 0; }
.mj-orders-list a { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 24px; color: var(--mj-text); text-decoration: none; }
.mj-orders-list a:hover { background: var(--mj-surface2); text-decoration: none; }
.mj-orders-list a > span:first-child { display: grid; gap: 2px; min-width: 0; }
.mj-orders-list strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mj-table--flat { border: 0; border-radius: 0; border-top: 1px solid var(--mj-line); }
.mj-form p { margin: 0 0 14px; }
.mj-form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; }
.mj-thread { display: grid; gap: 12px; margin: 16px 0; }
.mj-bubble { max-width: 85%; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--mj-line); background: var(--mj-surface2); }
.mj-bubble.is-staff { margin-inline-start: auto; background: var(--mj-primary-soft); border-color: color-mix(in srgb, var(--mj-primary) 30%, transparent); }
.mj-bubble > :not(:first-child) { margin: 6px 0 0; }
.mj-order-track { margin-bottom: 24px; }
.mj-order-track__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.mj-delivery { margin: 16px 0 8px; padding: 16px; border: 1px solid var(--mj-line2); border-radius: var(--mj-r); background: var(--mj-bg2); }
.mj-delivery__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.mj-delivery__body { margin: 10px 0 12px; padding: 12px 14px; border-radius: 10px; background: var(--mj-surface); border: 1px solid var(--mj-line); font: 14px/1.8 ui-monospace, SFMono-Regular, Menlo, monospace; white-space: pre-wrap; word-break: break-word; }

/* login (OTP) */
.mj-auth { max-width: 460px; margin: 24px auto 0; }
.mj-auth__card .mj-muted { margin: 8px 0 20px; }
.mj-otp__code { font-size: 22px; letter-spacing: .5em; text-align: center !important; font-family: var(--mj-font-latin); }
.mj-otp__msg { margin: 12px 0 0; font-size: 14px; color: var(--mj-danger); }
.mj-otp__msg.is-ok { color: var(--mj-mint-text); }
.mj-otp .mj-link:disabled { color: var(--mj-dim); cursor: default; }
.mj-auth__classic { margin-top: 16px; }
.mj-auth__classic > summary { cursor: pointer; text-align: center; list-style: none; font-size: 14px; }
.mj-auth__classic > summary::-webkit-details-marker { display: none; }
.mj-auth__classic[open] > summary { margin-bottom: 16px; }
.mj-auth__classic .u-columns, .mj-auth__classic .col2-set { display: block; }
.mj-auth__classic .u-column2, .mj-auth__classic .col-2 { display: none; }

@media (max-width: 768px) {
	.mj-dash__row, .mj-form__row { grid-template-columns: minmax(0, 1fr); }
	.mj-banner { flex-direction: column; }
	.mj-banner__media { flex-basis: auto; min-height: 120px; max-height: 180px; }
	.mj-orders-list a { padding-inline: 16px; }
	.mj-bubble { max-width: 100%; }
}

/* components inside page content (.mj-entry adds article spacing that cards must not inherit) */
.mj-entry .mj-card :is(h2, h3), .mj-entry .mj-dash__head h2 { margin-top: 0; }
.mj-entry .mj-row-between > :is(h2, h3), .mj-entry .mj-order-track__head > h2, .mj-entry .mj-banner__body > h2 { margin-bottom: 0; }
.mj-entry ul.mj-orders-list, .mj-entry ul.mj-ticks { padding-inline-start: 0; }
.mj-entry .mj-card > * + *, .mj-entry .mj-dash > * + * { margin-top: 0; }
.mj-entry .mj-card.mj-pad > * + * { margin-top: 12px; }
.mj-topup .mj-opts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mj-entry .mj-h3 { font-size: 18px; }
.mj-entry .mj-h2 { font-size: 26px; }
.mj-entry .mj-card .mj-row-between + .mj-divider, .mj-entry .mj-card .mj-row-between + .mj-sub { margin-top: 12px; }
