/*
Theme Name: Kidomart
Description: Persian storefront theme for the independently managed Kidomart shop.
Version: 0.2.0
Requires at least: 7.0
Requires PHP: 8.1
Text Domain: kidomart
*/

@font-face{
	font-family:Vazirmatn;
	src:url('assets/fonts/Vazirmatn.woff2') format('woff2');
	font-weight:100 900;
	font-style:normal;
	font-display:swap
}
/* Figma authentication card in the native WooCommerce account route. */
.woocommerce-account:not(.logged-in) .kidomart-auth-page{max-width:none;min-height:calc(100vh - 88px);padding:72px 16px;background:#fff;display:flex;justify-content:center;align-items:flex-start}
.woocommerce-account:not(.logged-in) .kidomart-auth-page .woocommerce{width:100%;display:flex;justify-content:center}
.woocommerce-account:not(.logged-in) .kidomart-footer,.woocommerce-account:not(.logged-in) .kidomart-bottom-nav{display:none}
.kidomart-auth-card{box-sizing:border-box;width:min(100%,560px);border:1px solid var(--kidomart-border);border-radius:16px;background:white;padding:24px;display:flex;flex-direction:column;gap:20px;text-align:right}
.kidomart-auth-card h1{margin:0;font-size:22px;line-height:34px;font-weight:800;color:#000}
.kidomart-auth-intro{margin:0;font-size:14px;line-height:24px;font-weight:500;color:#000}
.kidomart-auth-form{display:flex;flex-direction:column;gap:6px;margin:0}
.kidomart-auth-form label{font-size:12px;line-height:18px;font-weight:700;color:var(--kidomart-ink)}
.kidomart-auth-form input{box-sizing:border-box;width:100%;height:48px;border:1px solid var(--kidomart-border);border-radius:12px;background:white;padding:0 14px;color:var(--kidomart-ink);font:500 14px/24px Vazirmatn,sans-serif;text-align:left}
.kidomart-auth-form input[aria-invalid=true]{border:2px solid #e87876}
.kidomart-auth-error{margin:0;color:var(--kidomart-error);font-size:12px;line-height:20px}
.kidomart-auth-primary{width:100%;min-height:44px;margin-top:14px;border:0;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-ink);font:700 12px/18px Vazirmatn,sans-serif;cursor:pointer}
.kidomart-auth-footnote,.kidomart-auth-resend{margin:0;font-size:12px;line-height:20px;color:var(--kidomart-muted)}
.kidomart-auth-secondary-form{margin:0}.kidomart-auth-secondary-form button{padding:10px 0;min-height:44px;border:0;background:transparent;color:var(--kidomart-green);font:700 12px/18px Vazirmatn,sans-serif;cursor:pointer}
.kidomart-auth-secondary-form[hidden],.kidomart-auth-resend[hidden]{display:none}
.kidomart-auth-primary:disabled{opacity:.72;cursor:wait}
.kidomart-auth-card :focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:3px}
@media(max-width:800px){.woocommerce-account:not(.logged-in) .kidomart-auth-page{min-height:calc(100vh - 96px);padding:40px 16px}.kidomart-auth-card{width:100%}}
.woocommerce-account.logged-in .kidomart-auth-page{background:var(--kidomart-cream);min-height:calc(100vh - 88px);padding:40px 16px}
.kidomart-account{max-width:1200px;margin:0 auto;color:var(--kidomart-ink)}
.kidomart-account-intro{text-align:right;margin-bottom:24px}.kidomart-account-intro h1{font-size:22px;line-height:34px;font-weight:800;margin:0 0 8px}.kidomart-account-intro p{margin:0;color:var(--kidomart-muted);font-size:14px;line-height:24px}
.kidomart-account-grid{display:grid;direction:ltr;grid-template-columns:minmax(0,820px) minmax(0,348px);grid-template-areas:'orders identity' 'orders shortcuts';gap:16px 32px;align-items:start}
.kidomart-account-grid>*{box-sizing:border-box;direction:rtl;text-align:right;border:1px solid var(--kidomart-border);border-radius:16px;padding:20px;min-width:0}
.kidomart-account-grid h2{font-size:12px;line-height:18px;font-weight:700;margin:0 0 8px}.kidomart-account-grid strong{display:block;font-size:18px;line-height:28px;font-weight:700}.kidomart-account-grid p{margin:8px 0;color:var(--kidomart-muted);font-size:12px;line-height:20px}.kidomart-account-grid a{display:inline-flex;align-items:center;min-height:32px;color:var(--kidomart-ink);font-size:12px;line-height:18px;font-weight:700;text-decoration:none}
.kidomart-account-identity{grid-area:identity;background:var(--kidomart-warm)}.kidomart-account-identity p{text-align:right;direction:ltr;unicode-bidi:isolate}.kidomart-account-orders{grid-area:orders;background:var(--kidomart-butter)}.kidomart-account-shortcuts{grid-area:shortcuts;background:white;display:flex;flex-direction:column;gap:4px}.kidomart-account-shortcuts a{min-height:44px;gap:12px;font-size:14px;line-height:24px}.kidomart-account-shortcuts a img{width:24px;height:24px;flex:none}
.kidomart-account a:focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:3px}
@media(max-width:800px){.woocommerce-account.logged-in .kidomart-auth-page{min-height:calc(100vh - 96px);padding:24px 16px 96px}.kidomart-account-grid{display:flex;flex-direction:column;gap:16px}.kidomart-account-grid>*{width:100%}.kidomart-account-intro{margin-bottom:16px}}
.kidomart-profile{max-width:1200px;margin:0 auto;color:var(--kidomart-ink)}
.kidomart-profile-intro{text-align:right;margin-bottom:24px}.kidomart-profile-intro h1{font-size:22px;line-height:34px;margin:0 0 8px}.kidomart-profile-intro p{margin:0;color:var(--kidomart-muted);font-size:14px;line-height:24px}
.kidomart-profile-layout{display:grid;direction:ltr;grid-template-columns:minmax(0,820px) minmax(0,348px);gap:32px;align-items:start}.kidomart-profile-layout>*{direction:rtl;min-width:0}
.kidomart-profile-main{display:flex;flex-direction:column;gap:16px}.kidomart-profile-phone,.kidomart-profile-form-card,.kidomart-profile-sidebar>div,.kidomart-profile-sidebar>nav{border:1px solid var(--kidomart-border);border-radius:16px;padding:20px;text-align:right}
.kidomart-profile-phone{background:var(--kidomart-warm);min-height:150px}.kidomart-profile h2{font-size:12px;line-height:18px;margin:0 0 8px}.kidomart-profile-phone strong{display:block;font-size:18px;line-height:28px;text-align:right;direction:ltr;unicode-bidi:isolate}.kidomart-profile-phone p{margin:8px 0 0;font-size:12px;line-height:20px}
.kidomart-profile form{display:flex;flex-direction:column;align-items:flex-end;gap:16px}.kidomart-profile-form-card{width:100%;display:flex;flex-direction:column;gap:6px;background:white}.kidomart-profile label{font-size:12px;line-height:18px;font-weight:700}.kidomart-profile input{width:100%;height:48px;border:1px solid var(--kidomart-border);border-radius:12px;padding:0 14px;background:white;color:var(--kidomart-ink)}
.kidomart-profile button{min-height:44px;min-width:220px;border:0;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-ink);font-weight:700;cursor:pointer}.kidomart-profile-note{font-size:12px;line-height:20px;color:var(--kidomart-muted);text-align:right;margin:0}.kidomart-profile-logout{font-size:12px;align-self:flex-end;margin-top:8px}
.kidomart-profile-sidebar{display:flex;flex-direction:column;gap:16px}.kidomart-profile-sidebar-identity{background:var(--kidomart-warm)}.kidomart-profile-sidebar-identity strong{display:block;font-size:18px}.kidomart-profile-sidebar-identity p{font-size:12px;margin:8px 0 0}.kidomart-profile-sidebar nav{display:flex;flex-direction:column;background:white}.kidomart-profile-sidebar nav a{min-height:44px;display:flex;align-items:center;font-size:14px;text-decoration:none}
@media(max-width:800px){.kidomart-profile-layout{display:block}.kidomart-profile-sidebar{display:none}.kidomart-profile-main{gap:16px}.kidomart-profile button{width:100%}.kidomart-profile-intro{margin-bottom:16px}}
.kidomart-order-history,.kidomart-order-detail{max-width:1200px;margin:0 auto;color:var(--kidomart-ink);min-width:0}
.kidomart-order-page-layout{display:grid;direction:ltr;grid-template-columns:minmax(0,820px) minmax(0,348px);gap:32px;align-items:start}.kidomart-order-page-layout>*{direction:rtl;min-width:0}.kidomart-orders-sidebar{display:grid;gap:16px}.kidomart-orders-sidebar>*{padding:20px;border:1px solid var(--kidomart-border);border-radius:16px;background:white;text-align:right}.kidomart-orders-sidebar-identity{background:var(--kidomart-warm)}.kidomart-orders-sidebar h2{font-size:13px;margin:0 0 8px}.kidomart-orders-sidebar strong{font-size:17px}.kidomart-orders-sidebar nav{display:flex;flex-direction:column}.kidomart-orders-sidebar nav a{min-height:44px;display:flex;align-items:center;color:var(--kidomart-ink);font-size:14px;font-weight:700;text-decoration:none}
.kidomart-orders-intro{margin:0 0 24px;text-align:right}.kidomart-orders-intro h1{font-size:24px;line-height:1.5;margin:12px 0 4px;font-weight:800;overflow-wrap:anywhere}.kidomart-orders-intro p{font-size:14px;line-height:24px;color:var(--kidomart-muted);margin:0}
.kidomart-orders-back{display:inline-flex;align-items:center;min-height:44px;color:var(--kidomart-green);font-size:13px;font-weight:700;text-decoration:none}
.kidomart-orders-list{display:grid;grid-template-columns:1fr;gap:16px}
.kidomart-order-card,.kidomart-order-panel,.kidomart-orders-empty{background:white;border:1px solid var(--kidomart-border);border-radius:16px;box-sizing:border-box;min-width:0}
.kidomart-order-card{display:flex;gap:20px;align-items:center;padding:20px;min-height:190px}.kidomart-order-card-media{flex:none;width:112px;height:112px;border-radius:12px;background:var(--kidomart-cream);display:grid;place-items:center;overflow:hidden}.kidomart-order-card-media img{width:100%;height:100%;object-fit:contain}.kidomart-order-card-body{flex:1;min-width:0;text-align:right}.kidomart-order-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.kidomart-order-card-top strong{font-size:16px;overflow-wrap:anywhere}.kidomart-order-status{display:inline-flex;align-items:center;background:var(--kidomart-soft-green);color:var(--kidomart-green);border-radius:100px;padding:5px 12px;font-size:12px;font-weight:700;line-height:20px}.kidomart-order-status--failed,.kidomart-order-status--cancelled{background:#fff0ec;color:#9b3029}.kidomart-order-status--pending,.kidomart-order-status--on-hold{background:var(--kidomart-butter);color:#6e4a09}.kidomart-order-card time{display:block;color:var(--kidomart-muted);font-size:12px;margin-top:8px}.kidomart-order-card-summary{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:12px 0;font-size:13px}.kidomart-order-price{font-weight:800;unicode-bidi:isolate;overflow-wrap:anywhere}.kidomart-order-action{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 18px;box-sizing:border-box;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-ink);font-size:13px;font-weight:700;text-decoration:none;text-align:center}
.kidomart-orders-empty{padding:36px 24px;text-align:center}.kidomart-orders-empty h2{font-size:18px;margin:0 0 8px}.kidomart-orders-empty p{color:var(--kidomart-muted);font-size:14px;margin:0 0 20px}.kidomart-orders-pagination{display:flex;align-items:center;justify-content:center;gap:20px;margin:24px 0}.kidomart-orders-pagination a{display:inline-flex;align-items:center;min-height:44px;padding:0 12px;color:var(--kidomart-green);font-weight:700;text-decoration:none}.kidomart-orders-pagination span{font-size:13px;color:var(--kidomart-muted)}
.kidomart-order-detail-grid{display:grid;direction:ltr;grid-template-columns:minmax(0,2fr) minmax(270px,1fr);gap:20px;align-items:start}.kidomart-order-detail-grid>*{direction:rtl;min-width:0}.kidomart-order-detail-main,.kidomart-order-detail-side{display:grid;gap:16px}.kidomart-order-panel{padding:20px;text-align:right;overflow-wrap:anywhere}.kidomart-order-panel h2{font-size:16px;line-height:26px;margin:0 0 16px}.kidomart-order-panel p{display:flex;justify-content:space-between;gap:12px;font-size:13px;line-height:24px;margin:8px 0}.kidomart-order-panel p span{color:var(--kidomart-muted)}.kidomart-order-panel address{font-style:normal;font-size:13px;line-height:24px}.kidomart-order-panel .kidomart-order-status{display:inline-flex;margin:0 0 8px}.kidomart-order-panel .kidomart-order-action{margin-top:12px;width:100%}.kidomart-order-line{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-top:1px solid var(--kidomart-border);font-size:13px;line-height:24px}.kidomart-order-line:first-of-type{border:0;padding-top:0}.kidomart-order-line strong,.kidomart-order-line span{display:block}.kidomart-order-line .wc-item-meta{padding:0;margin:4px 0;color:var(--kidomart-muted);list-style:none}.kidomart-order-line .wc-item-meta li{display:flex;gap:5px}.kidomart-order-line .wc-item-meta p{display:inline;margin:0}.kidomart-order-total-row:last-child{padding-top:12px;border-top:1px solid var(--kidomart-border);font-weight:800}
.kidomart-order-line .kidomart-order-price{white-space:nowrap;flex:none}.kidomart-order-line .woocommerce-Price-amount,.kidomart-order-line .woocommerce-Price-currencySymbol{display:inline}
.kidomart-address-book{max-width:1200px;margin:0 auto;color:var(--kidomart-ink);min-width:0}.kidomart-address-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px}.kidomart-address-heading h2{font-size:17px;margin:0}.kidomart-address-heading a{display:inline-flex;align-items:center;min-height:44px;color:var(--kidomart-green);font-size:13px;font-weight:700;text-decoration:none}.kidomart-address-list{display:grid;gap:16px}.kidomart-address-card,.kidomart-address-form{padding:20px;border:1px solid var(--kidomart-border);border-radius:16px;background:white;text-align:right;box-sizing:border-box;min-width:0}.kidomart-address-card-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.kidomart-address-card-head strong{font-size:16px}.kidomart-address-card-head span{font-size:12px;font-weight:700;background:var(--kidomart-soft-green);color:var(--kidomart-green);border-radius:100px;padding:5px 12px}.kidomart-address-card p{font-size:13px;line-height:24px;margin:10px 0;overflow-wrap:anywhere}.kidomart-address-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}.kidomart-address-actions form{margin:0}.kidomart-address-actions a,.kidomart-address-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid var(--kidomart-border);border-radius:10px;background:white;color:var(--kidomart-green);font:700 13px Vazirmatn,sans-serif;cursor:pointer;text-decoration:none}.kidomart-address-actions form:last-child button{color:#9b3029}.kidomart-address-form{margin-top:20px}.kidomart-address-form h2{font-size:18px;margin:0 0 8px}.kidomart-address-form p{color:var(--kidomart-muted);font-size:13px;margin:0 0 18px}.kidomart-address-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.kidomart-address-fields label{font-size:13px;font-weight:700;align-self:end}.kidomart-address-fields input,.kidomart-address-fields select{width:100%;box-sizing:border-box;min-height:44px;border:1px solid var(--kidomart-border);border-radius:10px;background:white;padding:8px 12px;color:var(--kidomart-ink);font:13px Vazirmatn,sans-serif}.kidomart-address-form>.kidomart-order-action{border:0;margin-top:20px;min-width:180px;cursor:pointer}.kidomart-address-message{border-radius:10px;background:var(--kidomart-soft-green);padding:12px 16px;font-size:13px}.kidomart-address-message--error{background:#fff0ec;color:#9b3029}.kidomart-address-book :focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:3px}
.kidomart-order-history :focus-visible,.kidomart-order-detail :focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:3px}
@media(max-width:800px){.kidomart-order-page-layout{display:block}.kidomart-orders-sidebar{display:none}.kidomart-order-detail-grid{display:flex;flex-direction:column}.kidomart-order-detail-grid>*{width:100%}.kidomart-order-detail-side{grid-template-columns:1fr 1fr}.kidomart-order-detail-side .kidomart-order-panel:last-child{grid-column:1/-1}}
@media(max-width:560px){.kidomart-order-card{padding:16px;gap:12px;min-height:0}.kidomart-order-card-media{width:72px;height:72px}.kidomart-order-card-top strong{font-size:14px}.kidomart-order-card-summary{flex-wrap:wrap}.kidomart-order-detail-side{grid-template-columns:1fr}.kidomart-order-detail-side .kidomart-order-panel:last-child{grid-column:auto}.kidomart-order-panel{padding:16px}.kidomart-orders-intro h1{font-size:20px}}
@media(max-width:560px){.kidomart-address-card,.kidomart-address-form{padding:16px}.kidomart-address-fields{grid-template-columns:1fr}.kidomart-address-form>.kidomart-order-action{width:100%}}

/* Phase 8 support: Figma 427:6710/6711 and 430:6863/6923/6924. */
.kidomart-support-page{min-height:calc(100dvh - 88px);padding:40px 16px 80px;background:var(--kidomart-cream);box-sizing:border-box}
.kidomart-support{max-width:820px;margin-inline:auto;color:var(--kidomart-ink);text-align:right}
.kidomart-support-intro{margin:0 0 24px}.kidomart-support-intro h1{margin:10px 0 6px;font-size:26px;line-height:1.5;font-weight:800}.kidomart-support-intro p{margin:0;color:var(--kidomart-muted);font-size:14px;line-height:1.8}
.kidomart-support-card{display:block;min-width:0;margin:0 0 16px;padding:24px;background:#fff;border:1px solid var(--kidomart-border);border-radius:16px;box-sizing:border-box;color:var(--kidomart-ink);text-decoration:none}
.kidomart-support-card h2{margin:0 0 8px;font-size:18px;line-height:1.6;font-weight:800}.kidomart-support-card p{margin:6px 0;color:var(--kidomart-muted);font-size:14px;line-height:1.9;overflow-wrap:anywhere}.kidomart-support-card p:last-child{margin-bottom:0}
.kidomart-support-link-card{transition:border-color 160ms,box-shadow 160ms,transform 160ms}.kidomart-support-link-card:hover{border-color:var(--kidomart-green);box-shadow:0 8px 24px #214e3b12;transform:translateY(-2px)}
.kidomart-support-card a{color:var(--kidomart-green);font-weight:700;text-decoration:none}.kidomart-support-ticket-link{display:block;min-height:44px;padding:10px 0;border-top:1px solid var(--kidomart-border)}
.kidomart-support-form{margin:0}.kidomart-support-form label{display:block;margin-bottom:4px;font-size:16px;font-weight:800}.kidomart-support-form select,.kidomart-support-form textarea{width:100%;min-height:48px;box-sizing:border-box;padding:10px 14px;border:1px solid var(--kidomart-border);border-radius:12px;background:#fff;color:var(--kidomart-ink);font:500 14px/1.8 Vazirmatn,Tahoma,sans-serif}.kidomart-support-form textarea{min-height:150px;resize:vertical}
.kidomart-support-primary{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:10px 24px;border:0;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-ink);font:800 14px/1.6 Vazirmatn,Tahoma,sans-serif;text-align:center;text-decoration:none;cursor:pointer}
.kidomart-support :focus-visible{outline:3px solid var(--kidomart-green);outline-offset:3px}
.kidomart-order-events{list-style:none;margin:0;padding:0}.kidomart-order-events li{display:flex;flex-direction:column;gap:2px;border-inline-start:2px solid var(--kidomart-green);padding:2px 12px 14px;margin:0 4px}.kidomart-order-events li:last-child{padding-bottom:2px}.kidomart-order-events strong{font-size:13px}.kidomart-order-events time{font-size:12px;color:var(--kidomart-muted)}
@media(max-width:600px){.kidomart-support-page{padding:24px 16px 112px}.kidomart-support-intro{margin-bottom:16px}.kidomart-support-intro h1{font-size:22px}.kidomart-support-card{padding:18px;margin-bottom:12px}.kidomart-support-card h2{font-size:16px}.kidomart-support-card p{font-size:13px}.kidomart-support-primary{width:100%;box-sizing:border-box}}
@media(prefers-reduced-motion:reduce){.kidomart-support-link-card{transition:none}.kidomart-support-link-card:hover{transform:none}}
@media(max-width:900px){.woocommerce-account.logged-in .kidomart-footer{display:none}}
:root{
	--kidomart-green:#1d5b3e;
	--kidomart-yellow:#efbf4d;
	--kidomart-cream:#fff8ec;
	--kidomart-warm:#fde6d4;
	--kidomart-butter:#fff0c9;
	--kidomart-soft-green:#e3f0db;
	--kidomart-ink:#28523d;
	--kidomart-muted:#52685a;
	--kidomart-border:#e8dfd1;
	--kidomart-error:#a43a36;
	--kidomart-radius:20px
}

/* Product detail: shared price/badge primitives with native WooCommerce forms. */
.kidomart-detail{max-width:1200px;margin:0 auto;padding:24px 0;min-width:0}
.kidomart-detail-breadcrumb{font-size:12px;color:var(--kidomart-muted);margin-bottom:16px}
.kidomart-detail-top{display:grid;grid-template-columns:minmax(0,610fr) minmax(0,542fr);gap:48px;direction:ltr;align-items:start}
.kidomart-detail-top>*{direction:rtl;min-width:0}
.kidomart-detail-gallery{position:relative;background:var(--kidomart-warm);border-radius:var(--kidomart-radius);overflow:hidden}
.kidomart-detail-gallery [data-product-badge]{position:absolute;z-index:3;top:16px;right:16px}
.kidomart-detail-gallery .kidomart-product-badge{position:static;max-width:none;width:max-content;white-space:nowrap}
.kidomart-detail-gallery .woocommerce-product-gallery{width:100%;margin:0;float:none}
.kidomart-detail-gallery .woocommerce-product-gallery__image img,.kidomart-detail-gallery .woocommerce-product-gallery__image--placeholder img{display:block;width:100%;height:auto;aspect-ratio:610/552;object-fit:contain}
.kidomart-detail-gallery .flex-control-nav{display:flex;gap:8px;list-style:none;margin:8px 16px 16px;padding:0;flex-wrap:wrap}
.kidomart-detail-gallery .flex-control-nav li{width:60px;max-width:20%}
.kidomart-detail-gallery .flex-control-nav img{width:100%;height:auto;cursor:pointer;border-radius:12px}
.kidomart-detail-gallery .woocommerce-product-gallery__trigger{position:absolute;top:16px;left:16px;z-index:4;background:white;border-radius:16px;padding:4px 10px}
.kidomart-detail-gallery--multi .flex-control-nav,.kidomart-detail-gallery--multi .woocommerce-product-gallery__trigger{display:none!important}
.kidomart-gallery-count,.kidomart-gallery-all{position:absolute;z-index:5;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:0 10px;border:1px solid var(--kidomart-border);border-radius:16px;background:#fff;color:var(--kidomart-ink);font:600 12px/18px Vazirmatn,Tahoma,sans-serif;white-space:nowrap}
.kidomart-gallery-count{top:18px;right:18px}.kidomart-detail-gallery--badge .kidomart-gallery-count{right:auto;left:18px}
.kidomart-gallery-count img,.kidomart-gallery-all img{flex:none;width:16px;height:16px}
.kidomart-gallery-count__mobile{display:none}
.kidomart-gallery-all{bottom:18px;left:18px;cursor:pointer}
.kidomart-gallery-all:hover{border-color:var(--kidomart-green)}
.kidomart-gallery-pagination{position:absolute;z-index:5;bottom:11px;left:50%;display:flex;direction:rtl;align-items:center;justify-content:center;transform:translateX(-50%);max-width:55%;overflow-x:auto;scrollbar-width:none}
.kidomart-gallery-pagination::-webkit-scrollbar{display:none}
.kidomart-gallery-pagination button{position:relative;flex:none;width:28px;height:28px;padding:0;border:0;background:transparent;cursor:pointer}
.kidomart-gallery-pagination button::after{content:'';position:absolute;top:50%;left:50%;width:6px;height:6px;border-radius:4px;background:#e8dfd1;transform:translate(-50%,-50%);transition:width 160ms,background-color 160ms}
.kidomart-gallery-pagination button[aria-current=true]::after{width:14px;background:var(--kidomart-yellow)}
.kidomart-gallery-pagination button:focus-visible,.kidomart-gallery-all:focus-visible{outline:3px solid var(--kidomart-green);outline-offset:2px}
.kidomart-detail .summary{float:none;width:auto;margin:0}
.kidomart-detail .product_title{font-size:22px;line-height:32px;font-weight:800;margin:0 0 8px;overflow-wrap:anywhere}
.kidomart-detail-age,.kidomart-delivery-note{font-size:13px;color:var(--kidomart-muted)}
.kidomart-delivery-note{display:flex;align-items:center;gap:8px}.kidomart-delivery-note img{flex:none}
.woocommerce .kidomart-cart-layout .cart_totals .shop_table_responsive th{display:table-cell;width:50%;text-align:right}.woocommerce .kidomart-cart-layout .cart_totals .shop_table_responsive td{display:table-cell;width:50%;text-align:left}.woocommerce .kidomart-cart-layout .cart_totals .shop_table_responsive td:before{display:none}
.kidomart-purchase{background:white;border:1px solid var(--kidomart-border);border-radius:20px;padding:18px;margin:24px 0 16px;display:flex;flex-direction:column;gap:12px}
.kidomart-purchase form.cart{margin:0;display:flex;flex-wrap:wrap;gap:12px;align-items:center}
.kidomart-purchase .variations_form{display:block!important}
.kidomart-purchase .variations{width:100%;border:0;margin-bottom:16px}
.kidomart-purchase .variations th,.kidomart-purchase .variations td{border:0;text-align:right;display:block;padding:4px 0}
.kidomart-purchase select{width:100%;min-height:44px;padding:8px 12px;border:1px solid var(--kidomart-border);border-radius:12px;background:white;font:inherit;color:inherit}
.kidomart-purchase .quantity{display:inline-flex;align-items:center}
.kidomart-purchase .quantity input{width:84px;min-height:44px;border:1px solid var(--kidomart-border);border-radius:12px;text-align:center;font:inherit;color:inherit;background:white}
.kidomart-purchase .kidomart-color-row th{padding-bottom:2px}
.kidomart-purchase .kidomart-color-row td{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.kidomart-purchase .kidomart-color-native{position:absolute;width:1px;height:1px;min-height:0;padding:0;margin:0;opacity:0;pointer-events:none}
.kidomart-color-choices{display:flex;align-items:center;gap:8px;flex-wrap:wrap;direction:rtl}
.kidomart-color-choice{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:78px;min-height:44px;padding:6px 9px;border:1px solid var(--kidomart-border);border-radius:14px;background:#fff;color:var(--kidomart-ink);font:600 11px/18px Vazirmatn,Tahoma,sans-serif;cursor:pointer}
.kidomart-color-choice[aria-pressed=true]{border:2px solid var(--kidomart-yellow);padding:5px 8px}
.kidomart-color-choice:disabled{opacity:.45;cursor:not-allowed}
.kidomart-color-choice__swatch{display:inline-block;flex:none;width:18px;height:18px;border-radius:50%;border:1px solid rgb(0 0 0 / 8%)}
.kidomart-color-choice__swatch--red{background:#e94b5b}.kidomart-color-choice__swatch--blue{background:#4fc2cf}.kidomart-color-choice__swatch--yellow{background:#f4bf44}.kidomart-color-choice__swatch--green{background:#4f9d68}.kidomart-color-choice__swatch--pink{background:#ec9eb5}.kidomart-color-choice__swatch--orange{background:#ef9445}.kidomart-color-choice__swatch--purple{background:#9b76b6}.kidomart-color-choice__swatch--black{background:#313738}.kidomart-color-choice__swatch--white{background:#fff;border-color:#bcc8bd}.kidomart-color-choice__swatch--brown{background:#946b4b}.kidomart-color-choice__swatch--gray{background:#929da1}
.kidomart-quantity-control{display:inline-flex;align-items:center;gap:10px;direction:rtl;flex:none}
.kidomart-quantity-control__label{color:var(--kidomart-ink);font-size:14px;font-weight:600;line-height:22px}
.kidomart-purchase .kidomart-quantity-stepper{display:inline-flex;align-items:center;justify-content:space-between;width:126px;height:44px;padding:0 10px;border:1px solid var(--kidomart-border);border-radius:12px;background:#fff;direction:rtl}
.kidomart-purchase .kidomart-quantity-stepper input.qty{width:26px;min-width:0;min-height:0;height:34px;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;appearance:textfield;-moz-appearance:textfield;color:var(--kidomart-ink);font-size:14px;font-weight:500;line-height:24px}
.kidomart-quantity-stepper input.qty::-webkit-inner-spin-button,.kidomart-quantity-stepper input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.kidomart-purchase .kidomart-quantity-stepper button{position:relative;flex:none;width:40px;height:42px;min-width:40px;min-height:42px;padding:0;border:0;border-radius:4px;background:transparent;color:var(--kidomart-yellow);cursor:pointer}
.kidomart-quantity-stepper button::before,.kidomart-quantity-stepper__increase::after{content:'';position:absolute;left:50%;top:50%;width:12px;height:2px;transform:translate(-50%,-50%);border-radius:1px;background:currentColor}
.kidomart-quantity-stepper__increase::after{width:2px;height:12px}
.kidomart-purchase .kidomart-quantity-stepper button:disabled{opacity:.4;background:transparent;cursor:not-allowed}
.kidomart-purchase .kidomart-color-row .reset_variations{display:none!important}
.kidomart-purchase .single_add_to_cart_button{flex:1;min-height:44px;padding:12px 16px;white-space:normal}
.kidomart-detail--added .single_add_to_cart_button[hidden],.kidomart-detail--added .kidomart-purchase-dock{display:none!important}
.kidomart-purchase .kidomart-view-cart-action{display:inline-flex;align-items:center;justify-content:center;flex:1;min-height:48px;padding:12px 20px;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-ink);font-size:14px;font-weight:700;text-align:center;text-decoration:none}
.kidomart-purchase .kidomart-view-cart-action:hover{background:#e9ae35;color:var(--kidomart-ink)}
.kidomart-detail .woocommerce-notices-wrapper:empty{display:none}
.kidomart-detail .woocommerce-notices-wrapper{margin:0 0 16px}
.kidomart-detail .kidomart-purchase>.woocommerce-notices-wrapper{margin:0}
.woocommerce .kidomart-detail .woocommerce-notices-wrapper .woocommerce-message:has(.kidomart-add-feedback){margin:0;padding:0;border:0;border-radius:12px;background:#e3f0db;box-shadow:none;color:var(--kidomart-ink)}
.woocommerce .kidomart-detail .woocommerce-notices-wrapper .woocommerce-message:has(.kidomart-add-feedback)::before{display:none}
.woocommerce .kidomart-detail .woocommerce-notices-wrapper .woocommerce-message:has(.kidomart-add-feedback):focus{outline:none}
.kidomart-add-feedback{display:flex;flex-direction:column;gap:4px;padding:16px 18px;min-width:0}
.kidomart-add-feedback strong{font-size:18px;line-height:28px;font-weight:700}
.kidomart-add-feedback span{font-size:14px;line-height:22px;overflow-wrap:anywhere}
.kidomart-add-feedback a{align-self:flex-start;display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:8px;padding:8px 20px;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-ink);font-weight:700;text-decoration:none}
.kidomart-detail--added .kidomart-add-feedback a{display:none}
.kidomart-purchase .single_variation_wrap .woocommerce-variation-price,.kidomart-purchase .stock.in-stock{display:none}
.kidomart-purchase .woocommerce-variation-add-to-cart{display:flex;gap:12px;flex-wrap:wrap}
.kidomart-purchase [data-product-price]{min-height:40px}
.kidomart-purchase.kidomart-enhanced-variations{padding:0;border:0;background:transparent}
.kidomart-purchase.kidomart-enhanced-variations .variations_form{display:flex!important;flex-direction:column;align-items:stretch;gap:12px}
.kidomart-enhanced-variations .variations{box-sizing:border-box;border:1px solid var(--kidomart-border);border-radius:20px;padding:14px 18px 16px;margin:0;background:#fff}
.kidomart-enhanced-variations .single_variation_wrap{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:18px;min-height:136px;padding:18px;border:1px solid var(--kidomart-border);border-radius:20px;background:#fff}
.kidomart-enhanced-variations .single_variation_wrap .single_variation{display:none}
.kidomart-enhanced-variations .single_variation_wrap [data-product-price]{flex:none;min-width:150px}
.kidomart-enhanced-variations .single_variation_wrap .woocommerce-variation-add-to-cart{flex:1;min-width:0}
.kidomart-enhanced-variations .single_variation_wrap .single_add_to_cart_button{width:100%;min-height:48px}
.kidomart-detail-panel{background:white;border-radius:20px;padding:24px;margin-top:24px;min-width:0;overflow-wrap:anywhere}
.kidomart-detail-panel h2{font-size:18px;line-height:28px;margin:0 0 12px}
.kidomart-detail-information{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}
.kidomart-detail-panel dl{margin:0}.kidomart-detail-panel dl>div{display:flex;gap:8px;flex-wrap:wrap}.kidomart-detail-panel dd{margin:0}
.kidomart-detail-panel img{max-width:100%;height:auto}
.kidomart-detail a:focus-visible,.kidomart-detail button:focus-visible,.kidomart-detail select:focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:3px}
.kidomart-purchase-dock{display:none}.kidomart-purchase-dock[hidden]{display:none!important}
.kidomart-rating{display:flex;gap:6px;align-items:center;font-size:13px;margin:8px 0}.kidomart-rating>span:first-child{color:#f5b800;font-size:18px}.kidomart-rating small{color:var(--kidomart-muted)}
.woocommerce .kidomart-cart-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,358px);gap:48px;align-items:start;max-width:1200px;margin:24px auto}
.woocommerce .kidomart-cart-layout form,.woocommerce .kidomart-cart-layout .cart-collaterals,.woocommerce .kidomart-cart-layout .cart_totals{width:100%;float:none;min-width:0}
.woocommerce .kidomart-cart-layout .cart thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.woocommerce .kidomart-cart-layout .cart,.woocommerce .kidomart-cart-layout .cart tbody{display:block;width:100%;border:0;margin:0}
.woocommerce .kidomart-cart-layout .cart tbody{display:flex;flex-direction:column;gap:4px}
.woocommerce .kidomart-cart-layout .cart tr.cart_item{display:grid;direction:rtl;grid-template-columns:100px minmax(0,1fr) auto;grid-template-rows:repeat(4,auto);column-gap:24px;row-gap:8px;align-items:start;padding:24px;border:1px solid var(--kidomart-border);border-radius:18px;background:#fff}
.woocommerce .kidomart-cart-layout .cart td{display:block;border:0;padding:0;text-align:right!important;min-width:0;font-size:12px}
.woocommerce .kidomart-cart-layout .cart .product-thumbnail{grid-column:1;grid-row:1/5;align-self:center}.woocommerce .kidomart-cart-layout .product-thumbnail img{display:block;width:100px;height:100px;object-fit:contain;background:var(--kidomart-warm);border-radius:12px}
.woocommerce .kidomart-cart-layout .cart .product-name{grid-column:2/4;grid-row:1;font-weight:700;font-size:18px;line-height:28px;overflow-wrap:anywhere}
.woocommerce .kidomart-cart-layout .cart .product-name a{color:var(--kidomart-ink);text-decoration:none}
.woocommerce .kidomart-cart-layout .kidomart-cart-item-option{margin:4px 0 0;color:var(--kidomart-muted);font-size:12px;line-height:17px;font-weight:500}
.woocommerce .kidomart-cart-layout .cart .product-price{grid-column:3;grid-row:2;justify-self:end;font-size:14px;font-weight:700;white-space:nowrap}
.woocommerce .kidomart-cart-layout .cart .product-quantity{grid-column:2;grid-row:2;justify-self:start}
.woocommerce .kidomart-cart-layout .cart .product-subtotal{grid-column:2/4;grid-row:3;font-size:12px;line-height:20px}
.woocommerce .kidomart-cart-layout .cart .product-remove{grid-column:2/4;grid-row:4;display:flex;align-items:center;gap:8px}
.woocommerce .kidomart-cart-layout .kidomart-cart-quantity{display:inline-flex;direction:ltr;align-items:center;justify-content:space-between;width:96px;height:34px;padding:0 6px;border:1px solid var(--kidomart-border);border-radius:12px;background:#fff}
.woocommerce .kidomart-cart-layout .kidomart-cart-quantity .quantity{float:none;margin:0;flex:1;min-width:0}
.woocommerce .kidomart-cart-layout .kidomart-cart-quantity input.qty{display:block;width:26px!important;min-width:0;height:30px;min-height:0;padding:0;border:0;box-shadow:none;background:transparent;color:var(--kidomart-ink);font:500 12px/18px Vazirmatn,Tahoma,sans-serif;text-align:center;appearance:textfield;-moz-appearance:textfield}
.kidomart-cart-quantity input.qty::-webkit-inner-spin-button,.kidomart-cart-quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
.woocommerce .kidomart-cart-layout .kidomart-cart-quantity__step{width:22px;height:30px;min-width:22px;padding:0;border:0;background:transparent;color:var(--kidomart-yellow);font:500 20px/1 Vazirmatn,Tahoma,sans-serif;cursor:pointer}
.woocommerce .kidomart-cart-layout .kidomart-cart-quantity__step:disabled{opacity:.35;cursor:not-allowed}
.woocommerce .kidomart-cart-layout a.remove,.woocommerce .kidomart-cart-layout .kidomart-change-option{display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-height:40px;border-radius:12px;background:var(--kidomart-soft-green)!important;color:var(--kidomart-ink)!important;padding:8px 16px;font-size:12px!important;font-weight:700;text-decoration:none}
.woocommerce .kidomart-cart-layout .kidomart-change-option{float:none;margin:0}.woocommerce .kidomart-cart-layout dl.variation{font-size:12px;line-height:20px;font-weight:500;color:var(--kidomart-muted);margin:4px 0 0}.woocommerce .kidomart-cart-layout dl.variation dt,.woocommerce .kidomart-cart-layout dl.variation dd{display:inline;margin:0 4px}
.woocommerce .kidomart-cart-layout .cart tr:has(.actions){background:transparent;border:0;display:block}.woocommerce .kidomart-cart-layout .actions .coupon{display:none}
.woocommerce .kidomart-cart-layout .cart_totals{padding:20px;background:white;border:1px solid var(--kidomart-border);border-radius:24px;position:sticky;top:24px}
.woocommerce .kidomart-cart-layout .cart_totals h2{font-size:18px}.woocommerce .kidomart-cart-layout .cart_totals table{width:100%;border:0}.woocommerce .kidomart-cart-layout .cart_totals th,.woocommerce .kidomart-cart-layout .cart_totals td{border:0;padding:10px 0;font-size:13px;text-align:right}
.woocommerce .kidomart-cart-layout .cart_totals td{text-align:left}.woocommerce .kidomart-cart-layout .checkout-button{width:100%;text-align:center;margin:12px 0 0}
.woocommerce .kidomart-cart-layout [aria-busy=true]{opacity:.5}.kidomart-cart-status button{min-height:44px;background:var(--kidomart-soft-green);border:0;border-radius:12px;font:inherit;padding:8px 16px}
@media(max-width:800px){.woocommerce .kidomart-cart-layout{display:flex;flex-direction:column;gap:16px;margin:16px 0}.woocommerce .kidomart-cart-layout>*{width:100%}.woocommerce .kidomart-cart-layout .cart tbody{gap:16px}.woocommerce .kidomart-cart-layout .cart tr.cart_item{grid-template-columns:100px minmax(0,1fr);padding:16px;gap:8px 14px;border-radius:12px}.woocommerce .kidomart-cart-layout .cart .product-name{grid-column:2;grid-row:1;font-size:15px;line-height:21px}.woocommerce .kidomart-cart-layout .cart .product-price{grid-column:2;grid-row:2;justify-self:end;font-size:14px}.woocommerce .kidomart-cart-layout .cart .product-quantity{grid-column:2;grid-row:2;justify-self:start}.woocommerce .kidomart-cart-layout .cart .product-subtotal{grid-column:2;grid-row:3}.woocommerce .kidomart-cart-layout .cart .product-remove{grid-column:2;grid-row:4}.woocommerce .kidomart-cart-layout .cart .product-thumbnail{display:block!important;grid-row:1/5}.woocommerce .kidomart-cart-layout .cart td:before{display:none!important}.woocommerce .kidomart-cart-layout .cart_totals{position:static}}
@media(max-width:360px){.woocommerce .kidomart-cart-layout .cart .product-quantity{grid-row:2}.woocommerce .kidomart-cart-layout .cart .product-price{grid-row:3;justify-self:start}.woocommerce .kidomart-cart-layout .cart .product-subtotal{grid-row:4}.woocommerce .kidomart-cart-layout .cart .product-remove{grid-row:5;flex-wrap:wrap}.woocommerce .kidomart-cart-layout .cart .product-thumbnail{grid-row:1/6}}
@media(max-width:800px){.woocommerce-cart .kidomart-cart-page__heading{margin:8px 0 16px}.woocommerce-cart .kidomart-cart-page__heading h1{font-size:24px;line-height:34px}.woocommerce-cart .kidomart-cart-page__heading p{font-size:13px;line-height:18px}}
.kidomart-detail-panel .commentlist{list-style:none;padding:0}.kidomart-detail-panel .commentlist>li{border-bottom:1px solid var(--kidomart-border);padding:16px 0}
.kidomart-detail-panel .comment-text{margin:0}.kidomart-detail-panel .avatar{display:none}.kidomart-detail-panel label{display:block;margin-bottom:8px}
.woocommerce .kidomart-detail-panel #reviews{color:var(--kidomart-ink)}
.woocommerce .kidomart-detail-panel #reviews .woocommerce-Reviews-title{display:flex;align-items:center;gap:10px;margin:0 0 20px;font-size:20px;line-height:1.7;font-weight:800}
.kidomart-review-count{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:30px;padding-inline:6px;box-sizing:border-box;border-radius:10px;background:var(--kidomart-soft-green);color:var(--kidomart-green);font-size:13px;line-height:1}
.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist{display:grid;gap:12px;margin:0;padding:0;list-style:none}
.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist>li{margin:0;padding:0;border:0}
.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment_container{min-width:0}
.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment-text{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px 20px;min-width:0;margin:0;padding:18px 20px;border:1px solid #e9dfd1;border-radius:16px;background:#fffdf9;box-shadow:0 4px 16px #5843260a;text-align:right}
.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment-text .star-rating{grid-column:2;grid-row:1;float:none;margin:4px 0 0;color:#d9d1c2}
.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment-text .star-rating::before{color:#d9d1c2}
.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment-text .star-rating span::before{color:#f5b800}
.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment-text .meta{grid-column:1;grid-row:1;display:flex;align-items:center;flex-wrap:wrap;gap:4px 10px;min-width:0;margin:0;color:var(--kidomart-ink);font-size:13px;line-height:24px}
.woocommerce .kidomart-detail-panel #reviews .woocommerce-review__author{color:var(--kidomart-ink);font-size:14px;font-weight:800}
.woocommerce .kidomart-detail-panel #reviews .woocommerce-review__verified{display:inline-flex;align-items:center;min-height:24px;padding:2px 8px;border-radius:7px;background:var(--kidomart-soft-green);color:var(--kidomart-green);font-size:11px;font-style:normal;font-weight:700;line-height:20px}
.woocommerce .kidomart-detail-panel #reviews .woocommerce-review__published-date{flex-basis:100%;color:#746f66;font-size:12px;line-height:20px;font-weight:500}
.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment-text .description{grid-column:1/-1;padding-top:12px;border-top:1px solid #eee7dc;color:var(--kidomart-ink);font-size:14px;line-height:1.9}
.woocommerce .kidomart-detail-panel #reviews .description p{margin:0;overflow-wrap:anywhere}
.woocommerce .kidomart-detail-panel #reviews .woocommerce-verification-required{margin:18px 0 0;color:#655f54;font-size:13px;line-height:1.9}
.woocommerce .kidomart-detail-panel #reviews .woocommerce-noreviews{margin:0;color:#655f54;font-size:14px;line-height:1.9}
.woocommerce .kidomart-detail-panel #reviews #review_form_wrapper{margin-top:24px}
.woocommerce .kidomart-detail-panel #reviews #review_form .stars a{color:#d69e00}
@media(max-width:600px){.woocommerce .kidomart-detail-panel #reviews .woocommerce-Reviews-title{margin-bottom:16px;font-size:17px}.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment-text{gap:10px 12px;padding:14px;border-radius:14px}.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment-text .meta{gap:4px 8px}.woocommerce .kidomart-detail-panel #reviews .woocommerce-review__verified{font-size:10px}.woocommerce .kidomart-detail-panel #reviews #comments ol.commentlist li .comment-text .description{padding-top:10px}}
.kidomart-detail-panel input:not([type=submit]),.kidomart-detail-panel textarea,.kidomart-detail-panel select{max-width:100%;width:100%;min-height:44px;border:1px solid var(--kidomart-border);border-radius:12px;padding:12px;font:inherit;background:white;color:inherit}
.kidomart-detail-panel textarea{min-height:144px}.kidomart-detail-panel .submit{min-height:44px;background:var(--kidomart-yellow);color:var(--kidomart-ink);border:0;border-radius:12px;padding:12px 24px;font:inherit}
.kidomart-purchase button:disabled{background:var(--kidomart-border);cursor:not-allowed;opacity:.7}
@media(max-width:800px){
 .kidomart-detail{padding:8px 0 24px}.kidomart-detail-top{display:flex;flex-direction:column;gap:16px}
 .kidomart-detail-top>*{width:100%}.kidomart-detail-gallery .woocommerce-product-gallery__image img,.kidomart-detail-gallery .woocommerce-product-gallery__image--placeholder img{aspect-ratio:358/276}
 .kidomart-gallery-count{top:14px;right:14px;font-size:12px}.kidomart-detail-gallery--badge .kidomart-gallery-count{right:auto;left:14px}
 .kidomart-gallery-count__desktop,.kidomart-gallery-all{display:none}.kidomart-gallery-count__mobile{display:inline}
 .kidomart-gallery-pagination{bottom:6px;max-width:75%}
 .kidomart-purchase{padding:16px;margin:16px 0}.kidomart-detail-panel{padding:16px;margin-top:16px}
 .kidomart-purchase .kidomart-color-row td{align-items:flex-start;flex-direction:column;gap:12px}
 .kidomart-enhanced-variations .variations{padding:14px 16px 16px}
 .kidomart-enhanced-variations .single_variation_wrap{min-height:0;flex-direction:column;align-items:stretch;gap:12px;padding:16px}
 .kidomart-enhanced-variations .single_variation_wrap [data-product-price]{align-self:flex-start;min-width:0}
 .kidomart-purchase form.cart:not(.variations_form){flex-direction:column;align-items:stretch}
 .kidomart-purchase form.cart:not(.variations_form) .kidomart-quantity-control{align-self:flex-start}
 .kidomart-purchase form.cart:not(.variations_form) .single_add_to_cart_button{width:100%;flex:auto}
 .kidomart-detail-information{display:flex;flex-direction:column;gap:0}
 .kidomart-detail{padding-bottom:100px}
 .kidomart-purchase-dock{position:fixed;bottom:calc(72px + env(safe-area-inset-bottom));right:0;left:0;z-index:35;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:white;border:1px solid var(--kidomart-border);min-height:76px}
 .kidomart-purchase-dock>*{min-width:0}.kidomart-purchase-dock button{min-height:44px;flex:0 0 auto}
 .kidomart-purchase-dock .kidomart-product-card__price{font-size:13px}.kidomart-purchase-dock p{margin:0}
 .kidomart-detail:has(.kidomart-purchase-dock:not([hidden])){padding-bottom:120px}
}
*,*::before,*::after{
	box-sizing:border-box
}
body{
	margin:0;
	background:var(--kidomart-cream);
	color:var(--kidomart-ink);
	font-family:Vazirmatn,Tahoma,sans-serif;
	font-weight:500;
	font-size:14px;
	line-height:1.7
}
a{
	color:var(--kidomart-green);
	text-decoration:none
}
.woocommerce a{text-decoration:none}
img{
	max-width:100%;
	height:auto
}
button,input,select,textarea{
	font:inherit
}
button,a,summary{
	-webkit-tap-highlight-color:transparent
}
a:focus-visible,button:focus-visible,input:focus-visible,summary:focus-visible,select:focus-visible{
	outline:3px solid var(--kidomart-green);
	outline-offset:4px
}
h1,h2,h3,p{
	margin-block-start:0
}
h1{
	font-size:28px;
	line-height:1.5
}
h2{
	font-size:22px;
	line-height:1.55
}
.screen-reader-text,.kidomart-skip-link:not(:focus){
	border:0;
	clip-path:inset(50%);
	height:1px;
	width:1px;
	overflow:hidden;
	position:absolute;
	white-space:nowrap
}
.kidomart-skip-link:focus{
	position:fixed;
	z-index:1000;
	inset-block-start:8px;
	inset-inline-start:8px;
	background:#fff;
	padding:12px
}
.kidomart-header{
	background:#fff;
	border:1px solid var(--kidomart-border);
	position:relative;
	z-index:30
}
.kidomart-header__inner{
	width:min(100% - 64px,1344px);
	margin-inline:auto;
	min-height:86px;
	display:flex;
	align-items:center;
	gap:24px
}
.kidomart-brand{
	flex:0 0 46px;
	display:flex;
	align-items:center
}
.kidomart-brand img{
	width:46px;
	height:46px;
	object-fit:contain
}
.kidomart-menu{
	display:flex;
	align-items:center;
	gap:24px;
	list-style:none;
	margin:0;
	padding:0
}
.kidomart-menu a{
	display:flex;
	align-items:center;
	min-height:44px;
	text-decoration:none
}
.kidomart-category-entry{display:inline-flex;align-items:center;min-height:44px;white-space:nowrap;color:var(--kidomart-ink);font-size:14px;font-weight:700;text-decoration:none}
.kidomart-category-entry:hover,.kidomart-category-entry[aria-current=page]{color:var(--kidomart-yellow)}
.kidomart-menu .current-menu-item>a{
	color:var(--kidomart-yellow);
	font-weight:800
}
.kidomart-menu .sub-menu{
	list-style:none;
	padding-inline-start:16px
}
.kidomart-header details{
	position:relative
}
.kidomart-header summary{
	cursor:pointer;
	min-height:44px;
	display:flex;
	align-items:center;
	gap:8px
}
.kidomart-header summary::after{
	content:'⌄';
	font-size:16px
}
.kidomart-header summary::-webkit-details-marker{
	display:none
}
.kidomart-category-link{
	display:block;
	min-height:44px;
	padding:8px 12px;
	text-decoration:none
}
.kidomart-category-link.is-child{
	padding-inline-start:28px
}
.kidomart-category-link[aria-current]{
	background:var(--kidomart-soft-green);
	border-radius:10px;
	font-weight:700
}
.kidomart-search{
	margin-inline-start:auto;
	display:flex;
	flex-direction:row-reverse;
	align-items:center;
	min-width:180px;
	width:290px;
	height:48px;
	background:var(--kidomart-soft-green);
	border:1px solid var(--kidomart-border);
	border-radius:14px;
	overflow:visible
}
.kidomart-search input{
	min-width:0;
	width:100%;
	background:transparent;
	border:0;
	color:var(--kidomart-ink);
	padding:10px 14px;
	font-size:12px
}
.kidomart-search input::placeholder{
	color:var(--kidomart-muted);
	opacity:1
}
.kidomart-search button{
	display:grid;
	place-items:center;
	flex:0 0 44px;
	height:44px;
	border:0;
	background:transparent;
	cursor:pointer
}
.kidomart-search button img{
	width:20px;
	height:20px
}
.kidomart-header-actions{
	display:flex;
	gap:8px
}
.kidomart-header-actions a{
	display:block;
	width:44px;
	height:44px;
	flex-shrink:0
}
.kidomart-header-actions img{
	width:44px;
	height:44px
}
.kidomart-mobile-menu,.kidomart-bottom-nav{
	display:none
}
.kidomart-main,.kidomart-footer__inner{
	width:min(100% - 32px,1248px);
	margin-inline:auto
}
.kidomart-main{
	padding-block:32px 64px;
	min-height:45vh
}
.kidomart-home{
	padding-block-start:16px
}
.kidomart-hero{
	position:relative;
	isolation:isolate;
	min-height:430px;
	display:flex;
	align-items:center;
	justify-content:flex-end;
	padding:48px;
	border-radius:32px;
	overflow:hidden
}
.kidomart-hero picture{
	position:absolute;
	inset:0;
	z-index:-1
}
.kidomart-hero picture img{
	width:100%;
	height:100%;
	object-fit:cover
}
.kidomart-hero__copy{
	width:520px;
	max-width:100%;
	padding:32px 40px;
	background:#fde6d4eb;
	border-radius:22px
}
.kidomart-hero h1{
	font-size:32px;
	line-height:1.5;
	font-weight:800;
	max-width:420px;
	white-space:pre-line;
	margin-block-end:12px;
	margin-inline-start:auto
}
.kidomart-hero p{
	color:var(--kidomart-muted);
	font-size:14px;
	margin-block-end:16px
}
.kidomart-button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:46px;
	border:0;
	border-radius:14px;
	background:var(--kidomart-yellow);
	color:var(--kidomart-ink);
	font:inherit;
	font-weight:700;
	padding:10px 22px;
	text-decoration:none;
	cursor:pointer
}
.kidomart-discovery{
	margin-block:24px;
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:24px;
	background:var(--kidomart-warm);
	border:1px solid var(--kidomart-border);
	border-radius:20px;
	padding:20px 24px
}
.kidomart-discovery h2{
	margin-block-end:4px
}
.kidomart-discovery p{
	margin:0;
	font-size:12px
}
.kidomart-discovery__links{
	display:flex;
	gap:8px;
	flex-wrap:wrap
}
.kidomart-chip{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	min-height:44px;
	padding:8px 20px;
	background:#fff;
	border:1px solid var(--kidomart-border);
	border-radius:18px;
	text-decoration:none;
	font-size:12px
}
.kidomart-chip.is-current{
	background:var(--kidomart-soft-green);
	border-color:var(--kidomart-yellow);
	font-weight:700
}
.kidomart-audience{
	display:flex;
	gap:8px;
	max-width:600px
}
.kidomart-audience a{
	flex:1
}
.kidomart-section-heading{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	margin-block-end:24px
}
.kidomart-section-heading h2{
	margin:0
}
.kidomart-section-heading a{
	color:var(--kidomart-yellow);
	font-size:14px;
	font-weight:500;
	min-height:44px;
	display:flex;
	align-items:center;
	white-space:nowrap;
	text-decoration:none
}
.kidomart-home-products{
	margin-block-end:48px
}
.kidomart-product-grid,.woocommerce ul.products{
	display:grid!important;
	grid-template-columns:repeat(4,minmax(0,1fr));
	gap:28px;
	list-style:none;
	margin:0!important;
	padding:0!important
}
.woocommerce ul.products::before,.woocommerce ul.products::after{
	display:none!important
}
.kidomart-product-grid li,.woocommerce ul.products li.product{
	float:none!important;
	width:auto!important;
	margin:0!important;
	min-width:0
}
.kidomart-product-card{
	display:flex;
	flex-direction:column;
	height:100%;
	overflow:hidden;
	background:#fff;
	border:1px solid var(--kidomart-border);
	border-radius:20px;
	text-decoration:none;
	color:var(--kidomart-ink)
}
.kidomart-product-card__visual{
	height:176px;
	display:flex;
	align-items:center;
	justify-content:center;
	background:var(--kidomart-butter)
}
.kidomart-product-grid li:nth-child(even) .kidomart-product-card__visual,.woocommerce ul.products li:nth-child(even) .kidomart-product-card__visual{
	background:var(--kidomart-warm)
}
.kidomart-product-card__visual img,.woocommerce ul.products li.product .kidomart-product-card__visual img{
	width:100%;
	height:100%;
	object-fit:contain;
	margin:0
}
.kidomart-product-card__visual .kidomart-placeholder{
	padding:8px 18px
}
.kidomart-product-card__content{
	display:flex;
	flex-direction:column;
	flex:1;
	padding:14px;
	min-height:174px;
	gap:4px
}
.kidomart-product-card__title,.woocommerce ul.products li.product .kidomart-product-card__title{
	font-size:18px;
	line-height:28px;
	font-weight:700;
	overflow-wrap:anywhere;
	padding:0;
	margin:0 0 8px;
	min-height:56px
}
.kidomart-product-card__age,.kidomart-product-card__options,.kidomart-product-card__availability{
	font-size:12px;
	line-height:20px;
	margin:0;
	color:var(--kidomart-muted)
}
.kidomart-product-card__colors{display:flex;direction:rtl;align-items:center;gap:3px;min-height:28px;align-self:flex-start}
.kidomart-product-card__color{box-sizing:border-box;width:14px;height:14px;border:1px solid rgb(0 0 0 / 10%);border-radius:50%;background:var(--swatch)}
.kidomart-product-card__color--red{--swatch:#e87876}.kidomart-product-card__color--blue{--swatch:#72c6d5}.kidomart-product-card__color--yellow{--swatch:#efbf4d}.kidomart-product-card__color--green{--swatch:#4f9d68}.kidomart-product-card__color--pink{--swatch:#ec9eb5}.kidomart-product-card__color--orange{--swatch:#ef9445}.kidomart-product-card__color--purple{--swatch:#9b76b6}.kidomart-product-card__color--black{--swatch:#313738}.kidomart-product-card__color--white{--swatch:#fff}.kidomart-product-card__color--brown{--swatch:#946b4b}.kidomart-product-card__color--gray{--swatch:#929da1}
.kidomart-product-card__color-more{display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--kidomart-border);border-radius:50%;color:var(--kidomart-muted);font-size:11px;line-height:1}
.kidomart-product-card__price{
	font-size:18px;
	font-weight:700;
	line-height:28px;
	margin-block-start:auto;
	padding-block-start:8px;
	color:var(--kidomart-green);
	overflow-wrap:anywhere
}
.kidomart-product-card__availability.is-unavailable{
	color:#a43a36
}
.kidomart-catalog-intro{
	display:flex;
	align-items:center;
	justify-content:space-between;
	gap:16px;
	margin-block-end:24px
}
.kidomart-catalog-intro h1{
	margin:0
}
.kidomart-catalog-intro--search{
	display:block;
	text-align:right;
	margin-block:8px 56px
}
.kidomart-catalog-intro--search h1{
	font-size:28px;
	line-height:42px;
	font-weight:800;
	margin:0 0 12px
}
.kidomart-catalog-intro--search p{
	font-size:14px;
	line-height:24px;
	color:var(--kidomart-muted);
	margin:0
}
.kidomart-catalog-layout{
	display:grid;
	grid-template-columns:240px minmax(0,1fr);
	gap:24px;
	margin-block-start:24px
}
.kidomart-category-rail{
	align-self:start;
	background:#fff;
	border:1px solid var(--kidomart-border);
	border-radius:20px;
	padding:20px 12px
}
.kidomart-category-rail h2{
	font-size:18px;
	padding-inline:12px
}
.kidomart-results{
	min-width:0
}
.woocommerce .kidomart-results .woocommerce-result-count{
	float:none;
	display:block;
	font-size:12px;
	margin-block:0 24px
}
.woocommerce nav.woocommerce-pagination{
	margin-block-start:32px
}
.woocommerce nav.woocommerce-pagination ul{
	border:0;
	display:flex;
	justify-content:center;
	gap:8px;
	flex-wrap:wrap
}
.woocommerce nav.woocommerce-pagination ul li{
	border:0
}
.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{
	min-width:44px;
	min-height:44px;
	display:grid;
	place-items:center;
	border:1px solid var(--kidomart-border);
	border-radius:12px;
	background:#fff
}
.woocommerce nav.woocommerce-pagination ul li span.current{
	background:var(--kidomart-soft-green);
	color:var(--kidomart-ink)
}
.kidomart-categories-page{box-sizing:border-box;min-height:calc(100dvh - 88px);padding-block:44px 80px}
.kidomart-categories-intro{text-align:right;margin:0 0 24px}
.kidomart-categories-intro h1{margin:0 0 4px;font-size:28px;line-height:42px;font-weight:800}
.kidomart-categories-intro p{margin:0;color:var(--kidomart-muted);font-size:14px;line-height:24px}
.kidomart-categories-all,.kidomart-categories-row{box-sizing:border-box;display:flex;direction:rtl;align-items:center;min-width:0;border:1px solid var(--kidomart-border);color:var(--kidomart-ink);text-decoration:none;transition:border-color 160ms,background-color 160ms}
.kidomart-categories-all:hover,.kidomart-categories-row:hover{border-color:var(--kidomart-green)}
.kidomart-categories-all:focus-visible,.kidomart-categories-row:focus-visible,.kidomart-category-entry:focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:3px}
.kidomart-categories-all{gap:16px;min-height:88px;padding:16px 24px;border-radius:20px;background:var(--kidomart-warm)}
.kidomart-categories-icon{display:grid;flex:none;place-items:center;width:34px;height:34px;border-radius:12px;background:var(--kidomart-warm);overflow:hidden}
.kidomart-categories-icon--all{width:48px;height:48px;background:#fff}
.kidomart-categories-icon img{display:block;width:24px;height:24px;object-fit:contain}
.kidomart-categories-icon--all img{width:20px;height:20px}
.kidomart-categories-icon img.wp-post-image{width:100%;height:100%;object-fit:cover}
.kidomart-categories-all__copy,.kidomart-categories-row__copy{display:flex;flex:1;flex-direction:column;justify-content:center;min-width:0;text-align:right}
.kidomart-categories-all__copy strong{font-size:18px;line-height:28px;font-weight:700}
.kidomart-categories-all__copy small{color:var(--kidomart-muted);font-size:12px;line-height:20px}
.kidomart-categories-chevron{display:block;flex:none;width:20px;height:20px;object-fit:contain}
.kidomart-categories-paths{margin-top:24px}
.kidomart-categories-paths h2{margin:0 0 16px;text-align:right;font-size:22px;line-height:34px;font-weight:800}
.kidomart-categories-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 24px}
.kidomart-categories-row{gap:12px;min-height:88px;padding:16px;border-radius:12px;background:#fff}
.kidomart-categories-row__copy strong{font-size:14px;line-height:24px;font-weight:500;overflow-wrap:anywhere}
.kidomart-categories-row__copy small{color:var(--kidomart-muted);font-size:11px;line-height:18px}
.kidomart-categories-empty{margin:0;color:var(--kidomart-muted);font-size:14px;line-height:24px}
@media(max-width:1199px){.kidomart-categories-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.kidomart-category-entry{display:none}.kidomart-categories-page{min-height:calc(100dvh - 96px);padding-block:24px 112px}.kidomart-categories-intro h1{font-size:26px;line-height:38px}.kidomart-categories-intro p{font-size:13px}.kidomart-categories-all{min-height:64px;padding:12px 16px}.kidomart-categories-icon--all{width:34px;height:34px}.kidomart-categories-all__copy strong{font-size:15px;line-height:24px}.kidomart-categories-all__copy small{font-size:11px;line-height:18px}.kidomart-categories-paths{margin-top:24px}.kidomart-categories-paths h2{font-size:17px;line-height:28px;margin-bottom:12px}.kidomart-categories-list{grid-template-columns:1fr;gap:12px}.kidomart-categories-row{min-height:64px;padding:12px 16px}.kidomart-categories-row__copy strong{font-size:14px}}
.kidomart-panel{
	background:#fff;
	border:1px solid var(--kidomart-border);
	border-radius:20px;
	padding:clamp(20px,5vw,48px)
}
.kidomart-footer{
	background:#fff;
	border-top:1px solid var(--kidomart-border)
}
.kidomart-footer__inner{
	display:flex;
	justify-content:space-between;
	gap:24px;
	padding-block:32px
}
.kidomart-footer strong{
	font-size:22px
}
.kidomart-footer p{
	font-size:12px;
	color:var(--kidomart-muted);
	margin:8px 0 0
}
.kidomart-footer nav>a{
	display:inline-flex;
	align-items:center;
	min-height:44px;
	margin-inline-start:20px
}
@media(max-width:1199px){
	.kidomart-header__inner{
		gap:16px;
		width:calc(100% - 32px)
	}
	.kidomart-menu{
		gap:12px
	}
	.kidomart-search{
		width:220px
	}
	.kidomart-catalog-layout{
		grid-template-columns:200px minmax(0,1fr)
	}
	.kidomart-catalog-layout ul.products{
		grid-template-columns:repeat(3,minmax(0,1fr));
		gap:16px
	}
}
@media(max-width:900px){
	.kidomart-desktop-nav,.kidomart-header-actions{
		display:none
	}
	.kidomart-header{
		margin:16px;
		border-radius:20px
	}
	.kidomart-header__inner{
		width:100%;
		padding:8px 12px;
		min-height:64px;
		gap:10px
	}
	.kidomart-brand{
		flex-basis:36px
	}
	.kidomart-brand img{
		width:36px;
		height:36px
	}
	.kidomart-search{
		flex:1;
		min-width:0;
		width:auto;
		height:44px;
		margin:0
	}
	.kidomart-mobile-menu{
		display:block!important
	}
	.kidomart-mobile-menu summary{
		width:44px;
		height:44px;
		justify-content:center;
		border:1px solid var(--kidomart-border);
		border-radius:14px;
		font-size:22px;
		color:var(--kidomart-green)
	}
	.kidomart-mobile-menu summary::after{
		display:none
	}
	.kidomart-mobile-menu nav{
		position:absolute;
		inset-inline-end:0;
		inset-block-start:52px;
		width:min(358px,calc(100vw - 32px));
		max-height:calc(100dvh - 170px);
		overflow-y:auto;
		padding:16px;
		background:#fff;
		border:1px solid var(--kidomart-border);
		border-radius:20px;
		box-shadow:0 8px 24px #28523d14
	}
	.kidomart-mobile-menu .kidomart-menu{
		display:block
	}
	.kidomart-mobile-menu h2{
		font-size:16px;
		margin-block:20px 8px
	}
	.kidomart-mobile-menu a{
		padding:8px 12px;
		min-height:44px
	}
	.kidomart-main{
		padding-block-start:16px
	}
	.kidomart-catalog-layout{
		display:block
	}
	.kidomart-category-rail{
		display:none
	}
	.kidomart-product-grid,.kidomart-catalog-layout ul.products{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:16px
	}
	.kidomart-discovery{
		flex-direction:column;
		align-items:stretch
	}
	.kidomart-footer__inner{
		flex-direction:column;
		padding-block-end:112px
	}
	.kidomart-footer .kidomart-menu{
		flex-wrap:wrap
	}
	.kidomart-bottom-nav{
		display:flex;
		position:fixed;
		inset-inline:0;
		inset-block-end:0;
		z-index:40;
		border:1px solid var(--kidomart-border);
		background:#fff;
		padding:8px 12px calc(8px + env(safe-area-inset-bottom));
		gap:4px
	}
	.kidomart-bottom-nav a{
		position:relative;
		flex:1;
		display:flex;
		flex-direction:column;
		align-items:center;
		justify-content:center;
		min-height:52px;
		text-decoration:none;
		font-size:11px;
		color:var(--kidomart-muted)
	}
	.kidomart-bottom-nav a[aria-current]{
		background:transparent;
		color:var(--kidomart-yellow)
	}
	.kidomart-bottom-nav__icon{
		position:relative;
		display:grid;
		place-items:center;
		width:24px;
		height:24px
	}
	.post-type-archive-product .woocommerce-breadcrumb{display:none}
	.kidomart-cart-count{
		position:absolute;
		inset-block-start:-7px;
		inset-inline-end:-12px;
		min-width:18px;
		height:18px;
		line-height:18px;
		text-align:center;
		font-size:10px;
		font-weight:800;
		background:var(--kidomart-yellow);
		color:var(--kidomart-ink);
		padding:0 3px;
		border-radius:10px
	}
	.kidomart-catalog-intro h1{
		font-size:22px
	}
	.kidomart-catalog-intro--search{margin-block:0 24px}
	.kidomart-catalog-intro--search h1{font-size:22px;line-height:34px;margin-bottom:0}
	.kidomart-catalog-intro--search p{display:none}
}
@media(max-width:700px){
	.kidomart-home{
		padding-block-start:0
	}
	.kidomart-hero{
		min-height:350px;
		padding:24px 16px;
		border-radius:28px;
		align-items:center;
		justify-content:center
	}
	.kidomart-hero__copy{
		padding:16px 20px;
		text-align:center;
		border-radius:18px;
		max-width:326px
	}
	.kidomart-hero h1{
		font-size:28px;
		line-height:42px;
		margin-inline:auto;
		max-width:100%
	}
	.kidomart-hero p{
		font-size:12px
	}
	.kidomart-discovery{
		padding:20px 16px
	}
	.kidomart-discovery h2,.kidomart-section-heading h2{
		font-size:20px
	}
	.kidomart-chip{
		padding-inline:12px
	}
	.kidomart-product-card__content{
		padding:12px
	}
	.kidomart-product-card__title,.woocommerce ul.products li.product .kidomart-product-card__title{
		font-size:16px;
		line-height:26px;
		min-height:52px
	}
	.kidomart-product-card__price{
		font-size:16px
	}
}
@media(prefers-reduced-motion:reduce){
	*,*::before,*::after{
		scroll-behavior:auto!important
	}
}

/* Nested categories follow their parent and retain visible depth in RTL. */
.kidomart-category-link.is-child { padding-inline-start: calc(14px + var(--category-depth, 1) * 16px); }

/* Approved compact sale treatment: paired with the same orderable option. */
.kidomart-product-card__previous{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400;line-height:20px;color:var(--kidomart-muted)}
.kidomart-product-card__previous del{text-decoration:line-through}
.kidomart-sale-badge{display:inline-block;background:#d32f42;color:#fff;padding:var(--price-gap) var(--price-badge-inline);border-radius:var(--price-badge-radius);font-size:11px;font-weight:700;line-height:18px;white-space:nowrap}
.kidomart-product-card__partial-sale{display:block;color:var(--kidomart-muted);font-size:11px;font-weight:400;line-height:20px}

/* Shared progressive GET filters; mobile dialog enhancement follows. */
.kidomart-search-controls{margin:20px 0}.kidomart-filter-panel{border:1px solid var(--kidomart-border);border-radius:16px;background:white;padding:16px}.kidomart-filter-panel summary{font-weight:700;cursor:pointer;min-height:44px;display:flex;align-items:center}.kidomart-filter-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.kidomart-filter-form fieldset{min-width:0;border:0;padding:0;margin:0}.kidomart-filter-form legend{font-weight:700;margin-bottom:8px}.kidomart-filter-options{max-height:180px;overflow:auto}.kidomart-filter-form label{display:flex;align-items:center;gap:8px;min-height:44px}.kidomart-filter-form input[type=checkbox]{accent-color:var(--kidomart-green);width:18px;height:18px;flex-shrink:0}.kidomart-filter-form select,.kidomart-price-range input{width:100%;min-width:0;min-height:44px;border:1px solid var(--kidomart-border);border-radius:8px;padding:8px;font:inherit;color:inherit;background:white}.kidomart-price-range{display:flex;gap:12px}.kidomart-price-range label{flex:1;min-width:0}.kidomart-active-filters{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}.kidomart-filter-form [role=alert]{grid-column:1/-1}.kidomart-filter-options label:has(input:disabled){opacity:.6}@media(max-width:700px){.kidomart-filter-form{grid-template-columns:1fr}.kidomart-filter-panel{padding:12px}}

.kidomart-filter-rail{min-width:0}.kidomart-filter-rail .kidomart-search-controls{margin:0}.kidomart-filter-rail .kidomart-filter-form{grid-template-columns:1fr}.kidomart-filter-rail .kidomart-filter-form>label:has(select){flex-direction:column;align-items:stretch}.kidomart-filter-form button{min-height:44px}
.kidomart-filter-open[hidden],.kidomart-filter-panel[hidden]{display:none}.kidomart-filter-dialog{border:0;border-radius:24px 24px 0 0;padding:16px;max-width:none;width:100%;max-height:85dvh;margin:auto 0 0;background:#fffaf2;color:var(--kidomart-green)}.kidomart-filter-dialog::backdrop{background:#142d2499}.kidomart-filter-dialog [data-filter-close]{min-height:44px;padding:8px 12px;border:1px solid var(--kidomart-border);border-radius:8px;background:white;color:inherit;font:inherit;margin-bottom:12px}.kidomart-filter-dialog .kidomart-filter-panel{border:0;padding:0;background:transparent}.kidomart-filter-dialog .kidomart-filter-form{grid-template-columns:1fr}.kidomart-filter-dialog .kidomart-filter-form>button{position:sticky;bottom:0;box-shadow:0 -8px 16px #fffaf2e6}.kidomart-filter-open{min-height:44px}@media(min-width:901px){.kidomart-filter-open{display:none}}

.kidomart-results.kidomart-infinite-ready .woocommerce-pagination{display:none}
.kidomart-results [data-infinite-next],.kidomart-infinite-loading[hidden],.kidomart-infinite-retry[hidden]{display:none}
.kidomart-infinite-sentinel{height:1px}
.kidomart-infinite-loading{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-block:24px}
.kidomart-infinite-loading span{display:block;min-width:0;aspect-ratio:3/4;border-radius:20px;background:linear-gradient(100deg,#eee9df 20%,#faf6ec 45%,#eee9df 70%);background-size:200% 100%;animation:kidomart-infinite-shimmer 1.2s ease-in-out infinite}
@keyframes kidomart-infinite-shimmer{to{background-position-x:-200%}}
.kidomart-load-status:not(:empty){margin:18px 0 0;text-align:center;font-size:14px;color:var(--kidomart-muted)}
.kidomart-infinite-retry{display:block;min-height:44px;margin:12px auto 0;padding:8px 20px;border:1px solid var(--kidomart-border);border-radius:12px;background:#fff;color:var(--kidomart-ink);font:inherit;font-weight:700;cursor:pointer}
.kidomart-infinite-retry:focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:3px}
@media(max-width:900px){.kidomart-infinite-loading{grid-template-columns:repeat(2,minmax(0,1fr))}.kidomart-infinite-loading span:nth-child(n+3){display:none}}
@media(prefers-reduced-motion:reduce){.kidomart-infinite-loading span{animation:none}}

/* Search panel shares the native header form on both viewports. */
.kidomart-search-shell { position: relative; width: 290px; min-width: 180px; margin-inline-start: auto; }
.kidomart-search-shell .kidomart-search { width: 100%; margin: 0; }
.kidomart-search-panel { position: absolute; inset-block-start: calc(100% + 8px); inset-inline-end: 0; width: min(440px, 90vw); max-height: 70vh; overflow: auto; padding: 20px; background: #fff; border: 1px solid var(--kidomart-border); border-radius: 16px; box-shadow: 0 12px 32px #193e2326; z-index: 90; }
.kidomart-search-panel[hidden], .kidomart-search-shell button[hidden] { display: none; }
.kidomart-search-panel button { min-height: 44px; border: 0; background: transparent; color: var(--kidomart-ink); cursor: pointer; padding: 8px 12px; font: inherit; }
.kidomart-search-panel h3 { margin: 0; font-size: 16px; }
.kidomart-search-panel .kidomart-chip { display: inline-block; margin: 4px; }
#kidomart-search-suggestions a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 10px 8px; border-bottom: 1px solid #edf0eb; text-decoration: none; color: var(--kidomart-ink); }
#kidomart-search-suggestions small { color: #57665d; }
#kidomart-search-suggestions [aria-selected=true] { background: #edf6ed; outline: 2px solid #437853; outline-offset: -2px; }
.kidomart-search-panel .kidomart-search-results { width: 100%; background: #edf6ed; border-radius: 10px; margin-top: 12px; font-weight: 700; }
.kidomart-search-dialog { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 16px; border: 0; background: #fff; }
.kidomart-search-dialog::backdrop { background: #0006; }
.kidomart-search-dialog > button { min-height: 44px; border: 0; background: transparent; font: inherit; }
.kidomart-search-dialog .kidomart-search-panel { position: static; width: 100%; max-height: calc(100dvh - 140px); border: 0; box-shadow: none; padding-inline: 0; }
@media (max-width: 1199px) { .kidomart-search-shell { width: 210px; } }
@media (max-width: 900px) { .kidomart-search-shell { flex: 1; width: auto; min-width: 0; margin: 0; } }

.kidomart-search-dialog { font: inherit; color: var(--kidomart-ink); }

.kidomart-search-dialog { height: var(--kidomart-search-height, 100dvh); }
.kidomart-search-dialog .kidomart-search-panel { max-height: calc(var(--kidomart-search-height, 100dvh) - 140px); }
.kidomart-search-shell input[role=combobox]::-webkit-search-cancel-button { -webkit-appearance: none; }

/* Approved Figma Search / Brand and category controls and rows. */
.kidomart-search-toolbar { display: flex; align-items: center; gap: 8px; }
.kidomart-search-toolbar .kidomart-search { flex: 1; min-width: 0; }
.kidomart-search-back, .kidomart-search-clear { flex: 0 0 44px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; background: transparent; font: 800 22px/34px Vazirmatn,Tahoma,sans-serif; color: var(--kidomart-green); cursor: pointer; }
.kidomart-search-clear { color: var(--kidomart-muted); }
#kidomart-search-suggestions a { justify-content: flex-start; gap: 12px; padding: 10px 0; min-height: 70px; border-color: var(--kidomart-border); font-size: 14px; line-height: 24px; }
#kidomart-search-suggestions img, .kidomart-search-current img { flex: 0 0 20px; width: 20px; height: 20px; }
.kidomart-suggestion-label { display: flex; flex-direction: column; gap: 2px; text-align: start; min-width: 0; overflow-wrap: anywhere; }
#kidomart-search-suggestions small { font-size: 12px; line-height: 20px; color: var(--kidomart-muted); }
.kidomart-search-panel .kidomart-search-current { display: flex; width: 100%; align-items: center; text-align: start; gap: 12px; padding: 10px 0; min-height: 70px; border-bottom: 1px solid var(--kidomart-border); }
.kidomart-search-panel .kidomart-search-results { background: var(--kidomart-yellow); text-align: start; font-weight: 500; padding: 14px; }
.kidomart-search-dialog .kidomart-search-panel { margin-top: 20px; }
.kidomart-search-dialog .kidomart-search { height: 48px; }
.kidomart-search input[role=combobox]:focus-visible { outline: 0; }
.kidomart-search:focus-within { outline: 2px solid var(--kidomart-green); outline-offset: 2px; }
.kidomart-search-panel [hidden] { display: none !important; }
.kidomart-search-panel h3 { font-size: 18px; line-height: 28px; font-weight: 700; margin-block: 0 12px; }
#kidomart-search-suggestions[data-initial=true] { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-start; }
#kidomart-search-suggestions[data-initial=true] a { justify-content: center; padding: 8px 18px; min-height: 44px; border: 1px solid var(--kidomart-border); border-radius: 18px; font-size: 12px; line-height: 20px; }
#kidomart-search-suggestions[data-initial=true] img, #kidomart-search-suggestions[data-initial=true] small { display: none; }
.kidomart-search-panel [data-search-initial-help] { margin-block: 12px; color: var(--kidomart-muted); }
.kidomart-search-panel .kidomart-chip { min-height: 44px; display: inline-flex; align-items: center; }
.kidomart-search-panel .kidomart-search-results { display: flex; align-items: center; gap: 12px; border-radius: 12px; }
.kidomart-search-results img { flex: 0 0 20px; width: 20px; height: 20px; }
.kidomart-search-results span { min-width: 0; overflow-wrap: anywhere; }

/* Search continuity and compact, independent filtering. */
:root{--kidomart-motion-enter:220ms;--kidomart-motion-exit:140ms;--kidomart-motion-ease:cubic-bezier(.16,1,.3,1)}
.kidomart-results-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:4px 12px;border-bottom:1px solid var(--kidomart-border);padding-block:0 12px;margin-bottom:20px;font-size:14px}
.kidomart-results-toolbar>a{display:inline-flex;align-items:center;min-height:44px;padding:6px 8px;color:var(--kidomart-muted);text-decoration:none;border-radius:8px;transition:background-color 120ms,color 120ms}
.kidomart-results-toolbar>a[aria-current=true]{color:var(--kidomart-green);background:#edf6ed;font-weight:700}
.kidomart-results-toolbar>a:hover{color:var(--kidomart-green);background:#f4f7f1}
.kidomart-filter-form{gap:14px}
.kidomart-filter-form legend{margin-bottom:4px;font-size:14px}
.kidomart-filter-options{max-height:none;overflow:visible}
.kidomart-filter-options label{min-height:36px;padding-block:2px;font-size:13px;line-height:24px}
.kidomart-filter-panel{padding:14px}
.kidomart-filter-form>fieldset{padding-block:10px;border-bottom:1px solid var(--kidomart-border)}
.kidomart-filter-form>button{position:sticky;bottom:0;z-index:1}
.kidomart-filter-rail{align-self:start}
@media(min-width:901px){
 .kidomart-filter-rail{position:sticky;top:16px;max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#9eafa3 #f4f7f1}
 .kidomart-catalog-layout{align-items:start;margin-top:16px}
 .kidomart-search-shell:has(input[aria-expanded=true]) [data-search-body]{background:white;border-radius:16px;box-shadow:0 12px 32px #193e2326}
 .kidomart-search-shell:has(input[aria-expanded=true]) .kidomart-search button[type=submit]{display:none}
 .kidomart-search-panel{inset-block-start:100%;width:max(100%,440px);max-width:calc(100vw - 32px);border-radius:0 0 16px 16px;border-top:0;transform-origin:top right}
}
.kidomart-search-panel{transition:opacity var(--kidomart-motion-exit),transform var(--kidomart-motion-exit),display var(--kidomart-motion-exit) allow-discrete;opacity:1;transform:none}
.kidomart-search-panel[hidden]{opacity:0;transform:translateY(-6px) scale(.985)}
@starting-style{.kidomart-search-panel:not([hidden]){opacity:0;transform:translateY(-6px) scale(.985)}}
.kidomart-search-panel:not([hidden]){transition-duration:var(--kidomart-motion-enter);transition-timing-function:var(--kidomart-motion-ease)}
.kidomart-filter-dialog,.kidomart-search-dialog{opacity:0;transform:translateY(12px);transition:opacity 140ms,transform 140ms,display 140ms allow-discrete,overlay 140ms allow-discrete}
.kidomart-filter-dialog[open],.kidomart-search-dialog[open]{opacity:1;transform:none;transition-duration:220ms;transition-timing-function:var(--kidomart-motion-ease)}
@starting-style{.kidomart-filter-dialog[open]{opacity:0;transform:translateY(32px)}.kidomart-search-dialog[open]{opacity:0;transform:translateY(-8px)}}
.kidomart-filter-dialog::backdrop,.kidomart-search-dialog::backdrop{transition:background-color 180ms,display 180ms allow-discrete,overlay 180ms allow-discrete}
@starting-style{.kidomart-filter-dialog[open]::backdrop,.kidomart-search-dialog[open]::backdrop{background-color:transparent}}
@media(max-width:900px){.kidomart-filter-options label{min-height:44px}.kidomart-filter-dialog{overscroll-behavior:contain;scrollbar-width:thin}.kidomart-results-toolbar{gap:4px;font-size:12px}.kidomart-results-toolbar>a{padding-inline:8px}}
@media(prefers-reduced-motion:reduce){.kidomart-search-panel,.kidomart-filter-dialog,.kidomart-search-dialog,.kidomart-filter-dialog::backdrop,.kidomart-search-dialog::backdrop,.kidomart-results-toolbar>a{transition:none;animation:none;transform:none}}
/* Desktop expands at its anchor; mobile remains a separate full-screen view. */
@media(min-width:901px){
 .kidomart-filter-rail{max-height:var(--kidomart-filter-height,calc(100dvh - 280px))}
 body.admin-bar .kidomart-filter-rail{top:48px}
 .kidomart-search-shell{min-height:48px}
 .kidomart-search-shell:has(input[aria-expanded=true]) [data-search-body]{position:absolute;inset-inline-start:0;top:0;width:440px;max-width:calc(100vw - 32px);padding:12px;z-index:90;animation:kidomart-search-unfold 220ms var(--kidomart-motion-ease);transform-origin:top right}
 .kidomart-search-shell:has(input[aria-expanded=true]) .kidomart-search-panel{position:static;width:100%;max-width:none;border:0;box-shadow:none;padding:12px 4px;transform:none;transition:none}
 .kidomart-search-shell:has(input[aria-expanded=true]) .kidomart-search{outline:none}
 .kidomart-search-panel[hidden]{transition:none}
}
@keyframes kidomart-search-unfold{from{opacity:.6;transform:translateY(-4px) scale(.97)}to{opacity:1;transform:none}}
html:has(.kidomart-search-dialog[open],.kidomart-filter-dialog[open]){overflow:hidden}
.kidomart-search-dialog:not([open]),.kidomart-filter-dialog:not([open]){transition:none}
.kidomart-search-dialog:not([open])::backdrop,.kidomart-filter-dialog:not([open])::backdrop{transition:none}
@media(max-width:900px){
 .kidomart-search-dialog{border-radius:0;padding:16px}
 .kidomart-search-dialog .kidomart-search-panel{transform:none;transition:none}
 .kidomart-search-dialog .kidomart-search-toolbar{position:sticky;top:0;z-index:1;background:white}
}
@media(prefers-reduced-motion:reduce){.kidomart-search-shell:has(input[aria-expanded=true]) [data-search-body]{animation:none;transform:none}}
.kidomart-filter-group{border-bottom:1px solid var(--kidomart-border);padding-block:4px}
.kidomart-filter-group>summary{display:flex;justify-content:space-between;align-items:center;min-height:48px;font-size:14px;list-style:none}
.kidomart-filter-group>summary::-webkit-details-marker{display:none}
.kidomart-filter-group>summary::after{content:'';width:8px;height:8px;border-inline-end:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);transition:transform 160ms}
.kidomart-filter-group[open]>summary::after{transform:rotate(225deg)}
.kidomart-filter-group [data-filter-search]{width:100%;min-height:44px;margin-block:6px 8px;padding:8px;border:1px solid var(--kidomart-border);border-radius:8px;font:inherit}
.kidomart-filter-options label[hidden]{display:none}
.kidomart-live-filters .kidomart-filter-form>button[type=submit]{display:none}
.kidomart-filter-status{font-size:12px;line-height:1.8}.kidomart-filter-status button,.kidomart-filter-status a{display:inline-flex;align-items:center;min-height:44px;padding:6px;font:inherit}
.kidomart-catalog-layout--empty-base{grid-template-columns:minmax(0,1fr)}
.kidomart-catalog-layout--empty-base .kidomart-filter-rail{display:none}
.woocommerce-products-header:has(+ .kidomart-catalog-layout--empty-base) .kidomart-catalog-intro--search p{display:none}
.woocommerce-products-header:has(+ .kidomart-catalog-layout .kidomart-empty-state) .kidomart-catalog-intro--search p{display:none}
.kidomart-catalog-layout:has(.kidomart-empty-state--filtered) .kidomart-active-filters>a:not(.kidomart-chip){display:none}
.kidomart-empty-state{box-sizing:border-box;display:grid;grid-template-columns:112px minmax(0,1fr);align-items:center;gap:28px;max-width:800px;min-height:260px;margin:40px auto 72px;padding:32px 38px;background:#fff;border:1px solid var(--kidomart-border);border-radius:24px;color:var(--kidomart-green)}
.kidomart-empty-state__art{display:grid;place-items:center;width:112px;height:112px;border-radius:28px;background:#fdf1d2}
.kidomart-empty-state__art img{width:64px;height:64px}
.kidomart-empty-state h2{margin:0 0 8px;font-size:23px;line-height:1.5}
.kidomart-empty-state p{margin:0;color:var(--kidomart-muted);font-size:15px;line-height:1.9}
.kidomart-empty-state__actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 20px;margin-top:22px}
.kidomart-empty-state__primary{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:8px 22px;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-green);font-weight:800;text-decoration:none}
.kidomart-empty-state__primary:hover{background:#e9ae35;color:var(--kidomart-green)}
.kidomart-empty-state__secondary{display:inline-flex;align-items:center;min-height:44px;color:var(--kidomart-green);font-weight:700;text-decoration:none}
.kidomart-empty-state__secondary:hover{text-decoration:underline;text-underline-offset:4px}
.kidomart-empty-state a:focus-visible{outline:3px solid var(--kidomart-green);outline-offset:3px}
@media(max-width:700px){.kidomart-empty-state{grid-template-columns:1fr;justify-items:center;gap:18px;min-height:0;margin:20px auto 40px;padding:28px 20px;text-align:center;border-radius:20px}.kidomart-empty-state__art{width:88px;height:88px;border-radius:22px}.kidomart-empty-state__art img{width:52px;height:52px}.kidomart-empty-state h2{font-size:20px}.kidomart-empty-state p{font-size:14px}.kidomart-empty-state__actions{justify-content:center;margin-top:20px}.kidomart-empty-state__primary{width:100%}}
.kidomart-results-loading{position:relative;min-height:300px;pointer-events:none}
.kidomart-results-loading> :not(.kidomart-results-toolbar){visibility:hidden}
.kidomart-results-loading::after{content:'';position:absolute;inset:76px 0 0;background:repeating-linear-gradient(90deg,#eee9df 0,#eee9df calc(25% - 12px),transparent calc(25% - 12px),transparent 25%);border-radius:16px;animation:kidomart-skeleton 900ms ease-in-out infinite alternate}
@keyframes kidomart-skeleton{to{opacity:.45}}
@media(max-width:900px){.kidomart-results-loading::after{background:repeating-linear-gradient(90deg,#eee9df 0,#eee9df calc(50% - 8px),transparent calc(50% - 8px),transparent 50%)}}
@media(prefers-reduced-motion:reduce){.kidomart-filter-group>summary::after{transition:none}.kidomart-results-loading::after{animation:none}}

/* Shared marketing badge — approved Figma component 469:37. */
.kidomart-product-card__visual{position:relative}
.kidomart-product-badge{position:absolute;inset-block-start:10px;inset-inline-start:10px;display:inline-flex;align-items:center;gap:4px;padding:4px 7px;border-radius:8px;background:#d32f42;color:#fff;font-size:10px;font-weight:700;line-height:14px;white-space:nowrap;max-width:calc(100% - 20px)}
.kidomart-product-badge--recommended{background:#28523d}
.kidomart-product-badge--new{background:#165d83}
.kidomart-product-card__visual .kidomart-product-badge img,.woocommerce ul.products li.product .kidomart-product-card__visual .kidomart-product-badge img{width:14px;height:14px;min-height:0;margin:0;object-fit:contain;flex-shrink:0}

:root{--price-gap:2px;--price-badge-inline:6px;--price-badge-radius:5px}

.kidomart-product-card__availability.is-unavailable{display:flex;align-items:center;gap:6px;color:#d32f42;font-weight:700;margin-block:0}

/* Catalog controls: explicit audience choices and a linked numeric price range. */
.kidomart-audience-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 14px}
.kidomart-filter-form .kidomart-audience-options label{position:relative;display:block;min-height:0;padding:0;text-align:center;cursor:pointer}
.kidomart-audience-options input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.kidomart-audience-options span{display:grid;place-items:center;min-height:42px;padding:4px;border:1px solid var(--kidomart-border);border-radius:11px;background:#fff;color:var(--kidomart-green);font-size:13px;font-weight:700;transition:background-color 150ms,border-color 150ms,box-shadow 150ms}
.kidomart-audience-options input:checked+span{border-color:var(--kidomart-green);background:#e6f2e7;box-shadow:inset 0 0 0 1px var(--kidomart-green)}
.kidomart-audience-options input:focus-visible+span{outline:3px solid var(--kidomart-yellow);outline-offset:2px}
.kidomart-price-range{display:block;padding:10px 0 14px}
.kidomart-price-fields{display:grid;gap:10px}
.kidomart-filter-form .kidomart-price-fields label{display:grid;grid-template-columns:24px minmax(0,1fr) 38px;align-items:center;gap:8px;min-height:58px;border-bottom:1px solid var(--kidomart-border);color:var(--kidomart-muted)}
.kidomart-price-fields label>span{font-size:14px;font-weight:700}
.kidomart-price-fields label>small{font-size:11px;font-weight:700;color:var(--kidomart-green)}
.kidomart-price-range .kidomart-price-fields input{width:100%;min-width:0;min-height:48px;padding:0;border:0;border-radius:0;background:transparent;color:var(--kidomart-green);font-size:20px;font-weight:800;direction:ltr;text-align:right;font-variant-numeric:tabular-nums;outline:none}
.kidomart-price-range .kidomart-price-fields label:focus-within{border-color:var(--kidomart-green)}
.kidomart-price-slider{position:relative;height:36px;margin:24px 12px 0}
.kidomart-price-slider::before{content:'';position:absolute;inset-inline:0;top:16px;height:4px;border-radius:99px;background:linear-gradient(to left,#e6e7df 0 var(--price-start),var(--kidomart-green) var(--price-start) var(--price-end),#e6e7df var(--price-end) 100%)}
.kidomart-price-slider input[type=range]{position:absolute;inset:0;box-sizing:border-box;width:100%;min-height:0;height:36px;margin:0;padding:0;border:0;border-radius:0;outline:0;box-shadow:none;appearance:none;-webkit-appearance:none;background:transparent;direction:rtl;pointer-events:none}
.kidomart-price-slider input[type=range]::-webkit-slider-runnable-track{height:36px;background:transparent}
.kidomart-price-slider input[type=range]::-moz-range-track{height:36px;background:transparent}
.kidomart-price-slider input[type=range]::-webkit-slider-thumb{box-sizing:border-box;width:24px;height:24px;margin-top:6px;border:3px solid white;border-radius:50%;background:var(--kidomart-green);box-shadow:0 2px 6px #12382a40;appearance:none;-webkit-appearance:none;pointer-events:auto;cursor:grab}
.kidomart-price-slider input[type=range]::-moz-range-thumb{box-sizing:border-box;width:24px;height:24px;border:3px solid white;border-radius:50%;background:var(--kidomart-green);box-shadow:0 2px 6px #12382a40;pointer-events:auto;cursor:grab}
.kidomart-price-slider input[type=range]:focus-visible::-webkit-slider-thumb{outline:3px solid var(--kidomart-yellow);outline-offset:2px}
.kidomart-price-slider__labels{display:flex;justify-content:space-between;gap:12px;margin-top:9px;color:var(--kidomart-muted);font-size:11px;font-weight:700;line-height:18px}
.kidomart-price-range [data-price-clear]{min-height:40px;margin-top:10px;padding:0;border:0;background:none;color:var(--kidomart-green);font:inherit;font-size:12px;font-weight:700;cursor:pointer}
.kidomart-mobile-tools,.kidomart-sort-dialog{display:none}

@media(max-width:900px){
 .kidomart-live-filters-ready .kidomart-catalog-layout:has(.kidomart-results-toolbar) .kidomart-filter-rail .kidomart-filter-open{display:none}
 .kidomart-results-toolbar{display:block;margin-bottom:14px;padding:0 0 8px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:none}
 .kidomart-results-toolbar::-webkit-scrollbar{display:none}
 .kidomart-live-filters-ready .kidomart-results-toolbar>span,.kidomart-live-filters-ready .kidomart-results-toolbar>a{display:none}
 .kidomart-live-filters-ready .kidomart-mobile-tools{display:flex;gap:8px;width:max-content;min-width:100%;padding-inline:2px}
 .kidomart-mobile-tools button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:8px 14px;border:1px solid var(--kidomart-border);border-radius:999px;background:white;color:var(--kidomart-green);font:inherit;font-size:13px;font-weight:700;white-space:nowrap;cursor:pointer}
 .kidomart-mobile-tools button:focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:2px}
 .kidomart-mobile-tools button[data-sort-open]::before{content:'☷';margin-inline-end:8px;font-size:18px}
 .kidomart-mobile-tools button[data-filter-open-mobile]::before{content:'☰';margin-inline-end:8px;font-size:14px}
 .kidomart-filter-dialog{inset:0;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;border-radius:0;background:white;color:var(--kidomart-green);overflow:hidden}
 .kidomart-filter-dialog[open]{display:flex;flex-direction:column}
 .kidomart-filter-dialog__header{display:flex;align-items:center;gap:8px;min-height:64px;padding:8px 16px;border-bottom:1px solid var(--kidomart-border);background:white}
 .kidomart-filter-dialog__header strong{flex:1;font-size:18px}
 .kidomart-filter-dialog [data-filter-close],.kidomart-filter-dialog [data-filter-back]{display:grid;place-items:center;flex:0 0 44px;min-height:44px;margin:0;padding:0;border:0;background:none;color:var(--kidomart-green);font-size:30px;cursor:pointer}
 .kidomart-filter-dialog [data-filter-back][hidden]{display:none}
 .kidomart-filter-dialog [data-filter-body]{flex:1;min-height:0;padding:0 18px;overflow-y:auto;overscroll-behavior:contain}
 .kidomart-filter-dialog .kidomart-filter-panel>summary{display:none}
 .kidomart-filter-dialog .kidomart-filter-panel{border:0;padding:0}
 .kidomart-filter-dialog .kidomart-filter-form{display:block}
 .kidomart-filter-dialog .kidomart-filter-group{padding:0}
 .kidomart-filter-dialog .kidomart-filter-group>summary{min-height:58px;font-size:15px}
 .kidomart-filter-dialog .kidomart-filter-group>summary::after{transform:rotate(45deg)}
 .kidomart-filter-dialog .kidomart-filter-group[open]>summary::after{transform:rotate(45deg)}
 .kidomart-filter-dialog:not([data-active-group]) .kidomart-filter-group> :not(summary){display:none}
 .kidomart-filter-dialog[data-active-group] .kidomart-filter-group{display:none}
 .kidomart-filter-dialog[data-active-group="categories"] [data-filter-group="categories"],.kidomart-filter-dialog[data-active-group="brands"] [data-filter-group="brands"],.kidomart-filter-dialog[data-active-group="interests"] [data-filter-group="interests"],.kidomart-filter-dialog[data-active-group="ages"] [data-filter-group="ages"],.kidomart-filter-dialog[data-active-group="audience"] [data-filter-group="audience"],.kidomart-filter-dialog[data-active-group="price"] [data-filter-group="price"]{display:block}
 .kidomart-filter-dialog[data-active-group] .kidomart-filter-group>summary{display:none}
 .kidomart-filter-dialog[data-active-group] .kidomart-filter-group{border:0;padding-top:14px}
 .kidomart-filter-dialog[data-active-group] .kidomart-filter-group{animation:kidomart-filter-enter 190ms var(--kidomart-motion-ease)}
 .kidomart-filter-dialog:not([data-active-group]) .kidomart-filter-group{animation:kidomart-filter-enter 190ms var(--kidomart-motion-ease)}
 .kidomart-filter-dialog[data-active-group] .kidomart-filter-form>label{display:none}
 .kidomart-filter-dialog[data-active-group] .kidomart-filter-form>button[type=submit]{display:none}
 .kidomart-filter-dialog__footer{padding:12px 18px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--kidomart-border);background:white}
 .kidomart-filter-dialog__footer button{width:100%;min-height:48px;border:0;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-green);font:inherit;font-weight:800;cursor:pointer}
 .kidomart-filter-dialog .kidomart-price-fields{gap:18px;margin-top:18px}
 .kidomart-filter-dialog .kidomart-price-fields label{min-height:68px}
 .kidomart-filter-dialog .kidomart-price-fields input{font-size:24px}
 .kidomart-sort-dialog{inset:auto 0 0;width:100%;max-width:none;max-height:75dvh;margin:auto 0 0;padding:8px 18px max(18px,env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;background:white;color:var(--kidomart-green);box-shadow:0 -8px 32px #102b2233;overflow-y:auto;opacity:0;transform:translateY(24px);transition:opacity 150ms,transform 220ms var(--kidomart-motion-ease),display 220ms allow-discrete,overlay 220ms allow-discrete}
 .kidomart-sort-dialog[open]{display:block;opacity:1;transform:none}
 @starting-style{.kidomart-sort-dialog[open]{opacity:0;transform:translateY(32px)}}
 .kidomart-sort-dialog::backdrop{background:#142d2499}
 .kidomart-sort-dialog__handle{width:40px;height:4px;margin:0 auto 14px;border-radius:99px;background:#c9d1ca}
 .kidomart-sort-dialog header{display:flex;align-items:center;justify-content:space-between;min-height:48px;font-size:17px}
 .kidomart-sort-dialog header button{width:44px;height:44px;border:0;background:none;color:inherit;font-size:27px;cursor:pointer}
 .kidomart-sort-dialog [data-sort-options] a{display:flex;align-items:center;justify-content:space-between;min-height:54px;border-bottom:1px solid var(--kidomart-border);color:inherit;text-decoration:none;font-size:15px}
 .kidomart-sort-dialog [data-sort-options] a[aria-current=true]{color:var(--kidomart-green);font-weight:800}
 .kidomart-sort-dialog [data-sort-options] a[aria-current=true]::after{content:'✓';font-size:20px}
 .kidomart-sort-dialog [data-sort-options] a:focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:-3px}
 @starting-style{.kidomart-filter-dialog[open]{opacity:0;transform:translateX(-16px)}}
}
@keyframes kidomart-filter-enter{from{opacity:.35;transform:translateX(-10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.kidomart-audience-options span,.kidomart-sort-dialog{transition:none;transform:none}.kidomart-filter-dialog .kidomart-filter-group{animation:none}}
.kidomart-stock-dot{width:6px;height:6px;border-radius:50%;background:#d32f42;flex-shrink:0}

/* Discovery directories: Figma333:5584/5780; use the shared storefront shell. */
.kidomart-discovery-guide{padding-block:44px 48px;min-height:70vh}
.kidomart-discovery-intro{margin-bottom:32px}.kidomart-discovery-intro h1{margin:0 0 4px;font-size:28px;line-height:42px}.kidomart-discovery-intro p{margin:0;color:var(--kidomart-muted)}
.kidomart-discovery-guide h2{font-size:22px;line-height:34px;margin:24px 0 16px}
.kidomart-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.kidomart-discovery-row{display:flex;align-items:center;gap:16px;min-height:88px;padding:16px;border:1px solid var(--kidomart-border);border-radius:12px;background:white;color:var(--kidomart-ink);text-decoration:none;transition:background-color 140ms}
.kidomart-discovery-row:hover{background:#fffaf2}.kidomart-discovery-row:focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:3px}
.kidomart-discovery-icon{width:34px;height:34px;border-radius:12px;background:var(--kidomart-warm);display:flex;align-items:center;justify-content:center;flex-shrink:0;font-weight:700}
.kidomart-discovery-label{flex:1;min-width:0;overflow-wrap:anywhere}.kidomart-discovery-chevron{flex-shrink:0}
.kidomart-discovery-all{background:var(--kidomart-warm);border-radius:20px;padding-inline:24px}.kidomart-discovery-all .kidomart-discovery-icon{width:48px;height:48px;background:white}.kidomart-discovery-label small{display:block;font-size:12px;color:var(--kidomart-muted);margin-top:4px}
.kidomart-discovery-help{margin-top:24px;max-width:75ch;color:var(--kidomart-muted);font-size:13px}
@media(max-width:900px){.kidomart-discovery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.kidomart-discovery-guide{padding-block:24px 40px}.kidomart-discovery-intro{margin-bottom:16px}.kidomart-discovery-intro h1{font-size:26px;line-height:38px}.kidomart-discovery-intro p{font-size:13px}.kidomart-discovery-guide h2{font-size:17px;line-height:28px}.kidomart-discovery-grid{grid-template-columns:1fr;gap:12px}.kidomart-discovery-row{min-height:64px;padding:12px 16px;font-size:14px;gap:12px}.kidomart-discovery-all .kidomart-discovery-icon{width:34px;height:34px}}
@media(prefers-reduced-motion:reduce){.kidomart-discovery-row{transition:none}}

.woocommerce-cart .kidomart-cart-page{max-width:1200px}.woocommerce-cart .kidomart-cart-page__heading{margin:36px 0 28px}.woocommerce-cart .kidomart-cart-page__heading h1{font-size:28px;line-height:40px;margin:0;font-weight:700}.woocommerce-cart .kidomart-cart-page__heading p{margin:0;color:var(--kidomart-muted);font-size:14px;line-height:24px}.woocommerce .kidomart-cart-layout table.shop_table{border:0}.woocommerce .kidomart-cart-layout table.shop_table td{border:0}.woocommerce .kidomart-cart-layout table.cart img{width:100%;height:100px;object-fit:contain}.woocommerce .kidomart-cart-layout a:not(.button):not(.remove):not(.kidomart-change-option){text-decoration:none}.woocommerce .kidomart-cart-layout .shop_table_responsive tr:nth-child(2n) td{background:transparent}
.woocommerce .kidomart-cart-layout .cart tr:has(.actions){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);padding:0;margin:0}
@media(max-width:800px){.woocommerce-cart .kidomart-cart-page:not(.kidomart-cart-page--empty){padding-block-start:8px}.woocommerce-cart .kidomart-cart-page__heading{margin:8px 0 16px}.woocommerce-cart .kidomart-cart-page__heading h1{font-size:24px;line-height:34px}.woocommerce-cart .kidomart-cart-page__heading p{font-size:13px;line-height:18px}}
.kidomart-cart-remove-dialog{width:min(420px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--kidomart-border);border-radius:20px;background:#fff;color:var(--kidomart-ink);box-shadow:0 20px 60px rgba(20,45,36,.18);font-family:Vazirmatn,Tahoma,sans-serif}
.kidomart-cart-remove-dialog::backdrop{background:rgba(20,45,36,.44)}
.kidomart-cart-remove-dialog__content{padding:24px}.kidomart-cart-remove-dialog h2{margin:0 0 10px;font-size:18px;line-height:28px;font-weight:700}.kidomart-cart-remove-dialog p{margin:0;color:var(--kidomart-muted);font-size:13px;line-height:24px;overflow-wrap:anywhere}.kidomart-cart-remove-dialog__actions{display:flex;gap:10px;margin-top:24px}.kidomart-cart-remove-dialog__actions button{flex:1;min-height:44px;padding:8px 14px;border:1px solid var(--kidomart-border);border-radius:12px;background:#fff;color:var(--kidomart-ink);font:700 13px/20px Vazirmatn,Tahoma,sans-serif;cursor:pointer}.kidomart-cart-remove-dialog__actions [data-cart-remove-confirm]{border-color:#bc4050;background:#bc4050;color:#fff}.kidomart-cart-remove-dialog__actions button:focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:2px}
.kidomart-option-editor{scroll-margin-top:96px;margin-bottom:16px;padding:16px 18px;border:1px solid var(--kidomart-border);border-radius:16px;background:var(--kidomart-soft-green);color:var(--kidomart-ink)}.kidomart-option-editor strong{display:block;font-size:15px;line-height:24px}.kidomart-option-editor p{margin:5px 0 8px;font-size:12px;line-height:21px}.kidomart-option-editor a{color:var(--kidomart-ink);font-size:12px;font-weight:700;text-decoration:none;border-bottom:1px solid currentColor}

/* Empty cart: Figma 98:1025 (mobile) and 251:2504 (desktop). */
.woocommerce-cart .kidomart-cart-page--empty{min-height:calc(100dvh - 88px);padding-block:48px 80px}
.woocommerce-cart .kidomart-cart-page--empty .kidomart-cart-page__heading{margin:0}.woocommerce-cart .kidomart-cart-page--empty .kidomart-cart-page__heading h1{font-size:28px;line-height:42px}
.woocommerce-cart .kidomart-cart-empty-state{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;width:min(100%,560px);min-height:350px;margin:80px auto 0;padding:24px;border:1px solid var(--kidomart-border);border-radius:24px;background:#fff;text-align:center;color:var(--kidomart-ink)}
.kidomart-cart-empty-state__illustration{display:block;width:54px;height:54px;flex:none}
.woocommerce-cart .kidomart-cart-empty-state h2{margin:0;font-size:18px;line-height:28px;font-weight:700}
.woocommerce-cart .kidomart-cart-empty-state p{max-width:250px;margin:0;color:var(--kidomart-muted);font-size:12px;line-height:20px;font-weight:500}
.woocommerce-cart .kidomart-cart-empty-state__action{display:inline-flex;align-items:center;justify-content:center;width:min(100%,200px);min-height:44px;padding:8px 16px;border-radius:14px;background:var(--kidomart-yellow);color:var(--kidomart-ink);font-size:12px;line-height:18px;font-weight:700;text-decoration:none}
.woocommerce-cart .kidomart-cart-empty-state__action:hover{background:#e9ae35;color:var(--kidomart-ink)}
.woocommerce-cart .kidomart-cart-empty-state__action:focus-visible{outline:3px solid var(--kidomart-green);outline-offset:3px}
@media(max-width:900px){
	.woocommerce-cart .kidomart-cart-page--empty{display:flex;align-items:center;justify-content:center;min-height:calc(100dvh - 96px - 72px);padding-block:16px}
	.woocommerce-cart .kidomart-cart-page--empty .kidomart-cart-page__heading,.woocommerce-cart:has(.kidomart-cart-page--empty) .kidomart-footer{display:none}
	.woocommerce-cart .kidomart-cart-page--empty>.woocommerce{width:100%}
	.woocommerce-cart .kidomart-cart-empty-state{width:100%;min-height:260px;margin:0;padding:24px;gap:12px}
}

/* Native Woo alt specificity must retain the storefront purchase palette. */
.woocommerce .kidomart-purchase button.single_add_to_cart_button { background: var(--kidomart-yellow, #f4c44e); color: var(--kidomart-ink, #214e3b); }
.woocommerce .kidomart-purchase button.single_add_to_cart_button.disabled { background: #e4e7e5; color: #6b746f; }

/* Phase 7: native checkout fields and totals in the Kidomart Figma shell. */
.woocommerce-checkout .kidomart-checkout-page{max-width:1200px;min-height:calc(100vh - 88px);color:var(--kidomart-ink);padding-block:40px 80px}
.woocommerce-checkout .kidomart-checkout-page__heading{margin-bottom:24px}
.woocommerce-checkout .kidomart-checkout-page__heading h1{font-size:26px;line-height:40px;margin:0 0 4px}
.woocommerce-checkout .kidomart-checkout-page__heading p{font-size:14px;color:var(--kidomart-muted);margin:0}
.kidomart-checkout-page__back{display:none}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-checkout{display:grid;direction:ltr;grid-template-columns:minmax(0,788px) minmax(300px,380px);gap:24px 32px;align-items:start}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-checkout>*{direction:rtl;min-width:0}
.woocommerce-checkout .kidomart-checkout-page #customer_details{grid-column:1;grid-row:1/4;display:flex;flex-direction:column;gap:16px;width:100%;float:none}
.woocommerce-checkout .kidomart-checkout-page #customer_details:before,.woocommerce-checkout .kidomart-checkout-page #customer_details:after{display:none}
.woocommerce-checkout .kidomart-checkout-page #customer_details>.col-1,.woocommerce-checkout .kidomart-checkout-page #customer_details>.col-2{width:100%;float:none;padding:24px;background:white;border:1px solid var(--kidomart-border);border-radius:20px;box-sizing:border-box}
.woocommerce-checkout .kidomart-checkout-page #customer_details>.col-2{order:-1}
.woocommerce-checkout .kidomart-checkout-page #billing_country_field,.woocommerce-checkout .kidomart-checkout-page #billing_phone_field,.woocommerce-checkout .kidomart-checkout-page #shipping_country_field{display:none}
.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-help{font-size:13px;line-height:22px;color:var(--kidomart-muted);margin:-8px 0 18px}
.woocommerce-checkout .kidomart-checkout-page .kidomart-receiver-self{display:flex;align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:700;margin:-2px 0 16px;cursor:pointer}.woocommerce-checkout .kidomart-checkout-page .kidomart-receiver-self input{width:18px;height:18px;accent-color:var(--kidomart-green)}
.woocommerce-checkout .kidomart-checkout-page #kidomart_save_address_field{border-top:1px solid var(--kidomart-border);padding-top:16px;margin-top:4px}.woocommerce-checkout .kidomart-checkout-page #kidomart_save_address_field label{display:flex;align-items:center;gap:8px;min-height:44px}.woocommerce-checkout .kidomart-checkout-page #kidomart_save_address_field input{width:18px;height:18px;accent-color:var(--kidomart-green)}
.woocommerce-checkout .kidomart-checkout-address-choices{border:0;padding:0;margin:18px 0 20px;min-width:0;display:grid;gap:8px}.woocommerce-checkout .kidomart-checkout-address-choices legend{font-size:14px;font-weight:800;margin-bottom:8px}.woocommerce-checkout .kidomart-checkout-address-choices label{display:flex;align-items:center;gap:12px;min-height:52px;padding:10px 14px;border:1px solid var(--kidomart-border);border-radius:12px;background:white;box-sizing:border-box;cursor:pointer;font-size:13px;line-height:22px}.woocommerce-checkout .kidomart-checkout-address-choices label:has(input:checked){border-color:var(--kidomart-green);background:var(--kidomart-soft-green)}.woocommerce-checkout .kidomart-checkout-address-choices input{width:20px;height:20px;flex:none;accent-color:var(--kidomart-green)}.woocommerce-checkout .kidomart-checkout-address-choices span{overflow-wrap:anywhere}.woocommerce-checkout .kidomart-checkout-address-choices strong{font-weight:800}.woocommerce-checkout .kidomart-checkout-address-choices label:focus-within{outline:3px solid var(--kidomart-yellow);outline-offset:2px}
.woocommerce-checkout .kidomart-checkout-page #order_review_heading{grid-column:2;grid-row:1;margin:0;padding:20px 20px 0;background:white;border:1px solid var(--kidomart-border);border-bottom:0;border-radius:20px 20px 0 0;font-size:18px;line-height:28px}
.woocommerce-checkout .kidomart-checkout-page #order_review{grid-column:2;grid-row:2;margin-top:-24px;padding:0 20px 20px;background:white;border:1px solid var(--kidomart-border);border-top:0;border-radius:0 0 20px 20px;min-width:0}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-billing-fields h3,.woocommerce-checkout .kidomart-checkout-page .woocommerce-shipping-fields h3{font-size:18px;line-height:28px;margin:0 0 16px}
.woocommerce-checkout .kidomart-checkout-page #ship-to-different-address label{display:flex;align-items:center;gap:8px;font-size:16px;line-height:28px}
.woocommerce-checkout .kidomart-checkout-page .form-row{margin-bottom:14px}
.woocommerce-checkout .kidomart-checkout-page .form-row label{display:block;font-size:13px;font-weight:700;margin-bottom:6px}
.woocommerce-checkout .kidomart-checkout-page .form-row input.input-text,.woocommerce-checkout .kidomart-checkout-page .form-row select,.woocommerce-checkout .kidomart-checkout-page .select2-selection{min-height:48px;width:100%;box-sizing:border-box;border:1px solid var(--kidomart-border);border-radius:12px;background:white;color:var(--kidomart-ink);font:500 14px/24px Vazirmatn,sans-serif;padding:10px 12px}
.woocommerce-checkout .kidomart-checkout-page .select2-selection{display:flex;align-items:center}.woocommerce-checkout .kidomart-checkout-page .select2-selection__rendered{line-height:24px!important}.woocommerce-checkout .kidomart-checkout-page .select2-selection__arrow{top:10px}
/* Keep native checkout controls aligned with the address fields, including Select2's body-level popup. */
.woocommerce-checkout .kidomart-checkout-page #kidomart_save_address_field label.checkbox{display:flex;align-items:center;gap:10px;margin:0;cursor:pointer;font-size:13px;line-height:22px;font-weight:600}
.woocommerce-checkout .kidomart-checkout-page #kidomart_save_address_field input[type="checkbox"]{appearance:none;-webkit-appearance:none;display:grid;place-items:center;flex:0 0 20px;width:20px;height:20px;margin:0;padding:0;border:1.5px solid var(--kidomart-border);border-radius:6px;background:#fff;cursor:pointer;transition:background-color .16s,border-color .16s}
.woocommerce-checkout .kidomart-checkout-page #kidomart_save_address_field input[type="checkbox"]:checked{border-color:var(--kidomart-green);background:var(--kidomart-green)}
.woocommerce-checkout .kidomart-checkout-page #kidomart_save_address_field input[type="checkbox"]:checked::after{content:"";width:5px;height:9px;margin-top:-3px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
.woocommerce-checkout .kidomart-checkout-page #kidomart_save_address_field .optional{color:var(--kidomart-muted);font-weight:400}
.woocommerce-checkout .kidomart-checkout-page #order_comments{display:block;box-sizing:border-box;width:100%;min-height:108px;padding:13px 15px;border:1px solid var(--kidomart-border);border-radius:12px;background:#fff;color:var(--kidomart-ink);font:500 14px/24px Vazirmatn,sans-serif;direction:rtl;text-align:right;resize:vertical;box-shadow:none}
.woocommerce-checkout .kidomart-checkout-page #order_comments::placeholder{color:var(--kidomart-muted);opacity:1}
.woocommerce-checkout .kidomart-checkout-page #order_comments:focus{border-color:var(--kidomart-green);outline:0;box-shadow:0 0 0 3px rgba(244,196,78,.35)}
.woocommerce-checkout .kidomart-checkout-page #shipping_state_field .select2-selection{height:48px;min-height:48px;border-radius:12px!important;padding:10px 14px}
.woocommerce-checkout .kidomart-checkout-page #shipping_state_field .select2-selection__rendered{padding:0 0 0 26px!important;color:var(--kidomart-ink);font:500 14px/26px Vazirmatn,sans-serif!important}
.woocommerce-checkout .kidomart-checkout-page #shipping_state_field .select2-selection__arrow{top:50%;left:13px;right:auto;width:20px;height:20px;transform:translateY(-50%)}
.woocommerce-checkout .kidomart-checkout-page #shipping_state_field .select2-selection__arrow b{top:5px;left:6px;width:8px;height:8px;margin:0;border:solid var(--kidomart-ink);border-width:0 0 2px 2px;transform:rotate(-45deg)}
.woocommerce-checkout .kidomart-checkout-page #shipping_state_field .select2-container--open .select2-selection__arrow b{transform:rotate(135deg)}
body.woocommerce-checkout .select2-container--open .select2-dropdown{margin-top:6px;overflow:hidden;border:1px solid var(--kidomart-border);border-radius:12px;background:#fff;box-shadow:0 12px 30px rgba(33,78,59,.12);color:var(--kidomart-ink);font:500 14px/24px Vazirmatn,sans-serif;direction:rtl}
body.woocommerce-checkout .select2-container--open .select2-dropdown--above{margin-top:-6px;margin-bottom:6px}
body.woocommerce-checkout .select2-container--open .select2-search--dropdown{padding:12px}
body.woocommerce-checkout .select2-container--open .select2-search__field{box-sizing:border-box;width:100%;min-height:40px;padding:8px 12px;border:1px solid var(--kidomart-border);border-radius:9px;background:#fff;color:var(--kidomart-ink);font:500 14px/22px Vazirmatn,sans-serif;direction:rtl;outline:0}
body.woocommerce-checkout .select2-container--open .select2-search__field:focus{border-color:var(--kidomart-green);box-shadow:0 0 0 3px rgba(244,196,78,.35)}
body.woocommerce-checkout .select2-container--open .select2-results__options{padding:0 6px 6px;scrollbar-color:var(--kidomart-border) transparent}
body.woocommerce-checkout .select2-container--open .select2-results__option{min-height:40px;padding:8px 12px;border-radius:8px;color:var(--kidomart-ink);font:500 14px/24px Vazirmatn,sans-serif;text-align:right}
body.woocommerce-checkout .select2-container--open .select2-results__option--highlighted[aria-selected]{background:var(--kidomart-soft-green);color:var(--kidomart-ink)}
body.woocommerce-checkout .select2-container--open .select2-results__option[aria-selected="true"]{font-weight:700}
.kidomart-province-trigger,.kidomart-province-dialog{display:none}
@media(max-width:800px){
 .woocommerce-checkout .kidomart-checkout-page #shipping_state_field .select2{display:none!important}
 .woocommerce-checkout .kidomart-checkout-page #shipping_state_field .kidomart-province-trigger{display:flex;align-items:center;justify-content:space-between;box-sizing:border-box;width:100%;min-height:48px;padding:10px 14px;border:1px solid var(--kidomart-border);border-radius:12px;background:#fff;color:var(--kidomart-ink);font:500 14px/24px Vazirmatn,sans-serif;text-align:right;cursor:pointer}
 .kidomart-province-trigger__chevron{display:block;flex:none;width:8px;height:8px;margin-inline-start:12px;border:solid currentColor;border-width:0 0 2px 2px;transform:rotate(-45deg)}
 .kidomart-province-dialog{inset:auto 0 0;box-sizing:border-box;width:100%;max-width:none;max-height:78dvh;margin:auto 0 0;padding:8px 18px max(18px,env(safe-area-inset-bottom));border:0;border-radius:22px 22px 0 0;background:#fff;color:var(--kidomart-ink);box-shadow:0 -8px 32px #102b2233;opacity:0;transform:translateY(24px);transition:opacity 150ms,transform 220ms var(--kidomart-motion-ease),display 220ms allow-discrete,overlay 220ms allow-discrete}
 .kidomart-province-dialog[open]{display:flex;flex-direction:column;opacity:1;transform:none}
 @starting-style{.kidomart-province-dialog[open]{opacity:0;transform:translateY(32px)}}
 .kidomart-province-dialog::backdrop{background:#142d2499}
 .kidomart-province-dialog__handle{width:40px;height:4px;flex:none;margin:0 auto 14px;border-radius:99px;background:#c9d1ca}
 .kidomart-province-dialog header{display:flex;align-items:center;justify-content:space-between;flex:none;min-height:48px;font-size:17px}
 .kidomart-province-dialog__close{width:44px;height:44px;border:0;background:none;color:inherit;font:400 28px/1 Vazirmatn,sans-serif;cursor:pointer}
 .kidomart-province-dialog__search-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
 .kidomart-province-dialog__search{box-sizing:border-box;width:100%;min-height:48px;flex:none;margin:8px 0 10px;padding:10px 14px;border:1px solid var(--kidomart-border);border-radius:12px;background:#fff;color:var(--kidomart-ink);font:500 14px/24px Vazirmatn,sans-serif;direction:rtl}
 .kidomart-province-dialog__search::placeholder{color:var(--kidomart-muted);opacity:1}
 .kidomart-province-dialog__options{min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:var(--kidomart-border) transparent}
 .kidomart-province-dialog__option{display:flex;align-items:center;justify-content:space-between;width:100%;min-height:54px;padding:8px 2px;border:0;border-bottom:1px solid var(--kidomart-border);background:#fff;color:inherit;font:500 15px/26px Vazirmatn,sans-serif;text-align:right;cursor:pointer}
 .kidomart-province-dialog__option[aria-current="true"]{color:var(--kidomart-green);font-weight:800}
 .kidomart-province-dialog__option[aria-current="true"]::after{content:'✓';font-size:20px}
 .kidomart-province-dialog__empty{margin:16px 0;color:var(--kidomart-muted);font-size:14px;text-align:center}
 .kidomart-province-dialog :focus-visible,.woocommerce-checkout .kidomart-checkout-page #shipping_state_field .kidomart-province-trigger:focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:2px}
}
@media(prefers-reduced-motion:reduce){.kidomart-province-dialog{transition:none;transform:none}}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-checkout-review-order-table{border:0;width:100%;font-size:13px}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-checkout-review-order-table th,.woocommerce-checkout .kidomart-checkout-page .woocommerce-checkout-review-order-table td{padding:10px 0;text-align:right;vertical-align:top}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-checkout-review-order-table .order-total{font-size:16px;font-weight:800}
.woocommerce-checkout .kidomart-checkout-page #payment{background:transparent}
.woocommerce-checkout .kidomart-checkout-page #payment .place-order{padding:16px 0 0}
.woocommerce-checkout .kidomart-checkout-page #payment .button,.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-unresolved{display:block;box-sizing:border-box;width:100%;min-height:48px;border:0;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-ink);font:700 14px/24px Vazirmatn,sans-serif;white-space:normal}
.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-unresolved{background:#f2efea;color:var(--kidomart-muted);cursor:not-allowed}
.woocommerce-checkout .kidomart-checkout-page :focus-visible{outline:3px solid var(--kidomart-yellow);outline-offset:2px}
@media(max-width:800px){.woocommerce-checkout .kidomart-header,.woocommerce-checkout .kidomart-footer{display:none}.woocommerce-checkout .kidomart-checkout-page{min-height:calc(100vh - 96px);padding-block:16px 104px}.woocommerce-checkout .kidomart-checkout-page__heading{display:grid;grid-template-columns:44px 1fr;gap:0 8px;align-items:center;margin-bottom:20px}.kidomart-checkout-page__back{display:grid;place-items:center;grid-column:1;grid-row:1/3;width:44px;height:44px;color:var(--kidomart-ink);font-size:27px;text-decoration:none}.woocommerce-checkout .kidomart-checkout-page__heading h1{grid-column:2;grid-row:1;font-size:22px;line-height:34px}.woocommerce-checkout .kidomart-checkout-page__heading p{grid-column:2;grid-row:2;font-size:12px}.woocommerce-checkout .kidomart-checkout-page .woocommerce-checkout{display:flex;flex-direction:column;gap:16px}.woocommerce-checkout .kidomart-checkout-page #customer_details,.woocommerce-checkout .kidomart-checkout-page #order_review_heading,.woocommerce-checkout .kidomart-checkout-page #order_review{width:100%;margin:0}.woocommerce-checkout .kidomart-checkout-page #customer_details>.col-1,.woocommerce-checkout .kidomart-checkout-page #customer_details>.col-2{padding:16px}.woocommerce-checkout .kidomart-checkout-page #order_review_heading{margin-bottom:-16px;padding:16px 16px 0}.woocommerce-checkout .kidomart-checkout-page #order_review{padding:0 16px 16px}.woocommerce-checkout .kidomart-checkout-page .form-row-first,.woocommerce-checkout .kidomart-checkout-page .form-row-last{float:none;width:100%}}
.kidomart-order-result{max-width:700px;margin:8px auto 56px;display:flex;flex-direction:column;gap:16px;color:var(--kidomart-ink)}
.kidomart-order-result__hero,.kidomart-order-result__receipt{background:white;border:1px solid var(--kidomart-border);border-radius:16px;padding:24px;text-align:center}
.kidomart-order-result__hero{display:flex;flex-direction:column;align-items:center;gap:8px}
.kidomart-order-result__illustration{display:block;width:min(100%,280px);height:140px;object-fit:contain}
.kidomart-order-result__status-icon{display:block;width:44px;height:44px;object-fit:contain}
.kidomart-order-result__hero h2{font-size:22px;line-height:34px;margin:0}.kidomart-order-result__hero p{font-size:14px;line-height:24px;color:var(--kidomart-muted);margin:0;max-width:50ch}
.kidomart-order-result__receipt{margin:0;text-align:right}.kidomart-order-result__receipt>div{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid var(--kidomart-border);font-size:14px}.kidomart-order-result__receipt>div:last-child{border-bottom:0}.kidomart-order-result__receipt dt{color:var(--kidomart-muted)}.kidomart-order-result__receipt dd{margin:0;font-weight:700;text-align:left}
.kidomart-order-result__actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap}.kidomart-order-result__actions .button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:12px;background:var(--kidomart-yellow);color:var(--kidomart-ink);font:700 14px/22px Vazirmatn,sans-serif;text-decoration:none;padding:10px 20px}.kidomart-order-result__actions .button-secondary{background:var(--kidomart-soft-green)}
.kidomart-order-result .woocommerce-order-details{background:white;border:1px solid var(--kidomart-border);border-radius:16px;padding:20px}.kidomart-order-result .woocommerce-order-details h2{font-size:18px}
@media(max-width:600px){.kidomart-order-result{margin:0 auto 32px}.kidomart-order-result__hero,.kidomart-order-result__receipt{padding:20px 16px}.kidomart-order-result__illustration{height:120px}.kidomart-order-result__actions .button{width:100%}}

/* Phase 9 checkout progression retains the native Woo form, totals, and payment controls. */
.kidomart-checkout-progress{max-width:680px;margin:0 0 28px auto}
.kidomart-checkout-progress ol{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;padding:0;list-style:none}
.kidomart-checkout-progress li{display:flex;align-items:center;gap:8px;color:var(--kidomart-muted);font-size:14px;font-weight:600;white-space:nowrap}
.kidomart-checkout-progress li+li:before{content:"";display:block;width:clamp(24px,8vw,120px);height:1px;margin-inline-end:12px;background:var(--kidomart-border)}
.kidomart-checkout-progress li span{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:50%;background:var(--kidomart-soft-green);color:var(--kidomart-ink);font-size:12px;font-weight:800}
.kidomart-checkout-progress li.is-current span{background:var(--kidomart-yellow)}
.kidomart-checkout-progress li.is-current,.kidomart-checkout-progress li.is-complete{color:var(--kidomart-ink)}
.kidomart-checkout-page [hidden]{display:none!important}
.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-next{min-height:48px;border:0;border-radius:12px;padding:10px 20px;font:700 14px/24px Vazirmatn,Tahoma,sans-serif;cursor:pointer}
.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-next--address,.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-next--review{width:100%;background:var(--kidomart-yellow);color:var(--kidomart-ink)}
.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-next--back{background:white;border:1px solid var(--kidomart-border);color:var(--kidomart-green);grid-column:1;grid-row:4;justify-self:start}
.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-next--review{grid-column:1;grid-row:3}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-billing-fields__field-wrapper{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 16px}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-shipping-fields__field-wrapper{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:0 16px}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-billing-fields__field-wrapper::after,.woocommerce-checkout .kidomart-checkout-page .woocommerce-shipping-fields__field-wrapper::after{display:none}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-billing-fields__field-wrapper>.form-row,.woocommerce-checkout .kidomart-checkout-page .woocommerce-shipping-fields__field-wrapper>.form-row{float:none;clear:none;width:auto;margin-inline:0;min-width:0;grid-column:1/-1}
.woocommerce-checkout .kidomart-checkout-page .woocommerce-billing-fields__field-wrapper>.form-row-first,.woocommerce-checkout .kidomart-checkout-page .woocommerce-billing-fields__field-wrapper>.form-row-last{grid-column:span 1}
.woocommerce-checkout .kidomart-checkout-page #shipping_first_name_field,.woocommerce-checkout .kidomart-checkout-page #shipping_last_name_field,.woocommerce-checkout .kidomart-checkout-page #shipping_state_field,.woocommerce-checkout .kidomart-checkout-page #shipping_city_field{grid-column:span 3}
.woocommerce-checkout .kidomart-checkout-page #shipping_house_number_field,.woocommerce-checkout .kidomart-checkout-page #shipping_unit_field,.woocommerce-checkout .kidomart-checkout-page #shipping_postcode_field{grid-column:span 2}
.woocommerce-checkout .kidomart-checkout-page #kidomart_selected_address_field{display:none}
.kidomart-checkout-step-error{grid-column:1;grid-row:5;margin:0;color:var(--kidomart-error);font-size:13px;line-height:22px}
.kidomart-checkout-page .order-total td.kidomart-total-pending{position:relative;color:transparent!important}
.kidomart-checkout-page .order-total td.kidomart-total-pending::after{content:"در حال محاسبه";position:absolute;inset:0;color:var(--kidomart-muted);text-align:right}
.kidomart-checkout-page[data-checkout-step="address"] #payment,.kidomart-checkout-page[data-checkout-step="review"] #payment{display:none}
.woocommerce-checkout .kidomart-checkout-page[data-checkout-step="review"] #customer_details,.woocommerce-checkout .kidomart-checkout-page[data-checkout-step="payment"] #customer_details{display:none}
.woocommerce-checkout .kidomart-checkout-page[data-checkout-step="review"] #order_review_heading,.woocommerce-checkout .kidomart-checkout-page[data-checkout-step="payment"] #order_review_heading{grid-column:1;grid-row:1}
.woocommerce-checkout .kidomart-checkout-page[data-checkout-step="review"] #order_review,.woocommerce-checkout .kidomart-checkout-page[data-checkout-step="payment"] #order_review{grid-column:1;grid-row:2}
@media(max-width:800px){.kidomart-checkout-progress{display:none}.woocommerce-checkout .kidomart-checkout-page[data-checkout-step="address"] #order_review_heading,.woocommerce-checkout .kidomart-checkout-page[data-checkout-step="address"] #order_review{display:none}.woocommerce-checkout .kidomart-checkout-page .woocommerce-billing-fields__field-wrapper,.woocommerce-checkout .kidomart-checkout-page .woocommerce-shipping-fields__field-wrapper{display:block}.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-next--back{align-self:flex-start}.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-next--review{order:1}.woocommerce-checkout .kidomart-checkout-page .kidomart-checkout-step-error{order:2}}
