@charset "UTF-8";
/* ==========================================================================
   TOPREST'O — pages WooCommerce : panier, paiement, confirmation,
   espace client, connexion, commandes, abonnements, adresses.
   ========================================================================== */

/* ---------- Couleurs de TOPREST'O License Manager alignées sur le site ---------- */
html body.tr-account-ui {
	--tr-surface: var(--surface);
	--tr-panel: var(--surface);
	--tr-surface-soft: var(--surface-2);
	--tr-surface-muted: var(--bg-alt);
	--tr-ink: var(--text);
	--tr-muted: var(--muted);
	--tr-border: var(--border);
	--tr-border-strong: var(--border-strong);
	--tr-accent: var(--accent);
	--tr-accent-strong: var(--accent-strong);
	--tr-success-bg: var(--success-soft);
	--tr-success-text: var(--success);
	--tr-danger-bg: var(--danger-soft);
	--tr-danger-text: var(--danger);
	--tr-shadow: var(--shadow);
	--tr-shadow-soft: var(--shadow-sm);
	--tr-dashboard-gradient: linear-gradient(135deg, var(--navy) 0%, var(--navy-3) 100%);
}

/* ---------- Base des formulaires ---------- */
.tr-woo .woocommerce { font-size: 1rem; }
.tr-woo .woocommerce form .form-row { margin: 0 0 16px; padding: 0; display: grid; gap: 6px; }
.tr-woo .woocommerce form .form-row label { font-weight: 600; font-size: 0.92rem; color: var(--text); line-height: 1.4; }
.tr-woo .woocommerce form .form-row .required { color: var(--danger); text-decoration: none; border: 0; }
.tr-woo .woocommerce form .form-row .optional { color: var(--dim); font-weight: 500; }
.tr-woo .woocommerce form .form-row-first, .tr-woo .woocommerce form .form-row-last { width: auto; float: none; }
.tr-woo .woocommerce .input-text,
.tr-woo .woocommerce select,
.tr-woo .woocommerce textarea,
.tr-woo .woocommerce form .form-row .input-text,
.tr-woo .woocommerce form .form-row textarea,
.tr-woo .woocommerce form .form-row select,
.tr-woo .woocommerce input[type="email"],
.tr-woo .woocommerce input[type="password"],
.tr-woo .woocommerce input[type="tel"],
.tr-woo .woocommerce input[type="text"],
.tr-woo .select2-container .select2-selection--single {
	width: 100%; min-height: 48px; padding: 11px 14px; border-radius: 12px;
	border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text);
	font: inherit; font-size: 1rem; line-height: 1.4; box-shadow: none;
	transition: border-color 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.tr-woo .woocommerce textarea, .tr-woo .woocommerce form .form-row textarea { min-height: 96px; resize: vertical; }
.tr-woo .woocommerce form .form-row .input-text:focus,
.tr-woo .woocommerce form .form-row textarea:focus,
.tr-woo .woocommerce .input-text:focus,
.tr-woo .woocommerce select:focus,
.tr-woo .woocommerce textarea:focus,
.tr-woo .select2-container--focus .select2-selection--single,
.tr-woo .select2-container--open .select2-selection--single {
	outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-ring); background: var(--surface);
}
.tr-woo .woocommerce form .form-row.woocommerce-invalid .input-text,
.tr-woo .woocommerce form .form-row.woocommerce-invalid .select2-selection { border-color: var(--danger); }
.tr-woo .woocommerce form .form-row.woocommerce-validated .input-text { border-color: color-mix(in srgb, var(--success) 55%, var(--border-strong)); }
.tr-woo .select2-container .select2-selection--single { display: flex; align-items: center; padding: 0 14px; }
.tr-woo .select2-container .select2-selection--single .select2-selection__rendered { padding: 0; color: var(--text); line-height: 1.4; }
.tr-woo .select2-container .select2-selection--single .select2-selection__arrow { height: 46px; right: 10px; }
.select2-dropdown { border-color: var(--border-strong) !important; border-radius: 12px !important; overflow: hidden; background: var(--surface) !important; color: var(--text); box-shadow: var(--shadow); }
.select2-results__option--highlighted[aria-selected], .select2-results__option--highlighted[data-selected] { background: var(--accent) !important; }
.select2-search--dropdown .select2-search__field { border-radius: 8px; border: 1px solid var(--border-strong) !important; background: var(--surface-2); color: var(--text); }
.tr-woo .woocommerce input[type="checkbox"], .tr-woo .woocommerce input[type="radio"] { accent-color: var(--accent); width: 18px; height: 18px; vertical-align: -3px; margin-right: 6px; }

/* ---------- Boutons WooCommerce ---------- */
.tr-woo .woocommerce .button,
.tr-woo .woocommerce button.button,
.tr-woo .woocommerce a.button,
.tr-woo .woocommerce input.button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 0 20px; border-radius: 12px; border: 1px solid var(--border-strong);
	background: var(--surface); color: var(--text); font: inherit; font-weight: 600; font-size: 0.95rem; line-height: 1;
	text-decoration: none; cursor: pointer; transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.tr-woo .woocommerce .button:hover { background: var(--surface-hover); border-color: var(--accent); color: var(--text); }
.tr-woo .woocommerce .button.alt,
.tr-woo .woocommerce button.button.alt,
.tr-woo .woocommerce #place_order,
.tr-woo .woocommerce .checkout-button,
.tr-woo .woocommerce button.button.woocommerce-form-login__submit,
.tr-woo .woocommerce button.button.woocommerce-form-register__submit,
.tr-woo .woocommerce button.button.woocommerce-Button,
.tr-woo .woocommerce .woocommerce-ResetPassword button.button {
	border: 0; color: #fff;
	background: linear-gradient(180deg, #12b5cf 0%, #0891b2 100%);
	box-shadow: 0 8px 20px -8px rgba(8, 145, 178, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.tr-woo .woocommerce .button.alt:hover,
.tr-woo .woocommerce #place_order:hover,
.tr-woo .woocommerce .checkout-button:hover,
.tr-woo .woocommerce button.button.woocommerce-form-login__submit:hover,
.tr-woo .woocommerce button.button.woocommerce-form-register__submit:hover,
.tr-woo .woocommerce .woocommerce-ResetPassword button.button:hover,
.tr-woo .woocommerce button.button.woocommerce-Button:hover { color: #fff; background: linear-gradient(180deg, #1cc2db 0%, #0a9bbd 100%); }
.tr-woo .woocommerce .button:disabled, .tr-woo .woocommerce .button.disabled { opacity: 0.55; cursor: not-allowed; }

/* ---------- Messages ---------- */
.tr-woo .woocommerce-notices-wrapper:empty { display: none; }
.tr-woo .woocommerce-message,
.tr-woo .woocommerce-info,
.tr-woo .woocommerce-error,
.tr-woo .woocommerce-notice {
	position: relative; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px;
	margin: 0 0 20px; padding: 14px 18px 14px 48px; list-style: none;
	border-radius: 14px; border: 1px solid var(--border); background: var(--surface); color: var(--text);
	font-size: 0.97rem; box-shadow: var(--shadow-sm);
}
.tr-woo .woocommerce-message::before,
.tr-woo .woocommerce-info::before,
.tr-woo .woocommerce-error::before {
	content: ""; position: absolute; left: 16px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
	background: var(--accent); -webkit-mask: radial-gradient(circle, #000 55%, transparent 56%); mask: radial-gradient(circle, #000 55%, transparent 56%);
}
.tr-woo .woocommerce-message { border-color: color-mix(in srgb, var(--success) 35%, transparent); background: var(--success-soft); }
.tr-woo .woocommerce-message::before { background: var(--success); }
.tr-woo .woocommerce-info { border-color: color-mix(in srgb, var(--accent) 35%, transparent); background: var(--accent-soft); }
.tr-woo .woocommerce-error { border-color: color-mix(in srgb, var(--danger) 35%, transparent); background: var(--danger-soft); display: block; }
.tr-woo .woocommerce-error::before { background: var(--danger); top: 24px; }
.tr-woo .woocommerce-error li { margin: 2px 0; }
.tr-woo .woocommerce-message .button, .tr-woo .woocommerce-info .button { order: 2; margin-left: auto; min-height: 36px; }
.tr-woo .woocommerce-info a:not(.button) { font-weight: 600; }

/* ---------- Tableaux ---------- */
.tr-woo .woocommerce table.shop_table {
	width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 24px;
	border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--surface);
}
.tr-woo .woocommerce table.shop_table th,
.tr-woo .woocommerce table.shop_table td { padding: 14px 18px; text-align: left; border: 0; border-top: 1px solid var(--border); vertical-align: middle; }
.tr-woo .woocommerce table.shop_table thead th { border-top: 0; background: var(--surface-2); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.tr-woo .woocommerce table.shop_table tbody tr:first-child td, .tr-woo .woocommerce table.shop_table tbody tr:first-child th { border-top: 0; }
.tr-woo .woocommerce table.shop_table thead + tbody tr:first-child td { border-top: 1px solid var(--border); }
.tr-woo .woocommerce table.shop_table tfoot th { font-weight: 600; color: var(--muted); }
.tr-woo .woocommerce table.shop_table tfoot .order-total th, .tr-woo .woocommerce table.shop_table tfoot .order-total td { font-size: 1.1rem; color: var(--text); }
.tr-woo .woocommerce table.shop_table tfoot .order-total .amount { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; }
.tr-woo .woocommerce table.shop_table .wc-item-meta, .tr-woo .woocommerce table.shop_table dl.variation { margin: 6px 0 0; padding: 0; list-style: none; font-size: 0.88rem; color: var(--muted); display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tr-woo .woocommerce table.shop_table .wc-item-meta li, .tr-woo .woocommerce dl.variation dt, .tr-woo .woocommerce dl.variation dd { display: inline; margin: 0; }
.tr-woo .woocommerce table.shop_table .wc-item-meta p, .tr-woo .woocommerce dl.variation p { display: inline; margin: 0; }
.tr-woo .woocommerce dl.variation dt { font-weight: 600; }
.tr-woo .woocommerce dl.variation dd { margin-right: 10px; }
.tr-woo .woocommerce table.shop_table .woocommerce-orders-table__cell-order-actions .button { min-height: 34px; padding: 0 12px; font-size: 0.85rem; margin: 2px; }

@media (max-width: 768px) {
	.tr-woo .woocommerce table.shop_table_responsive thead { display: none; }
	.tr-woo .woocommerce table.shop_table_responsive tr { display: block; padding: 8px 0; border-top: 1px solid var(--border); }
	.tr-woo .woocommerce table.shop_table_responsive tbody tr:first-child { border-top: 0; }
	.tr-woo .woocommerce table.shop_table_responsive tr td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 16px; text-align: right; }
	.tr-woo .woocommerce table.shop_table_responsive tr td::before { content: attr(data-title); font-weight: 600; color: var(--muted); text-align: left; }
	.tr-woo .woocommerce table.shop_table_responsive tr td.product-remove::before, .tr-woo .woocommerce table.shop_table_responsive tr td.actions::before { display: none; }
}

/* ---------- En-tête des pages panier / paiement ---------- */
.tr-checkout-head { padding: clamp(28px, 4vw, 44px) 0 8px; }
.tr-checkout-head .tr-page-title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.tr-secure-badge { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 10px; padding: 4px 12px; border-radius: 999px; background: var(--success-soft); color: var(--success); font-size: 0.82rem; font-weight: 700; }
.tr-checkout-wrap { padding-bottom: clamp(48px, 7vw, 96px); }

/* Étapes */
.tr-steps-bar { display: flex; gap: 0; list-style: none; margin: 8px 0 32px; padding: 0; max-width: 760px; }
.tr-steps-bar li { flex: 1; display: flex; align-items: center; gap: 10px; position: relative; font-weight: 600; font-size: 0.92rem; color: var(--dim); }
.tr-steps-bar li:last-child { flex: none; }
.tr-steps-bar li:not(:last-child)::after { content: ""; flex: 1; height: 2px; margin: 0 12px; border-radius: 2px; background: var(--border); }
.tr-steps-bar li.is-done:not(:last-child)::after { background: linear-gradient(90deg, var(--success), var(--accent)); }
.tr-steps-bar-dot { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--border-strong); background: var(--surface); font-size: 0.85rem; font-weight: 700; }
.tr-steps-bar .is-done { color: var(--success); }
.tr-steps-bar .is-done .tr-steps-bar-dot { border-color: var(--success); background: var(--success); color: #fff; }
.tr-steps-bar .is-current { color: var(--text); }
.tr-steps-bar .is-current .tr-steps-bar-dot { border-color: var(--accent); background: var(--accent); color: #fff; box-shadow: 0 0 0 5px var(--accent-soft); animation: tr-pulse 2.4s ease-in-out infinite; }
@media (max-width: 600px) { .tr-steps-bar li > span:last-child { display: none; } .tr-steps-bar li.is-current > span:last-child { display: inline; } }
@keyframes tr-pulse { 0%, 100% { box-shadow: 0 0 0 5px var(--accent-soft); } 50% { box-shadow: 0 0 0 9px transparent; } }

/* ---------- Paiement (version thème) ---------- */
.tr-woo .woocommerce-form-coupon-toggle .woocommerce-info,
.tr-woo .woocommerce-form-login-toggle .woocommerce-info { background: var(--surface); border-color: var(--border); }
.tr-woo form.woocommerce-form-coupon, .tr-woo .woocommerce-checkout form.woocommerce-form-login.login { margin: -8px 0 24px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.tr-woo form.checkout_coupon { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.tr-woo form.checkout_coupon p:first-child { flex-basis: 100%; margin: 0; color: var(--muted); }
.tr-woo form.checkout_coupon .form-row { flex: 1; margin: 0; }

.tr-woo form.checkout {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 420px); gap: 0 36px; align-items: start;
}
.tr-woo form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
.tr-woo form.checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; display: grid; gap: 20px; }
.tr-woo form.checkout #customer_details .col-1,
.tr-woo form.checkout #customer_details .col-2 {
	float: none; width: auto; padding: 26px; border-radius: var(--radius-lg);
	background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.tr-woo form.checkout #customer_details .col-2:not(:has(.form-row)) { display: none; }
.tr-woo form.checkout h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font-size: 1.15rem; font-weight: 650; }
.tr-woo form.checkout .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tr-woo form.checkout .woocommerce-billing-fields__field-wrapper .form-row-wide,
.tr-woo form.checkout .woocommerce-billing-fields__field-wrapper #billing_company_field,
.tr-woo form.checkout .woocommerce-billing-fields__field-wrapper #billing_country_field,
.tr-woo form.checkout .woocommerce-billing-fields__field-wrapper #billing_address_1_field,
.tr-woo form.checkout .woocommerce-billing-fields__field-wrapper #billing_address_2_field,
.tr-woo form.checkout .woocommerce-billing-fields__field-wrapper #billing_email_field { grid-column: 1 / -1; }
@media (max-width: 560px) { .tr-woo form.checkout .woocommerce-billing-fields__field-wrapper { grid-template-columns: 1fr; } }
.tr-woo form.checkout #order_review_heading {
	grid-column: 2; grid-row: 1; margin: 0; padding: 22px 24px 4px; border-radius: var(--radius-xl) var(--radius-xl) 0 0;
	background: var(--navy); color: rgba(226, 238, 252, 0.8); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
}
.tr-woo form.checkout #order_review {
	grid-column: 2; grid-row: 2; padding: 6px 24px 24px; border-radius: 0 0 var(--radius-xl) var(--radius-xl);
	background: radial-gradient(420px 220px at 100% 0%, rgba(34, 199, 221, 0.16), transparent 70%), var(--navy); color: rgba(226, 238, 252, 0.88);
	box-shadow: var(--shadow-lg);
}
@media (max-width: 960px) {
	.tr-woo form.checkout { grid-template-columns: 1fr; gap: 0; }
	.tr-woo form.checkout #customer_details { grid-column: 1; grid-row: auto; margin-bottom: 24px; }
	.tr-woo form.checkout #order_review_heading, .tr-woo form.checkout #order_review { grid-column: 1; grid-row: auto; }
}
.tr-woo #order_review table.shop_table { background: transparent; border: 0; border-radius: 0; margin-bottom: 18px; }
.tr-woo #order_review table.shop_table th, .tr-woo #order_review table.shop_table td { padding: 12px 0; border-top-color: rgba(148, 178, 214, 0.2); color: rgba(226, 238, 252, 0.88); background: transparent; }
.tr-woo #order_review table.shop_table thead { display: none; }
.tr-woo #order_review table.shop_table tbody tr:first-child td { border-top: 0; }
.tr-woo #order_review table.shop_table .product-name { font-weight: 600; color: #fff; }
.tr-woo #order_review table.shop_table .product-total { text-align: right; }
.tr-woo #order_review table.shop_table tfoot td { text-align: right; }
.tr-woo #order_review table.shop_table tfoot th { color: rgba(226, 238, 252, 0.7); }
.tr-woo #order_review table.shop_table tfoot .order-total th, .tr-woo #order_review table.shop_table tfoot .order-total td { color: #fff; }
.tr-woo #order_review .wc-item-meta, .tr-woo #order_review dl.variation { color: rgba(226, 238, 252, 0.7); }
.tr-woo #order_review .recurring-totals th { padding-top: 18px; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: #a5f3fc; }
.tr-woo #order_review .first-payment-date, .tr-woo #order_review small { color: rgba(226, 238, 252, 0.6); }
.tr-edit-config { margin-left: 8px; font-size: 0.8rem; font-weight: 600; color: #a5f3fc; }
.tr-is-cart .tr-edit-config { color: var(--link); }
.tr-review-title { margin: 6px 0 12px !important; font-size: 0.8rem !important; font-weight: 700 !important; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(226, 238, 252, 0.8); }

.tr-woo #payment { background: transparent; border-radius: 0; }
.tr-woo #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; border: 0; display: grid; gap: 10px; }
.tr-woo #payment ul.payment_methods li {
	padding: 14px 16px; border-radius: 14px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(148, 178, 214, 0.22);
	color: #fff; font-weight: 600; transition: border-color 0.15s ease, background-color 0.15s ease;
}
.tr-woo #payment ul.payment_methods li:has(input:checked) { border-color: #22c7dd; background: rgba(34, 199, 221, 0.12); }
.tr-woo #payment ul.payment_methods li label { cursor: pointer; }
.tr-woo #payment ul.payment_methods li img { display: inline; max-height: 22px; vertical-align: middle; margin-left: 6px; }
.tr-woo #payment div.payment_box {
	margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, 0.08); color: rgba(226, 238, 252, 0.85);
	font-weight: 400; font-size: 0.9rem;
}
.tr-woo #payment div.payment_box::before { display: none; }
.tr-woo #payment div.payment_box p:last-child { margin-bottom: 0; }
.tr-woo #payment .place-order { margin: 0; padding: 0; }
.tr-woo #payment #place_order { width: 100%; min-height: 54px; font-size: 1.05rem; margin-top: 14px; }
.tr-woo .woocommerce-terms-and-conditions-wrapper, .tr-woo #order_review .woocommerce-privacy-policy-text { font-size: 0.85rem; color: rgba(226, 238, 252, 0.7); }
.tr-woo #order_review .woocommerce-terms-and-conditions-wrapper a, .tr-woo #order_review .woocommerce-privacy-policy-text a { color: #a5f3fc; }
.tr-woo .woocommerce-terms-and-conditions-wrapper .form-row label { color: rgba(226, 238, 252, 0.9); font-weight: 500; }
.tr-woo #order_review .blockUI.blockOverlay { background: rgba(7, 27, 53, 0.6) !important; border-radius: inherit; }

.tr-trust { list-style: none; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid rgba(148, 178, 214, 0.2); display: grid; gap: 8px; font-size: 0.88rem; color: rgba(226, 238, 252, 0.78); }
.tr-trust li { display: flex; align-items: center; gap: 10px; }
.tr-trust .tr-ic { color: #5eead4; }

/* ---------- Panier (version thème) ---------- */
.tr-is-cart .tr-checkout-wrap > .woocommerce { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 400px); gap: 28px; align-items: start; }
.tr-is-cart .tr-checkout-wrap > .woocommerce > .woocommerce-notices-wrapper { grid-column: 1 / -1; }
.tr-is-cart .tr-checkout-wrap > .woocommerce:has(.tr-empty-state) { display: block; }
@media (max-width: 960px) { .tr-is-cart .tr-checkout-wrap > .woocommerce { grid-template-columns: minmax(0, 1fr); } }
.tr-is-cart .woocommerce-cart-form { min-width: 0; }
.tr-is-cart table.cart .product-thumbnail { display: none; }
.tr-is-cart table.cart .product-name a { font-weight: 650; color: var(--text); text-decoration: none; }
.tr-is-cart table.cart .product-remove a.remove {
	display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
	color: var(--danger) !important; background: var(--danger-soft); font-size: 1.2rem; text-decoration: none;
}
.tr-is-cart table.cart .product-remove a.remove:hover { background: var(--danger); color: #fff !important; }
.tr-is-cart table.cart td.actions { background: var(--surface-2); }
.tr-is-cart table.cart td.actions .coupon { display: inline-flex; gap: 8px; }
.tr-is-cart table.cart td.actions .coupon .input-text { width: 180px; min-height: 42px; }
.tr-is-cart table.cart td.actions > .button[name="update_cart"] { float: right; }
.tr-is-cart .cart-collaterals { width: auto; }
.tr-is-cart .cart-collaterals .cart_totals {
	float: none; width: auto; padding: 24px; border-radius: var(--radius-xl);
	background: radial-gradient(420px 220px at 100% 0%, rgba(34, 199, 221, 0.18), transparent 70%), var(--navy); color: rgba(226, 238, 252, 0.88);
	box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 20px);
}
.tr-is-cart .cart_totals h2 { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(226, 238, 252, 0.8); }
.tr-is-cart .cart_totals table.shop_table { background: transparent; border: 0; border-radius: 0; }
.tr-is-cart .cart_totals table.shop_table th, .tr-is-cart .cart_totals table.shop_table td { padding: 12px 0; color: rgba(226, 238, 252, 0.88); border-top-color: rgba(148, 178, 214, 0.2); text-align: right; }
.tr-is-cart .cart_totals table.shop_table th { text-align: left; }
.tr-is-cart .cart_totals .order-total th, .tr-is-cart .cart_totals .order-total td { color: #fff; }
.tr-is-cart .wc-proceed-to-checkout { padding: 8px 0 0; }
.tr-is-cart .wc-proceed-to-checkout .checkout-button { width: 100%; min-height: 54px; font-size: 1.05rem; }

.tr-empty-state { max-width: 560px; margin: 24px auto; padding: 40px 32px; text-align: center; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.tr-empty-state .tr-tile { margin: 0 auto 18px; }
.tr-empty-state p { color: var(--muted); }
.tr-tile-xl { width: 72px; height: 72px; border-radius: 20px; }
.tr-tile-xl .tr-ic { width: 34px; height: 34px; }
.tr-is-cart .return-to-shop { display: none; }

/* ---------- Confirmation ---------- */
.tr-thanks { max-width: 880px; margin: 0 auto 36px; padding: clamp(28px, 4vw, 48px); text-align: center; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow); }
.tr-thanks .tr-lead { max-width: 620px; margin-inline: auto; }
.tr-thanks-check { width: 84px; height: 84px; margin: 0 auto 18px; }
.tr-thanks-check svg { width: 100%; height: 100%; }
.tr-thanks-check circle { fill: var(--success-soft); stroke: var(--success); stroke-width: 2; stroke-dasharray: 160; stroke-dashoffset: 160; animation: tr-draw 0.8s ease forwards; }
.tr-thanks-check path { fill: none; stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: tr-draw 0.5s 0.6s ease forwards; }
@keyframes tr-draw { to { stroke-dashoffset: 0; } }
.tr-thanks-next { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 32px 0; text-align: left; }
@media (max-width: 760px) { .tr-thanks-next { grid-template-columns: 1fr; } }
.tr-thanks-next > div { display: grid; gap: 6px; padding: 18px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.tr-thanks-next .tr-tile { margin-bottom: 6px; }
.tr-thanks-next span:last-child { color: var(--muted); font-size: 0.92rem; }
.tr-is-thanks .woocommerce-order { max-width: 880px; margin: 0 auto; }
.tr-is-thanks .tr-steps-bar { margin-inline: auto; }
.tr-woo ul.woocommerce-order-overview {
	display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; list-style: none; margin: 0 0 28px; padding: 0;
}
.tr-woo ul.woocommerce-order-overview::before, .tr-woo ul.woocommerce-order-overview::after { display: none; }
.tr-woo ul.woocommerce-order-overview li { float: none; margin: 0; padding: 14px 16px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); font-weight: 600; }
.tr-woo ul.woocommerce-order-overview li strong { display: block; margin-top: 4px; font-size: 1rem; text-transform: none; letter-spacing: 0; color: var(--text); word-break: break-word; }
.tr-woo .woocommerce-order-details__title, .tr-woo .woocommerce-column__title, .tr-woo .woocommerce-bacs-bank-details h2 { font-size: 1.2rem; margin: 28px 0 14px; }
.tr-woo .woocommerce-customer-details address {
	padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); font-style: normal; line-height: 1.7;
}
.tr-woo .woocommerce-bacs-bank-details ul.wc-bacs-bank-details { list-style: none; padding: 16px 20px; border-radius: var(--radius); border: 1px dashed var(--border-strong); background: var(--surface-2); display: flex; flex-wrap: wrap; gap: 8px 24px; }

/* ---------- Connexion / inscription ---------- */
.tr-login-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: calc(100vh - var(--header-h)); }
@media (max-width: 960px) { .tr-login-page { grid-template-columns: 1fr; } .tr-login-aside { display: none; } }
.tr-login-aside {
	position: relative; overflow: hidden; isolation: isolate; color: #fff;
	background: radial-gradient(900px 500px at 100% 0%, rgba(34, 199, 221, 0.28), transparent 60%), radial-gradient(700px 400px at 0% 100%, rgba(96, 165, 250, 0.2), transparent 60%), linear-gradient(160deg, var(--navy), var(--navy-2));
}
.tr-login-aside-inner { position: relative; padding: clamp(40px, 6vw, 80px); display: grid; gap: 22px; align-content: start; height: 100%; }
.tr-login-aside .tr-logo, .tr-login-aside .tr-logo:hover { color: #fff; }
.tr-login-quote { font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; margin: 12px 0 0; }
.tr-login-points { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: rgba(226, 238, 252, 0.85); }
.tr-login-points li { display: flex; gap: 10px; align-items: center; }
.tr-login-points .tr-ic { color: #5eead4; }
.tr-login-shot { margin-top: 12px; margin-right: calc(-1 * clamp(40px, 6vw, 80px)); border-radius: 14px 0 0 14px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid rgba(148, 178, 214, 0.22); border-right: 0; }
.tr-login-shot img { width: 100%; height: auto; }
.tr-login-main { display: grid; align-content: center; padding: clamp(32px, 5vw, 72px) clamp(20px, 5vw, 72px); }
.tr-login-main > .woocommerce { max-width: 520px; width: 100%; margin: 0 auto; }
.tr-login-intro { margin-bottom: 24px; }
.tr-login-intro .tr-page-title { font-size: clamp(1.9rem, 3vw, 2.5rem); }
.tr-login-intro .tr-lead { margin: 10px 0 0; }
.tr-woo #customer_login.u-columns { display: grid; gap: 20px; }
.tr-woo #customer_login::before, .tr-woo #customer_login::after { display: none; }
.tr-woo #customer_login .u-column1, .tr-woo #customer_login .u-column2 { float: none; width: auto; padding: 0; }
.tr-woo #customer_login h2 { font-size: 1.15rem; margin: 0 0 14px; }
.tr-woo form.woocommerce-form-login, .tr-woo form.woocommerce-form-register, .tr-woo form.woocommerce-ResetPassword {
	margin: 0; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow);
}
.tr-woo .woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; }
.tr-woo .woocommerce-form-login__submit { order: 2; min-width: 160px; }
.tr-woo .woocommerce-form-login__rememberme { font-weight: 500 !important; color: var(--muted) !important; }
.tr-woo .woocommerce-LostPassword { margin: 14px 0 0; font-size: 0.92rem; }
.tr-woo .woocommerce-form-register .woocommerce-privacy-policy-text { font-size: 0.85rem; color: var(--muted); }
.tr-woo .password-input { position: relative; display: block; }
.tr-woo .show-password-input { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border: 0; background: transparent; cursor: pointer; opacity: 0.6; }
.tr-woo .woocommerce-password-strength { margin-top: 6px; padding: 6px 10px; border-radius: 8px; font-size: 0.85rem; }
.tr-woo .woocommerce-password-strength.short, .tr-woo .woocommerce-password-strength.bad { background: var(--danger-soft); color: var(--danger); }
.tr-woo .woocommerce-password-strength.good { background: var(--warning-soft); color: var(--warning); }
.tr-woo .woocommerce-password-strength.strong { background: var(--success-soft); color: var(--success); }

/* ---------- Espace client ---------- */
.tr-account-head { padding: clamp(28px, 4vw, 44px) 0 clamp(20px, 3vw, 28px); background: radial-gradient(800px 260px at 85% 0%, var(--accent-soft), transparent 70%); }
.tr-account-head .tr-eyebrow { margin-bottom: 6px; }
.tr-account-head .tr-page-title { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.tr-account-wrap { padding-bottom: clamp(48px, 7vw, 96px); }
.tr-account-wrap > .woocommerce { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 28px; align-items: start; }
.tr-account-wrap > .woocommerce::before, .tr-account-wrap > .woocommerce::after { display: none; }
@media (max-width: 960px) { .tr-account-wrap > .woocommerce { grid-template-columns: minmax(0, 1fr); } html body .woocommerce-MyAccount-navigation.tr-account-nav { min-width: 0; } }

html body .woocommerce-MyAccount-navigation.tr-account-nav {
	float: none; width: auto; position: sticky; top: calc(var(--header-h) + 20px);
	padding: 14px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
@media (max-width: 960px) { html body .woocommerce-MyAccount-navigation.tr-account-nav { position: static; } }
.tr-account-user { display: flex; align-items: center; gap: 12px; padding: 8px 8px 16px; margin-bottom: 8px; border-bottom: 1px solid var(--border); }
.tr-account-user-text { display: grid; min-width: 0; }
.tr-account-user-text strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-account-user-text small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body .tr-account-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
html body .tr-account-nav ul li { margin: 0; padding: 0; border: 0; background: none; }
html body .tr-account-nav ul li a {
	display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px;
	color: var(--muted); font-weight: 600; font-size: 0.95rem; text-decoration: none; background: none; border: 0;
	transition: background-color 0.15s ease, color 0.15s ease;
}
html body .tr-account-nav ul li a:hover { color: var(--text); background: var(--surface-hover); }
html body .tr-account-nav ul li.is-active a { color: var(--accent-strong); background: var(--accent-soft); }
html body .tr-account-nav ul li.is-active a .tr-ic { color: var(--accent); }
html body .tr-account-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout a:hover { color: var(--danger); background: var(--danger-soft); }
html body .tr-account-nav ul li a .tr-pop-count { margin-left: auto; }
.tr-account-nav-group {
	margin: 14px 12px 6px; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim);
}
.tr-account-nav-groups > .tr-account-nav-group:first-child { margin-top: 4px; }
.tr-account-credit {
	display: flex; align-items: center; gap: 12px; margin: 0 0 6px; padding: 12px 14px; border-radius: 14px;
	background: linear-gradient(135deg, var(--success-soft), var(--accent-soft)); border: 1px solid rgba(14, 159, 110, 0.22);
}
.tr-account-credit-ic { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 10px; background: var(--surface); color: var(--success); box-shadow: var(--shadow-sm); }
.tr-account-credit small { display: block; font-size: 0.75rem; color: var(--muted); }
.tr-account-credit strong { display: block; font-size: 1.05rem; color: var(--text); }
@media (max-width: 960px) {
	/* Mobile : une seule rangée de rubriques qui défile, sans les titres de groupe. */
	.tr-account-nav-groups { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; scroll-snap-type: x proximity; }
	.tr-account-nav-groups::-webkit-scrollbar { display: none; }
	.tr-account-nav-group { display: none; }
	html body .tr-account-nav ul { display: contents; }
	html body .tr-account-nav ul li { flex: none; scroll-snap-align: start; }
	html body .tr-account-nav ul li a { white-space: nowrap; background: var(--surface-2); }
}
.tr-account-nav-cta {
	display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 12px;
	background: linear-gradient(135deg, var(--navy), var(--navy-3)); color: #fff; font-weight: 600; font-size: 0.88rem; text-decoration: none; line-height: 1.3;
}
.tr-account-nav-cta:hover { color: #fff; filter: brightness(1.1); }
.tr-account-nav-cta .tr-ic { flex: none; color: #5eead4; }
@media (max-width: 960px) { .tr-account-nav-cta { display: none; } }

html body.woocommerce-account .woocommerce-MyAccount-content { float: none; width: auto; min-width: 0; }
.tr-woo .woocommerce-MyAccount-content fieldset { margin: 24px 0 0; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); }
.tr-woo .woocommerce-MyAccount-content fieldset legend { padding: 0 8px; font-weight: 650; }
.tr-woo .woocommerce-EditAccountForm, .tr-woo .woocommerce-address-fields { padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm); }
.tr-woo .woocommerce-EditAccountForm { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tr-woo .woocommerce-EditAccountForm > *:not(.form-row-first):not(.form-row-last) { grid-column: 1 / -1; }
.tr-woo .woocommerce-EditAccountForm .clear { display: none; }
.tr-woo .woocommerce-address-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.tr-woo .woocommerce-address-fields__field-wrapper .form-row-wide { grid-column: 1 / -1; }
@media (max-width: 560px) { .tr-woo .woocommerce-address-fields__field-wrapper, .tr-woo .woocommerce-EditAccountForm { grid-template-columns: 1fr; } }
.tr-woo .woocommerce-Addresses { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.tr-woo .woocommerce-Addresses::before, .tr-woo .woocommerce-Addresses::after { display: none; }
.tr-woo .woocommerce-Addresses .woocommerce-Address { float: none; width: auto; padding: 22px; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.tr-woo .woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.tr-woo .woocommerce-Address-title::before, .tr-woo .woocommerce-Address-title::after { display: none; }
.tr-woo .woocommerce-Address-title h2 { font-size: 1.1rem; margin: 0; }
.tr-woo .woocommerce-Address address { font-style: normal; margin-top: 10px; color: var(--muted); line-height: 1.7; }
.tr-woo .woocommerce-pagination { display: flex; gap: 10px; justify-content: space-between; }
.tr-woo mark { background: var(--accent-soft); color: var(--accent-strong); padding: 1px 6px; border-radius: 6px; font-weight: 600; }

/* Tableau de bord */
.tr-dash { display: grid; gap: 22px; }
.tr-dash-hero {
	position: relative; overflow: hidden; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px;
	padding: clamp(22px, 3vw, 32px); border-radius: var(--radius-xl); color: #fff;
	background: radial-gradient(600px 260px at 100% 0%, rgba(34, 199, 221, 0.3), transparent 65%), radial-gradient(500px 240px at 0% 120%, rgba(96, 165, 250, 0.25), transparent 60%), linear-gradient(135deg, var(--navy), var(--navy-3));
	box-shadow: var(--shadow-lg);
}
.tr-dash-hero .tr-eyebrow { color: #a5f3fc; margin-bottom: 6px; }
.tr-dash-hero .tr-h2 { color: #fff; margin-bottom: 6px; }
.tr-dash-hero .tr-lead { color: rgba(226, 238, 252, 0.8); margin: 0; }
.tr-version-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); color: #fff; font-weight: 600; text-decoration: none; }
.tr-version-chip:hover { color: #fff; background: rgba(255, 255, 255, 0.16); }
.tr-version-chip .tr-ic { color: #5eead4; }

.tr-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 1100px) { .tr-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .tr-kpis { gap: 10px; } .tr-kpi { padding: 14px; } .tr-kpi-value { font-size: 1.5rem; } }
.tr-kpi {
	display: grid; gap: 4px; align-content: start; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border);
	box-shadow: var(--shadow-sm); color: var(--text); text-decoration: none; transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.tr-kpi:hover { color: var(--text); transform: translateY(-3px); box-shadow: var(--shadow); }
.tr-kpi-ic { display: grid; place-items: center; width: 40px; height: 40px; margin-bottom: 8px; border-radius: 12px; color: #fff; }
.tr-kpi-ic .tr-ic { width: 20px; height: 20px; }
.tr-tone-violet { background: linear-gradient(135deg, #a78bfa, #6d28d9); }
.tr-tone-amber { background: linear-gradient(135deg, #fbbf24, #d97706); }
.tr-kpi-label { font-size: 0.82rem; font-weight: 600; color: var(--muted); }
.tr-kpi-value { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.tr-kpi-value small { font-size: 1rem; color: var(--dim); font-weight: 600; }
.tr-kpi-date { font-size: 1.5rem; }
.tr-kpi-sub { font-size: 0.85rem; color: var(--muted); }
.tr-kpi-sub.is-warn { color: var(--warning); font-weight: 600; }
.tr-meter { display: block; height: 6px; margin-top: 8px; border-radius: 6px; background: var(--surface-2); overflow: hidden; }
.tr-meter i { display: block; height: 100%; width: var(--p, 0%); border-radius: inherit; background: linear-gradient(90deg, #22d3ee, #8b5cf6); transform-origin: left; animation: tr-grow 1.1s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
@keyframes tr-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.tr-dash-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
@media (max-width: 1100px) { .tr-dash-grid { grid-template-columns: 1fr; } }
.tr-panel { padding: 20px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); min-width: 0; }
.tr-panel-wide { grid-column: 1 / -1; }
.tr-panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.tr-panel-head h3 { margin: 0; }
.tr-panel-head a { font-weight: 600; font-size: 0.9rem; text-decoration: none; }
.tr-lic-list, .tr-order-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tr-lic-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.tr-lic-ic { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); }
.tr-lic-main { display: grid; min-width: 0; }
.tr-lic-main strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-lic-main code { font-size: 0.8rem; color: var(--muted); background: none; padding: 0; }
.tr-lic-meta { font-size: 0.85rem; color: var(--muted); white-space: nowrap; }
@media (max-width: 560px) { .tr-lic-list li { grid-template-columns: auto minmax(0, 1fr) auto; } .tr-lic-meta { display: none; } }
.tr-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 0.76rem; font-weight: 700; white-space: nowrap; background: var(--surface-2); color: var(--muted); }
.tr-status-active, .tr-status-completed, .tr-status-processing { background: var(--success-soft); color: var(--success); }
.tr-status-expired, .tr-status-failed, .tr-status-cancelled, .tr-status-disabled { background: var(--danger-soft); color: var(--danger); }
.tr-status-on-hold, .tr-status-pending { background: var(--warning-soft); color: var(--warning); }
.tr-quick { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: 10px; }
.tr-quick a { min-width: 0; display: flex; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text); text-decoration: none; transition: border-color 0.15s ease, transform 0.15s ease; }
.tr-quick a:hover { color: var(--text); border-color: var(--accent); transform: translateY(-2px); }
.tr-quick a > span:last-child { display: grid; min-width: 0; }
.tr-quick small { color: var(--muted); font-size: 0.8rem; }
.tr-tile-sm { width: 38px; height: 38px; border-radius: 11px; flex: none; }
.tr-tile-sm .tr-ic { width: 19px; height: 19px; }
@media (max-width: 480px) { .tr-quick { grid-template-columns: 1fr; } }
.tr-order-list a { display: grid; grid-template-columns: auto 1fr auto auto auto; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; color: var(--text); text-decoration: none; border: 1px solid transparent; }
.tr-order-list a:hover { background: var(--surface-2); border-color: var(--border); color: var(--text); }
.tr-order-num { font-weight: 700; }
.tr-order-date { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 560px) { .tr-order-list a { grid-template-columns: auto 1fr auto; } .tr-order-date, .tr-order-list a > .tr-ic { display: none; } }
.tr-empty-mini { display: grid; gap: 12px; justify-items: start; padding: 8px 0; }
.tr-empty-mini p { margin: 0; color: var(--muted); }

/* WooCommerce Subscriptions */
.tr-woo .woocommerce .subscription_details .button { margin: 4px 4px 0 0; min-height: 36px; }

/* ---------- Boutique / produit (si des produits sont visibles) ---------- */
.tr-woo ul.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.tr-woo ul.products::before, .tr-woo ul.products::after { display: none; }
.tr-woo ul.products li.product { float: none; width: auto !important; margin: 0 !important; padding: 18px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.tr-woo ul.products li.product .woocommerce-loop-product__title { font-size: 1.05rem; color: var(--text); }
.tr-woo ul.products li.product .price, .tr-woo div.product p.price { color: var(--accent-strong); font-weight: 700; }
.tr-woo div.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
.tr-woo div.product .woocommerce-product-gallery, .tr-woo div.product .summary { float: none; width: auto; }
.tr-woo div.product .woocommerce-tabs, .tr-woo div.product .related { grid-column: 1 / -1; }
@media (max-width: 860px) { .tr-woo div.product { grid-template-columns: 1fr; } }
.tr-crumbs { margin-bottom: 18px; font-size: 0.9rem; color: var(--muted); }
.tr-crumb-sep { margin: 0 8px; color: var(--dim); }
.tr-woo .woocommerce-thankyou-order-received:empty, .tr-woo .woocommerce-notice:empty { display: none; }

/* ---------- Pages de TOPREST'O License Manager (licences, factures, support, rapports) ----------
   L'extension impose sa mise en page avec !important (menu masqué, largeur fixe, icônes cachées) :
   on rétablit la mise en page du thème, sans toucher au contenu qu'elle affiche. */
html body.tr-account-ui { background: var(--bg); }
html body.tr-account-ui .tr-account-wrap > .woocommerce {
	display: grid !important; grid-template-columns: 270px minmax(0, 1fr) !important; gap: 28px !important;
	width: 100% !important; max-width: none !important; margin: 0 !important;
}
@media (max-width: 960px) { html body.tr-account-ui .tr-account-wrap > .woocommerce { grid-template-columns: minmax(0, 1fr) !important; } }
html body.tr-account-ui .woocommerce-MyAccount-navigation.tr-account-nav {
	display: block !important; width: auto !important; position: sticky; top: calc(var(--header-h) + 20px);
	padding: 14px; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
	box-shadow: var(--shadow-sm); backdrop-filter: none; font-size: 1rem !important;
}
@media (max-width: 960px) { html body.tr-account-ui .woocommerce-MyAccount-navigation.tr-account-nav { position: static; } }
html body.tr-account-ui .woocommerce-MyAccount-navigation.tr-account-nav::before { content: none; display: none; }
html body.tr-account-ui .tr-account-nav ul { display: grid; gap: 2px; }
html body.tr-account-ui .tr-account-nav ul li a {
	min-height: 0; padding: 10px 12px; border: 0; border-radius: 12px; color: var(--muted);
	font-size: 0.95rem; font-weight: 600; transform: none; box-shadow: none; background: none;
}
html body.tr-account-ui .tr-account-nav ul li a::before { content: none; display: none; }
html body.tr-account-ui .tr-account-nav ul li a > svg { display: inline-block !important; }
html body.tr-account-ui .tr-account-nav ul li a:hover, html body.tr-account-ui .tr-account-nav ul li a:focus { transform: none; box-shadow: none; color: var(--text); background: var(--surface-hover); border: 0; }
html body.tr-account-ui .tr-account-nav ul li.is-active a { color: var(--accent-strong); background: var(--accent-soft); box-shadow: none; border: 0; }
html body.tr-account-ui .tr-account-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout { margin-top: 6px !important; padding-top: 6px !important; border-top: 1px solid var(--border); }
@media (max-width: 960px) {
	html body.tr-account-ui .tr-account-nav ul { display: flex; }
	html body.tr-account-ui .tr-account-nav ul li a { background: var(--surface-2); }
	html body.tr-account-ui .tr-account-nav ul li.woocommerce-MyAccount-navigation-link--customer-logout { margin: 0 !important; padding: 0 !important; border: 0; }
}
html body.tr-account-ui .tr-account-nav-cta > svg { display: inline-block !important; }

/* ---------- Ma formule ---------- */
.tro-formule { display: grid; gap: 18px; padding: clamp(18px, 3vw, 26px); margin-bottom: 22px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.tro-formule-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.tro-formule-head .tr-eyebrow { margin-bottom: 4px; }
.tro-formule-head .tr-h3 { margin: 0; }
.tro-formule-now { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 900px) { .tro-formule-now { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tro-stat-tile { display: grid; gap: 2px; padding: 14px 16px; border-radius: var(--radius); background: var(--surface-2); border: 1px solid var(--border); }
.tro-stat-tile > span { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.tro-stat-tile strong { font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; }
.tro-stat-tile small { color: var(--muted); font-size: 0.85rem; }
.tro-stat-tile .tr-meter { margin-top: 6px; }
.tro-pending { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; padding: 14px 16px; border-radius: var(--radius); border: 1px dashed color-mix(in srgb, var(--warning) 60%, transparent); background: var(--warning-soft); }
.tro-pending .tr-tile { background: linear-gradient(135deg, #fbbf24, #d97706); box-shadow: none; }
.tro-pending > div { flex: 1; min-width: 200px; }
.tro-pending p { margin: 2px 0 0; color: var(--muted); }
.tro-pending form { margin: 0; }
.tro-formule-form { display: grid; gap: 16px; padding-top: 18px; border-top: 1px solid var(--border); }
.tro-formule-form h3 { margin: 0; }
.tro-compare-box { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px; padding: 18px; border-radius: var(--radius-lg); background: linear-gradient(160deg, var(--navy), var(--navy-3)); color: rgba(226, 238, 252, 0.85); }
.tro-compare-box > div { display: grid; gap: 2px; }
.tro-compare-box > div:last-of-type { text-align: right; }
.tro-compare-box span { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: rgba(226, 238, 252, 0.6); }
.tro-compare-box strong { font-family: var(--font-display); font-size: 1.5rem; color: #fff; transition: color 0.2s ease; }
.tro-compare-box.is-up [data-tro-new] { color: #67e8f9; }
.tro-compare-box.is-down [data-tro-new] { color: #6ee7b7; }
.tro-arrow { font-size: 1.6rem; color: #22c7dd; }
.tro-delta { grid-column: 1 / -1; margin: 6px 0 0; padding-top: 12px; border-top: 1px solid rgba(148, 178, 214, 0.2); font-size: 0.92rem; }
.tro-formule-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.tro-formule-actions .tr-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.tro-formule-note { margin: 0; color: var(--muted); font-size: 0.85rem; }
.tro-formule-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; padding: 18px 20px; border-radius: var(--radius-lg); text-decoration: none; color: #fff; background: radial-gradient(500px 200px at 100% 0%, rgba(34, 199, 221, 0.3), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-3)); box-shadow: var(--shadow); }
.tro-formule-cta:hover { color: #fff; }
.tro-formule-cta > span:first-child { display: grid; gap: 2px; }
.tro-formule-cta small { color: rgba(226, 238, 252, 0.75); }
.tro-empty { display: grid; gap: 10px; justify-items: start; padding: 26px; border-radius: var(--radius-xl); background: var(--surface); border: 1px solid var(--border); }
.tro-empty p { margin: 0; color: var(--muted); }

/* ---------- Régler une commande existante (ajustement de formule, renouvellement manuel) ---------- */
.tr-woo form#order_review {
	max-width: 680px; margin: 0 auto; padding: 24px; border-radius: var(--radius-xl);
	background: radial-gradient(420px 220px at 100% 0%, rgba(34, 199, 221, 0.16), transparent 70%), var(--navy);
	color: rgba(226, 238, 252, 0.88); box-shadow: var(--shadow-lg);
}
.tr-woo form#order_review table.shop_table tfoot th { text-align: left; }
.tr-woo form#order_review #payment { margin-top: 8px; }

/* ---------- Tableau de bord : postes ---------- */
.tr-small { font-size: 0.85rem; }
.tr-device-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tr-device-list li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.tr-device-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border-strong); }
.tr-device-dot.is-on { background: var(--success); box-shadow: 0 0 0 4px var(--success-soft); }
.tr-device-main { display: grid; min-width: 0; }
.tr-device-main strong, .tr-device-main small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tr-device-main small { color: var(--muted); }
.tr-device-seen { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }

/* ---------- Photo de profil (Mon profil) ---------- */
.tro-avatar-field { margin: 0 0 22px; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.tro-avatar-field legend { padding: 0 6px; font-weight: 600; }
.tro-avatar-row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.tro-avatar-pick { position: relative; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 11px; background: var(--accent); color: #fff; font-weight: 600; cursor: pointer; overflow: hidden; }
.tro-avatar-pick:hover { background: var(--accent-strong); }
.tro-avatar-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tro-avatar-pick:focus-within { box-shadow: 0 0 0 3px var(--accent-ring); }
.tro-avatar-remove { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; color: var(--muted); font-size: 0.9rem; }
.tro-avatar-help { margin: 8px 0 0; color: var(--muted); font-size: 0.85rem; }

/* ---------- Vie privée (Mon profil) ---------- */
.tro-privacy { margin: 28px 0 0; padding: 18px 20px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface-2); }
.tro-privacy legend { padding: 0 6px; font-weight: 600; }
.tro-privacy-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 18px; }
.tro-privacy-grid p { margin: 4px 0 10px; color: var(--muted); font-size: 0.9rem; }
.tro-privacy-grid .tr-btn { margin: 0 6px 6px 0; }
.tro-privacy-note { margin: 12px 0 0; color: var(--dim); font-size: 0.82rem; }


/* ---------------------------------------------------------------------------
 * Espace client : adresse seule (sans adresse de livraison), encarts « vide »
 * ------------------------------------------------------------------------ */
html body.woocommerce-account .woocommerce-MyAccount-content > .woocommerce-Address {
	float: none; width: auto; max-width: 560px; margin: 0; padding: 24px; border-radius: var(--radius-lg);
	border: 1px solid var(--border); background: var(--surface); box-shadow: var(--shadow-sm);
}
html body.woocommerce-account .woocommerce-Address-title {
	display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px;
	margin: 0 0 6px; padding: 0; border: 0; background: none;
}
html body.woocommerce-account .woocommerce-Address-title::before,
html body.woocommerce-account .woocommerce-Address-title::after { display: none; content: none; }
html body.woocommerce-account .woocommerce-Address-title h2 { margin: 0; font-size: 1.1rem; line-height: 1.3; }
html body.woocommerce-account .woocommerce-Address-title .edit {
	display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 10px; float: none;
	border: 1px solid var(--border-strong); background: var(--surface-2); color: var(--text);
	font-size: 0.85rem; font-weight: 600; text-transform: none; letter-spacing: 0; text-decoration: none; white-space: nowrap;
}
html body.woocommerce-account .woocommerce-Address-title .edit:hover { border-color: var(--accent); color: var(--accent-strong); }
html body.woocommerce-account .woocommerce-Address address { margin: 12px 0 0; font-style: normal; color: var(--muted); line-height: 1.7; }
html body.woocommerce-account .woocommerce-MyAccount-content > p:first-of-type:not([class]) { color: var(--muted); }

.tr-account-empty,
html body .tr-support-empty.tr-support-empty--reports,
html body .tr-support-empty.tr-support-empty--chat {
	display: grid; justify-items: center; gap: 6px; padding: clamp(28px, 5vw, 48px) 24px; text-align: center;
	border: 1px dashed var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); box-shadow: none; color: var(--muted);
}
.tr-account-empty-ic { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 16px; background: var(--accent-soft); color: var(--accent); }
.tr-account-empty h2 { margin: 0; font-size: 1.2rem; color: var(--text); }
.tr-account-empty p { max-width: 46ch; margin: 0; }
.tr-account-empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 12px; }
html body .tr-support-empty--reports::before,
html body .tr-support-empty--chat::before {
	content: ""; width: 56px; height: 56px; margin-bottom: 6px; border-radius: 16px; background: var(--accent-soft) center / 26px no-repeat;
}
html body .tr-support-empty--reports::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230891b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
html body .tr-support-empty--chat::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230891b2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z'/%3E%3C/svg%3E"); }
html body .tr-support-empty--reports strong,
html body .tr-support-empty--chat strong { display: block; font-size: 1.15rem; color: var(--text); }

/* ---------- Panier : article, options, inclus ---------- */
@media (min-width: 769px) { .tr-is-cart table.cart .product-thumbnail { display: table-cell; width: 64px; padding-right: 0; } }
.tr-cart-thumb { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(140deg, var(--navy), var(--navy-3)); box-shadow: var(--shadow-sm); }
.tr-cart-thumb img { width: 34px; height: 34px; object-fit: contain; }
.tr-is-cart table.cart .product-name { font-weight: 650; color: var(--text); }
.tr-is-cart table.cart .product-name a.tr-edit-config {
	display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 10px; border-radius: 999px; vertical-align: 1px;
	font-size: 0.75rem; font-weight: 600; color: var(--accent-strong); background: var(--accent-soft); text-decoration: none;
}
.tr-is-cart table.cart .product-name a.tr-edit-config:hover { background: var(--accent); color: #fff; }
.tr-woo .woocommerce ul.tr-item-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 0; padding: 0; list-style: none; }
.tr-woo .woocommerce ul.tr-item-chips li {
	display: inline-flex; align-items: baseline; gap: 6px; margin: 0; padding: 3px 10px; border-radius: 8px;
	background: var(--surface-2); border: 1px solid var(--border); font-size: 0.8rem; font-weight: 500; color: var(--muted);
}
.tr-woo .woocommerce ul.tr-item-chips li strong { color: var(--text); font-weight: 650; }
.tr-woo #order_review ul.tr-item-chips li { background: rgba(255, 255, 255, 0.06); border-color: rgba(148, 178, 214, 0.2); color: rgba(226, 238, 252, 0.7); }
.tr-woo #order_review ul.tr-item-chips li strong { color: #fff; }
.tr-is-cart table.cart .product-price, .tr-is-cart table.cart .product-subtotal { white-space: nowrap; }
.tr-is-cart table.cart .subscription-details { color: var(--muted); font-size: 0.85em; }
.tr-is-cart .cart_totals table.shop_table th { white-space: nowrap; padding-right: 12px; }
.tr-is-cart .cart_totals .first-payment-date small { display: block; margin-top: 4px; line-height: 1.4; color: rgba(226, 238, 252, 0.6); }
.tr-is-cart .cart_totals .recurring-totals th { padding-top: 22px; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #a5f3fc; }
.tr-is-cart .cart_totals tr.fee td { color: #6ee7b7; }

.tr-cart-included {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 20px 0 0; padding: 20px;
	list-style: none; border: 1px solid var(--border); border-radius: var(--radius-lg); background: var(--surface);
}
.tr-cart-included li { display: flex; align-items: flex-start; gap: 12px; margin: 0; }
.tr-cart-included strong { display: block; font-size: 0.92rem; color: var(--text); }
.tr-cart-included small { display: block; font-size: 0.82rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 640px) { .tr-cart-included { grid-template-columns: minmax(0, 1fr); } }
@media (min-width: 769px) { .tr-is-cart table.cart .product-name { min-width: 210px; } }

/* Tableaux WooCommerce sur téléphone : toujours à la largeur de l'écran, lignes empilées */
@media (max-width: 768px) {
	.tr-woo .woocommerce table.shop_table_responsive, .tr-woo .woocommerce table.shop_table_responsive tbody { display: block; width: 100%; }
	.tr-woo .woocommerce table.shop_table_responsive tr td { flex-wrap: wrap; align-items: center; min-width: 0; overflow-wrap: anywhere; }
	.tr-woo .woocommerce table.shop_table_responsive tr td > * { min-width: 0; max-width: 100%; }
	.tr-woo .woocommerce table.shop_table_responsive tr td .button, .tr-woo .woocommerce table.shop_table_responsive tr td .tr-btn { white-space: normal; }
	.tr-is-cart table.cart td.actions .coupon { display: flex; flex-wrap: wrap; width: 100%; }
	.tr-is-cart table.cart td.actions .coupon .input-text { flex: 1 1 140px; width: auto; }
	.tr-is-cart table.cart td.actions > .button[name="update_cart"] { float: none; width: 100%; margin-top: 8px; }
	.tr-is-cart table.cart td.product-remove { justify-content: flex-end; }
}
.tro-avatar-row > * { min-width: 0; }
.tro-avatar-field { min-width: 0; max-width: 100%; }
.tro-avatar-help { overflow-wrap: anywhere; }
.tr-woo .woocommerce-EditAccountForm > * { min-width: 0; }
@media (max-width: 520px) { .tr-woo .woocommerce-EditAccountForm { grid-template-columns: minmax(0, 1fr); padding: 18px; } }

/* Raccourci en bas du menu de l'espace client : carte discrète, assortie au menu */
html body .tr-account-nav .tr-account-nav-cta {
	display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 10px 12px; border-radius: 14px;
	background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent-ring); color: var(--text); filter: none;
	text-decoration: none; transition: background 0.15s, box-shadow 0.15s;
}
html body .tr-account-nav .tr-account-nav-cta:hover { background: var(--surface); box-shadow: inset 0 0 0 1px var(--accent), 0 6px 16px -10px rgba(8, 145, 178, 0.6); color: var(--text); }
.tr-account-nav-cta-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; color: #fff; background: linear-gradient(135deg, #22d3ee, #0891b2); }
.tr-account-nav-cta-ic .tr-ic { color: #fff; }
.tr-account-nav-cta-text { display: grid; min-width: 0; line-height: 1.25; }
.tr-account-nav-cta-text strong { font-size: 0.84rem; font-weight: 650; }
.tr-account-nav-cta-text small { font-size: 0.72rem; color: var(--muted); }
html body .tr-account-nav .tr-account-nav-cta > .tr-ic:last-child { margin-left: auto; color: var(--accent-strong); }

/* ==========================================================================
   Espace client > Mon portefeuille
   ========================================================================== */
a.tr-account-credit { color: inherit; text-decoration: none; transition: box-shadow 0.15s, transform 0.15s; }
a.tr-account-credit:hover { box-shadow: 0 6px 16px -10px rgba(14, 159, 110, 0.6); transform: translateY(-1px); color: inherit; }
.tr-account-credit > .tr-ic:last-child { margin-left: auto; color: var(--success); }
.trw { display: grid; gap: 18px; }
.trw-hero {
	display: grid; gap: 18px; padding: 24px; border-radius: var(--radius-lg); color: #fff;
	background: radial-gradient(420px 200px at 100% 0, rgba(52, 211, 153, 0.3), transparent 70%), linear-gradient(135deg, var(--navy), var(--navy-3));
	box-shadow: var(--shadow);
}
.trw-hero-main { display: flex; align-items: center; gap: 16px; }
.trw-hero-ic { display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(52, 211, 153, 0.18); box-shadow: inset 0 0 0 1px rgba(110, 231, 183, 0.4); color: #6ee7b7; }
.trw-hero-ic .tr-ic { width: 26px; height: 26px; }
.trw-hero-label { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(226, 238, 252, 0.7); }
.trw-hero-amount { margin: 2px 0; font-family: var(--font-display); font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 750; line-height: 1.1; color: #fff; }
.trw-hero-amount .woocommerce-Price-amount { color: inherit; }
.trw-hero-sub { margin: 0; font-size: 0.88rem; color: rgba(226, 238, 252, 0.75); }
.trw-hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; }
.trw-hero-stats div { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.06); box-shadow: inset 0 0 0 1px rgba(148, 178, 214, 0.18); }
.trw-hero-stats dt { font-size: 0.72rem; color: rgba(226, 238, 252, 0.65); }
.trw-hero-stats dd { margin: 2px 0 0; font-weight: 700; color: #fff; }
.trw-hero-stats dd .woocommerce-Price-amount { color: inherit; }

.trw-how, .trw-history { padding: 20px; border-radius: var(--radius-lg); background: var(--surface); box-shadow: inset 0 0 0 1px var(--border), var(--shadow-sm); }
.trw-how h2, .trw-history h2 { margin: 0 0 14px; font-size: 1.05rem; }
.trw-how ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.trw-how li { display: flex; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface-2); box-shadow: inset 0 0 0 1px var(--border); }
.trw-how-ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-strong); }
.trw-how li > span:last-child { display: grid; gap: 2px; }
.trw-how strong { font-size: 0.88rem; }
.trw-how small { font-size: 0.78rem; line-height: 1.45; color: var(--muted); }

.trw-list { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.trw-list li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--border); }
.trw-list li:first-child { border-top: 0; }
.trw-list-ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; }
.trw-list li.is-in .trw-list-ic { background: var(--success-soft); color: var(--success); }
.trw-list li.is-out .trw-list-ic { background: var(--surface-2); color: var(--muted); box-shadow: inset 0 0 0 1px var(--border); }
.trw-list-text { display: grid; min-width: 0; }
.trw-list-text strong { font-size: 0.92rem; }
.trw-list-text small { font-size: 0.78rem; color: var(--muted); }
.trw-list-amount { display: grid; justify-items: end; text-align: right; }
.trw-list-amount strong { font-size: 0.98rem; white-space: nowrap; }
.trw-list li.is-in .trw-list-amount strong, .trw-list li.is-in .trw-list-amount strong .woocommerce-Price-amount { color: var(--success); }
.trw-list-amount small { font-size: 0.74rem; color: var(--dim); white-space: nowrap; }
.trw-empty { margin: 0; color: var(--muted); }
.trw-pages { display: flex; gap: 6px; margin-top: 14px; }
.trw-pages a { display: grid; place-items: center; min-width: 34px; height: 34px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--border); color: var(--text); text-decoration: none; font-weight: 600; }
.trw-pages a.is-current { background: var(--accent); color: #fff; box-shadow: none; }
@media (max-width: 760px) { .trw-how ul, .trw-hero-stats { grid-template-columns: minmax(0, 1fr); } }
