/*
Theme Name: Azhang Medical Beauty
Theme URI: https://azhangtm.com/
Author: Azhang Tajhiz Maad
Description: قالب فارسی راست‌چین برای ویترین محصولات پزشکی و زیبایی آژنگ تجهیز ماد
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: azhang
*/
:root{--blue:#0875e8;--navy:#0d2753;--soft:#f0f8fd;--line:#e3eaf1}
*{box-sizing:border-box}body{margin:0;font-family:Tahoma,Arial,sans-serif;color:var(--navy);background:#fff;direction:rtl}a{text-decoration:none;color:inherit}button,input{font:inherit}.wrap{width:min(1460px,94%);margin:auto}
.site-header{background:#fff;border-bottom:1px solid var(--line);position:relative;z-index:2}.topbar{display:flex;align-items:center;gap:32px;padding:12px 0}.brand img{width:180px;max-height:70px;object-fit:contain}.search{flex:1;display:flex;border:1px solid var(--line);border-radius:13px;background:#f8faff;padding:12px 16px;max-width:580px}.search input{border:0;background:transparent;outline:0;flex:1;min-width:0}.header-links{display:flex;gap:20px;font-size:13px}.header-links a{white-space:nowrap}.nav{display:flex;align-items:center;gap:30px;border-top:1px solid var(--line);padding:16px 0;font-weight:bold;font-size:14px}.nav a:hover,.nav a:focus{color:var(--blue)}.nav .category-link{background:var(--blue);color:white;border-radius:7px;padding:12px 20px;margin-right:auto}
.hero{background:#f0f5fa}.hero img{width:100%;height:auto;display:block;max-height:430px;object-fit:cover}
.categories{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:14px 0}.category{height:145px;position:relative;overflow:hidden;border-radius:9px;background:#ddd}.category img{width:100%;height:100%;object-fit:cover;filter:grayscale(1)}.category:after{content:'';position:absolute;inset:0;background:linear-gradient(270deg,rgba(255,255,255,.76),transparent 80%)}.category span{position:absolute;right:16px;top:22px;font-weight:bold;z-index:1}
.section-title{text-align:center;font-size:24px;margin:25px 0}.section-title:after{content:'';display:block;width:35px;height:3px;background:var(--blue);margin:10px auto}.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.popular-grid{grid-template-columns:repeat(6,minmax(0,1fr))}.product{border:1px solid #edf0f5;border-radius:12px;padding:12px;text-align:center;background:#fff;min-width:0}.product img{width:100%;height:165px;object-fit:contain}.product h3{font-size:13px;line-height:1.6;min-height:39px}.product p{font-size:12px;color:#75839b}.button{display:inline-block;border:0;border-radius:22px;padding:10px 18px;background:var(--blue);color:white;cursor:pointer}.small{padding:7px 13px;font-size:12px}.intro{background:var(--soft);padding:42px 0;margin-top:40px}.intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px;align-items:center}.intro-logo{background:#e6f1ff;border-radius:18px;padding:60px;text-align:center}.intro-logo img{width:min(400px,100%)}.brands{display:flex;gap:20px;justify-content:center;margin:30px auto 50px}.brand-tile{border:1px solid var(--line);border-radius:12px;padding:28px;flex:1;text-align:center;max-width:300px;font-size:24px}.brand-tile img{max-width:160px;height:55px;object-fit:contain}.footer{background:#0d2851;color:#fff;padding:42px 0;line-height:2}.footer-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:35px}.footer a{text-decoration:underline;text-underline-offset:4px}.content{padding:35px 0;min-height:45vh}.single-grid{display:grid;grid-template-columns:1fr 1fr;gap:45px}.single-grid img{width:100%;max-height:500px;object-fit:contain}.muted{color:#667892}.pagination{margin:25px 0}.pagination a,.pagination span{margin:5px}
@media(max-width:1000px){.popular-grid{grid-template-columns:repeat(3,1fr)}.categories{grid-template-columns:repeat(3,1fr)}.header-links{display:none}.nav{gap:13px;flex-wrap:wrap}}@media(max-width:650px){.topbar{flex-wrap:wrap}.brand img{width:135px}.search{order:2;flex-basis:100%}.nav{font-size:12px;gap:12px}.nav .category-link{margin-right:0}.hero img{min-height:160px;object-fit:cover}.categories{grid-template-columns:repeat(2,1fr)}.category{height:115px}.popular-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.product img{height:140px}.intro-grid,.single-grid,.footer-grid{grid-template-columns:1fr}.brands{flex-wrap:wrap}}
