/*
Theme Name: Yazd Pood Traditional
Theme URI: https://example.com/yazdpood
Author: Yazd Pood
Description: پوسته سنتی فروشگاهی یزد پود برای ترمه، تن‌پوش و محصولات پارچه یزدی؛ سازگار با ووکامرس
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: yazdpood
*/
:root{--yp-ink:#35251e;--yp-teal:#175b57;--yp-red:#8d3430;--yp-gold:#c49a52;--yp-sand:#f4ead8;--yp-paper:#fffaf1;--yp-muted:#806d5c}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--yp-paper);color:var(--yp-ink);font-family:Tahoma,Arial,sans-serif;line-height:1.9}a{color:var(--yp-teal);text-decoration:none}a:hover{color:var(--yp-red)}.yp-wrap{width:min(1160px,92%);margin:auto}
.yp-top{background:var(--yp-ink);color:#f8ebd3;text-align:center;padding:7px 12px;font-size:13px;letter-spacing:.2px}
.yp-header{background:#fffaf1;border-bottom:3px double var(--yp-gold)}.yp-head-inner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:15px 0}.yp-brand{font-size:30px;font-weight:900;color:var(--yp-red);white-space:nowrap}.yp-brand a{color:var(--yp-red)}.yp-brand span{color:var(--yp-teal)}.yp-nav ul{display:flex;gap:22px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.yp-nav a{color:var(--yp-ink);font-weight:700}.yp-actions{display:flex;gap:12px;align-items:center}.yp-pill,.yp-btn{display:inline-block;background:var(--yp-red);color:#fffaf1;padding:9px 17px;border-radius:4px;border:1px solid var(--yp-gold);font-weight:700}.yp-pill:hover,.yp-btn:hover{background:var(--yp-teal);color:white}
.yp-hero{position:relative;overflow:hidden;background:linear-gradient(110deg,#eee0c6,#fbf4e7 55%,#e5d2b2);padding:64px 0;border-bottom:1px solid var(--yp-gold)}.yp-hero:before,.yp-hero:after{content:"✦ ❖ ✦ ❖ ✦";position:absolute;color:#a77b3e55;font-size:35px;letter-spacing:14px;pointer-events:none}.yp-hero:before{top:12px;right:2%}.yp-hero:after{bottom:12px;left:2%}.yp-hero-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:36px;align-items:center;position:relative}.yp-kicker{color:var(--yp-red);font-weight:800}.yp-hero h1{font-size:clamp(30px,5vw,49px);line-height:1.55;color:var(--yp-ink);margin:8px 0}.yp-hero p{font-size:17px;max-width:620px;color:#59483a}.yp-hero-art{min-height:280px;border:8px double #d4b77d;border-radius:48% 48% 12px 12px;background:repeating-linear-gradient(45deg,#175b57 0 12px,#1f6c65 12px 24px,#8d3430 24px 30px,#e4c78f 30px 36px);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 10px #f7e8c8,0 15px 35px #35251e22}.yp-hero-art span{background:#fffaf1eF;color:var(--yp-red);padding:15px 25px;border:2px solid var(--yp-gold);font-size:34px;font-weight:900}
.yp-section{padding:48px 0}.yp-section.soft{background:#f1e5d1}.yp-section-title{text-align:center;margin:0 0 28px;color:var(--yp-red);font-size:28px}.yp-section-title:after{content:"  ❖  ــــــ";display:block;color:var(--yp-gold);font-size:15px}
.yp-cats,.yp-products{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.yp-cat,.yp-product-card{background:#fffaf1;border:1px solid #d8c39e;padding:20px;text-align:center;box-shadow:0 7px 20px #35251e0c}.yp-cat{border-top:4px solid var(--yp-teal)}.yp-cat span{font-size:34px;display:block}.yp-cat strong{display:block;color:var(--yp-ink);font-size:17px}.yp-cat small{color:var(--yp-muted)}.yp-product-card{padding:14px;border-radius:4px}.yp-product-card img{width:100%;height:220px;object-fit:cover;border:1px solid #e3d2b3}.yp-product-card h2,.yp-product-card h3{font-size:16px;color:var(--yp-ink)}.yp-price{font-weight:800;color:var(--yp-red)}.yp-product-card .yp-btn{margin-top:8px}
.yp-story{max-width:800px;margin:auto;text-align:center;color:#59483a}.yp-footer{background:var(--yp-ink);color:#f4ead8;padding:36px 0;margin-top:40px;border-top:5px double var(--yp-gold)}.yp-footer a{color:#f4d9a5}.yp-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:25px}.yp-footer h3{color:#e5c27e}.yp-content{padding:35px 0;min-height:300px}.woocommerce ul.products li.product,.woocommerce-page ul.products li.product{border:1px solid #d8c39e;padding:12px;background:#fffaf1;border-radius:4px}.woocommerce ul.products li.product a img{border-radius:2px}.woocommerce div.product div.images img{border:1px solid #d8c39e}.woocommerce a.button,.woocommerce button.button,.woocommerce input.button{background:var(--yp-red);color:#fffaf1;border-radius:4px;border:1px solid var(--yp-gold)}.woocommerce a.button:hover,.woocommerce button.button:hover{background:var(--yp-teal);color:#fff}.woocommerce span.onsale{background:var(--yp-teal)}input,textarea,select{max-width:100%;padding:10px;border:1px solid #cdbb9d;border-radius:4px;background:#fffdf8}
@media(max-width:800px){.yp-head-inner{flex-wrap:wrap}.yp-nav{order:3;width:100%}.yp-nav ul{gap:12px}.yp-hero-grid{grid-template-columns:1fr}.yp-hero-art{min-height:200px}.yp-cats,.yp-products{grid-template-columns:repeat(2,1fr)}.yp-footer-grid{grid-template-columns:1fr}}
@media(max-width:480px){.yp-cats,.yp-products{grid-template-columns:1fr}.yp-actions{margin-right:auto}.yp-product-card img{height:250px}}
