/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/

/* Kidomart demo layer: kept in the Woodmart child theme. */
@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
body, button, input, select, textarea { font-family: Vazirmatn, sans-serif !important; }
.kidomart-home { --kido-mint:#91c784; --kido-dark:#344a42; --kido-purple:#9264bf; --kido-yellow:#f6c84e; --kido-pink:#ef91aa; --kido-blue:#75c6df; max-width:1200px; margin:0 auto; padding:28px 18px 70px; color:var(--kido-dark); }
.kido-hero { min-height:415px; display:flex; align-items:center; justify-content:space-between; overflow:hidden; border-radius:28px; padding:52px 8% 52px 9%; background:linear-gradient(120deg,#e5f5df,#9ecb8e); position:relative; }
.kido-hero:after { content:''; position:absolute; width:70%; height:130%; background:rgba(255,255,255,.13); border-radius:50%; left:-22%; bottom:-73%; }
.kido-hero-copy { max-width:510px; position:relative; z-index:1; }.kido-hero-copy>span,.kido-section-title>span,.kido-story span { color:#537a5f; font-weight:700; font-size:14px; }.kido-hero h1 { font-size:52px; line-height:1.25; margin:10px 0; color:#263e34; }.kido-hero p { font-size:18px; margin:0 0 28px; }.kido-button { display:inline-block; border-radius:11px; padding:13px 25px; background:#f3b933; color:#fff !important; font-weight:700; box-shadow:0 9px 20px rgba(178,125,0,.2); }
.kido-hero-art { position:relative; width:315px; height:270px; z-index:1; }.kido-block { position:absolute; inset:52px 65px auto auto; color:#fff; background:#7b55ad; font-weight:800; text-align:center; font-size:35px; line-height:1; padding:38px 22px; border-radius:19px; transform:rotate(9deg); box-shadow:16px 14px 0 rgba(255,255,255,.3); }.kido-ball { position:absolute; border-radius:50%; }.ball-a { background:#f5cc52; width:96px; height:96px; left:4px; top:26px; }.ball-b { background:#ed95ae; width:52px; height:52px; left:66px; bottom:13px; }.kido-star { position:absolute; color:#fff; font-size:60px; top:5px; right:6px; transform:rotate(18deg); }
.kido-categories,.kido-products { padding:76px 0 22px; }.kido-section-title { text-align:center; margin-bottom:30px; }.kido-section-title h2 { font-size:31px; margin:7px 0; color:#243d35; }.kido-section-title p { color:#7a8983; margin:0; }.kido-category-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:18px; }.kido-category { border-radius:18px; padding:25px 18px; color:#fff !important; min-height:152px; display:flex; flex-direction:column; gap:5px; box-shadow:0 10px 25px rgba(42,74,59,.1); }.kido-category b { font-size:38px; margin-bottom:5px; }.kido-category strong { font-size:17px; }.kido-category small { opacity:.88; }.kido-purple { background:#9371c0; }.kido-yellow { background:#eebd3f; }.kido-pink { background:#e993ac; }.kido-blue { background:#73bdd5; }
.kido-benefits { margin:65px 0 15px; padding:28px; border-radius:18px; background:#f5fbf3; display:grid; grid-template-columns:repeat(3,1fr); gap:15px; }.kido-benefits>div { text-align:center; display:grid; gap:4px; }.kido-benefits b { font-size:32px; }.kido-benefits strong { font-size:16px; }.kido-benefits span { font-size:13px; color:#75857e; }
.kidomart-home .products { margin-top:12px; }.kidomart-home .product { border:1px solid #edf1ed; border-radius:16px; overflow:hidden; padding:0 0 16px !important; background:#fff; transition:.2s; }.kidomart-home .product:hover { transform:translateY(-5px); box-shadow:0 13px 28px rgba(52,74,66,.12); }.kidomart-home .product img { border-radius:0 !important; margin:0 0 12px !important; aspect-ratio:1/1; object-fit:cover; }.kidomart-home .product .wd-entities-title,.kidomart-home .product .price,.kidomart-home .product .star-rating { margin-right:16px !important; margin-left:16px !important; }.kidomart-home .product .price { color:#6e9e60 !important; font-weight:800; }.kidomart-home .product .button { margin:10px 16px 0 !important; border-radius:9px !important; }.kido-shop-link { text-align:center; margin:28px 0 0; }.kido-button-outline { background:#fff; color:#5e9062 !important; border:1px solid #91c784; box-shadow:none; }
.kido-banners { display:grid; grid-template-columns:1fr 1fr; gap:20px; padding:63px 0; }.kido-banner { padding:38px; min-height:190px; border-radius:20px; color:#fff; position:relative; overflow:hidden; }.kido-banner:after { content:'✦'; position:absolute; left:25px; bottom:-29px; font-size:140px; opacity:.13; }.kido-banner span { font-size:14px; opacity:.9; }.kido-banner h2 { margin:9px 0 18px; font-size:30px; color:#fff; }.kido-banner a { color:#fff; border-bottom:1px solid rgba(255,255,255,.7); }.kido-banner-purple { background:#8762b4; }.kido-banner-yellow { background:#e3ad32; }.kido-story { background:linear-gradient(110deg,#95c987,#dff0da); border-radius:22px; padding:35px 8%; display:flex; align-items:center; gap:30px; }.kido-story-icon { font-size:74px; color:#fff; }.kido-story h2 { margin:6px 0; font-size:27px; }.kido-story p { margin:0; color:#50675d; max-width:700px; }
@media (max-width:768px) { .kido-hero { min-height:auto; padding:42px 25px; }.kido-hero h1 { font-size:37px; }.kido-hero-art { display:none; }.kido-category-grid { grid-template-columns:repeat(2,1fr); }.kido-benefits { grid-template-columns:1fr; }.kido-banners { grid-template-columns:1fr; padding:40px 0; }.kido-story { padding:27px; }.kidomart-home .products { grid-template-columns:repeat(2,1fr) !important; } }

/* Home page uses a distraction-free storefront layout. */
.home .wd-page-title, .home .wd-sidebar { display:none !important; }
.home .wd-content-layout { display:block !important; max-width:none; padding:0; }
.home .wd-content-area { width:100% !important; max-width:none !important; }
.home .wd-top-bar { display:none; }
.site-logo .wd-main-logo img { display:none; }
.site-logo .wd-main-logo:after { content:'KIDOMART'; display:block; color:#466e51; font-size:29px; font-weight:800; letter-spacing:.5px; }
.site-logo .wd-main-logo:before { content:'✦'; color:#f1bb35; font-size:27px; margin-left:7px; vertical-align:1px; }

/* Self-contained demo product covers (no dependency on an external image host). */
.product-grid-item .product-image-link { position:relative; display:block; overflow:hidden; background:linear-gradient(135deg,#edf7e8,#c5e2ba); }
.product-grid-item .product-image-link img { opacity:0; display:block; }
.product-grid-item .product-image-link:after { content:'🧩'; position:absolute; inset:0; display:grid; place-items:center; font-size:92px; background:linear-gradient(135deg,#dff1d8,#acd39c); transition:transform .25s; }
.product-grid-item:hover .product-image-link:after { transform:scale(1.08) rotate(4deg); }
.product-grid-item:nth-child(4n+2) .product-image-link:after { content:'🧱'; background:linear-gradient(135deg,#fff1b4,#eac55c); }
.product-grid-item:nth-child(4n+3) .product-image-link:after { content:'🧸'; background:linear-gradient(135deg,#f7d8e1,#df93ad); }
.product-grid-item:nth-child(4n+4) .product-image-link:after { content:'🎨'; background:linear-gradient(135deg,#d6eff8,#87c7de); }

/* Remove Woodmart's default promo bar and replace its footer attribution. */
.whb-top-bar { display:none !important; }
.wd-footer.footer-container { min-height:66px; display:grid; place-items:center; background:#385846; color:#fff; }
.wd-footer.footer-container .wd-copyrights { display:none !important; }
.wd-footer.footer-container:after { content:'کلیه حقوق متعلق به کیدومارت است'; font-weight:600; font-size:14px; }
