@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@400;500;600;700;800&display=swap');
:root{--ink:var(--site-text,#29251f);--muted:#79716a;--gold:var(--site-brand-gold,#C9A227);--gold2:var(--site-brand-gold-soft,#E8D48B);--paper:var(--site-surface,#F7F5F1);--line:#e9e3da;--white:#fff;--green:var(--site-brand-green,#0F5C44);--red:#a43d36}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--site-font-family,"Vazirmatn",Tahoma,Arial,sans-serif);font-size:var(--site-font-size,14px);line-height:1.8}.top{height:auto;min-height:78px;padding:18px max(4vw,20px);display:flex;justify-content:space-between;align-items:center;gap:18px;background:var(--site-brand-green-deep,#0A1F18);color:white;border-bottom:3px solid var(--gold)}.top a{color:#E8D48B;text-decoration:none}.brand{font-size:19px;font-weight:800}.top span{color:#E8D48B;font-size:13px}.wrap{width:min(1500px,92vw);margin:28px auto 70px}.hero{border-radius:22px;min-height:240px;padding:38px 5%;display:flex;align-items:center;background:radial-gradient(circle at 80% 15%,#59442c 0,#29231d 43%,#171614 100%);color:white;overflow:hidden;position:relative}.hero:after{content:'✧';position:absolute;left:7%;top:2%;font-size:190px;color:#ffffff0b}.hero small{letter-spacing:2px;color:#dfc08f}.hero h1{font-size:clamp(25px,3.4vw,43px);margin:8px 0}.hero p{color:#ddd0bd;margin:0}.filters{display:flex;gap:10px;margin:26px 0 22px}.filters input,.filters select,input,textarea,select{font:inherit;border:1px solid #ddd5c9;background:white;border-radius:10px;padding:12px;min-width:0}.filters input{flex:1}.filters select{min-width:190px}button,.button{font:inherit;background:var(--gold);color:white;border:0;border-radius:10px;padding:11px 20px;cursor:pointer;text-decoration:none;font-weight:700}button:hover,.button:hover{background:#98703b}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.card{background:white;border:1px solid var(--line);border-radius:17px;overflow:hidden;transition:transform .2s,box-shadow .2s}.card:hover{transform:translateY(-4px);box-shadow:0 16px 36px #32231313}.preview{display:block;position:relative;aspect-ratio:1/1;background:#f0ede7;overflow:hidden}.preview img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}.card:hover .preview img{transform:scale(1.035)}.ext{position:absolute;right:12px;top:12px;background:#25221fe8;color:white;border-radius:7px;padding:3px 9px;font-size:11px;letter-spacing:.5px}.placeholder{height:100%;display:grid;place-content:center;text-align:center;color:#9b8b74;font-weight:800;letter-spacing:3px;font-size:25px;background:linear-gradient(135deg,#f7f3ec,#e7dfd2)}.cardbody{padding:16px 17px 18px}.cardbody small,.product small{color:var(--gold);font-weight:700}.cardbody h2{font-size:16px;line-height:1.7;margin:5px 0 12px;min-height:54px}.cardbody h2 a{color:inherit;text-decoration:none}.price{font-size:19px;font-weight:800;color:var(--site-brand-green,#0F5C44);margin:10px 0}.price del{font-size:12px;color:#9a938b;font-weight:400}.details{display:block;text-align:center;text-decoration:none;border:1px solid #c8ad85;color:var(--site-brand-green,#0F5C44);padding:8px;border-radius:9px;margin-top:13px}.details:hover{background:#f8f1e6}.empty{background:white;border:1px dashed #d6c8b5;padding:55px;text-align:center;border-radius:16px}.product{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(320px,.95fr);gap:42px;background:white;border-radius:20px;padding:28px;border:1px solid var(--line)}.productimage{aspect-ratio:1/1;background:#f2eee7;border-radius:15px;overflow:hidden}.productimage img{width:100%;height:100%;object-fit:contain}.product h1{font-size:clamp(24px,3vw,36px);line-height:1.5}.description{white-space:normal;color:#5f5952}.note{background:#f7f2e9;padding:12px;border-radius:10px;font-size:13px;color:#685b49}.buyform,.adminform{display:grid;gap:14px}.buyform label,.adminform label,.paybox label{display:grid;gap:6px;font-weight:600}.buyform button,.adminform button,.paybox button{margin-top:5px}.order{max-width:850px;background:white;border-radius:20px;padding:30px;border:1px solid var(--line)}.paybox{background:#faf7f1;border:1px solid var(--line);border-radius:14px;padding:22px;margin-top:20px}.paybox code{display:block;overflow-wrap:anywhere;background:#eee7dc;padding:14px;border-radius:8px}.paybox pre{white-space:pre-wrap;font-family:inherit;background:#eee7dc;padding:14px;border-radius:8px}.admin{background:white;border-radius:18px;padding:25px;border:1px solid var(--line)}.tabs{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:25px}.tabs a{padding:9px 15px;border-radius:9px;text-decoration:none;color:var(--site-brand-green,#0F5C44);background:#f3ede3}.adminform{max-width:850px}.adminform h1,.headingrow h1{margin-top:0}.adminform .check{display:flex;align-items:center;gap:10px}.tablewrap{overflow:auto}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:12px;border-bottom:1px solid var(--line);text-align:right;vertical-align:top}th{background:#f7f2e9;white-space:nowrap}.inline{display:inline}.danger{background:var(--red);padding:5px 9px;font-size:12px}.secondary{background:#7c7770;padding:5px 9px;font-size:12px}.headingrow{display:flex;justify-content:space-between;align-items:center}.success,.error{padding:12px 15px;border-radius:10px;margin:12px 0}.success{background:#e8f5ee;color:var(--green)}.error{background:#fff0ed;color:var(--red)}/* Footer styling is inherited from the shared site footer; do not override it globally here. */@media(max-width:1100px){.grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:760px){.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.wrap{width:94vw;margin-top:16px}.top{align-items:flex-start;flex-direction:column}.filters{flex-wrap:wrap}.filters input{flex-basis:100%}.filters select{flex:1;min-width:0}.product{grid-template-columns:1fr;padding:15px;gap:22px}.cardbody{padding:12px}.cardbody h2{font-size:14px;min-height:0}.price{font-size:16px}.hero{min-height:200px;padding:25px}.admin{padding:14px}}@media(max-width:390px){.grid{grid-template-columns:1fr}.cardbody h2{font-size:16px}}


/* Rounded product images and their crop frames across every store view. */
body :is(.preview,.productimage,.pdp-main-image,.pdp-gallery,.card,.product,.pdp-shell){border-radius:18px!important;overflow:hidden!important}
body :is(.preview,.productimage,.pdp-main-image,.pdp-gallery) img{border-radius:18px!important;clip-path:inset(0 round 18px)}
body img:not(.avatar):not(.icon-img){border-radius:18px!important;clip-path:inset(0 round 18px)}

/* Shared site palette: emerald backgrounds, gold accents, and rounded media. */
.top{background:var(--site-brand-green-deep,#0A1F18)!important;border-bottom-color:var(--site-brand-gold,#C9A227)!important}
.top a,.brand{color:var(--site-brand-gold-soft,#E8D48B)!important}
.wrap .hero{background:radial-gradient(circle at 80% 15%,#315D49 0,var(--site-brand-green-deep,#0A1F18) 58%,#171D18 100%)!important;border:1px solid #C9A22755}
.hero small{color:var(--site-brand-gold,#C9A227)!important}
.filters button,.pdp-buy-button{background:var(--site-brand-green,#0F5C44)!important;border:1px solid var(--site-brand-gold,#C9A227)!important;color:#fff!important}
.cardbody small,.product small,.pdp-category{color:var(--site-brand-gold,#C9A227)!important}
.price,.pdp-price,.pdp-license h3,.pdp-trust-item b{color:var(--site-brand-green,#0F5C44)!important}
.details,.pdp-tab.active{color:var(--site-brand-green,#0F5C44)!important;border-color:var(--site-brand-gold,#C9A227)!important}
.pdp-tab.active{background:#fbf8f2!important;border-bottom-color:var(--site-brand-gold,#C9A227)!important}
.crumbs a{color:var(--site-brand-green,#0F5C44)!important}


/* Homepage-only layout repair: keep storefront widgets and category/product areas in their intended columns. */
.store-wrap{width:min(1500px,92vw);margin:24px auto 64px;direction:rtl}
.store-wrap .store-slider{position:relative;width:100%;margin:0 0 22px;overflow:hidden;border-radius:22px;background:#171614;isolation:isolate}
.store-wrap .store-slide{display:none;position:relative;width:100%;margin:0}
.store-wrap .store-slide.is-active{display:block}
.store-wrap .store-slide>img{display:block;width:100%;height:auto;max-height:440px;object-fit:cover;border-radius:0;clip-path:none}
.store-wrap .slider-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;width:42px;height:42px;padding:0;border:1px solid #e8d48b;border-radius:50%;background:#101a16d9;color:#fff;font-size:27px;line-height:1}
.store-wrap .slider-prev{right:16px}.store-wrap .slider-next{left:16px}
.store-wrap .slider-dots{position:absolute;bottom:12px;left:0;right:0;display:flex;justify-content:center;gap:8px;z-index:2}
.store-wrap .slider-dots button{width:9px;height:9px;padding:0;border-radius:50%;background:#ffffff99;border:1px solid #fff}
.store-wrap .slider-dots button.active{background:#d6b34b}
.store-wrap .store-layout{display:grid;grid-template-columns:minmax(220px,270px) minmax(0,1fr);gap:24px;align-items:start;direction:rtl}
.store-wrap .store-sidebar,.store-wrap .store-content{min-width:0}
.store-wrap .side-panel,.store-wrap .store-heading,.store-wrap .filters,.store-wrap .empty{background:#fff;border:1px solid var(--line,#e9e3da);border-radius:16px}
.store-wrap .side-panel{padding:18px;margin-bottom:18px}
.store-wrap .side-panel h2{margin:0 0 12px;font-size:18px;color:var(--green,#0F5C44)}
.store-wrap .category-link{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 4px;border-bottom:1px solid #eee8df;text-decoration:none;color:var(--ink,#29251f)}
.store-wrap .category-link:last-child{border-bottom:0}
.store-wrap .category-link b{font-size:12px;color:#85704a}
.store-wrap .category-link.selected{font-weight:700;color:var(--green,#0F5C44)}
.store-wrap .store-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px;margin-bottom:16px}
.store-wrap .store-heading h2{margin:0;color:var(--green,#0F5C44);font-size:24px}
.store-wrap .store-heading p{margin:5px 0 0;color:var(--muted,#79716a)}
.store-wrap .product-count{white-space:nowrap;color:#7b6741;font-weight:700}
.store-wrap .filters{padding:12px;margin:0 0 20px;align-items:center}
.store-wrap .filters input{flex:1;width:100%}
.store-wrap .grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.store-wrap .empty{padding:42px 20px;text-align:center;color:var(--muted,#79716a)}
.store-wrap .empty>span{font-size:30px;color:#c9a227}
.store-wrap .empty h3{margin:8px 0;color:#b18b25}
.store-wrap .js-custom-widget{display:block;min-width:0;margin:0 0 18px;padding:16px;background:#fff;border:1px solid var(--line,#e9e3da);border-radius:16px;overflow-wrap:anywhere}
.store-wrap .js-custom-widget h3{margin:0 0 10px;font-size:18px;color:var(--green,#0F5C44)}
.store-wrap .js-widget-text{line-height:1.9;white-space:normal}
.store-wrap .js-widget-categories{display:flex;flex-direction:column;gap:7px}
.store-wrap .js-widget-categories a,.store-wrap .js-widget-link{color:var(--green,#0F5C44);text-decoration:none}
.store-wrap .js-custom-widget img{display:block;max-width:100%;height:auto}
.store-wrap .store-sidebar .js-custom-widget{margin-top:16px}
@media(max-width:900px){.store-wrap .store-layout{grid-template-columns:1fr}.store-wrap .store-sidebar{order:2}.store-wrap .store-content{order:1}.store-wrap .store-sidebar .side-panel{margin-bottom:16px}.store-wrap .grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.store-wrap{width:94vw;margin-top:14px}.store-wrap .store-slider{border-radius:14px}.store-wrap .store-slide>img{min-height:130px;object-fit:cover}.store-wrap .store-heading{align-items:flex-start;padding:15px;flex-direction:column}.store-wrap .store-heading h2{font-size:20px}.store-wrap .filters{flex-wrap:wrap}.store-wrap .filters input{flex-basis:100%}.store-wrap .filters select{flex:1;min-width:0}.store-wrap .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.store-wrap .side-panel,.store-wrap .js-custom-widget{padding:13px}}
