/*
Theme Name: Khone Set
Author: Talan Academy
Description: قالب فروشگاهی خونه سِت، سازگار با WooCommerce و Elementor با هیرو سه بعدی
Version: 1.0.0
Text Domain: khone-set
*/
:root{--primary:#8b5e3c;--dark:#29231f;--cream:#f8f3ec}
*{box-sizing:border-box}body{margin:0;font-family:Tahoma,Arial,sans-serif;color:var(--dark);line-height:1.8}a{text-decoration:none;color:inherit}.site-header{position:sticky;top:0;z-index:50;background:#fffffff2;backdrop-filter:blur(12px);border-bottom:1px solid #eee}.nav{max-width:1200px;margin:auto;padding:15px 20px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:28px;font-weight:900;color:var(--primary)}.menu{display:flex;gap:24px}.hero{min-height:600px;position:relative;overflow:hidden;background:radial-gradient(circle at 78% 38%,#fff,#f3e8da 45%,#e5d1b8);display:flex;align-items:center}.hero-inner{max-width:1200px;width:100%;margin:auto;padding:70px 20px;position:relative;z-index:3}.hero-copy{max-width:570px}.hero h1{font-size:clamp(40px,5vw,68px);line-height:1.15;margin:0 0 15px}.hero p{font-size:20px;color:#65594f}.btn{display:inline-block;background:var(--dark);color:#fff;padding:13px 25px;border-radius:12px;font-weight:bold}.hero-3d{position:absolute;right:3%;top:8%;width:510px;height:510px;perspective:1100px}.orb{position:absolute;right:55px;top:50px;width:370px;height:370px;border-radius:50%;background:radial-gradient(circle at 35% 25%,#fff,#d8b68e 38%,#855a39 78%,#402c20);box-shadow:0 35px 70px #50351f55;animation:float 5s ease-in-out infinite}.orb:before,.orb:after{content:"";position:absolute;border:1px solid #ffffff55;border-radius:50%;inset:22px;transform:rotateX(65deg)}.orb:after{inset:55px;transform:rotateY(65deg)}.card3d{position:absolute;right:0;bottom:25px;width:265px;height:175px;border-radius:24px;background:linear-gradient(145deg,#fff,#dfc3a2);box-shadow:0 30px 55px #0003;transform:rotateY(-18deg) rotateX(10deg);animation:tilt 6s ease-in-out infinite}.card3d:after{content:"خونه سِت";position:absolute;inset:0;display:grid;place-items:center;font-size:28px;font-weight:900;color:#68432b}@keyframes float{50%{transform:translateY(-18px) rotateY(14deg)}}@keyframes tilt{50%{transform:rotateY(-28deg) rotateX(15deg) translateY(-10px)}}.section{max-width:1200px;margin:auto;padding:65px 20px}.section-title{text-align:center;margin-bottom:35px}.section-title h2{font-size:34px;margin:0}.grid{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.post-card{border:1px solid #eee;border-radius:18px;overflow:hidden;box-shadow:0 8px 25px #0000000d}.post-card img{width:100%;height:220px;object-fit:cover}.card-body{padding:18px}.footer{margin-top:40px;background:#29231f;color:#fff}.footer-inner{max-width:1200px;margin:auto;padding:45px 20px;display:grid;grid-template-columns:2fr 1fr 1fr;gap:30px}.credit{text-align:center;border-top:1px solid #ffffff22;padding:18px}.woocommerce .products{display:grid!important;grid-template-columns:repeat(4,1fr);gap:22px}.woocommerce ul.products li.product{width:auto!important;margin:0!important}.woocommerce a.button{background:var(--dark);color:#fff;border-radius:10px}@media(max-width:900px){.hero-3d{opacity:.4;right:-100px}.grid,.woocommerce .products{grid-template-columns:repeat(2,1fr)!important}.footer-inner{grid-template-columns:1fr}}@media(max-width:600px){.grid,.woocommerce .products{grid-template-columns:1fr!important}.hero-3d{right:-180px}.hero h1{font-size:42px}}

.hero-photo{isolation:isolate}.hero-image{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.42;transform:scale(1.03)}.hero-photo:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(248,243,236,.98) 0%,rgba(248,243,236,.84) 38%,rgba(248,243,236,.15) 75%,rgba(248,243,236,.05) 100%);z-index:1}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.category-card{position:relative;overflow:hidden;border-radius:22px;height:250px;box-shadow:0 14px 35px #00000012;background:#eee}.category-card img{width:100%;height:100%;object-fit:cover;transition:.45s}.category-card:after{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,#000000a8)}.category-card span{position:absolute;bottom:20px;right:20px;color:#fff;font-size:23px;font-weight:900;z-index:2}.category-card:hover img{transform:scale(1.07)}.inspiration{background:var(--cream);max-width:none;padding-left:max(20px,calc((100% - 1160px)/2));padding-right:max(20px,calc((100% - 1160px)/2))}.inspiration-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:20px}.inspiration figure{margin:0;background:#fff;border-radius:20px;overflow:hidden;box-shadow:0 12px 30px #0000000d}.inspiration img{width:100%;height:300px;object-fit:cover}.inspiration figure:first-child img{height:420px}.inspiration figcaption{padding:14px 18px;font-weight:800}@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,1fr)}.inspiration-grid{grid-template-columns:1fr 1fr}.inspiration figure:first-child{grid-column:1/-1}.inspiration figure:first-child img{height:320px}}@media(max-width:600px){.category-grid,.inspiration-grid{grid-template-columns:1fr}.hero-photo{min-height:620px}.hero-image{opacity:.28}.hero-photo:after{background:linear-gradient(90deg,#f8f3ecef,#f8f3ec88)}}
