/* Theme: cart, checkout, account. CSS ONLY: the markup is WooCommerce's
   (and Stripe's / Elementor's checkout widget). Never rebuild it here. */

.nd-v-woo .nd-woo-page{padding-top:8px}
.nd-v-woo .pg__t{font-size:clamp(1.8rem,3.6vw,2.6rem)}
.nd-v-woo .woocommerce{font-size:16px}

/* fields: labels above, 48 px, 16 px font (no iOS zoom) */
.woocommerce form .form-row{padding:0;margin:0 0 16px}
.woocommerce form .form-row label{display:block;font-weight:600;font-size:14px;color:var(--nd-ink);margin:0 0 6px;line-height:1.4}
.woocommerce form .form-row .required{color:var(--nd-err);text-decoration:none}
.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single,.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce form.checkout_coupon input.input-text{min-height:48px;border:1.5px solid var(--nd-field-border);border-radius:12px;padding:10px 14px;font-size:16px;line-height:1.4;background:#fff;color:var(--nd-ink);box-shadow:none}
.woocommerce .select2-container .select2-selection--single .select2-selection__rendered{line-height:26px;padding:0}
.woocommerce .select2-container .select2-selection--single .select2-selection__arrow{height:46px;right:8px}
.woocommerce form .form-row input.input-text:focus,.woocommerce form .form-row textarea:focus,.woocommerce form .form-row select:focus{border-color:var(--nd-primary);outline:2px solid rgba(var(--nd-shadow-rgb),.15);outline-offset:0}
.woocommerce form .form-row.woocommerce-invalid input.input-text,.woocommerce form .form-row.woocommerce-invalid select{border-color:var(--nd-err)}
.woocommerce form .form-row.woocommerce-invalid label{color:var(--nd-err)}
.checkout-inline-error-message,.woocommerce-error li{color:var(--nd-err);font-size:14px;margin-top:6px}
.woocommerce form .form-row textarea{min-height:110px}

/* cart table */
.woocommerce-cart table.shop_table{border:1px solid var(--nd-line);border-radius:var(--nd-radius);border-collapse:separate;overflow:hidden}
.woocommerce table.shop_table th{font-weight:700;color:var(--nd-primary);font-size:14px;padding:14px 12px}
.woocommerce table.shop_table td{border-top:1px solid var(--nd-line);padding:14px 12px}
.woocommerce-cart table.cart img{width:84px;border-radius:10px;background:var(--nd-canvas);mix-blend-mode:multiply;padding:4px}
.woocommerce-cart table.cart td.product-name a{font-weight:600;color:var(--nd-ink);text-decoration:none}
.woocommerce-cart table.cart td.product-remove a.remove{color:var(--nd-muted)!important;font-size:22px;width:36px;height:36px;line-height:34px}
.woocommerce-cart table.cart td.product-remove a.remove:hover{background:var(--nd-surface);color:var(--nd-err)!important}
.woocommerce .quantity .qty{min-height:44px;width:72px;border:1.5px solid var(--nd-field-border);border-radius:999px;text-align:center;font-weight:700;font-size:16px}
.woocommerce-cart table.cart td.actions .coupon{display:flex;gap:8px;flex-wrap:wrap}
.woocommerce-cart table.cart td.actions .coupon .input-text{width:200px}
.woocommerce-cart .cart-collaterals .cart_totals{float:none;width:100%;max-width:460px;margin-left:auto;background:var(--nd-surface);border-radius:var(--nd-radius);padding:24px}
.woocommerce-cart .cart-collaterals .cart_totals h2{font-size:22px;margin-bottom:12px}
.woocommerce-cart .cart_totals table.shop_table{border:0;background:transparent}
.woocommerce-cart .cart_totals table.shop_table th,.woocommerce-cart .cart_totals table.shop_table td{background:transparent;border-top:1px solid var(--nd-line-strong)}
.woocommerce .order-total .amount{font-size:20px;color:var(--nd-primary)}
.wc-proceed-to-checkout a.checkout-button{display:flex!important;align-items:center;justify-content:center;width:100%;min-height:56px;font-size:17px!important;margin:8px 0 0!important}
.cross-sells h2{font-size:22px;margin-bottom:16px}

/* checkout */
.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info,.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info{background:#fff!important;border:1px solid var(--nd-line);border-left:4px solid var(--nd-primary)}
.woocommerce-checkout .col2-set .col-1,.woocommerce-checkout .col2-set .col-2{float:none;width:100%}
.woocommerce-checkout h3{font-size:20px;margin:8px 0 16px}
@media (min-width:1000px){
.woocommerce-checkout form.checkout:not(.elementor-widget-woocommerce-checkout-page form){display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:0 48px;align-items:start}
.woocommerce-checkout form.checkout>.woocommerce-NoticeGroup{grid-column:1/-1}
.woocommerce-checkout form.checkout>#customer_details{grid-column:1;grid-row:1/span 3}
.woocommerce-checkout form.checkout>#order_review_heading,.woocommerce-checkout form.checkout>#order_review{grid-column:2}
.woocommerce-checkout form.checkout>#order_review{position:sticky;top:140px}}
.woocommerce-checkout #order_review_heading{margin-top:0}
.woocommerce-checkout-review-order-table{border:1px solid var(--nd-line)!important;border-radius:var(--nd-radius)!important;border-collapse:separate!important}
/* boxed secure payment block */
.woocommerce-checkout #payment{background:var(--nd-surface)!important;border-radius:var(--nd-radius)!important;padding:4px}
.woocommerce-checkout #payment ul.payment_methods{border-bottom:1px solid var(--nd-line-strong)!important;padding:16px!important}
.woocommerce-checkout #payment ul.payment_methods li{font-size:15px;line-height:1.5;padding:6px 0}
.woocommerce-checkout #payment ul.payment_methods li label{font-weight:700;color:var(--nd-primary)}
.woocommerce-checkout #payment div.payment_box{background:#fff!important;border-radius:12px!important;color:var(--nd-ink)!important;font-size:14px}
.woocommerce-checkout #payment div.payment_box::before{border-bottom-color:#fff!important}
.woocommerce-checkout #payment div.form-row.place-order{padding:16px!important;margin:0}
.woocommerce-checkout #payment #place_order{width:100%;min-height:58px;font-size:18px;float:none;background:var(--nd-cta);border-color:var(--nd-cta);color:#fff}
.woocommerce-checkout #payment #place_order:hover{background:var(--nd-cta-hover)}
.woocommerce-checkout #payment #place_order::before{content:"";display:inline-block;width:18px;height:18px;margin-right:10px;vertical-align:-3px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3Cpath d='M8 10V7a4 4 0 0 1 8 0v3' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center/contain no-repeat}
.woocommerce-terms-and-conditions-wrapper{font-size:14px;color:var(--nd-muted)}
.woocommerce form .form-row .input-checkbox{width:20px;height:20px;accent-color:var(--nd-cta);vertical-align:-4px;margin-right:6px}
.woocommerce-checkout .wc-stripe-elements-field,.woocommerce-checkout .wc-stripe-iban-element-field{min-height:48px;border:1.5px solid var(--nd-field-border)!important;border-radius:12px!important;padding:13px 14px!important;background:#fff}

/* order received */
.woocommerce-order-overview{display:flex;flex-wrap:wrap;gap:12px;padding:0!important}
.woocommerce ul.order_details li{border:1px solid var(--nd-line)!important;border-radius:12px;padding:12px 16px!important;margin:0!important;float:none!important}

/* account */
.woocommerce-account:not(.logged-in) .woocommerce{display:block}
.woocommerce-account .u-columns.col2-set::before,.woocommerce-account .u-columns.col2-set::after{display:none}

@media (max-width:860px){
.woocommerce-cart table.cart td.actions .coupon{width:100%}
.woocommerce-cart table.cart td.actions .coupon .input-text{flex:1;width:auto}
.woocommerce-cart table.cart td.actions .coupon .button,.woocommerce-cart table.cart td.actions>.button{width:100%}
.woocommerce form .form-row-first,.woocommerce form .form-row-last{float:none;width:100%}}

/* ---- account: login / register / lost + reset password (woocommerce/myaccount overrides) ---- */
.nd-auth{max-width:1040px;margin:clamp(16px,4vw,48px) auto}
.nd-auth--one{max-width:520px}
.nd-auth .u-columns{display:grid;grid-template-columns:1fr 1fr;gap:24px;float:none;width:auto}
.woocommerce .nd-auth .col2-set .col-1,.woocommerce .nd-auth .col2-set .col-2{float:none;width:auto;max-width:none}
.nd-auth__card{background:#fff;border:1px solid var(--nd-line);border-radius:var(--nd-radius);padding:clamp(20px,3.4vw,36px);box-shadow:0 18px 40px -28px rgba(var(--nd-shadow-rgb),.25)}
.nd-auth__card h2{font-size:clamp(1.4rem,2.2vw,1.75rem);margin:0 0 18px}
.nd-auth .woocommerce-form-login,.nd-auth .woocommerce-form-register,.nd-auth .lost_reset_password{border:0!important;padding:0!important;margin:0!important;border-radius:0}
.nd-auth .form-row{margin:0 0 16px;padding:0;float:none;width:100%}
.nd-auth label{display:block;font-weight:600;font-size:14px;color:var(--nd-primary);margin-bottom:6px}
.nd-auth input.input-text{width:100%;min-height:52px;border:1.5px solid var(--nd-field-border);border-radius:12px;padding:12px 16px;font-size:16px;background:#fff}
.nd-auth input.input-text:focus{border-color:var(--nd-primary);outline:0;box-shadow:0 0 0 3px rgba(var(--nd-shadow-rgb),.08)}
.nd-auth .woocommerce-form-login__rememberme{display:inline-flex;align-items:center;gap:8px;font-weight:500;margin:0 0 14px}
.nd-auth button.button,.woocommerce .nd-auth button.button{width:100%;min-height:52px;border-radius:999px;background:var(--nd-cta);color:#fff;font-weight:700;font-size:16px;border:0}
.nd-auth button.button:hover{background:var(--nd-cta-hover);color:#fff}
.nd-auth .lost_password{margin:14px 0 0;text-align:center}
.nd-auth .lost_password a,.nd-auth a{color:var(--nd-cta)}
.nd-auth .woocommerce-privacy-policy-text{font-size:13px;color:var(--nd-muted)}
.nd-auth__tabs{display:none}
@media (max-width:760px){
.nd-auth .u-columns{grid-template-columns:1fr;gap:0}
.nd-auth--two .nd-auth__tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;background:var(--nd-surface);border-radius:999px;padding:5px;margin:0 0 16px}
.nd-auth__tabs button{min-height:46px;border:0;border-radius:999px;background:none;font-weight:700;color:var(--nd-primary);cursor:pointer}
.nd-auth__tabs button[aria-selected=true]{background:#fff;box-shadow:0 2px 8px rgba(var(--nd-shadow-rgb),.12)}
.js .nd-auth--two .nd-auth__card:not(.is-active){display:none}}

/* logged-in account: navigation as a card list, content beside it */
.woocommerce-account .woocommerce{display:grid;grid-template-columns:260px minmax(0,1fr);gap:clamp(20px,4vw,48px);align-items:start}
.woocommerce-account .woocommerce>.woocommerce-notices-wrapper,.woocommerce-account .woocommerce>.nd-auth{grid-column:1/-1}
.woocommerce-account .woocommerce-MyAccount-navigation,.woocommerce-account .woocommerce-MyAccount-content{float:none;width:auto}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:8px;background:#fff;border:1px solid var(--nd-line);border-radius:var(--nd-radius)}
.woocommerce-MyAccount-navigation li a{display:flex;align-items:center;min-height:46px;padding:0 14px;border-radius:10px;text-decoration:none;color:var(--nd-ink);font-weight:500}
.woocommerce-MyAccount-navigation li a:hover{background:var(--nd-surface)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--nd-primary);color:#fff;font-weight:700}
.woocommerce-MyAccount-navigation-link--customer-logout a{color:var(--nd-err)}
@media (max-width:860px){
.woocommerce-account .woocommerce{grid-template-columns:1fr}
.woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:6px;scrollbar-width:none}
.woocommerce-MyAccount-navigation li{flex:none}
.woocommerce-MyAccount-navigation li a{white-space:nowrap;min-height:42px}}

/* Logged-in account layout (rule 16: nav rendered in the right column, content
   squeezed below it). Cause: WooCommerce's clearfix ::before/::after on
   .woocommerce became grid items and took the first cell. Flex with explicit
   order instead: any extra child (notices, plugin output) is full width first. */
.woocommerce-account.logged-in .woocommerce::before,.woocommerce-account.logged-in .woocommerce::after{display:none!important;content:none!important}
.woocommerce-account.logged-in .woocommerce{display:flex;flex-wrap:wrap;align-items:flex-start;gap:clamp(20px,4vw,48px)}
.woocommerce-account.logged-in .woocommerce>*{flex:0 0 100%;order:0;min-width:0}
.woocommerce-account.logged-in .woocommerce>.woocommerce-MyAccount-navigation{flex:0 0 260px;order:1;position:sticky;top:calc(var(--hd-h,106px) + 16px)}
.woocommerce-account.logged-in .woocommerce>.woocommerce-MyAccount-content{flex:1 1 0;order:2}
.nd-dash{display:grid;gap:16px}
.nd-dash__hi{background:var(--nd-surface);border-radius:var(--nd-radius);padding:clamp(20px,3vw,28px)}
.nd-dash__hi p{margin:0 0 8px}.nd-dash__hi p:last-child{margin:0}
.nd-dash__hi a{color:var(--nd-primary)}
.nd-dash__cards{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.nd-dash__cards a{display:flex;flex-direction:column;gap:6px;height:100%;padding:18px;border:1px solid var(--nd-line);border-radius:var(--nd-radius);background:#fff;text-decoration:none;color:var(--nd-ink);transition:border-color .2s,translate .2s}
.nd-dash__cards a:hover{border-color:var(--nd-primary);translate:0 -2px}
.nd-dash__cards .ic{color:var(--nd-cta)}
.nd-dash__cards b{color:var(--nd-primary);font-size:16px}
.nd-dash__cards span{font-size:14px;color:var(--nd-muted)}
@media (max-width:860px){
.woocommerce-account.logged-in .woocommerce>.woocommerce-MyAccount-navigation{flex:0 0 100%;position:static}
.woocommerce-account.logged-in .woocommerce>.woocommerce-MyAccount-content{flex:0 0 100%}
.nd-dash__cards{grid-template-columns:1fr}}

/* account navigation card: header, icon rows, quiet log out */
.woocommerce-MyAccount-navigation{background:#fff;border:1px solid var(--nd-line);border-radius:var(--nd-radius);padding:8px}
.woocommerce-MyAccount-navigation ul{border:0;padding:0;background:none;display:grid;gap:2px}
.acn__h{display:flex;flex-direction:column;gap:2px;padding:12px 12px 14px;border-bottom:1px solid var(--nd-line);margin-bottom:8px}
.acn__h b{color:var(--nd-primary);font-size:16px}
.acn__h small{color:var(--nd-muted);font-size:13px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.woocommerce-MyAccount-navigation li a{gap:12px;min-height:46px;padding:0 12px;border-radius:12px;font-weight:500;color:var(--nd-ink)}
.woocommerce-MyAccount-navigation li a .ic{color:var(--nd-primary);flex:none}
.woocommerce-MyAccount-navigation li a:hover{background:var(--nd-media-bg)}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--nd-primary);color:#fff;font-weight:700}
.woocommerce-MyAccount-navigation li.is-active a .ic{color:#fff}
.woocommerce-MyAccount-navigation-link--customer-logout{margin-top:6px;padding-top:8px;border-top:1px solid var(--nd-line)}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a,.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a .ic{color:#9F2A1E}
.woocommerce-MyAccount-navigation li.woocommerce-MyAccount-navigation-link--customer-logout a:hover{background:var(--nd-err-bg)}
@media (max-width:860px){
.woocommerce-MyAccount-navigation{padding:0;border:0;background:none}
.acn__h{display:none}
.woocommerce-MyAccount-navigation ul{display:flex;overflow-x:auto;gap:6px;scrollbar-width:none;padding:2px}
.woocommerce-MyAccount-navigation li a{min-height:44px;border:1px solid var(--nd-line);border-radius:999px;background:#fff;padding:0 14px;gap:8px}
.woocommerce-MyAccount-navigation-link--customer-logout{margin:0;padding:0;border:0}}

.nd-dash__hi h2{font-size:clamp(1.3rem,2vw,1.6rem);margin:0 0 6px}
.nd-dash__orders{border:1px solid var(--nd-line);border-radius:var(--nd-radius);padding:18px}
.nd-dash__orders h3{font-size:17px;margin:0 0 10px}
.nd-dash__orders ul{list-style:none;margin:0 0 12px;padding:0}
.nd-dash__orders li a{display:grid;grid-template-columns:auto 1fr auto auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--nd-line);text-decoration:none;color:var(--nd-ink);font-size:14px}
.nd-dash__orders b{color:var(--nd-primary)}
.nd-dash__orders .st{background:var(--nd-surface);color:var(--nd-primary);border-radius:999px;padding:4px 10px;font-size:12px;font-weight:700}
.nd-dash__orders .st--completed{background:var(--nd-ok-bg);color:var(--nd-ok)}
.nd-dash__tot{font-weight:700;color:var(--nd-primary)}
@media (max-width:560px){.nd-dash__orders li a{grid-template-columns:1fr auto;row-gap:4px}}

/* account 'cards' layout: one column, no sidebar */
.nd-acc-cards.woocommerce-account.logged-in .woocommerce{display:block;max-width:960px;margin:0 auto}
.nd-acc-cards.woocommerce-account .woocommerce-MyAccount-content{width:auto;float:none}
.nd-acc-cards .nd-dash__cards{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))}
.nd-dash__c--customer-logout a{border-style:dashed}
.nd-dash__cards .nd-dash__c--customer-logout .ic,.nd-dash__cards .nd-dash__c--customer-logout b{color:#9F2A1E}
.acc-back{margin:0 0 16px}
.acc-back a{display:inline-flex;align-items:center;gap:8px;font-weight:600;font-size:14px;color:var(--nd-primary);text-decoration:none}
.acc-back a .ic{rotate:180deg}
.acc-back a:hover span{text-decoration:underline}
@media (max-width:860px){.nd-acc-cards .nd-dash__cards{grid-template-columns:1fr}}

/* ---- account sub-pages (rule 16, Nabil « Indirizzi »): content overlapped
   the pre-footer band (floated address columns not contained), title not on
   the content column. One 960 px column for title and content, contained
   floats, >= 64 px before the band, addresses as cards, forms on a grid. ---- */
.woocommerce-account .nd-woo-page{display:flow-root;padding-bottom:64px}
.nd-acc-cards .nd-woo-page .pg__h,.nd-acc-cards .nd-woo-page .entry-content{max-width:960px;margin-left:auto;margin-right:auto}
.woocommerce-account .woocommerce-Addresses{display:grid!important;grid-template-columns:1fr 1fr;gap:16px;margin:8px 0 0}
.woocommerce-account .woocommerce-Addresses::before,.woocommerce-account .woocommerce-Addresses::after{display:none!important}
.woocommerce-account .woocommerce-Addresses .woocommerce-Address{float:none!important;width:auto!important;max-width:none!important;display:flex;flex-direction:column;gap:12px;background:#fff;border:1px solid var(--nd-line);border-radius:16px;padding:24px}
.woocommerce-account .woocommerce-Address-title{display:contents}
.woocommerce-account .woocommerce-Address-title h2,.woocommerce-account .woocommerce-Address-title h3{order:1;font-size:18px;margin:0}
.woocommerce-account .woocommerce-Address address{order:2;font-style:normal;color:var(--nd-muted);line-height:1.6;margin:0}
.woocommerce-account .woocommerce-Address-title a.edit{order:3;float:none;align-self:flex-start;margin-top:auto;display:inline-flex;align-items:center;min-height:44px;padding:0 20px;border:1.5px solid var(--nd-primary);border-radius:999px;color:var(--nd-primary);font-weight:700;font-size:14px;text-decoration:none}
.woocommerce-account .woocommerce-Address-title a.edit:hover{background:var(--nd-primary);color:#fff}
.woocommerce-account .woocommerce-MyAccount-content>p:first-of-type{color:var(--nd-muted)}
/* edit address / account details forms */
.woocommerce-account .woocommerce-address-fields__field-wrapper,.woocommerce-account form.edit-account{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px}
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row,.woocommerce-account form.edit-account .form-row{float:none;width:auto;margin:0 0 14px;padding:0;grid-column:1/-1}
.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-first,.woocommerce-account .woocommerce-address-fields__field-wrapper .form-row-last,.woocommerce-account form.edit-account .form-row-first,.woocommerce-account form.edit-account .form-row-last{grid-column:auto}
.woocommerce-account form.edit-account fieldset,.woocommerce-account form.edit-account>p:not(.form-row),.woocommerce-account form.edit-account .clear{grid-column:1/-1}
.woocommerce-account form.edit-account fieldset{border:1px solid var(--nd-line);border-radius:16px;padding:20px;margin:6px 0 16px}
.woocommerce-account form label{display:block;font-weight:600;font-size:14px;color:var(--nd-primary);margin-bottom:6px}
.woocommerce-account form .input-text,.woocommerce-account form select,.woocommerce-account form .select2-container .select2-selection--single{width:100%;min-height:48px;border:1.5px solid var(--nd-field-border);border-radius:12px;padding:10px 14px;font-size:16px;background:#fff}
.woocommerce-account form .select2-container .select2-selection--single .select2-selection__rendered{line-height:26px;padding:0}
.woocommerce-account form .select2-container .select2-selection--single .select2-selection__arrow{height:46px}
.woocommerce-account form .input-text:focus,.woocommerce-account form select:focus{border-color:var(--nd-primary);outline:0}
.woocommerce-account form button[name=save_address],.woocommerce-account form button[name=save_account_details]{min-height:52px;padding:0 28px;border-radius:999px;background:var(--nd-cta);color:#fff;font-weight:700;font-size:16px;border:0}
.woocommerce-account form button[name=save_address]:hover,.woocommerce-account form button[name=save_account_details]:hover{background:var(--nd-cta-hover);color:#fff}
/* empty states (no orders...) as a card with its button */
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;background:#fff!important;border:1px solid var(--nd-line)!important;border-radius:16px;padding:24px!important;color:var(--nd-muted)}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info::before{display:none}
.woocommerce-account .woocommerce-MyAccount-content .woocommerce-info .button{order:2;float:none;min-height:44px;display:inline-flex;align-items:center;padding:0 20px;border-radius:999px;background:var(--nd-primary);color:#fff;font-weight:700}
@media (max-width:860px){
.woocommerce-account .woocommerce-Addresses,.woocommerce-account .woocommerce-address-fields__field-wrapper,.woocommerce-account form.edit-account{grid-template-columns:1fr}}

/* order tracking page: form card + delivery timeline */
.trk{background:#fff;border:1px solid var(--nd-line);border-radius:16px;padding:clamp(20px,3vw,32px);margin:0 0 20px}
.trk h2{font-size:clamp(1.25rem,2vw,1.5rem);margin:0 0 12px}
.trk .woocommerce-form-track-order{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;border:0;padding:0;margin:0}
.trk .woocommerce-form-track-order>p:first-child{grid-column:1/-1;color:var(--nd-muted);margin:0 0 12px}
.trk .woocommerce-form-track-order .form-row{float:none;width:auto;margin:0 0 14px;padding:0}
.trk .woocommerce-form-track-order .clear{display:none}
.trk .woocommerce-form-track-order .form-row:last-of-type{grid-column:1/-1}
.trk label{display:block;font-weight:600;font-size:14px;color:var(--nd-primary);margin-bottom:6px}
.trk .input-text{width:100%;min-height:48px;border:1.5px solid var(--nd-field-border);border-radius:12px;padding:10px 14px;font-size:16px;background:#fff}
.trk .input-text:focus{border-color:var(--nd-primary);outline:0}
.trk button[name=track]{min-height:52px;padding:0 28px;border-radius:999px;background:var(--nd-cta);color:#fff;font-weight:700;font-size:16px;border:0}
.trk button[name=track]:hover{background:var(--nd-cta-hover);color:#fff}
.trk__mine{margin:4px 0 0}.trk__mine a{color:var(--nd-primary);font-weight:700}
.tl{list-style:none;margin:8px 0 0;padding:0;display:grid;grid-template-columns:repeat(4,1fr);gap:12px;position:relative;counter-reset:s}
.tl li{display:flex;flex-direction:column;gap:6px;position:relative;padding-top:4px}
.tl li:not(:last-child)::after{content:"";position:absolute;top:24px;left:52px;right:-6px;height:2px;background:var(--nd-line-strong)}
.tl__i{width:44px;height:44px;border-radius:50%;background:var(--nd-media-bg);color:var(--nd-cta);display:grid;place-items:center}
.tl b{color:var(--nd-primary);font-size:15px}
.tl span:last-child{color:var(--nd-ink);font-size:14px}
@media (max-width:760px){
.trk .woocommerce-form-track-order{grid-template-columns:1fr}
.tl{grid-template-columns:1fr;gap:18px}
.tl li{flex-direction:row;align-items:center;flex-wrap:wrap;column-gap:12px;padding-left:0}
.tl li b{flex:1}
.tl li span:last-child{flex:0 0 100%;padding-left:56px;margin-top:-10px}
.tl li:not(:last-child)::after{top:48px;left:21px;right:auto;width:2px;height:22px}}
