:root{--navy:#071f3a;--blue:#123b70;--gold:#d7b25a;--cream:#f4e9d4;--ink:#162b40}*{box-sizing:border-box}body{margin:0;background:#fffdf8;color:var(--ink);font-family:Tahoma,Arial,sans-serif;direction:rtl}a{text-decoration:none;color:inherit}img{max-width:100%}.header{height:78px;padding:0 max(18px,calc((100vw - 1120px)/2));display:flex;align-items:center;gap:24px;background:#fff}.logo{width:155px}.logo img{display:block}.search{flex:1;padding:12px 18px;border:1px solid #ddd4c4;border-radius:25px;color:#8a8a8a}.flags{display:flex;gap:5px}.flags button{border:1px solid #ddd3bd;border-radius:4px;background:#fff;padding:4px;font-size:18px}.nav{height:48px;display:flex;justify-content:center;align-items:center;gap:30px;border-top:1px solid #eee8dc;font-size:12px;font-weight:bold}.mobile-menu{display:none}.hero{min-height:560px;padding:90px max(22px,calc((100vw - 1120px)/2));position:relative;color:#fff;background:linear-gradient(90deg,#051a3270,#062445ee),url('hero-tiles.jpg') center/cover}.hero h1{font-size:clamp(42px,6vw,75px);margin:15px 0}.hero h1 span{color:var(--gold)}.hero p{max-width:620px;line-height:2}.btn{display:inline-block;margin:18px 0 0 8px;padding:13px 20px;border-radius:5px;background:var(--gold);color:var(--navy);font-weight:bold;font-size:12px}.btn.alt{border:1px solid #fff;background:transparent;color:#fff}.wrap{max-width:1160px;margin:auto;padding:65px 20px}.section-title small{color:#987521}.section-title h2{font-size:30px;color:var(--navy)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.card{min-height:390px;position:relative;overflow:hidden;border-radius:9px;background:var(--navy);color:#fff}.card img{width:100%;height:100%;object-fit:cover}.card:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#061d38ef)}.card div{position:absolute;z-index:2;right:22px;left:22px;bottom:22px}.card h3{font-size:20px}.card p{font-size:11px;line-height:1.8}.dark{padding:55px;background:var(--navy);color:#fff}.dark p{line-height:2;color:#dbe5ee}.content{max-width:1120px;min-height:420px;margin:55px auto;padding:0 22px}.content h1{color:var(--navy)}.content p{line-height:2;color:#5f6f7e}.form{max-width:700px;padding:28px;border:1px solid #dfd5c5;background:#fff}.form label{display:block;margin:12px 0 7px;font-size:12px;font-weight:bold}.form input,.form textarea,.form select{width:100%;padding:12px;border:1px solid #d8cebc}.form textarea{min-height:110px}.form button{margin-top:18px;padding:12px 25px;border:0;background:var(--blue);color:#fff}.notice{padding:12px;margin:15px 0;background:#e7f5ea;color:#27723c}.error{background:#fde9e5;color:#942f25}.footer{min-height:650px;padding:70px max(25px,calc((100vw - 1050px)/2));display:grid;grid-template-columns:1fr 1fr;gap:70px;background:var(--navy);color:#fff}.footer h2{color:var(--gold)}.footer p{line-height:2;color:#dce2e7}.footer-logo{display:grid;place-items:center}.footer-logo img{width:360px;filter:invert(1);mix-blend-mode:screen}.adminbar{padding:20px;background:var(--navy);color:#fff}.admin-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.admin-grid a{padding:25px;background:var(--cream);font-weight:bold}.table{width:100%;border-collapse:collapse}.table td,.table th{padding:12px;border-bottom:1px solid #ddd;text-align:right}.products{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.product{border:1px solid #ddd;background:#fff}.product img{width:100%;height:220px;object-fit:cover}.product div{padding:18px}@media(max-width:800px){.header{height:70px}.logo{width:120px}.search,.nav{display:none}.mobile-menu{display:block;margin-right:auto;border:0;background:var(--navy);color:var(--gold);padding:10px}.menu-open .nav{height:auto;padding:18px;display:flex;position:absolute;z-index:10;top:70px;right:0;left:0;flex-direction:column;background:var(--navy);color:#fff}.hero{min-height:510px;padding-top:80px}.cards,.products,.admin-grid{grid-template-columns:1fr}.footer{grid-template-columns:1fr;min-height:900px}.footer-logo{order:2}.footer-logo img{width:260px}.dark{padding:35px 22px}}

/* مدیریت پیشرفته بوم‌آرا */
.adminbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:25px;border-radius:6px}.adminbar a{color:var(--gold)}.admin-form{margin-bottom:28px}.admin-form h2{margin-top:30px;padding-top:18px;border-top:1px solid #e5dccd}.admin-form small{display:block;margin-top:7px;color:#76818b;direction:ltr;text-align:left}.admin-grid{grid-template-columns:repeat(4,1fr)}.admin-grid a{border-radius:7px;box-shadow:0 5px 18px #071f3a12;transition:.2s}.admin-grid a:hover{transform:translateY(-2px);background:#ead9b8}.admin-thumb{width:78px;height:58px;object-fit:cover;border-radius:5px}.small-btn,.danger{display:inline-block;padding:8px 11px;border:0;border-radius:4px;font-size:11px;cursor:pointer}.small-btn{background:var(--blue);color:#fff}.danger{background:#9f3028;color:#fff}.inline{display:inline;margin-right:5px}.check{display:flex!important;align-items:center;gap:8px}.check input{width:auto!important}.table{margin-top:22px;background:#fff}.table th{background:#f2eadc}.table small{color:#777}.form input[type=file]{background:#faf7f0}@media(max-width:950px){.admin-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.adminbar{align-items:flex-start;flex-direction:column}.admin-grid{grid-template-columns:1fr}.table{display:block;overflow-x:auto;white-space:nowrap}}
.category-admin-grid a small{display:block;margin-top:8px;color:#6f6049;font-weight:normal}.product video{width:100%;height:220px;object-fit:cover;background:#000}.media-gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:16px}.media-gallery img,.media-gallery video{width:100%;height:90px;object-fit:cover;border-radius:4px}@media(max-width:600px){.media-gallery{grid-template-columns:repeat(2,1fr)}}
.flags a{display:inline-flex;align-items:center;justify-content:center;padding:5px;border-radius:8px;text-decoration:none;font-size:21px}.flags a:hover{background:#eef2f6}.social-links{display:flex;flex-direction:column;gap:8px}.social-links a{color:inherit;text-decoration:none}.social-links a:hover{text-decoration:underline}
.article-page{max-width:980px}.article-cover{width:100%;max-height:520px;object-fit:cover;border-radius:18px;margin:22px 0}.article-body{font-size:1.08rem;line-height:2.15;white-space:normal}.product h2{margin-top:0}.admin-form textarea[name^="body_"]{min-height:260px}
.mobile-menu{position:relative;z-index:30;cursor:pointer;font-size:20px;line-height:1}.menu-open{overflow:hidden}@media(max-width:800px){.menu-open .nav{max-height:calc(100vh - 70px);overflow:auto;box-shadow:0 10px 25px #0004}.nav a{width:100%;padding:10px;text-align:center}html[dir="ltr"] .nav,html[dir="ltr"] body{direction:ltr}html[dir="rtl"] .nav,html[dir="rtl"] body{direction:rtl}}


.categories-section {
  position: relative;
  max-width: none !important;
  width: 100% !important;
  padding: 90px 5% 120px !important;
  background-color: #080706;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  overflow: hidden;
}

.categories-section > * {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
}

.categories-section .section-title h2 {
  color: #0b2540;
}

.categories-section .section-title small {
  color: #a77b3d;
}

@media (max-width: 700px) {
  .categories-section {
    padding: 65px 22px 85px;
    background-position: 68% center;
  }
}

@media (max-width: 700px) {

  .categories-section {
    padding: 55px 18px 75px !important;
    background-position: 72% center !important;
    background-size: cover !important;
  }

  .categories-section .section-title {
    margin-bottom: 28px !important;
    text-align: center !important;
  }

  .categories-section .section-title h2 {
    font-size: 28px !important;
    line-height: 1.5 !important;
  }

  .categories-section .cards {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    max-width: 420px !important;
    margin: 0 auto !important;
  }

  .categories-section .card {
    min-height: 360px !important;
  }
}

@media (max-width: 700px) {
  .categories-section .card {
    min-height: 0 !important;
    height: 440px !important;
    border-radius: 14px !important;
    overflow: hidden !important;
  }

  .categories-section .card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
  }

  .categories-section .card div {
    right: 18px !important;
    left: 18px !important;
    bottom: 18px !important;
  }

  .categories-section .card h3 {
    font-size: 20px !important;
  }

  .categories-section .card p {
    font-size: 12px !important;
  }
}


/* اصلاح ابعاد کارت‌های دسته‌بندی بوم‌آرا - نسخه جمع‌وجور */
@media (min-width: 701px) {
  .categories-section .cards {
    max-width: 1080px !important;
    margin: 0 auto !important;
    gap: 18px !important;
  }

  .categories-section .card {
    min-height: 330px !important;
    height: 330px !important;
  }
}

@media (max-width: 700px) {
  .categories-section {
    padding: 42px 16px 58px !important;
  }

  .categories-section .section-title {
    margin-bottom: 20px !important;
  }

  .categories-section .cards {
    max-width: 350px !important;
    gap: 15px !important;
  }

  .categories-section .card {
    min-height: 0 !important;
    height: 320px !important;
    border-radius: 12px !important;
  }

  .categories-section .card div {
    right: 16px !important;
    left: 16px !important;
    bottom: 14px !important;
  }

  .categories-section .card h3 {
    margin: 0 0 5px !important;
    font-size: 18px !important;
  }

  .categories-section .card p {
    margin: 0 !important;
    font-size: 11px !important;
    line-height: 1.65 !important;
  }
}

/* نسخه نهایی فشرده برای موبایل */
@media (max-width: 700px) {
  .categories-section {
    padding: 28px 12px 40px !important;
  }

  .categories-section .section-title {
    margin-bottom: 14px !important;
  }

  .categories-section .section-title small {
    font-size: 11px !important;
  }

  .categories-section .section-title h2 {
    margin: 4px 0 0 !important;
    font-size: 22px !important;
    line-height: 1.35 !important;
  }

  .categories-section .cards {
    width: 100% !important;
    max-width: 320px !important;
    gap: 12px !important;
    margin: 0 auto !important;
  }

  .categories-section .card {
    min-height: 0 !important;
    height: 230px !important;
    border-radius: 11px !important;
    overflow: hidden !important;
  }

  .categories-section .card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
  }

  .categories-section .card div {
    right: 12px !important;
    left: 12px !important;
    bottom: 10px !important;
    padding: 9px 10px !important;
  }

  .categories-section .card h3 {
    margin: 0 0 3px !important;
    font-size: 16px !important;
    line-height: 1.35 !important;
  }

  .categories-section .card p {
    margin: 0 !important;
    font-size: 10px !important;
    line-height: 1.45 !important;
  }
}

@media (max-width: 390px) {
  .categories-section .cards {
    max-width: 290px !important;
  }

  .categories-section .card {
    height: 210px !important;
  }
}


/* تنظیمات قابل کنترل از پنل مدیریت */
body{font-family:var(--font-body,Tahoma,Arial,sans-serif);font-size:var(--fs-body,16px)}
h1,h2,h3,h4,h5,h6{font-family:var(--font-heading,Tahoma,Arial,sans-serif)}
h1,.content h1{font-size:var(--fs-h1,38px)}
h2,.section-title h2{font-size:var(--fs-h2,30px)}
h3,.card h3,.product h3{font-size:var(--fs-h3,20px)}
p,.content p,.card p,.footer p{font-size:var(--fs-p,16px)}
.nav,.nav a{font-family:var(--font-nav,Tahoma,Arial,sans-serif);font-size:var(--fs-nav,12px)}
.btn,button,.form button{font-size:var(--fs-btn,12px)}
.site-page .content{padding-top:28px;padding-bottom:28px;border-radius:12px}
.categories-section{background-size:cover!important;background-position:center!important;background-repeat:no-repeat!important}
@media(max-width:700px){h1,.content h1{font-size:calc(var(--fs-h1,38px)*.72)}h2,.section-title h2{font-size:calc(var(--fs-h2,30px)*.78)}h3,.card h3{font-size:calc(var(--fs-h3,20px)*.72)}p,.content p,.card p{font-size:calc(var(--fs-p,16px)*.88)}}

/* فهرست محصولات: چهار محصول در هر ردیف */
.material-list-page{max-width:1440px}
.material-list-page>h1{text-align:center;margin-bottom:12px}
.category-description{max-width:760px;margin:0 auto 34px;text-align:center;color:#687887;line-height:2}
.material-list-page .products{grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}
.material-list-page .product{display:block;overflow:hidden;border:1px solid #e5ddcf;border-radius:12px;background:#fff;box-shadow:0 8px 28px #071f3a0a;transition:transform .2s,box-shadow .2s}
.material-list-page .product:hover{transform:translateY(-4px);box-shadow:0 14px 34px #071f3a18}
.material-list-page .product>img,.material-list-page .product>video{display:block;width:100%;height:270px;object-fit:cover;background:#eee}
.material-list-page .product>div{padding:18px 18px 20px}
.material-list-page .product h3{margin:0 0 10px;color:var(--navy);line-height:1.5}
.material-list-page .product p{margin:0;color:#6b7782;line-height:1.7}
.material-list-page .product b{display:block;margin-top:11px;color:#a65335}
.product-dimensions{font-size:.88em!important}

/* صفحه اختصاصی محصول */
.product-detail-page{max-width:1440px;margin-top:40px}
.product-detail{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(370px,.75fr);grid-template-areas:"media info";gap:52px;align-items:start;direction:ltr}
.product-main-media{grid-area:media;overflow:hidden;border-radius:14px;background:#f0ece5;box-shadow:0 10px 35px #071f3a12}
.product-main-media img{display:block;width:100%;height:560px;object-fit:cover}
.product-info{grid-area:info;direction:rtl;text-align:right;padding:12px 0}
html[dir="ltr"] .product-info{direction:ltr;text-align:left}
.product-kicker{color:#b15a3c;font-weight:bold}
.product-info h1{margin:12px 0 14px;font-size:clamp(32px,3vw,52px);line-height:1.35}
.product-info>p{margin-bottom:22px;color:#697782;line-height:2}
.product-specs{margin:0;border-top:1px solid #e4dccf}
.product-specs>div{display:grid;grid-template-columns:1fr 1.25fr;gap:14px;padding:13px 4px;border-bottom:1px solid #e4dccf}
.product-specs dt{font-weight:bold;color:var(--navy)}
.product-specs dd{margin:0;color:#64717c}
.product-request{display:block;margin-top:24px;padding:15px 22px;border-radius:6px;background:#bb5136;color:#fff;text-align:center;font-weight:bold;transition:.2s}
.product-request:hover{background:#943b27}
.work-samples{margin-top:48px}
.work-samples h2{text-align:center;color:var(--navy);margin-bottom:24px}
.work-samples-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.work-sample{position:relative;overflow:hidden;height:245px;padding:0;border:0;border-radius:11px;background:#eee;cursor:zoom-in}
.work-sample img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.work-sample span{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#fff;color:var(--navy);font-size:24px;box-shadow:0 3px 12px #0002}
.work-sample:hover img{transform:scale(1.04)}
.image-lightbox{position:fixed;z-index:1000;inset:0;display:none;align-items:center;justify-content:center;padding:5vw;background:#03101deF}
.image-lightbox.is-open{display:flex}
.image-lightbox img{max-width:92vw;max-height:88vh;object-fit:contain;border-radius:10px}
.lightbox-close{position:fixed;top:22px;right:28px;width:48px;height:48px;border:1px solid #ffffff55;border-radius:50%;background:#fff;color:#071f3a;font-size:34px;line-height:1;cursor:pointer}
.lightbox-open{overflow:hidden}
.admin-sample-preview{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:12px 0}
.admin-sample-preview img{width:100%;height:90px;object-fit:cover;border-radius:6px}

@media(max-width:1050px){.material-list-page .products{grid-template-columns:repeat(3,1fr)}.product-detail{grid-template-columns:1fr;grid-template-areas:"media" "info";gap:24px}.product-main-media img{height:480px}.work-sample{height:210px}}
@media(max-width:700px){.material-list-page .products{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.material-list-page .product>img,.material-list-page .product>video{height:180px}.material-list-page .product>div{padding:12px}.material-list-page .product h3{font-size:14px!important}.material-list-page .product p,.material-list-page .product b{font-size:11px!important}.product-detail-page{margin-top:20px;padding-left:14px;padding-right:14px}.product-main-media img{height:330px}.product-info h1{font-size:30px}.product-specs>div{grid-template-columns:1fr 1.15fr;font-size:13px}.work-samples-grid{grid-template-columns:repeat(2,1fr);gap:10px}.work-sample{height:180px}.admin-sample-preview{grid-template-columns:repeat(2,1fr)}}

/* ویترین دسته‌بندی متریال در صفحه نخست */
.category-showcase{max-width:none!important;overflow:hidden;position:relative;isolation:isolate;padding-inline:0!important}
.category-showcase .section-title{max-width:1160px;margin:auto;padding-inline:20px}.category-showcase .section-title h2{color:var(--color-category-title)!important}.category-showcase .section-title small{color:var(--color-category-text)!important}
.category-stage{position:relative;overflow:hidden;margin-top:24px;padding:54px 0 46px;background:transparent!important;box-shadow:none!important}
.category-stage:before{content:"";position:absolute;z-index:1;left:50%;bottom:72px;width:min(470px,52vw);height:80px;border-radius:50%;transform:translateX(-50%);background:radial-gradient(ellipse,#ffe6bda8 0,#d8a96e55 36%,transparent 72%);filter:blur(10px);pointer-events:none}
.category-stage:after{content:"";position:absolute;z-index:0;left:8%;right:8%;bottom:46px;height:95px;border-radius:50%;border-bottom:1px solid #d5ad7542;box-shadow:0 26px 44px #0009;transform:perspective(500px) rotateX(68deg);pointer-events:none}
.category-light{display:none!important}
.category-showcase .cards{position:relative;z-index:2;display:flex!important;max-width:none!important;align-items:center;gap:clamp(16px,3vw,46px);overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:38px max(38vw,calc((100% - 320px)/2)) 72px!important}
.category-showcase .cards::-webkit-scrollbar{display:none}
.category-showcase .card{position:relative!important;flex:0 0 clamp(190px,23vw,320px)!important;width:auto!important;max-width:none!important;height:auto!important;min-height:0!important;overflow:visible!important;scroll-snap-align:center;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;filter:grayscale(.78) brightness(.22) blur(1px);opacity:.54;transform:translateY(18px) scale(.82);transition:filter .65s,opacity .65s,transform .65s!important}
.category-showcase .card:after{display:none!important}
.category-showcase .card.is-active{z-index:4;filter:none;opacity:1;transform:translateY(-22px) scale(1.08)}
.category-showcase .card>img{display:block!important;width:100%!important;height:clamp(260px,34vw,460px)!important;object-fit:contain!important;border-radius:0!important;background:transparent!important;filter:drop-shadow(0 24px 20px #24170d45);transform-origin:center;transition:filter .65s}
.category-showcase .card.is-active>img{animation:category-turn 16s linear infinite;filter:drop-shadow(0 30px 24px #000b) brightness(1.16) contrast(1.04)}
.category-showcase .card>div{position:absolute!important;top:calc(100% + 10px)!important;right:auto!important;bottom:auto!important;left:50%!important;width:150%!important;padding:0!important;transform:translateX(-50%);text-align:center;opacity:0;transition:opacity .45s}
.category-showcase .card.is-active>div{opacity:1}
.category-showcase .card h3{margin:0 0 4px!important;color:var(--color-category-title)!important;font-size:clamp(16px,1.6vw,23px)!important;text-shadow:0 2px 10px #000}
.category-showcase .card p{margin:0!important;color:var(--color-category-text)!important;font-size:13px!important;line-height:1.7;text-shadow:0 2px 8px #000}
.category-arrow{position:absolute;z-index:8;top:47%;display:grid;place-items:center;width:48px;height:48px;padding:0;border:1px solid #775b423b;border-radius:50%;background:#fff9;color:#493424;font-size:34px;line-height:1;box-shadow:0 8px 24px #281b1026;cursor:pointer;backdrop-filter:blur(8px)}
.category-prev{left:16px}.category-next{right:16px}.category-showcase-hint{margin:13px 0 0;text-align:center;color:var(--color-category-text)!important;font-size:12px!important}
@keyframes category-turn{0%{transform:perspective(900px) rotateY(0)}100%{transform:perspective(900px) rotateY(360deg)}}
@media(prefers-reduced-motion:reduce){.category-showcase .card,.category-showcase .card>img{transition:none!important;animation:none!important}}
@media(max-width:700px){.category-showcase .section-title{padding-inline:18px}.category-stage{padding:38px 0 32px}.category-showcase .cards{gap:12px;padding:30px calc((100vw - 188px)/2) 62px!important}.category-showcase .card{flex-basis:188px!important}.category-showcase .card>img{height:270px!important}.category-showcase .card.is-active{transform:translateY(-14px) scale(1.05)}.category-showcase .card>div{top:calc(100% + 5px)!important;width:128%!important}.category-arrow{top:43%;width:38px;height:38px;font-size:28px}.category-prev{left:8px}.category-next{right:8px}.category-light{width:94vw;height:420px}.category-showcase-hint{padding-inline:18px}}

/* هدر، تصویر اصلی و کنترل‌های ظاهری پنل مدیریت */
body.site-page{color:var(--color-body)}
h1,h2,h3,h4,h5,h6,.content h1{color:var(--color-heading)}
.nav,.nav a{color:var(--color-nav)}
.btn,.form button{background:var(--color-button-bg);color:var(--color-button-text)}
.hero{min-height:var(--hero-height-desktop)!important;background-size:cover!important;background-position:center center!important;background-repeat:no-repeat!important;background-color:#d8c7ac;font-family:var(--font-hero);color:var(--color-hero-text)}
.hero h1{font-family:var(--font-hero);font-size:clamp(38px,5vw,var(--fs-hero-title))!important;color:var(--color-hero-title)}
.hero h1 span{color:var(--color-hero-accent)}
.hero p{font-family:var(--font-hero);font-size:var(--fs-hero-text)!important;color:var(--color-hero-text)}
.category-showcase .card h3,.category-showcase .section-title{font-family:var(--font-category)}
.category-showcase .card h3{font-size:var(--fs-category-title)!important}
.category-showcase .card p{font-family:var(--font-category);font-size:var(--fs-category-text)!important}
.material-list-page .product,.product-detail-page{font-family:var(--font-product)}
.material-list-page .product h3,.product-info h1{font-size:var(--fs-product-title)!important;color:var(--color-product-title)!important}
.material-list-page .product p,.product-info p,.product-specs dd{font-size:var(--fs-product-text)!important;color:var(--color-product-text)!important}
.material-list-page .product b{color:var(--color-product-price)!important}
.footer{font-family:var(--font-footer)}
.footer h2{font-size:var(--fs-footer-title)!important;color:var(--color-footer-title)!important}
.footer p,.footer .contact-item{font-size:var(--fs-footer-text)!important;color:var(--color-footer-text)!important}
.categories-section{background-repeat:no-repeat!important;background-size:cover!important;background-position:center center!important}
@media(max-width:800px){.menu-open .nav{top:96px!important;max-height:calc(100vh - 96px)!important}.hero{min-height:var(--hero-height-mobile)!important;padding:64px 28px!important;background-size:cover!important;background-position:62% center!important;background-repeat:no-repeat!important}.hero h1{font-size:min(13vw,var(--fs-hero-title))!important;line-height:1.35}.hero p{font-size:var(--fs-hero-text)!important;line-height:2.15}.hero .btn{margin-top:14px}.category-showcase .card h3{font-size:var(--fs-category-title)!important}.category-showcase .card p{font-size:var(--fs-category-text)!important}}
.mobile-languages{display:none}
@media(max-width:800px){.menu-open .nav .mobile-languages{display:grid;width:min(330px,92%);grid-template-columns:repeat(3,1fr);gap:8px;margin:12px auto 0;padding-top:18px;border-top:1px solid #ffffff35;direction:ltr}.menu-open .nav .mobile-languages a{display:grid;place-items:center;width:auto!important;min-height:45px;padding:8px!important;border:1px solid #d7b25a77;border-radius:8px;color:#fff!important;font-size:13px!important}.menu-open .nav .mobile-languages a:hover{background:#d7b25a;color:#071f3a!important}}
html[dir="rtl"] .member-popup-card,html[dir="rtl"] .member-popup-card form,html[dir="rtl"] .member-popup-card input,html[dir="rtl"] .content .form{direction:rtl;text-align:right}
html[dir="rtl"] .member-popup-card input[type="tel"],html[dir="rtl"] .content .form input[type="tel"]{direction:rtl!important;text-align:right!important}
html[dir="ltr"] .member-popup-card,html[dir="ltr"] .member-popup-card form,html[dir="ltr"] .member-popup-card input,html[dir="ltr"] .content .form{direction:ltr;text-align:left}

/* اندازه جمع‌وجور ویترین دسته‌بندی و پرفروش‌ترین‌ها */
.category-showcase{padding:46px 0 54px!important}
.category-showcase+.best-sellers-showcase{margin-top:8px!important}
.category-showcase .section-title h2{margin:6px 0 0!important}
.category-stage{margin-top:10px!important;padding:28px 0 24px!important}
.category-stage:before{bottom:52px!important;height:62px!important}
.category-stage:after{bottom:30px!important;height:72px!important}
.category-showcase .cards{gap:clamp(12px,2.2vw,32px)!important;padding:24px max(38vw,calc((100% - 270px)/2)) 54px!important}
.category-showcase .card{flex-basis:clamp(170px,20vw,270px)!important}
.category-showcase .card>img{height:clamp(220px,28vw,360px)!important}
.category-showcase .card.is-active{transform:translateY(-14px) scale(1.05)!important}
.category-showcase-hint{margin-top:4px!important}

@media(max-width:700px){
  .category-showcase{padding:24px 0 30px!important}
  .category-showcase+.best-sellers-showcase{margin-top:4px!important}
  .category-showcase .section-title{margin-bottom:4px!important}
  .category-stage{margin-top:4px!important;padding:16px 0 14px!important}
  .category-showcase .cards{gap:10px!important;padding:18px calc((100vw - 164px)/2) 44px!important}
  .category-showcase .card{flex-basis:164px!important}
  .category-showcase .card>img{height:220px!important}
  .category-showcase .card.is-active{transform:translateY(-8px) scale(1.03)!important}
  .category-stage:before{bottom:40px!important;height:48px!important}
  .category-stage:after{bottom:22px!important;height:58px!important}
  .category-showcase-hint{margin-top:0!important}
}

/* پرفروش‌ترین‌ها: کارت‌های ثابت با مشخصات کوتاه */
.best-sellers-showcase{padding:48px max(20px,calc((100vw - 1180px)/2)) 58px!important}
.best-sellers-showcase .section-title{max-width:1180px;margin:0 auto 24px!important;padding:0!important}
.best-sellers-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;max-width:1180px;margin:0 auto}
.best-seller-card{display:flex;min-width:0;overflow:hidden;flex-direction:column;border:1px solid #ffffff24;border-radius:14px;background:#fff;color:#28231e;box-shadow:0 14px 34px #0004;transition:transform .25s,box-shadow .25s}
.best-seller-card:hover{transform:translateY(-5px);box-shadow:0 20px 44px #0006}
.best-seller-image{height:260px;overflow:hidden;background:#eee9e0}
.best-seller-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .35s}
.best-seller-card:hover .best-seller-image img{transform:scale(1.035)}
.best-seller-info{display:flex;flex:1;flex-direction:column;padding:18px}
.best-seller-info h3{margin:0 0 14px;color:#29231f!important;font-size:18px!important;line-height:1.55}
.best-seller-info p{display:flex;justify-content:space-between;gap:10px;margin:4px 0!important;padding-bottom:7px;border-bottom:1px solid #e8e0d5;color:#74695f!important;font-size:12px!important}
.best-seller-info p b{color:#302923;font-weight:700;text-align:end}
.best-seller-price{margin-top:auto;padding-top:16px;color:#a94c35;font-size:14px;font-weight:800}
.best-seller-more{display:block;margin-top:12px;padding:10px;border-radius:7px;background:#d7b25a;color:#071f3a;text-align:center;font-size:12px}
@media(max-width:950px){.best-sellers-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.best-sellers-showcase{padding:28px 14px 34px!important}.best-sellers-showcase .section-title{margin-bottom:16px!important}.best-sellers-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.best-seller-card{border-radius:10px}.best-seller-image{height:180px}.best-seller-info{padding:11px}.best-seller-info h3{margin-bottom:9px;font-size:14px!important}.best-seller-info p{display:block;font-size:10px!important}.best-seller-info p span,.best-seller-info p b{display:block}.best-seller-price{padding-top:10px;font-size:11px}.best-seller-more{padding:8px 5px;font-size:10px}}

/* اجبار پرفروش‌ترین‌ها به حالت ثابت چهارستونه؛ سازگار با HTML قدیمی و جدید */
.best-sellers-showcase .category-arrow,
.best-sellers-showcase .category-light,
.best-sellers-showcase .category-showcase-hint,
.best-sellers-showcase .category-stage:before,
.best-sellers-showcase .category-stage:after{display:none!important}
.best-sellers-showcase .category-stage{overflow:visible!important;margin:0!important;padding:0!important}
.best-sellers-showcase .cards,
.best-sellers-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px!important;width:100%!important;max-width:1180px!important;margin:0 auto!important;padding:0!important;overflow:visible!important}
.best-sellers-showcase .cards .card{position:relative!important;display:flex!important;width:auto!important;height:auto!important;min-height:0!important;overflow:hidden!important;flex:none!important;flex-direction:column!important;border:1px solid #ffffff30!important;border-radius:12px!important;background:#fff!important;filter:none!important;opacity:1!important;transform:none!important;animation:none!important;box-shadow:0 12px 30px #0003!important}
.best-sellers-showcase .cards .card>img{display:block!important;width:100%!important;height:250px!important;object-fit:cover!important;border-radius:0!important;filter:none!important;transform:none!important;animation:none!important}
.best-sellers-showcase .cards .card>div{position:static!important;display:block!important;width:100%!important;padding:14px!important;transform:none!important;text-align:right!important;opacity:1!important;background:#fff!important}
.best-sellers-showcase .cards .card h3{margin:0 0 7px!important;color:#29231f!important;text-shadow:none!important;font-size:16px!important}
.best-sellers-showcase .cards .card p{margin:0!important;color:#a94c35!important;text-shadow:none!important;font-size:12px!important}

@media(max-width:700px){
  .best-sellers-showcase{padding:24px 8px 30px!important}
  .best-sellers-showcase .cards,.best-sellers-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important}
  .best-sellers-showcase .cards .card,.best-seller-card{border-radius:6px!important}
  .best-sellers-showcase .cards .card>img,.best-seller-image{height:105px!important}
  .best-sellers-showcase .cards .card>div,.best-seller-info{padding:6px!important}
  .best-sellers-showcase .cards .card h3,.best-seller-info h3{margin:0 0 4px!important;font-size:10px!important;line-height:1.35!important}
  .best-sellers-showcase .cards .card p,.best-seller-info p{font-size:8px!important;line-height:1.3!important}
  .best-seller-price{padding-top:5px!important;font-size:8px!important}
  .best-seller-more{margin-top:5px!important;padding:5px 2px!important;font-size:7px!important}
}
