/**
 * Rosha Supply — Cart, Checkout, My Account. WooCommerce owns every
 * calculation/behavior here; this file only restyles its native markup.
 */

.rosha-commerce-page, .rosha-commerce-page * { box-sizing: border-box; }
.rosha-commerce-page { background: var(--rosha-bg); color: var(--rosha-text); font-family: var(--rosha-font-body); }

.rosha-commerce-head { padding-top: 6px; padding-bottom: 26px; }
.rosha-commerce-title { font-family: var(--rosha-font-display); font-size: var(--rosha-text-h1); font-weight: 700; margin: 10px 0 0; }
.rosha-commerce-body { padding-bottom: var(--rosha-section-space); }

/* ---------------------------------------------------------------- */
/* Notices — used across cart/checkout/account/login                 */
/* ---------------------------------------------------------------- */
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-noticegroup {
	list-style: none;
	margin: 0 0 20px;
	padding: 14px 18px;
	border-radius: var(--rosha-radius);
	border: 1px solid var(--rosha-border);
	background: var(--rosha-surface);
	color: var(--rosha-text);
	font-size: var(--rosha-text-small);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}
.woocommerce-message { border-color: var(--rosha-border-turquoise); }
.woocommerce-error { border-color: color-mix( in srgb, red 40%, var(--rosha-border) ); color: #d9695f; }
.woocommerce-message a.button, .woocommerce-error a.button {
	background: var(--rosha-gold); color: var(--rosha-bg); border-radius: var(--rosha-radius-sm);
	padding: 8px 16px; text-decoration: none; font-weight: 600; font-size: 12.5px;
}
.woocommerce-error ul, .woocommerce-message ul { list-style: none; margin: 0; padding: 0; }

/* ---------------------------------------------------------------- */
/* Cart table                                                          */
/* ---------------------------------------------------------------- */
.woocommerce-cart-form { overflow-x: auto; }
table.shop_table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 24px;
}
table.shop_table th {
	text-align: start;
	padding: 12px 14px;
	font-size: 11.5px;
	text-transform: uppercase;
	letter-spacing: .04em;
	color: var(--rosha-text-muted);
	border-bottom: 1px solid var(--rosha-border);
}
table.shop_table td {
	padding: 16px 14px;
	border-bottom: 1px solid var(--rosha-border);
	vertical-align: middle;
	font-size: var(--rosha-text-small);
}
.product-remove { width: 40px; text-align: center; }
.product-remove a.remove {
	display: inline-flex; align-items: center; justify-content: center;
	width: 26px; height: 26px; border-radius: 50%;
	color: var(--rosha-text-muted); text-decoration: none; font-size: 18px; line-height: 1;
	border: 1px solid var(--rosha-border);
}
.product-remove a.remove:hover { color: #d9695f; border-color: #d9695f; }
.product-thumbnail img { width: 64px; height: 64px; object-fit: cover; border-radius: var(--rosha-radius-sm); }
.product-name a { color: var(--rosha-text); text-decoration: none; font-weight: 600; }
.product-name a:hover { color: var(--rosha-gold-light); }
.product-price, .product-subtotal { font-weight: 600; white-space: nowrap; }
.product-quantity .quantity .qty {
	width: 68px; height: 40px; text-align: center;
	background: var(--rosha-bg-secondary); border: 1px solid var(--rosha-border); border-radius: var(--rosha-radius-sm);
	color: var(--rosha-text); font-family: inherit;
}
.actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 18px !important; }
.coupon { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.coupon .input-text {
	background: var(--rosha-surface); border: 1px solid var(--rosha-border); border-radius: var(--rosha-radius); color: var(--rosha-text);
	padding: 10px 14px; font-family: inherit; font-size: var(--rosha-text-small); width: 180px;
}
button[name="apply_coupon"], button[name="update_cart"], .checkout-button {
	background: var(--rosha-gold); color: var(--rosha-bg); border: none; border-radius: var(--rosha-radius);
	padding: 12px 24px; font-weight: 700; font-size: var(--rosha-text-button); cursor: pointer;
	transition: background var(--rosha-speed) var(--rosha-ease), transform var(--rosha-speed) var(--rosha-ease);
}
button[name="apply_coupon"]:hover, button[name="update_cart"]:hover, .checkout-button:hover { background: var(--rosha-turquoise); color: var(--rosha-accent-contrast); transform: translateY(-1px); }
button[name="update_cart"]:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.cart-empty { text-align: center; padding: 64px 24px; background: var(--rosha-surface); border: 1px dashed var(--rosha-border-gold); border-radius: var(--rosha-radius-lg); color: var(--rosha-text-muted); }
.return-to-shop { text-align: center; margin-top: 16px; }
.return-to-shop .button {
	display: inline-block; background: var(--rosha-gold); color: var(--rosha-bg); padding: 12px 28px;
	border-radius: var(--rosha-radius); text-decoration: none; font-weight: 700;
}

/* Cart totals + checkout order review share this structure */
.cart_totals, .woocommerce-checkout-review-order {
	background: var(--rosha-surface);
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius-lg);
	padding: 22px;
}
.cart_totals h2, .woocommerce-checkout-review-order-table caption { font-family: var(--rosha-font-display); font-size: var(--rosha-text-h3); margin: 0 0 16px; }
.cart_totals table, .woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; }
.cart_totals th, .cart_totals td, .woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td {
	padding: 10px 0; border-bottom: 1px solid var(--rosha-border); font-size: var(--rosha-text-small);
}
.cart_totals .order-total td, .woocommerce-checkout-review-order-table .order-total td { font-weight: 700; font-size: 1.1em; color: var(--rosha-gold-light); border-bottom: none; }
.wc-proceed-to-checkout { margin-top: 18px; }
.wc-proceed-to-checkout .checkout-button { display: block; text-align: center; text-decoration: none; }

@media (max-width: 700px) {
	table.shop_table thead { display: none; }
	table.shop_table, table.shop_table tbody, table.shop_table tr, table.shop_table td { display: block; width: 100%; }
	table.shop_table tr { border-bottom: 1px solid var(--rosha-border); padding: 14px 0; }
	table.shop_table td { border-bottom: none; padding: 6px 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
	table.shop_table td::before { content: attr(data-title); color: var(--rosha-text-muted); font-size: 11.5px; }
	.product-remove::before, .product-thumbnail::before { content: ""; }
}

/* ---------------------------------------------------------------- */
/* Checkout                                                            */
/* ---------------------------------------------------------------- */
.rosha-commerce-page.woocommerce-checkout {
	display: block;
}

.rosha-commerce-page.woocommerce-checkout .rosha-commerce-body {
	max-width: min(1180px, 100%);
}

.rosha-commerce-page .elementor,
.rosha-commerce-page .elementor-section,
.rosha-commerce-page .elementor-container,
.rosha-commerce-page .elementor-column,
.rosha-commerce-page .elementor-widget-wrap,
.rosha-commerce-page .elementor-widget-container,
.rosha-commerce-page .elementor-widget-woocommerce-checkout-page {
	width: 100%;
	max-width: 100%;
}

.rosha-commerce-page .elementor-section.elementor-section-boxed > .elementor-container {
	max-width: 100%;
}

.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
.woocommerce-checkout form.checkout_coupon {
	background: var(--rosha-surface);
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius);
	box-shadow: none;
}

.woocommerce-checkout form.checkout_coupon {
	display: grid;
	grid-template-columns: 1fr auto;
	gap: 12px;
	align-items: end;
	margin: 0 0 24px;
	padding: 18px;
}

.woocommerce-checkout form.checkout_coupon > p:first-child {
	grid-column: 1 / -1;
	margin: 0;
	color: var(--rosha-text-muted);
	font-size: var(--rosha-text-small);
}

.woocommerce-checkout form.checkout_coupon .form-row {
	margin: 0;
}

form.checkout.woocommerce-checkout {
	display: grid;
	grid-template-columns: minmax(0, 1.22fr) minmax(340px, .78fr);
	gap: clamp(24px, 4vw, 44px);
	align-items: start;
}

form.checkout.woocommerce-checkout #customer_details {
	grid-column: 1;
	display: grid;
	grid-template-columns: 1fr;
	gap: 22px;
	min-width: 0;
}

form.checkout.woocommerce-checkout #order_review_heading {
	grid-column: 2;
	grid-row: 1;
	margin: 0 0 18px;
	padding: 0;
	font-family: var(--rosha-font-display);
	font-size: var(--rosha-text-h3);
	font-weight: 700;
}

form.checkout.woocommerce-checkout #order_review {
	grid-column: 2;
	grid-row: 1;
	margin-top: 54px;
	min-width: 0;
}

.woocommerce-billing-fields,
.woocommerce-additional-fields {
	background: var(--rosha-surface);
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius-lg);
	padding: clamp(18px, 3vw, 28px);
	box-shadow: var(--rosha-shadow);
}

.woocommerce-billing-fields h3, .woocommerce-additional-fields h3, #ship-to-different-address { font-family: var(--rosha-font-display); font-size: var(--rosha-text-h3); margin: 0 0 18px; font-weight: 700; }
.woocommerce-checkout .form-row { margin: 0 0 16px; }
.woocommerce-checkout .form-row label { display: block; color: var(--rosha-text); font-size: var(--rosha-text-small); font-weight: 600; margin-bottom: 7px; }
.woocommerce-checkout .required { color: var(--rosha-gold); }
.woocommerce-checkout .input-text, .woocommerce-checkout select, .woocommerce-checkout textarea,
.select2-container--default .select2-selection--single {
	width: 100%;
	min-height: 46px;
	background: var(--rosha-bg-secondary);
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius);
	padding: 11px 14px;
	color: var(--rosha-text);
	font-family: inherit;
	font-size: var(--rosha-text-small);
	box-shadow: none;
}
.woocommerce-checkout textarea.input-text {
	min-height: 110px;
	resize: vertical;
}
.woocommerce-checkout .input-text:focus, .woocommerce-checkout select:focus, .woocommerce-checkout textarea:focus,
.select2-container--default.select2-container--open .select2-selection--single {
	outline: 2px solid var(--rosha-border-gold);
	outline-offset: 1px;
	border-color: var(--rosha-gold);
}
.select2-container--default .select2-selection--single {
	display: flex;
	align-items: center;
	padding: 0 14px;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
	color: var(--rosha-text);
	line-height: 44px;
	padding: 0;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
	top: 10px;
	left: 10px;
	right: auto;
}
.select2-dropdown {
	background: var(--rosha-surface);
	border: 1px solid var(--rosha-border);
	color: var(--rosha-text);
}
.select2-container--default .select2-search--dropdown .select2-search__field {
	background: var(--rosha-bg-secondary);
	border: 1px solid var(--rosha-border);
	color: var(--rosha-text);
}
.select2-container--default .select2-results__option--highlighted[aria-selected] {
	background: var(--rosha-gold);
	color: var(--rosha-bg);
}
.woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { display: inline-block; width: calc(50% - 8px); vertical-align: top; }
.woocommerce-checkout .form-row-first { margin-inline-end: 16px; }
@media (max-width: 500px) { .woocommerce-checkout .form-row-first, .woocommerce-checkout .form-row-last { width: 100%; margin-inline-end: 0; } }

.woocommerce-checkout .woocommerce-input-wrapper .description { font-size: 12px; color: var(--rosha-text-muted); margin-top: 4px; }
#payment { background: var(--rosha-bg-secondary); border-radius: var(--rosha-radius); margin-top: 18px; overflow: hidden; }
#payment ul.payment_methods { list-style: none; margin: 0; padding: 14px 16px; border-bottom: 1px solid var(--rosha-border); }
#payment ul.payment_methods li { padding: 10px 0; font-size: var(--rosha-text-small); }
#payment ul.payment_methods li label { font-weight: 600; margin-inline-start: 8px; }
#payment .woocommerce-info,
#payment .payment_box {
	margin: 0;
	padding: 14px 16px;
	font-size: 12.5px;
	color: var(--rosha-text-muted);
	background: var(--rosha-surface);
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius);
}
#payment .place-order { padding: 16px; }
#place_order {
	width: 100%;
	min-height: 48px;
	background: var(--rosha-gold);
	color: var(--rosha-bg);
	border: 0;
	border-radius: var(--rosha-radius);
	font-weight: 800;
	cursor: pointer;
}
#place_order:hover, #place_order:focus-visible { background: var(--rosha-turquoise); color: var(--rosha-accent-contrast); }
.woocommerce-checkout .woocommerce-form__label-for-checkbox { display: flex; align-items: flex-start; gap: 8px; font-size: var(--rosha-text-small); line-height: 1.7; }

.rosha-checkout-trust { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-wrap: wrap; gap: 14px 22px; }
.rosha-checkout-trust li { display: flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--rosha-text-muted); }
.rosha-checkout-trust svg { color: var(--rosha-gold); flex-shrink: 0; }

.woocommerce-checkout-review-order {
	position: sticky;
	top: 118px;
	box-shadow: var(--rosha-shadow);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
	text-align: start;
}

.woocommerce-checkout-review-order-table .product-name {
	line-height: 1.8;
}

.woocommerce-checkout-review-order-table .product-total,
.woocommerce-checkout-review-order-table td:last-child {
	text-align: end;
	white-space: nowrap;
}

@media (max-width: 900px) {
	form.checkout.woocommerce-checkout {
		grid-template-columns: 1fr;
	}
	form.checkout.woocommerce-checkout #customer_details,
	form.checkout.woocommerce-checkout #order_review_heading,
	form.checkout.woocommerce-checkout #order_review {
		grid-column: 1;
		grid-row: auto;
	}
	form.checkout.woocommerce-checkout #order_review {
		margin-top: 0;
	}
	.woocommerce-checkout-review-order {
		position: static;
	}
	.woocommerce-checkout form.checkout_coupon {
		grid-template-columns: 1fr;
	}
}

/* ---------------------------------------------------------------- */
/* My Account                                                          */
/* ---------------------------------------------------------------- */
.woocommerce-account .woocommerce {
	display: grid;
	grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
	gap: clamp(22px, 3vw, 34px);
	align-items: start;
}
@media (max-width: 900px) { .woocommerce-account .woocommerce { grid-template-columns: 1fr; } }

.woocommerce-MyAccount-navigation ul {
	list-style: none;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 6px;
	background:
		linear-gradient(145deg, color-mix(in srgb, var(--rosha-surface) 94%, transparent), color-mix(in srgb, var(--rosha-bg-secondary) 92%, transparent));
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius-lg);
	padding: 12px;
	box-shadow: var(--rosha-shadow);
}
.woocommerce-MyAccount-navigation li a {
	display: block;
	padding: 12px 14px;
	border-radius: var(--rosha-radius);
	color: var(--rosha-text-muted);
	text-decoration: none;
	font-size: var(--rosha-text-small);
	font-weight: 650;
	transition: background var(--rosha-speed) var(--rosha-ease), color var(--rosha-speed) var(--rosha-ease), transform var(--rosha-speed) var(--rosha-ease);
}
.woocommerce-MyAccount-navigation li a:hover { background: var(--rosha-bg-secondary); color: var(--rosha-turquoise-light); transform: translateX(-2px); }
.woocommerce-MyAccount-navigation li.is-active a { background: var(--rosha-border-gold); color: var(--rosha-gold-light); font-weight: 800; }
@media (max-width: 900px) {
	.woocommerce-MyAccount-navigation ul { flex-direction: row; overflow-x: auto; }
	.woocommerce-MyAccount-navigation li a { white-space: nowrap; }
}

.woocommerce-MyAccount-content,
.rosha-auth-card {
	background:
		linear-gradient(145deg, color-mix(in srgb, var(--rosha-surface) 94%, transparent), color-mix(in srgb, var(--rosha-bg-secondary) 90%, transparent));
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius-lg);
	padding: clamp(20px, 3vw, 30px);
	box-shadow: var(--rosha-shadow);
	backdrop-filter: blur(4px);
}
.woocommerce-MyAccount-content table.shop_table { margin-bottom: 0; }
.woocommerce-orders-table__cell-order-actions .button,
.woocommerce-Button,
.woocommerce-button,
.woocommerce-form-login__submit,
.woocommerce-form-register__submit,
.rosha-account-panel .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	background: var(--rosha-gold);
	color: var(--rosha-bg);
	padding: 9px 18px;
	border-radius: var(--rosha-radius-sm);
	text-decoration: none;
	font-size: 12.5px;
	font-weight: 800;
	border: 0;
	cursor: pointer;
	transition: background var(--rosha-speed) var(--rosha-ease), color var(--rosha-speed) var(--rosha-ease), transform var(--rosha-speed) var(--rosha-ease);
}
.woocommerce-orders-table__cell-order-actions .button:hover,
.woocommerce-Button:hover,
.woocommerce-button:hover,
.woocommerce-form-login__submit:hover,
.woocommerce-form-register__submit:hover,
.rosha-account-panel .button:hover {
	background: var(--rosha-turquoise);
	color: var(--rosha-accent-contrast);
	transform: translateY(-1px);
}
.woocommerce-Addresses { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .woocommerce-Addresses { grid-template-columns: 1fr; } }
.woocommerce-Address { background: var(--rosha-bg-secondary); border-radius: var(--rosha-radius); padding: 18px; }
.woocommerce-Address-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.woocommerce-Address-title h3 { font-size: var(--rosha-text-small); font-weight: 700; margin: 0; }

.woocommerce-EditAccountForm .form-row,
.woocommerce-ResetPassword .form-row,
.woocommerce-form-login .form-row,
.woocommerce-form-register .form-row,
.rosha-support-form .form-row { margin-bottom: 16px; }
.woocommerce-EditAccountForm label,
.woocommerce-form-login label,
.woocommerce-form-register label,
.rosha-account-inline-form label,
.rosha-support-form label { display: block; font-size: var(--rosha-text-small); font-weight: 700; margin-bottom: 7px; }
.woocommerce-EditAccountForm .input-text,
.woocommerce-form-login .input-text,
.woocommerce-form-register .input-text,
.woocommerce-ResetPassword .input-text,
.rosha-account-panel .input-text,
.rosha-account-panel select,
.rosha-account-panel textarea {
	width: 100%;
	min-height: 46px;
	background: var(--rosha-bg-secondary);
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius);
	padding: 11px 14px;
	color: var(--rosha-text);
	font-family: inherit;
	font-size: var(--rosha-text-small);
	outline: none;
	transition: border-color var(--rosha-speed) var(--rosha-ease), box-shadow var(--rosha-speed) var(--rosha-ease);
}
.woocommerce-EditAccountForm .input-text:focus,
.woocommerce-form-login .input-text:focus,
.woocommerce-form-register .input-text:focus,
.woocommerce-ResetPassword .input-text:focus,
.rosha-account-panel .input-text:focus,
.rosha-account-panel select:focus,
.rosha-account-panel textarea:focus {
	border-color: var(--rosha-gold);
	box-shadow: 0 0 0 3px var(--rosha-border-gold);
}
.rosha-account-panel textarea {
	min-height: 130px;
	resize: vertical;
}
.woocommerce-EditAccountForm fieldset {
	margin: 22px 0 0;
	padding: 18px;
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius);
}
.woocommerce-EditAccountForm legend {
	padding-inline: 8px;
	color: var(--rosha-gold-light);
	font-weight: 800;
}
.woocommerce-form-login,
.woocommerce-form-register { max-width: none; }
.u-columns.woocommerce-Addresses,
.woocommerce-account .col2-set,
.rosha-auth-shell {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(22px, 4vw, 34px);
	align-items: start;
}
.rosha-auth-shell--single { grid-template-columns: minmax(0, 480px); justify-content: center; }
@media (max-width: 800px) { .woocommerce-account .col2-set, .rosha-auth-shell { grid-template-columns: 1fr; } }
.col-1, .col-2 { min-width: 0; }
.rosha-form-grid-2 {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
.rosha-form-grid-2 .form-row {
	min-width: 0;
}
@media (max-width: 560px) {
	.rosha-form-grid-2 { grid-template-columns: 1fr; }
}

.rosha-auth-card h2,
.woocommerce-MyAccount-content h2,
.woocommerce-MyAccount-content h3 {
	margin: 0 0 14px;
	font-family: var(--rosha-font-display);
	font-size: var(--rosha-text-h3);
}
.rosha-auth-subtitle,
.rosha-account-note,
.rosha-account-empty {
	color: var(--rosha-text-muted);
	font-size: var(--rosha-text-small);
	line-height: 1.8;
}
.woocommerce-privacy-policy-text {
	margin: 14px 0;
	color: var(--rosha-text-muted);
	font-size: 12.5px;
	line-height: 1.9;
}
.woocommerce-privacy-policy-text p {
	margin: 0;
}
.rosha-auth-actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
}
.lost_password a {
	color: var(--rosha-turquoise-light);
	font-size: var(--rosha-text-small);
	font-weight: 700;
	text-decoration: none;
}
.lost_password a:hover { color: var(--rosha-gold-light); }

.rosha-account-welcome {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin-bottom: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--rosha-border);
}
.rosha-account-welcome span {
	color: var(--rosha-gold-light);
	font-size: var(--rosha-text-meta);
	font-weight: 800;
}
.rosha-account-welcome h2 {
	margin: 4px 0 0;
	font-size: var(--rosha-text-h2);
}
.rosha-account-quick-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}
@media (max-width: 620px) { .rosha-account-quick-grid { grid-template-columns: 1fr; } }
.rosha-account-quick-card {
	display: flex;
	flex-direction: column;
	gap: 7px;
	min-height: 104px;
	padding: 18px;
	background: var(--rosha-bg-secondary);
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius);
	color: var(--rosha-text);
	text-decoration: none;
	transition: transform var(--rosha-speed) var(--rosha-ease), border-color var(--rosha-speed) var(--rosha-ease), box-shadow var(--rosha-speed) var(--rosha-ease);
}
.rosha-account-quick-card:hover {
	transform: translateY(-3px);
	border-color: var(--rosha-border-gold);
	box-shadow: var(--rosha-shadow);
}
.rosha-account-quick-card small {
	color: var(--rosha-text-muted);
	line-height: 1.7;
}

.rosha-order-status-tabs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.rosha-order-status-tabs a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 38px;
	padding: 8px 13px;
	border: 1px solid var(--rosha-border);
	border-radius: 999px;
	color: var(--rosha-text-muted);
	text-decoration: none;
	font-size: 12.5px;
	font-weight: 800;
}
.rosha-order-status-tabs a:hover,
.rosha-order-status-tabs a.is-active {
	border-color: var(--rosha-border-gold);
	color: var(--rosha-gold-light);
	background: var(--rosha-border-gold);
}
.rosha-order-status-tabs small {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 20px;
	border-radius: 999px;
	background: var(--rosha-bg-secondary);
	color: var(--rosha-text);
}
.rosha-order-status {
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--rosha-border-turquoise);
	color: var(--rosha-turquoise-light);
	font-size: 12px;
	font-weight: 800;
}
.rosha-order-status--completed { background: rgba(84, 146, 113, .18); color: #8fd3ac; }
.rosha-order-status--refunded { background: var(--rosha-border-gold); color: var(--rosha-gold-light); }
.rosha-order-status--cancelled { background: rgba(217, 105, 95, .16); color: #e59087; }

.rosha-account-inline-form {
	margin-bottom: 20px;
}
.rosha-account-inline-form > div {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 12px;
}
@media (max-width: 560px) { .rosha-account-inline-form > div { grid-template-columns: 1fr; } }
.rosha-tracking-result {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px 16px;
	align-items: center;
	padding: 18px;
	background: var(--rosha-bg-secondary);
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius);
}
.rosha-tracking-result span { color: var(--rosha-gold-light); font-weight: 800; }
.rosha-tracking-result small { color: var(--rosha-text-muted); }
.rosha-tracking-result .button { grid-row: span 2; }
@media (max-width: 620px) { .rosha-tracking-result { grid-template-columns: 1fr; } .rosha-tracking-result .button { grid-row: auto; } }

.rosha-support-layout {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(260px, .9fr);
	gap: 22px;
	align-items: start;
}
@media (max-width: 820px) { .rosha-support-layout { grid-template-columns: 1fr; } }
.rosha-support-form,
.rosha-ticket-list {
	min-width: 0;
	padding: 18px;
	background: var(--rosha-bg-secondary);
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius);
}
.rosha-ticket-list h3 { margin-bottom: 16px; }
.rosha-ticket-list ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}
.rosha-ticket-list li {
	display: grid;
	gap: 4px;
	padding: 12px;
	border: 1px solid var(--rosha-border);
	border-radius: var(--rosha-radius-sm);
	background: color-mix(in srgb, var(--rosha-surface) 70%, transparent);
}
.rosha-ticket-list span { color: var(--rosha-gold-light); font-size: 12px; font-weight: 800; }
.rosha-ticket-list small { color: var(--rosha-text-muted); font-size: 12px; }

/* Account dashboard empty states (orders/downloads) */
.woocommerce-MyAccount-content > p:only-child { text-align: center; padding: 40px 20px; color: var(--rosha-text-muted); }
