/*
 * Cart, checkout, account, orders, wishlist, tracking, affiliate.
 * One pass, one panel system: every surface is a .tml card (card bg, rule border,
 * --tml-r-md radius, 20px padding). Colours and fonts come from tokens.css only.
 * WooCommerce markup and IDs are untouched so payment and plugin scripts keep working.
 */

/* ---------- Shared: panels, headings, tables ---------- */
.tml.woocommerce-cart .woocommerce-cart-form,
.tml .cart-collaterals .cart_totals,
.tml.woocommerce-cart .wc-empty-cart-message,
.tml.woocommerce-checkout #customer_details,
.tml.woocommerce-checkout #order_review,
.tml .woocommerce-MyAccount-navigation,
.tml .woocommerce-MyAccount-content,
.tml .woocommerce-order .woocommerce-order-details,
.tml .woocommerce-order .woocommerce-customer-details,
.tml .woosw-list,
.tml form.login,.tml form.register,.tml form.lost_reset_password,
.tml form.woocommerce-form-track-order,.tml form.track_order,.tml form.checkout_coupon{
	background:var(--tml-card);border:1px solid var(--tml-rule);border-radius:var(--tml-r-md);padding:20px;box-sizing:border-box
}
.tml .cart_totals>h2,
.tml.woocommerce-checkout #customer_details h3,
.tml.woocommerce-checkout #order_review_heading,
.tml .woocommerce-MyAccount-content h2,
.tml .woocommerce-MyAccount-content h3,
.tml .woocommerce-order-details__title,
.tml .woocommerce-column__title,
.tml.woocommerce-account:not(.logged-in) .woocommerce h2{font:400 22px/1.2 var(--tml-serif);color:var(--tml-ink);margin:0 0 14px}

.tml table.shop_table{width:100%;margin:0;background:transparent;border:0;border-radius:0;border-collapse:collapse;border-spacing:0}
.tml table.shop_table th,.tml table.shop_table td{padding:12px 10px;border:0;border-top:1px solid var(--tml-rule);vertical-align:middle;font-size:14.5px;text-align:left}
.tml table.shop_table thead th{border-top:0;padding-top:4px;font:700 11.5px/1.3 var(--tml-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tml-soft)}
.tml table.shop_table tfoot th{font-weight:600}
.tml table.shop_table .order-total th,.tml table.shop_table .order-total td{font-size:16px;font-weight:700;color:var(--tml-ink)}
.tml mark{background:var(--tml-mint);color:var(--tml-ink);padding:1px 8px;border-radius:var(--tml-r-pill)}
.tml a.remove{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;font-size:18px;color:var(--tml-kumkum)!important;text-decoration:none}
.tml a.remove:hover{background:var(--tml-kumkum);color:var(--tml-white)!important}

/* Forms inside panels */
.tml .woocommerce form .form-row{margin:0 0 14px;padding:0}
.tml .woocommerce form .form-row label{display:block;margin:0 0 5px;font-size:14px;font-weight:600;line-height:1.3}
.tml .woocommerce form .form-row label.checkbox,.tml .woocommerce form .form-row label.woocommerce-form__label-for-checkbox{display:inline-flex;align-items:center;gap:8px;font-weight:500}
.tml .woocommerce form .form-row input.input-text,.tml .woocommerce form .form-row select,.tml .woocommerce form .form-row textarea{min-height:44px;padding:9px 13px;font-size:15px;background:var(--tml-white)}
.tml .woocommerce form .form-row textarea{min-height:96px}
.tml .woocommerce form .form-row .required{color:var(--tml-kumkum);text-decoration:none}
.tml .woocommerce form .form-row.woocommerce-invalid input.input-text,.tml .woocommerce form .form-row.woocommerce-invalid .select2-selection{border-color:var(--tml-kumkum)}
.tml .woocommerce form .form-row-first,.tml .woocommerce form .form-row-last{width:calc(50% - 7px)}
.tml .woocommerce form .password-input{display:block;position:relative;width:100%}
.tml .woocommerce form .password-input input{width:100%;padding-right:48px}
.tml .woocommerce form .password-input .show-password-input{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:34px;height:34px;min-height:0;padding:0;border:0;border-radius:50%;background:transparent;color:var(--tml-soft);box-shadow:none}
.tml .woocommerce form .password-input .show-password-input:hover{background:var(--tml-mint);color:var(--tml-leaf)}
.tml .woocommerce .select2-container{width:100%!important}

/* ---------- Notices: no icon font (it does not load), accent bar instead ---------- */
.tml .woocommerce-message,.tml .woocommerce-info,.tml .woocommerce-error,.tml .woocommerce-noreviews,.tml .cart-empty{
	display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 16px;
	margin:0 0 16px;padding:12px 16px;list-style:none;
	background:var(--tml-card);color:var(--tml-ink);font-size:14.5px;line-height:1.45;
	border:1px solid var(--tml-rule);border-left:3px solid var(--tml-leaf-2);border-radius:var(--tml-r-sm)
}
.tml .woocommerce-message{border-left-color:var(--tml-wa)}
.tml .woocommerce-error{border-left-color:var(--tml-kumkum);display:block}
.tml .woocommerce-error li{margin:2px 0}
.tml .woocommerce-message::before,.tml .woocommerce-info::before,.tml .woocommerce-error::before,.tml .cart-empty::before{content:none!important;display:none!important}
.tml .woocommerce-message::after,.tml .woocommerce-info::after{content:none}
.tml .woocommerce-message .button,.tml .woocommerce-info .button{order:2;float:none;margin:0;min-height:36px;padding:7px 16px;font-size:13.5px}
.tml .woocommerce-message a:not(.button),.tml .woocommerce-info a:not(.button){font-weight:700;text-decoration:underline;text-underline-offset:3px}

/* ---------- Cart ---------- */
.tml.woocommerce-cart .woocommerce{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:20px;align-items:start}
.tml.woocommerce-cart .woocommerce>*:not(.woocommerce-cart-form):not(.cart-collaterals){grid-column:1/-1}
.tml.woocommerce-cart .woocommerce-cart-form{grid-column:1;min-width:0;padding:8px 16px;overflow-x:auto}
.tml.woocommerce-cart .cart-collaterals{grid-column:2;min-width:0;position:sticky;top:24px}
.tml.woocommerce-cart table.cart{min-width:560px}
.tml.woocommerce-cart table.cart .product-remove{width:36px;padding-inline:0;text-align:center}
.tml.woocommerce-cart table.cart .product-thumbnail{width:72px}
.tml.woocommerce-cart table.cart td.product-thumbnail img{display:block;width:60px!important;height:60px;object-fit:contain;border-radius:var(--tml-r-sm);background:var(--tml-mint);padding:4px;box-sizing:border-box}
.tml.woocommerce-cart table.cart td.product-name a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;font-weight:600;line-height:1.35;color:var(--tml-ink)}
.tml.woocommerce-cart table.cart td.product-name a:hover{color:var(--tml-leaf-2)}
.tml.woocommerce-cart table.cart .product-price,.tml.woocommerce-cart table.cart .product-subtotal{width:90px;white-space:nowrap}
.tml.woocommerce-cart table.cart .product-subtotal{font-weight:700;text-align:right}
.tml.woocommerce-cart table.cart .product-quantity{width:130px}
.tml.woocommerce-cart table.cart .tml-qty{margin:0}
.tml.woocommerce-cart table.cart .quantity .qty{width:64px}
/* Actions row: coupon on the left, update on the right. The cell stays a table-cell so colspan works. */
.tml.woocommerce-cart table.cart td.actions{padding:14px 0 8px;text-align:right}
.tml.woocommerce-cart table.cart td.actions .coupon{float:left;display:flex;align-items:center;gap:8px}
.tml.woocommerce-cart table.cart td.actions .coupon label{display:none}
.tml.woocommerce-cart table.cart td.actions .coupon .input-text{width:180px;min-height:40px;margin:0;padding:8px 14px;font-size:14px;border-radius:var(--tml-r-pill)}
.tml.woocommerce-cart table.cart td.actions .button{min-height:40px;padding:8px 18px;font-size:14px;margin:0;float:none;width:auto}
.tml.woocommerce-cart table.cart td.actions>.button{background:transparent;color:var(--tml-leaf);border:1.5px solid var(--tml-leaf)}
.tml.woocommerce-cart table.cart td.actions>.button:not(:disabled):hover{background:var(--tml-leaf);color:var(--tml-paper)}
.tml.woocommerce-cart table.cart td.actions>.button:disabled{opacity:.45;background:transparent;color:var(--tml-leaf)}
.tml .cart-collaterals .cart_totals{float:none;width:100%;margin:0}
.tml .cart-collaterals .cart_totals table.shop_table th{width:38%;padding-left:0;font:700 12px/1.3 var(--tml-sans);letter-spacing:.06em;text-transform:uppercase;color:var(--tml-soft)}
.tml .cart-collaterals .cart_totals table.shop_table td{padding-right:0;text-align:right}
.tml .cart-collaterals .cart_totals tr:first-child th,.tml .cart-collaterals .cart_totals tr:first-child td{border-top:0}
.tml .cart-collaterals .cart_totals .woocommerce-shipping-destination,.tml .cart-collaterals .cart_totals .woocommerce-shipping-calculator{font-size:13px;color:var(--tml-soft);margin:4px 0 0}
.tml .cart-collaterals .cart_totals ul#shipping_method{margin:0;padding:0;list-style:none}
.tml .cart-collaterals .cart_totals ul#shipping_method li{margin:0}
.tml .wc-proceed-to-checkout{padding:14px 0 0}
.tml .wc-proceed-to-checkout a.checkout-button{display:flex;justify-content:center;width:100%;min-height:46px;margin:0;font-size:15px}
.tml .cart-collaterals .cross-sells{grid-column:1/-1}
/* Empty cart: one centred panel, message + button inside */
.tml.woocommerce-cart .wc-empty-cart-message{width:100%;max-width:480px;margin:12px auto 0;padding:36px 24px 6px;border-bottom:0;border-radius:var(--tml-r-md) var(--tml-r-md) 0 0;text-align:center}
.tml.woocommerce-cart .wc-empty-cart-message .cart-empty{display:block;margin:0;padding:0;border:0;background:none;font:400 22px/1.3 var(--tml-serif)}
.tml.woocommerce-cart .return-to-shop{width:100%;max-width:480px;margin:-20px auto 0;padding:14px 24px 36px;box-sizing:border-box;text-align:center;background:var(--tml-card);border:1px solid var(--tml-rule);border-top:0;border-radius:0 0 var(--tml-r-md) var(--tml-r-md)}
.tml.woocommerce-cart .return-to-shop .button{margin:0}

/* ---------- Checkout ---------- */
.tml.woocommerce-checkout .woocommerce{max-width:1120px;margin-inline:auto}
.tml.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{justify-content:flex-start}
.tml.woocommerce-checkout form.checkout_coupon{margin:0 0 16px;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.tml.woocommerce-checkout form.checkout_coupon p{margin:0}
.tml.woocommerce-checkout form.checkout_coupon .form-row{float:none;width:auto;margin:0}
.tml.woocommerce-checkout form.checkout{display:grid;grid-template-columns:minmax(0,1fr) 380px;grid-template-rows:auto 1fr;gap:16px 24px;align-items:start}
.tml.woocommerce-checkout form.checkout::before,.tml.woocommerce-checkout form.checkout::after{content:none;display:none}
.tml.woocommerce-checkout form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1}
.tml.woocommerce-checkout form.checkout #customer_details{grid-column:1;grid-row:1/span 2;min-width:0}
.tml.woocommerce-checkout form.checkout #order_review_heading{grid-column:2;grid-row:1;margin:0;padding:20px 20px 0;background:var(--tml-card);border:1px solid var(--tml-rule);border-bottom:0;border-radius:var(--tml-r-md) var(--tml-r-md) 0 0}
.tml.woocommerce-checkout form.checkout #order_review{grid-column:2;grid-row:2;margin-top:-16px;padding-top:6px;border-top:0;border-radius:0 0 var(--tml-r-md) var(--tml-r-md);min-width:0}
.tml.woocommerce-checkout form.checkout #order_review_heading,.tml.woocommerce-checkout form.checkout #order_review{position:relative}
.tml.woocommerce-checkout #customer_details .col-1,.tml.woocommerce-checkout #customer_details .col-2{float:none;width:100%;max-width:none}
.tml.woocommerce-checkout #customer_details .col-2{margin-top:6px;padding-top:16px;border-top:1px solid var(--tml-rule)}
.tml.woocommerce-checkout #order_review .shipping td{white-space:nowrap}
.tml.woocommerce-checkout #customer_details .col-2:empty,.tml.woocommerce-checkout #customer_details .col-2:not(:has(*)){display:none}
.tml.woocommerce-checkout #customer_details .woocommerce-billing-fields__field-wrapper,
.tml.woocommerce-checkout #customer_details .woocommerce-shipping-fields__field-wrapper{display:flex;flex-wrap:wrap;justify-content:space-between}
.tml.woocommerce-checkout #customer_details .form-row-wide{width:100%}
.tml.woocommerce-checkout #ship-to-different-address{float:none;clear:both;display:block;width:100%;margin:0 0 12px;font-size:18px}
.tml.woocommerce-checkout .woocommerce-additional-fields{clear:both;margin-top:6px;padding-top:16px;border-top:1px solid var(--tml-rule)}
.tml.woocommerce-checkout .woocommerce-shipping-fields+.woocommerce-additional-fields{border-top:0;padding-top:4px}
.tml.woocommerce-checkout #ship-to-different-address label{display:inline-flex;align-items:center;gap:10px;font:400 18px/1.2 var(--tml-serif);margin:0}
.tml.woocommerce-checkout #ship-to-different-address input{margin:0}
.tml.woocommerce-checkout #order_review table.shop_table th,.tml.woocommerce-checkout #order_review table.shop_table td{padding:10px 0}
.tml.woocommerce-checkout #order_review table.shop_table td:last-child,.tml.woocommerce-checkout #order_review table.shop_table th:last-child{text-align:right}
.tml.woocommerce-checkout #order_review table.shop_table .product-name{font-size:14px;line-height:1.4}
.tml.woocommerce-checkout #order_review table.shop_table .product-quantity{font-weight:700;color:var(--tml-soft)}
.tml.woocommerce-checkout #order_review ul#shipping_method{list-style:none;margin:0;padding:0}
.tml #payment,.tml.woocommerce-checkout #payment{background:transparent;border:0;border-radius:0;margin-top:6px}
.tml #payment ul.payment_methods{margin:0;padding:0 0 10px;border:0;border-bottom:1px solid var(--tml-rule);list-style:none}
.tml #payment ul.payment_methods li{margin:0;padding:8px 0;line-height:1.4}
.tml #payment ul.payment_methods li label{font-weight:600;display:inline}
.tml #payment ul.payment_methods li img{max-height:22px;vertical-align:middle;margin-left:6px}
.tml #payment div.payment_box{margin:8px 0 0;padding:10px 12px;background:var(--tml-mint);color:var(--tml-ink);border-radius:var(--tml-r-sm);font-size:13.5px}
.tml #payment div.payment_box::before{display:none}
.tml #payment div.payment_box p:last-child{margin:0}
.tml.woocommerce-checkout #payment div.form-row.place-order{margin:0;padding:12px 0 0}
.tml #payment .woocommerce-privacy-policy-text,.tml #payment .woocommerce-terms-and-conditions-wrapper{font-size:13px;color:var(--tml-soft);margin:0 0 12px}
.tml #payment #place_order{float:none;width:100%;min-height:48px;font-size:15px;margin:0}

/* ---------- My account ---------- */
.tml.woocommerce-account.logged-in .woocommerce{display:grid;grid-template-columns:230px minmax(0,1fr);gap:20px;align-items:start}
.tml.woocommerce-account .woocommerce::before,.tml.woocommerce-account .woocommerce::after,
.tml.woocommerce-cart .woocommerce::before,.tml.woocommerce-cart .woocommerce::after{content:none;display:none}
.tml .woocommerce-MyAccount-navigation,.tml .woocommerce-MyAccount-content{float:none!important;width:auto!important;min-width:0;margin:0}
.tml .woocommerce-MyAccount-navigation{padding:8px;position:sticky;top:24px}
.tml .woocommerce-MyAccount-navigation ul{display:grid;gap:2px;margin:0;padding:0;list-style:none;background:none;border:0}
.tml .woocommerce-MyAccount-navigation li{margin:0}
.tml .woocommerce-MyAccount-navigation a{display:flex;align-items:center;gap:10px;min-height:40px;padding:8px 12px;border-radius:var(--tml-r-sm);font-size:14.5px;font-weight:600;color:var(--tml-ink);text-decoration:none}
.tml .woocommerce-MyAccount-navigation a:hover{background:var(--tml-mint)}
.tml .woocommerce-MyAccount-navigation .is-active a{background:var(--tml-leaf);color:var(--tml-paper)}
.tml .woocommerce-MyAccount-navigation-link--customer-logout{margin-top:6px!important;padding-top:6px;border-top:1px solid var(--tml-rule)}
.tml .woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--tml-kumkum)}
.tml .woocommerce-MyAccount-navigation-link--customer-logout a:hover{background:color-mix(in srgb,var(--tml-kumkum) 10%,transparent)}
.tml .woocommerce-MyAccount-content{font-size:15px;overflow-x:auto}
.tml .woocommerce-MyAccount-content>:first-child{margin-top:0}
.tml .woocommerce-MyAccount-content>:last-child{margin-bottom:0}
.tml .woocommerce-MyAccount-content .woocommerce-notices-wrapper:empty{display:none}
.tml .woocommerce-MyAccount-content>p{margin:0 0 10px}
/* Dashboard quick links (markup from inc/woocommerce/hooks.php) */
.tml .tml-acc-tiles{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:10px;margin:16px 0 0}
.tml .tml-acc-tiles a{display:grid;gap:2px;padding:14px 16px;background:var(--tml-paper);border:1px solid var(--tml-rule);border-radius:var(--tml-r-sm);color:var(--tml-ink);text-decoration:none;transition:border-color .2s,transform .2s var(--tml-ease)}
.tml .tml-acc-tiles a:hover{border-color:var(--tml-leaf-2);transform:translateY(-2px)}
.tml .tml-acc-tiles b{font:400 18px/1.2 var(--tml-serif);color:var(--tml-leaf)}
.tml .tml-acc-tiles span{font-size:13px;color:var(--tml-soft)}
/* Orders table */
.tml .woocommerce-orders-table{min-width:560px}
.tml .woocommerce-orders-table__cell-order-number a{font-weight:700}
.tml .woocommerce-orders-table__cell-order-status{font-weight:600}
.tml .woocommerce-orders-table__cell-order-actions{text-align:right!important;white-space:nowrap}
.tml .woocommerce-orders-table .button,.tml .woocommerce-MyAccount-content .woocommerce-Button,.tml .woocommerce-MyAccount-content td .button{min-height:34px;padding:6px 16px;font-size:13px;margin:0 0 0 4px}
.tml .woocommerce-MyAccount-content .woocommerce-pagination{display:flex;justify-content:space-between;gap:10px;margin-top:14px}
/* Addresses */
.tml .woocommerce-MyAccount-content .woocommerce-Addresses{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:14px}
.tml .woocommerce-MyAccount-content .woocommerce-Addresses::before,.tml .woocommerce-MyAccount-content .woocommerce-Addresses::after{display:none}
.tml .woocommerce-MyAccount-content .woocommerce-Address{float:none;width:auto;max-width:none;margin:0;padding:16px;background:var(--tml-paper);border:1px solid var(--tml-rule);border-radius:var(--tml-r-sm)}
.tml .woocommerce-MyAccount-content .woocommerce-Address-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px}
.tml .woocommerce-MyAccount-content .woocommerce-Address-title::before,.tml .woocommerce-MyAccount-content .woocommerce-Address-title::after{display:none}
.tml .woocommerce-MyAccount-content .woocommerce-Address-title h2,.tml .woocommerce-MyAccount-content .woocommerce-Address-title h3{margin:0;font-size:19px}
.tml .woocommerce-MyAccount-content .woocommerce-Address-title .edit{float:none;flex:none;font-size:13px;font-weight:700;color:var(--tml-leaf-2);text-decoration:underline;text-underline-offset:3px}
.tml .woocommerce-MyAccount-content address,.tml .woocommerce-customer-details address{font-style:normal;line-height:1.65;font-size:14.5px;border:0;padding:0}
/* Account details + edit address forms */
.tml .woocommerce-MyAccount-content form .form-row-first,.tml .woocommerce-MyAccount-content form .form-row-last{float:left}
.tml .woocommerce-MyAccount-content form .form-row-last{float:right}
.tml .woocommerce-MyAccount-content form .form-row-wide{clear:both}
.tml .woocommerce-MyAccount-content form::after{content:"";display:block;clear:both}
.tml .woocommerce-MyAccount-content form em{display:block;margin-top:4px;font-size:13px;color:var(--tml-soft)}
.tml .woocommerce-MyAccount-content .edit-account fieldset{clear:both;margin:8px 0 16px;padding:14px 16px 2px;border:1px solid var(--tml-rule);border-radius:var(--tml-r-sm)}
.tml .woocommerce-MyAccount-content .edit-account legend{padding:0 6px;font:400 17px/1.2 var(--tml-serif)}
.tml .woocommerce-MyAccount-content form>p:last-of-type .button,.tml .woocommerce-MyAccount-content form button[type=submit]{min-height:42px;padding:9px 22px;font-size:14px;margin:0}
/* Single order view / order received */
.tml .woocommerce-order-overview,.tml ul.order_details{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px;margin:0 0 16px;padding:0;list-style:none}
.tml ul.order_details li{float:none;margin:0;padding:12px 14px;border:1px solid var(--tml-rule);border-radius:var(--tml-r-sm);background:var(--tml-card);font-size:11.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--tml-soft)}
.tml ul.order_details li strong{display:block;margin-top:4px;font-size:15px;letter-spacing:0;text-transform:none;color:var(--tml-ink)}
.tml ul.order_details::before,.tml ul.order_details::after{display:none}
.tml .woocommerce-order .woocommerce-order-details,.tml .woocommerce-order .woocommerce-customer-details{margin:0 0 16px}
.tml .woocommerce-MyAccount-content .woocommerce-order-details,.tml .woocommerce-MyAccount-content .woocommerce-customer-details{margin-top:16px}
.tml .woocommerce-customer-details .woocommerce-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.tml .woocommerce-customer-details .woocommerce-column{float:none;width:auto;max-width:none;padding:0}
.tml .woocommerce-customer-details .woocommerce-columns::before,.tml .woocommerce-customer-details .woocommerce-columns::after{display:none}
.tml .woocommerce-order-details table.shop_table td:last-child,.tml .woocommerce-order-details table.shop_table th:last-child{text-align:right}
.tml .woocommerce-order-details .order-again{margin:14px 0 0}

/* Logged-out: login / register / lost password */
.tml.woocommerce-account:not(.logged-in) .woocommerce{display:block;max-width:820px;margin-inline:auto}
.tml.woocommerce-account:not(.logged-in) .woocommerce>h2,.tml.woocommerce-account:not(.logged-in) .u-columns h2{text-align:center}
.tml.woocommerce-account:not(.logged-in) .u-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.tml.woocommerce-account:not(.logged-in) .u-columns::before,.tml.woocommerce-account:not(.logged-in) .u-columns::after{display:none}
.tml.woocommerce-account:not(.logged-in) .u-column1,.tml.woocommerce-account:not(.logged-in) .u-column2{float:none;width:auto;max-width:none;padding:0}
.tml form.login,.tml form.register,.tml form.lost_reset_password{width:min(100%,440px);margin:0 auto 20px;padding:22px}
.tml .u-columns form.login,.tml .u-columns form.register{width:auto;margin:0}
.tml form.login .form-row:has([name=login]){display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px}
.tml form.login .form-row:has([name=login]) .button{order:2;width:100%;min-height:44px;margin:0}
.tml form.login .form-row:has([name=login]) label{order:1;margin:0}
.tml form.login .lost_password{margin:12px 0 0;font-size:14px;text-align:center}
.tml form.register .button,.tml form.lost_reset_password .button{width:100%;min-height:44px}
.tml form.woocommerce-form-track-order,.tml form.track_order{max-width:560px;margin-inline:auto}

/* ---------- Wishlist (WPC Smart Wishlist) and affiliate tables ---------- */
.tml .woosw-list{min-width:0;overflow-x:auto}
.tml .woosw-list .woosw-content-mid,.tml .woosw-list>.woosw-content-mid{text-align:center}
.tml .woosw-list table.woosw-items{width:100%;min-width:560px;margin:0;border:0;border-collapse:collapse}
.tml .woosw-list table.woosw-items td{padding:12px 10px;border:0;border-top:1px solid var(--tml-rule);vertical-align:middle;background:transparent!important}
.tml .woosw-list table.woosw-items tr:first-child td{border-top:0}
.tml .woosw-list table.woosw-items .woosw-item--remove{width:36px;text-align:center}
.tml .woosw-list table.woosw-items .woosw-item--remove span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;color:var(--tml-kumkum);cursor:pointer}
.tml .woosw-list table.woosw-items .woosw-item--remove span:hover{background:var(--tml-kumkum);color:var(--tml-white)}
.tml .woosw-list table.woosw-items .woosw-item--image{width:76px}
.tml .woosw-list table.woosw-items .woosw-item--image img{display:block;width:60px;height:60px;object-fit:contain;padding:4px;box-sizing:border-box;border-radius:var(--tml-r-sm);background:var(--tml-mint)}
.tml .woosw-list table.woosw-items .woosw-item--name a{font-weight:600;color:var(--tml-ink)}
.tml .woosw-list table.woosw-items .woosw-item--price{font-weight:700}
.tml .woosw-list table.woosw-items .woosw-item--time{font-size:12.5px;color:var(--tml-soft)}
.tml .woosw-list table.woosw-items .woosw-item--actions{width:170px;text-align:right}
.tml .woosw-list table.woosw-items .woosw-item--stock{font-size:13px;margin:0 0 6px}
.tml .woosw-list table.woosw-items .woosw-item--atc a.button{width:auto!important;min-height:36px;padding:7px 16px;font-size:13.5px;white-space:nowrap}
.tml .woosw-list .woosw-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;margin-top:14px;padding-top:14px;border-top:1px solid var(--tml-rule)}
.tml .woosw-list .woosw-copy{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tml .woosw-list .woosw-copy-url{display:flex;gap:8px;margin:0;flex:1 1 240px}
.tml .woosw-list .woosw-copy-url input{min-height:38px;width:100%;min-width:0}
.tml .woosw-list .woosw-share{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.tml .woosw-list .woosw-share a{margin:0}
.tml .yith-wcaf{overflow-x:auto}
.tml .yith-wcaf table{width:100%;background:transparent;border-color:var(--tml-rule)}

/* ---------- Responsive ---------- */
@media (max-width:980px){
	.tml.woocommerce-cart .woocommerce{grid-template-columns:minmax(0,1fr) 300px}
	.tml.woocommerce-checkout form.checkout{grid-template-columns:minmax(0,1fr) 330px}
}
@media (max-width:820px){
	.tml.woocommerce-cart .woocommerce{grid-template-columns:minmax(0,1fr)}
	.tml.woocommerce-cart .woocommerce-cart-form,.tml.woocommerce-cart .cart-collaterals{grid-column:1;position:static}
	.tml.woocommerce-checkout form.checkout{grid-template-columns:minmax(0,1fr)}
	.tml.woocommerce-checkout form.checkout #customer_details,.tml.woocommerce-checkout form.checkout #order_review_heading,.tml.woocommerce-checkout form.checkout #order_review{grid-column:1;grid-row:auto}
	.tml.woocommerce-account.logged-in .woocommerce{grid-template-columns:minmax(0,1fr);gap:12px}
	.tml .woocommerce-MyAccount-navigation{position:static;padding:6px;overflow-x:auto;scrollbar-width:none}
	.tml .woocommerce-MyAccount-navigation ul{display:flex;gap:4px}
	.tml .woocommerce-MyAccount-navigation li{flex:0 0 auto}
	.tml .woocommerce-MyAccount-navigation a{white-space:nowrap;min-height:36px;padding:6px 12px;font-size:14px}
	.tml .woocommerce-MyAccount-navigation-link--customer-logout{margin:0 0 0 6px!important;padding:0 0 0 6px;border-top:0;border-left:1px solid var(--tml-rule)}
}
@media (max-width:600px){
	.tml.woocommerce-cart .woocommerce-cart-form,.tml .cart-collaterals .cart_totals,.tml.woocommerce-checkout #customer_details,.tml.woocommerce-checkout #order_review,.tml .woocommerce-MyAccount-content,.tml .woosw-list,.tml .woocommerce-order .woocommerce-order-details,.tml .woocommerce-order .woocommerce-customer-details{padding:14px}
	.tml.woocommerce-checkout form.checkout #order_review_heading{padding:14px 14px 0}
	/* Cart rows stack on phones: thumb | name + qty + subtotal | remove */
	.tml.woocommerce-cart .woocommerce{gap:14px}
	.tml.woocommerce-cart .return-to-shop{margin-top:-14px}
	.tml.woocommerce-cart .woocommerce-cart-form{padding:4px 14px;overflow:visible}
	.tml.woocommerce-cart table.cart,.tml.woocommerce-cart table.cart tbody{display:block;min-width:0}
	.tml.woocommerce-cart table.cart thead{display:none}
	.tml.woocommerce-cart table.cart tr.cart_item{display:grid;grid-template-columns:60px minmax(0,1fr) 28px;gap:6px 12px;align-items:center;padding:14px 0;border-top:1px solid var(--tml-rule)}
	.tml.woocommerce-cart table.cart tr.cart_item:first-child{border-top:0}
	.tml.woocommerce-cart table.cart tr.cart_item td{display:block;width:auto!important;padding:0;border:0;text-align:left}
	.tml.woocommerce-cart table.cart tr.cart_item td::before{content:none!important;display:none}
	.tml.woocommerce-cart table.cart td.product-thumbnail{grid-column:1;grid-row:1/span 2;align-self:start}
	.tml.woocommerce-cart table.cart td.product-name{grid-column:2;grid-row:1}
	.tml.woocommerce-cart table.cart td.product-remove{grid-column:3;grid-row:1;align-self:start}
	.tml.woocommerce-cart table.cart td.product-price{display:none!important}
	.tml.woocommerce-cart table.cart td.product-quantity{grid-column:2;grid-row:2}
	.tml.woocommerce-cart table.cart td.product-subtotal{grid-column:2/4;grid-row:2;justify-self:end;align-self:center}
	.tml.woocommerce-cart table.cart tr:not(.cart_item){display:block}
	.tml.woocommerce-cart table.cart td.actions{display:block;padding:14px 0;border-top:1px solid var(--tml-rule)}
	.tml.woocommerce-cart table.cart td.actions .coupon{float:none;margin-bottom:10px}
	.tml.woocommerce-cart table.cart td.actions .coupon .input-text{flex:1;width:auto;min-width:0}
	.tml.woocommerce-cart table.cart td.actions>.button{width:100%}
	/* Orders: drop the date column so the table fits without sideways scroll */
	.tml .woocommerce-orders-table{min-width:0}
	.tml .woocommerce-orders-table .woocommerce-orders-table__header-order-date,.tml .woocommerce-orders-table .woocommerce-orders-table__cell-order-date{display:none}
	.tml .woocommerce-orders-table th,.tml .woocommerce-orders-table td{padding:10px 6px;font-size:13.5px}
	.tml .woocommerce-orders-table .button{padding:6px 12px}
	.tml .woocommerce form .form-row-first,.tml .woocommerce form .form-row-last,.tml .woocommerce-MyAccount-content form .form-row-first,.tml .woocommerce-MyAccount-content form .form-row-last{width:100%;float:none}
	.tml .woocommerce-MyAccount-content .woocommerce-Addresses,.tml .woocommerce-customer-details .woocommerce-columns,.tml.woocommerce-account:not(.logged-in) .u-columns{grid-template-columns:minmax(0,1fr)}
}

/* ---------- Compare (WPC Smart Compare): My account page and the pop-up table ----------
 * The plugin's own selectors are 6-7 classes deep; :is() lifts both contexts to the same weight. */
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table{width:100%;margin:0;border:0;border-collapse:separate;border-spacing:0;background:transparent;font-size:14.5px;table-layout:auto}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(th,td){padding:12px 14px;border:0;border-top:1px solid var(--tml-rule);background:transparent!important;color:var(--tml-ink);vertical-align:top;text-align:left;text-transform:none;letter-spacing:0;font-weight:400;min-width:200px;width:auto}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(th:first-child,td:first-child){width:150px;min-width:120px;position:sticky;left:0;z-index:1;background:var(--tml-card)!important;font:700 11.5px/1.4 var(--tml-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--tml-soft)}
/* Header: short product name (2 lines) and a small round remove button */
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table thead th{border-top:0;padding-top:4px;position:relative}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table thead th.col>a{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;padding-right:34px;font:600 15px/1.35 var(--tml-sans);color:var(--tml-ink);text-decoration:none}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table thead th.col>a:hover{color:var(--tml-leaf-2)}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table .woosc-remove{position:absolute;top:2px;right:12px;display:grid;place-items:center;width:28px;height:28px;margin:0;border-radius:50%;font-size:0;color:var(--tml-kumkum);text-decoration:none;cursor:pointer;transition:background-color .2s,color .2s}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table .woosc-remove::before{content:"×";font-size:20px;line-height:1}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table .woosc-remove:hover{background:var(--tml-kumkum);color:var(--tml-white)}
/* Image row: same mint tile as product cards */
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tr.tr-image a{display:grid;place-items:center;height:170px;border-radius:var(--tml-r-sm);background:var(--tml-mint)}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tr.tr-image img{width:auto;max-width:90%;height:auto;max-height:150px;object-fit:contain;margin:0}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tr.tr-price td.col{font-weight:700;font-size:16px}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tr.tr-price del{font-weight:400;font-size:13px;color:var(--tml-soft);margin-right:4px}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tr.tr-price :is(ins,a){text-decoration:none;color:inherit}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tr.tr-add_to_cart p{margin:0}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tr.tr-add_to_cart .button{width:auto;min-height:38px;padding:8px 18px;font-size:14px;margin:0}
/* Long text (description, content): short, readable preview instead of the whole product page */
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(tr.tr-description,tr.tr-content,tr.tr-additional) td.col{font-size:13.5px;line-height:1.55;color:var(--tml-soft)}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(tr.tr-description,tr.tr-content) td.col{max-height:none}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(tr.tr-description,tr.tr-content) td.col>*{max-width:100%}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(tr.tr-description,tr.tr-content) td.col :is(h1,h2,h3,h4,h5,h6){font:700 13.5px/1.5 var(--tml-sans);color:var(--tml-ink);margin:0 0 4px}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(tr.tr-description,tr.tr-content) td.col :is(p,ul,ol){margin:0 0 6px}
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(tr.tr-description,tr.tr-content) td.col img{display:none}
.tml .tml-clamp{display:block;max-height:9.3em;overflow:hidden;-webkit-mask-image:linear-gradient(180deg,var(--tml-black) 65%,transparent);mask-image:linear-gradient(180deg,var(--tml-black) 65%,transparent)}
/* Rows with nothing in them (no SKU, rating, weight in this store) are hidden */
:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tbody tr:not(:has(td.col:not(:empty))){display:none}
.tml .woosc-page tr.tr-name{display:none}
/* My account page: scroll sideways with the label column fixed */
.tml .woosc-page{overflow-x:auto;margin:-4px -6px 0;padding:0 6px;scrollbar-width:thin}
.tml .woosc-page .woosc-table-settings,.tml .woosc-page .woosc-remove-all{display:inline-flex;margin:0 12px 12px 0;font-size:13.5px;font-weight:700;color:var(--tml-leaf-2);text-decoration:underline;text-underline-offset:3px}
/* Pop-up frame and the bottom bar */
.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner{background:var(--tml-card);border-radius:var(--tml-r-md);box-shadow:var(--tml-shadow)}
.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-close .woosc-table-close-icon{background-color:var(--tml-mint);border-radius:50%}
.tml .woosc-area .woosc-inner .woosc-table .woosc-table-settings{font:700 12px/1 var(--tml-sans);letter-spacing:.08em;color:var(--tml-leaf-2)}
.tml .woosc-area .woosc-inner .woosc-bar{background-color:var(--tml-leaf)!important}
.tml .woosc-area .woosc-inner .woosc-bar :is(.woosc-bar-print,.woosc-bar-share,.woosc-bar-search,.woosc-bar-remove){background-color:color-mix(in srgb,var(--tml-paper) 12%,transparent);border-radius:var(--tml-r-sm)}
.tml .woosc-area .woosc-inner .woosc-bar .woosc-bar-btn{background-color:var(--tml-haldi)!important;color:var(--tml-leaf)!important;border-radius:var(--tml-r-pill);font:700 14px/48px var(--tml-sans);letter-spacing:.02em;text-transform:none}
.tml .woosc-area .woosc-inner .woosc-bar .woosc-bar-btn .woosc-bar-btn-icon-wrapper{background-color:transparent!important}
.tml .woosc-area .woosc-inner .woosc-bar .woosc-bar-btn .woosc-bar-btn-icon-wrapper .woosc-bar-btn-icon-inner span{background-color:var(--tml-leaf)}
.tml .woosc-area .woosc-inner .woosc-bar .woosc-bar-items .woosc-bar-item img{border-radius:var(--tml-r-sm);background:var(--tml-white)}
@media (max-width:600px){
	:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(th,td){min-width:160px;padding:10px}
	:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table :is(th:first-child,td:first-child){width:88px;min-width:88px;font-size:10.5px}
	:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tr.tr-image a{height:130px}
	:is(.tml .woosc-area .woosc-inner .woosc-table .woosc-table-inner .woosc-table-items,.tml .woosc-page.woosc-page.woosc-page.woosc-page.woosc-page) table.woosc_table tr.tr-image img{max-height:112px}
}
