/*
Theme Name: Milad Watch Store
Author: Milad Watch
Description: قالب فروشگاهی فارسی ساعت؛ سازگار با WooCommerce و Elementor، با هدر/فوتر/صفحه اصلی کاملاً قابل ویرایش.
Version: 7.2.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: timely-watch-store
*/
:root{--tw-green:#719987;--tw-green-dark:#315b4b;--tw-green-deep:#25483b;--tw-mint:#edf5f0;--tw-mint-2:#e2eee6;--tw-cream:#fbfcf9;--tw-white:#fff;--tw-ink:#2d473d;--tw-muted:#7d9085;--tw-line:#e5ece6;--tw-shadow:0 8px 24px rgba(49,91,75,.08);--tw-radius:20px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--tw-cream);color:var(--tw-ink);font-family:Tahoma,Arial,sans-serif;line-height:1.9;font-size:14px}a{color:inherit;text-decoration:none}a:hover{color:var(--tw-green-dark)}img{max-width:100%;height:auto;display:block}button,input,select,textarea{font:inherit}.tw-container{width:min(1180px,calc(100% - 32px));margin-inline:auto}.site-header{background:rgba(255,255,255,.97);border-bottom:1px solid var(--tw-line);position:relative;z-index:20}.header-inner{display:flex;align-items:center;gap:22px;min-height:76px}.brand{font-weight:900;font-size:24px;color:var(--tw-green-deep);white-space:nowrap;letter-spacing:.3px}.brand span{color:var(--tw-green)}.custom-logo{max-height:48px;width:auto}.header-search{flex:1;display:flex;max-width:470px;margin-inline:auto}.header-search input{width:100%;border:1px solid transparent;background:#f5f8f5;border-radius:30px;padding:10px 18px;outline:none;color:var(--tw-ink)}.header-search input:focus{border-color:#b8d0c1}.header-actions{display:flex;align-items:center;gap:15px;color:var(--tw-green-deep);font-size:12px;white-space:nowrap}.header-actions a:hover,.nav a:hover{color:var(--tw-green)}.main-nav{border-top:1px solid #f1f4f1}.nav{display:flex;gap:27px;align-items:center;min-height:40px;font-size:12px;color:#62776b}.nav ul{display:flex;list-style:none;gap:25px;margin:0;padding:0}.nav li{margin:0}.hero{margin:20px auto 27px;min-height:320px;border-radius:25px;overflow:hidden;display:grid;grid-template-columns:1.05fr .95fr;align-items:center;background:linear-gradient(112deg,#eaf3ec 0%,#d7e8dc 52%,#b6d1bf 100%);position:relative;padding:34px 5%}.hero:before{content:"";position:absolute;width:270px;height:270px;border:1px solid rgba(255,255,255,.9);border-radius:50%;right:20%;top:9%;box-shadow:0 0 0 18px rgba(255,255,255,.13),0 0 0 40px rgba(255,255,255,.08)}.hero-copy{position:relative;z-index:2}.eyebrow{color:var(--tw-green);font-weight:bold;letter-spacing:1px;font-size:11px}.hero h1{font-size:clamp(27px,3.8vw,43px);line-height:1.55;margin:4px 0 10px;color:#244b3d}.hero p{color:#657e70;max-width:420px;margin:0 0 20px;font-size:13px}.tw-btn,.button,.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,#respond input#submit{display:inline-flex;align-items:center;justify-content:center;background:var(--tw-green)!important;color:#fff!important;border:0!important;border-radius:30px!important;padding:10px 21px!important;font-weight:bold;font-size:12px!important;line-height:1.6!important;cursor:pointer;transition:.2s}.tw-btn:hover,.button:hover,.woocommerce a.button:hover,.woocommerce button.button:hover,.woocommerce input.button:hover{background:var(--tw-green-dark)!important;color:#fff!important;transform:translateY(-1px)}.hero-art{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:250px}.hero-product-image{max-height:285px;width:min(100%,300px);object-fit:contain;filter:drop-shadow(0 16px 20px rgba(35,67,50,.14));position:relative;z-index:2}.watch-placeholder{width:174px;height:174px;border-radius:50%;background:radial-gradient(circle at 35% 28%,#789e8a,#315e4b 65%,#203e32);border:10px solid #d9e5dc;box-shadow:0 17px 30px #53776355;position:relative}.watch-placeholder:before{content:"";position:absolute;width:54px;height:220px;left:50%;transform:translateX(-50%);top:-34px;border-radius:18px;background:linear-gradient(90deg,#274b3b,#638c73,#274b3b);z-index:-1}.watch-placeholder:after{content:"";position:absolute;inset:16px;border:1px solid #e0ece2;border-radius:50%;background:repeating-conic-gradient(from 0deg,transparent 0deg 29deg,#e5eee7 30deg 31deg,transparent 32deg 59deg)}.section{margin:31px auto}.section-head{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:16px}.section-head h2{font-size:20px;margin:0;color:#315848}.section-head p{margin:2px 0 0;color:var(--tw-muted);font-size:11px}.text-link{color:var(--tw-green);font-weight:bold;font-size:12px}.categories{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.category{display:flex;align-items:center;gap:11px;background:#fff;border:1px solid var(--tw-line);padding:13px;border-radius:22px;transition:.2s}.category:hover{transform:translateY(-2px);box-shadow:var(--tw-shadow)}.category-icon{width:48px;height:48px;flex:0 0 48px;display:grid;place-items:center;background:var(--tw-mint);border-radius:50%;font-size:22px;color:var(--tw-green-dark)}.category strong{display:block;font-size:12px}.category small{color:var(--tw-muted);font-size:10px}.products-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.product-card{background:#fff;border:1px solid var(--tw-line);border-radius:19px;padding:10px;min-width:0;transition:.2s}.product-card:hover{transform:translateY(-3px);box-shadow:var(--tw-shadow)}.product-image{height:205px;background:var(--tw-mint);border-radius:14px;overflow:hidden;display:grid;place-items:center}.product-image img{width:100%;height:100%;object-fit:contain;padding:8px}.product-placeholder{font-size:65px;color:var(--tw-green)}.product-card h3{font-size:12px;line-height:1.9;margin:9px 4px 3px;color:var(--tw-ink)}.product-card .price{margin:0 4px 9px;font-weight:bold;color:var(--tw-green-dark);font-size:12px}.product-card .price del{color:#9aa79f;font-weight:normal;font-size:10px}.product-card .price ins{text-decoration:none}.product-card .button{display:flex;text-align:center;width:100%;padding:8px 10px!important}.promo{display:grid;grid-template-columns:1fr 1fr;gap:20px;align-items:center;background:#e9f2ec;border-radius:23px;padding:24px 28px;margin:35px auto}.promo h2{font-size:21px;margin:4px 0;color:var(--tw-green-deep)}.promo p{color:var(--tw-muted);margin:0 0 14px;font-size:12px}.promo-art{min-height:140px;border-radius:18px;background:linear-gradient(135deg,#d9e8dd,#b5d0bf);display:grid;place-items:center;font-size:75px;color:var(--tw-green-dark)}.benefits{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:25px auto 32px}.benefit{text-align:center;padding:13px 9px;background:#fff;border:1px solid var(--tw-line);border-radius:16px}.benefit .ico{font-size:23px;color:var(--tw-green)}.benefit strong{display:block;font-size:11px}.benefit small{color:var(--tw-muted);font-size:10px}.site-footer{border-top:1px solid var(--tw-line);background:#fff;margin-top:36px;padding:25px 0 18px}.footer-inner{display:flex;justify-content:space-between;gap:25px;align-items:center}.footer-inner p{color:var(--tw-muted);font-size:11px;margin:4px 0}.footer-links{display:flex;gap:15px;flex-wrap:wrap;font-size:11px}.content-area{background:#fff;border:1px solid var(--tw-line);padding:24px;border-radius:20px;margin:24px auto}.page-title,.woocommerce-products-header__title{font-size:24px;color:var(--tw-green-deep);margin:0 0 20px}.screen-reader-text{clip:rect(1px,1px,1px,1px);position:absolute!important;height:1px;width:1px;overflow:hidden}.woocommerce .woocommerce-breadcrumb{font-size:12px;color:var(--tw-muted);margin:12px 0 20px}.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{font-size:12px;color:var(--tw-muted)}.woocommerce ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0!important}.woocommerce ul.products:before,.woocommerce ul.products:after{display:none!important}.woocommerce ul.products li.product{float:none!important;width:auto!important;margin:0!important;background:#fff;border:1px solid var(--tw-line);border-radius:19px;padding:10px;overflow:hidden}.woocommerce ul.products li.product a img{height:190px;object-fit:contain;background:var(--tw-mint);border-radius:14px;margin:0 0 10px}.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:12px;line-height:1.9;color:var(--tw-ink);padding:0 4px}.woocommerce ul.products li.product .price{color:var(--tw-green-dark);font-size:12px}.woocommerce span.onsale{background:var(--tw-green);padding:0 10px;min-height:auto;line-height:2.2;border-radius:20px;top:8px;right:8px;left:auto}.woocommerce div.product{background:#fff;border:1px solid var(--tw-line);border-radius:22px;padding:22px}.woocommerce div.product div.images img{border-radius:16px;background:var(--tw-mint)}.woocommerce div.product div.summary{padding:8px 4px}.woocommerce div.product .product_title{font-size:25px;line-height:1.7;color:var(--tw-green-deep)}.woocommerce div.product p.price,.woocommerce div.product span.price{color:var(--tw-green-dark);font-size:21px;font-weight:bold}.woocommerce div.product .woocommerce-product-details__short-description{color:#687c70;line-height:2}.woocommerce div.product form.cart{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.woocommerce .quantity .qty{border:1px solid var(--tw-line);border-radius:22px;padding:8px;width:70px;min-height:42px;background:#fbfcfa}.woocommerce div.product .product_meta{border-top:1px solid var(--tw-line);padding-top:14px;color:var(--tw-muted);font-size:12px}.woocommerce div.product .woocommerce-tabs ul.tabs{padding:0!important}.woocommerce div.product .woocommerce-tabs ul.tabs:before{border-color:var(--tw-line)}.woocommerce div.product .woocommerce-tabs ul.tabs li{background:var(--tw-mint)!important;border:1px solid var(--tw-line)!important;border-radius:12px 12px 0 0!important}.woocommerce div.product .woocommerce-tabs ul.tabs li.active{background:#fff!important}.woocommerce table.shop_table{border:1px solid var(--tw-line)!important;border-radius:14px;overflow:hidden;border-collapse:separate;border-spacing:0}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:12px!important;border-color:var(--tw-line)!important}.woocommerce table.shop_table th{background:var(--tw-mint);color:var(--tw-green-deep)}.woocommerce form .form-row input.input-text,.woocommerce form .form-row textarea,.woocommerce select,.select2-container--default .select2-selection--single{border:1px solid var(--tw-line);border-radius:10px;padding:10px;background:#fff;min-height:42px}.woocommerce form .form-row label{font-size:12px;color:var(--tw-ink)}.woocommerce-info,.woocommerce-message{border-top-color:var(--tw-green);background:var(--tw-mint);border-radius:10px}.woocommerce-info:before,.woocommerce-message:before{color:var(--tw-green-dark)}.woocommerce nav.woocommerce-pagination ul{border:0}.woocommerce nav.woocommerce-pagination ul li{border:0;margin:2px}.woocommerce nav.woocommerce-pagination ul li a,.woocommerce nav.woocommerce-pagination ul li span{background:var(--tw-mint);border-radius:8px}.woocommerce nav.woocommerce-pagination ul li span.current{background:var(--tw-green);color:white}.woocommerce-account .woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0}.woocommerce-account .woocommerce-MyAccount-navigation li a{display:block;padding:10px 14px;margin-bottom:6px;background:var(--tw-mint);border-radius:10px}.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a{background:var(--tw-green);color:white}.woocommerce #payment,.woocommerce-checkout #payment{background:var(--tw-mint);border-radius:14px}.woocommerce #payment div.payment_box{background:#fff;border-radius:10px}.woocommerce #payment div.payment_box:before{border-bottom-color:#fff}.woocommerce-error{border-radius:10px}.woocommerce .related.products{margin-top:30px}.woocommerce .related.products>h2{font-size:20px;color:var(--tw-green-deep)}.woocommerce .cart-collaterals .cart_totals,.woocommerce-page .cart-collaterals .cart_totals{background:#fff;border:1px solid var(--tw-line);padding:16px;border-radius:16px}.woocommerce .cart-collaterals h2{font-size:19px;color:var(--tw-green-deep)}.elementor-page .site-header,.elementor-page .site-footer{font-family:Tahoma,Arial,sans-serif}.elementor-page .site-header a,.elementor-page .site-footer a{ text-decoration:none}
@media(max-width:850px){.header-inner{flex-wrap:wrap;padding:12px 0;gap:12px}.brand{font-size:21px}.header-search{order:3;flex-basis:100%;max-width:none}.header-actions{margin-inline-start:auto;gap:10px}.nav{gap:18px;overflow:auto;white-space:nowrap}.hero{grid-template-columns:1fr .7fr;min-height:270px;padding:24px 5%}.hero-art{min-height:190px}.watch-placeholder{transform:scale(.8)}.categories{grid-template-columns:repeat(2,1fr)}.products-grid,.woocommerce ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px}.product-image{height:170px}.woocommerce ul.products li.product a img{height:165px}.benefits{grid-template-columns:repeat(2,1fr)}}
@media(max-width:520px){.tw-container{width:calc(100% - 22px)}.header-inner{min-height:auto}.header-actions{font-size:11px}.hero{grid-template-columns:1fr;min-height:0;padding:24px 20px}.hero h1{font-size:28px}.hero-art{min-height:145px}.watch-placeholder{transform:scale(.62);margin:-20px 0}.hero:before{right:14%;top:47%;width:190px;height:190px}.section-head h2{font-size:18px}.category{padding:9px;gap:8px}.category-icon{width:40px;height:40px;flex-basis:40px;font-size:19px}.category strong{font-size:11px}.category small{font-size:9px}.product-image{height:140px}.product-card{padding:8px}.product-card h3{font-size:11px}.promo{grid-template-columns:1fr;padding:19px}.promo-art{min-height:95px;font-size:58px}.footer-inner{align-items:flex-start;flex-direction:column}.woocommerce div.product{padding:12px}.woocommerce div.product .product_title{font-size:21px}.woocommerce ul.products li.product{padding:7px}.woocommerce ul.products li.product a img{height:135px}.woocommerce ul.products li.product .button{font-size:11px!important;padding:8px!important}.content-area{padding:15px}.woocommerce table.shop_table th,.woocommerce table.shop_table td{padding:7px!important;font-size:11px}}

/* Milad Watch 2.0: vibrant botanical green design */
:root{--tw-green:#278459;--tw-green-dark:#104e35;--tw-green-deep:#104e35;--tw-mint:#e1f5e8;--tw-cream:#f6fcf7;--tw-line:#cfe8d6;--tw-shadow:0 14px 34px rgba(17,89,53,.12)}
body{background:linear-gradient(180deg,#f0fbf2 0,#fbfffc 520px,#f6fcf7 100%)}
.site-header{background:#fafffb;border-bottom-color:#c9e8d2;box-shadow:0 3px 18px rgba(15,90,47,.05)}
.main-nav{background:#e8f7ec;border-top-color:#d0ebd8}.nav{color:#205a3e;font-weight:600}
.header-search input{background:#eaf7ee;border:1px solid #d0e8d7}
.header-search input:focus{outline:2px solid #80c69b}
.hero.hero-banner{display:block!important;min-height:0!important;padding:0!important;margin:20px auto 30px!important;border-radius:24px!important;aspect-ratio:1536/614;background:#d8eddb;overflow:hidden}
.hero.hero-banner:before{display:none!important}
.hero-banner img{display:block;width:100%;height:100%;object-fit:cover;object-position:center}
.category{background:linear-gradient(145deg,#ffffff,#eaf8ee);border-color:#d2ead9}
.category:nth-child(2n){background:linear-gradient(145deg,#f6fff8,#def3e5)}
.category-icon{background:#c9edd7;color:#135c39}
.product-card,.woocommerce ul.products li.product{border-color:#d0e9d7;box-shadow:0 4px 15px rgba(18,91,51,.045)}
.product-image,.woocommerce ul.products li.product a img{background:linear-gradient(145deg,#eefaf1,#d7efdf)}
.promo{background:linear-gradient(120deg,#c6e9d1,#e7f8ea 55%,#b1dec1);border:1px solid #b4dec2}
.promo-art{background:linear-gradient(140deg,#e0f5e6,#8fcba5)}
.benefit{background:#effaf2;border-color:#cde9d5}.benefit:nth-child(even){background:#e1f3e8}
.site-footer{background:#e6f5ea;border-top-color:#c7e4d0}
.milad-shop-wrap{padding-top:25px;padding-bottom:45px;min-height:45vh}
.woocommerce-account .woocommerce-MyAccount-content,.woocommerce-cart .woocommerce,.woocommerce-checkout .woocommerce{max-width:100%}
.woocommerce a:focus-visible,.site-header a:focus-visible,.category:focus-visible{outline:3px solid #278459;outline-offset:3px}
@media(max-width:700px){.hero.hero-banner{border-radius:14px!important;margin:12px auto 20px!important;aspect-ratio:1536/614}.hero-banner img{object-fit:contain}.milad-shop-wrap{padding-top:15px}.header-actions{white-space:normal}}
@media(max-width:420px){.hero.hero-banner{width:calc(100% - 12px);border-radius:10px!important}.header-actions{gap:7px;font-size:10px}.brand{font-size:19px}}

/* v5: editable homepage blocks and Elementor full-width sections */
.milad-editable-home{padding-top:24px;padding-bottom:48px}.milad-editable-home .wp-block-image img{width:100%;height:auto;display:block;border-radius:18px}.milad-editable-home .wp-block-heading{margin:35px 0 12px}.milad-editable-home .wp-block-button__link{background:#278459;color:white}.milad-editable-home .elementor{width:100%}@media(max-width:700px){.milad-editable-home{padding-top:12px}.milad-editable-home .wp-block-image img{border-radius:10px}}
