/* ==========================================================================
   Borzhin — hand-written stylesheet.
   No framework. The layout primitives below replace the handful of Bootstrap
   utilities the original mockup used (container, grid, flex helpers,
   offcanvas), at a fraction of the weight.
   Design tokens mirror the approved Figma file.
   ========================================================================== */

/* Fonts ------------------------------------------------------------------ */
@font-face{font-family:"Yekan Bakh FaNum";src:url("../fonts/YekanBakhFaNum-Regular.woff2") format("woff2");font-weight:400;font-style:normal;font-display:swap}
/* 600 deliberately points at Bold: dropping the SemiBold file saves a 31 KB
   request, and the weight difference is not visible at UI text sizes. */
@font-face{font-family:"Yekan Bakh FaNum";src:url("../fonts/YekanBakhFaNum-Bold.woff2") format("woff2");font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:"Yekan Bakh FaNum";src:url("../fonts/YekanBakhFaNum-Bold.woff2") format("woff2");font-weight:700;font-style:normal;font-display:swap}
@font-face{font-family:"Yekan Bakh FaNum";src:url("../fonts/YekanBakhFaNum-Black.woff2") format("woff2");font-weight:900;font-style:normal;font-display:swap}

/* Tokens ----------------------------------------------------------------- */
:root{
  --bz-ink:#241C15; --bz-gold:#A9793C; --bz-gold-dark:#8d6230;
  --bz-cream:#F6F1E7; --bz-beige:#F4EFE5; --bz-band:#FEFBF3;
  --bz-dark:#211A15; --bz-line:#DDD5BE; --bz-card-line:#FCF1E6; --bz-sale:#6E2A2A;
  --bz-radius:12px; --bz-radius-lg:16px;
  --bz-shadow:0 10px 30px rgba(36,28,21,.06);
  --bz-font:"Yekan Bakh FaNum","IRANYekanX",Tahoma,system-ui,sans-serif;
  --bz-container:1200px; --bz-gap:1rem;
}

/* Base ------------------------------------------------------------------- */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--bz-ink);font-family:var(--bz-font);font-size:1rem;line-height:1.9;overflow-x:hidden}
img,svg,video{max-width:100%;height:auto}
img{display:block}
a{color:var(--bz-gold);text-decoration:none}
a:hover{color:var(--bz-gold-dark)}
h1,h2,h3,h4{margin:0 0 .5em;line-height:1.4;font-weight:700}
p{margin:0 0 1em}
ul,ol{margin:0;padding:0}
li{list-style:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
input,select,textarea{font:inherit;color:inherit}
:focus-visible{outline:2px solid var(--bz-gold);outline-offset:2px;border-radius:4px}

.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip-link{position:absolute;inset-inline-start:-9999px;top:0;z-index:100;background:var(--bz-ink);color:var(--bz-cream);padding:.75rem 1.25rem}
.skip-link:focus{inset-inline-start:0}

/* Layout primitives (replacing Bootstrap) -------------------------------- */
.container{width:100%;max-width:var(--bz-container);margin-inline:auto;padding-inline:1rem}
.section{padding-block:clamp(3rem,6vw,5rem)}
.section--tight{padding-block:clamp(2.25rem,4.5vw,3.5rem)}
.section-head{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.5rem}
.section-title{font-weight:700;font-size:clamp(1.25rem,1rem + 1.1vw,1.625rem);margin:0}
.link-more{color:var(--bz-gold);font-weight:600;font-size:.875rem;white-space:nowrap;display:inline-flex;align-items:center;gap:.35rem}
.muted{color:rgba(36,28,21,.55)}
.rev{font-size:.75rem;color:rgba(36,28,21,.45)}
.stars{color:var(--bz-gold);letter-spacing:.08em;font-size:.8125rem}
.empty-state{padding:3rem 0;text-align:center;color:rgba(36,28,21,.6)}
.page-title{font-size:clamp(1.5rem,1.1rem + 1.6vw,2.25rem);font-weight:700}
.prose{line-height:2}
.prose img{border-radius:var(--bz-radius);margin-block:1rem}
.bz-placeholder{display:block;width:100%;aspect-ratio:1;border-radius:var(--bz-radius);
  background:linear-gradient(135deg,var(--bz-beige),var(--bz-card-line))}

/* Icons ------------------------------------------------------------------ */
.ic{width:1.15em;height:1.15em;fill:currentColor;vertical-align:-.2em;flex:0 0 auto}
.ic-lg{width:2.1rem;height:2.1rem}
.ic-round{width:2.75rem;height:2.75rem;padding:.6rem;border-radius:50%;
  border:1px solid rgba(169,121,60,.35);color:var(--bz-gold);box-sizing:border-box}

/* Buttons ---------------------------------------------------------------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  border-radius:var(--bz-radius);font-weight:700;padding:.85rem 1.75rem;
  transition:background-color .15s ease,color .15s ease;text-align:center}
.btn-ink{background:var(--bz-ink);color:var(--bz-cream)}
.btn-ink:hover{background:#362a20;color:var(--bz-cream)}
.btn-pill{border-radius:999px;padding:1rem 2.5rem;font-size:1.0625rem}
.btn-outline-gold{border:1px solid var(--bz-gold);color:var(--bz-cream);border-radius:6px;font-weight:600;padding:.8rem 2rem}
.btn-outline-gold:hover{background:var(--bz-gold);color:#fff}

/* Header ----------------------------------------------------------------- */
.site-header{background:#fff;border-bottom:1px solid rgba(36,28,21,.06);position:sticky;top:0;z-index:50}
.navbar{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-block:.85rem}
/* Mobile header: logo on the left, menu button on the right — the drawer
   opens from that same right edge. Row-reverse rather than `order` so the two
   items keep their DOM order for screen readers and tab sequence. */
@media (max-width:991.98px){.navbar{flex-direction:row-reverse}}
.brand{display:flex;align-items:center;gap:.625rem;color:var(--bz-ink)}
.brand img{height:44px;width:auto}
.brand span{font-size:1.5rem;font-weight:700;line-height:1}
.navbar-toggler{display:grid;place-items:center;width:44px;height:44px;border-radius:10px}
.main-nav{display:none;align-items:center;gap:.25rem;flex:1 1 auto;justify-content:center}
.main-nav .nav-link,.main-nav a{display:inline-flex;align-items:center;gap:.3rem;
  color:var(--bz-ink);font-weight:600;font-size:.9375rem;padding:.5rem .9rem;border-radius:8px}
.main-nav .nav-link:hover,.main-nav .nav-link.active,.main-nav a:hover{color:var(--bz-gold)}
.header-actions{display:none;align-items:center;gap:.5rem}
.icon-btn{width:40px;height:40px;display:grid;place-items:center;border-radius:10px;color:var(--bz-ink)}
.icon-btn:hover{background:var(--bz-beige);color:var(--bz-ink)}
.cart-pill{display:inline-flex;align-items:center;gap:.5rem;background:var(--bz-beige);
  border-radius:10px;padding:.5rem .9rem;font-size:.875rem;font-weight:600;color:var(--bz-ink)}
.cart-pill .badge{background:var(--bz-gold);color:#fff;border-radius:999px;font-size:.6875rem;padding:.1rem .45rem;line-height:1.6}
/* Search, account and cart carry the header on their own — they read as
   controls only at a size the thumb can actually aim at. */
.icon-btn .ic,.cart-pill .ic{width:1.5rem;height:1.5rem}
.header-search{border-top:1px solid rgba(36,28,21,.06);padding-block:1rem;background:var(--bz-band)}

@media (min-width:992px){
  .navbar-toggler{display:none}
  .main-nav{display:flex}
  .header-actions{display:flex}
}

/* Search form ------------------------------------------------------------ */
.search-form{display:flex;align-items:center;gap:.5rem;background:#fff;
  border:1px solid var(--bz-line);border-radius:var(--bz-radius);padding:.35rem .35rem .35rem .75rem}
.search-form__input{flex:1 1 auto;min-width:0;border:0;background:none;padding:.5rem;outline:0}
.search-form__btn{display:grid;place-items:center;width:38px;height:38px;border-radius:9px;background:var(--bz-ink);color:var(--bz-cream)}

/* Mega menu -------------------------------------------------------------- */
.nav-item--mega{position:static}
.nav-link--mega{display:inline-flex;align-items:center;gap:.3rem}
.ic-chev{transition:transform .18s ease}
[aria-expanded="true"] > .ic-chev{transform:rotate(180deg)}
.mega{position:absolute;inset-inline:0;top:100%;background:#fff;
  border-top:1px solid rgba(36,28,21,.06);box-shadow:var(--bz-shadow);z-index:60}
.mega[hidden]{display:none}
.mega__inner{padding-block:1.75rem}
.mega__grid{display:grid;gap:1.75rem;grid-template-columns:1fr}
@media (min-width:1100px){.mega__grid{grid-template-columns:minmax(0,1fr) 280px;align-items:start}}
.mega__grid--full{grid-template-columns:minmax(0,1fr)}
.mega__cols{display:grid;gap:1.25rem 1.75rem;grid-template-columns:repeat(auto-fit,minmax(138px,1fr));align-content:start}

.mega__head{display:flex;align-items:center;gap:.4rem;color:var(--bz-ink);font-weight:700;font-size:.9375rem;
  padding-bottom:.55rem;margin-bottom:.6rem;border-bottom:1px solid var(--bz-card-line)}
.mega__head:hover,.mega__head.is-current{color:var(--bz-gold)}
.mega__name{min-width:0}
.mega__count{font-size:.75rem;color:rgba(36,28,21,.4);font-weight:400;margin-inline-start:auto}
.mega__list > li > a{display:flex;align-items:center;gap:.4rem;padding:.28rem 0;
  color:rgba(36,28,21,.72);font-size:.875rem}
.mega__list > li > a:hover{color:var(--bz-gold)}
.mega__link-txt{min-width:0}
.mega__tag{flex:0 0 auto;font-size:.625rem;line-height:1.7;font-weight:700;border-radius:999px;
  padding-inline:.4rem;background:#f7e9e9;color:var(--bz-sale)}
.mega__sub{padding-inline-start:.75rem;border-inline-start:1px solid var(--bz-card-line);margin-bottom:.35rem}
.mega__sub a{font-size:.8125rem;color:rgba(36,28,21,.5);padding:.12rem 0;display:block}
.mega__sub a:hover{color:var(--bz-gold)}

/* Promo card: one collection, its own image, a scrim so any photo can carry
   text. Dropped entirely when no collection has an image. */
.mega__promo{position:relative;display:block;overflow:hidden;border-radius:var(--bz-radius-lg);
  min-height:200px;background:var(--bz-beige);isolation:isolate}
.mega__promo-img,.mega__promo img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.mega__promo::before{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(to top,rgba(33,26,21,.85) 0%,rgba(33,26,21,.45) 45%,rgba(33,26,21,.05) 100%)}
.mega__promo-body{position:absolute;inset-inline:0;bottom:0;display:flex;flex-direction:column;
  align-items:flex-start;gap:.3rem;padding:1.1rem}
.mega__promo-tag{background:var(--bz-cream);color:var(--bz-ink);font-size:.6875rem;font-weight:700;
  border-radius:999px;padding:.1rem .55rem}
.mega__promo-title{color:#fff;font-weight:700;font-size:1.125rem;line-height:1.6}
.mega__promo-cta{display:inline-flex;align-items:center;gap:.35rem;color:var(--bz-cream);font-size:.8125rem}
.mega__promo:hover .mega__promo-cta{color:var(--bz-gold)}

.mega__foot{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;
  margin-top:1.5rem;padding-top:1rem;border-top:1px solid var(--bz-card-line)}
.mega__all{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;color:var(--bz-gold)}

/* Mobile drawer ---------------------------------------------------------- */
.drawer{position:fixed;inset:0;z-index:100;background:rgba(36,28,21,.45)}
.drawer[hidden]{display:none}
.drawer__panel{position:absolute;inset-block:0;inset-inline-start:0;width:min(88vw,340px);
  background:#fff;display:flex;flex-direction:column;overflow-y:auto;animation:bz-drawer-in .22s ease}
/* Anchored to the start edge — the right, on this RTL site — so the panel
   arrives from the same side as the button that opened it. */
@keyframes bz-drawer-in{from{transform:translateX(100%)}to{transform:none}}
@media (prefers-reduced-motion:reduce){.drawer__panel{animation:none}}
.drawer__head{display:flex;align-items:center;justify-content:space-between;
  padding:1rem;border-bottom:1px solid rgba(36,28,21,.08)}
.drawer__title{font-weight:700;font-size:1.15rem}
.drawer__body{padding:1rem;display:flex;flex-direction:column;gap:1rem}
.drawer__nav a,.drawer__toggle{display:flex;align-items:center;justify-content:space-between;
  width:100%;padding:.7rem 0;color:var(--bz-ink);font-weight:600;border-bottom:1px solid var(--bz-card-line)}
.drawer__sub{padding-inline-start:1rem}
.drawer__sub[hidden]{display:none}
.drawer__sub a{font-weight:400;font-size:.9rem;color:rgba(36,28,21,.7)}

/* Hero ------------------------------------------------------------------- */
.hero{position:relative;isolation:isolate;overflow:hidden}
.hero__media{position:absolute;inset:0;z-index:-2}
.hero__media img{width:100%;height:100%;object-fit:cover;object-position:22% center}
.hero::before{content:"";position:absolute;inset:0;z-index:-1;
  background:linear-gradient(270deg,rgba(252,249,243,.96) 0%,rgba(252,249,243,.88) 30%,rgba(252,249,243,.28) 56%,transparent 78%)}
.hero__inner{padding-block:clamp(2.5rem,6vw,5rem);min-height:clamp(26rem,44vw,38rem);display:flex;flex-direction:column;justify-content:center;gap:clamp(2rem,5vw,3.5rem)}
.hero__content{max-width:min(40rem,100%)}
.hero__title{font-weight:900;font-size:clamp(2rem,1.1rem + 3.2vw,3.5rem);line-height:1.35;margin-bottom:1rem}
.hero__hi{color:var(--bz-gold)}
.hero__text{font-size:clamp(.95rem,.9rem + .2vw,1.0625rem);line-height:2;color:rgba(36,28,21,.75)}
.hero__actions{display:flex;align-items:center;gap:clamp(1rem,2.5vw,2rem);flex-wrap:wrap;margin-top:clamp(1.5rem,3vw,2.25rem)}
.hero__actions .coupon{margin:0;font-size:.9375rem}

/* Trust strips ----------------------------------------------------------- */
.trust{background:var(--bz-beige);padding-block:1.5rem}
.trust--full{background:var(--bz-band)}
.trust__grid{display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}
/* Inside the hero: three promises separated by hairlines, no band behind. */
.trust__grid--hero{grid-template-columns:1fr;gap:.9rem;max-width:min(48rem,100%)}
.trust__grid--hero .ic{color:var(--bz-gold)}
.trust__grid--hero .mini__sub{color:rgba(36,28,21,.55)}
.mini{display:flex;align-items:center;gap:.75rem}
.mini__txt{min-width:0;display:flex;flex-direction:column}
.mini__title{font-weight:700;font-size:.9375rem;line-height:1.6}
.trust .mini__title{font-weight:400}
.mini__sub{font-size:.8125rem;color:rgba(36,28,21,.5);line-height:1.6}
@media (min-width:768px){
  .trust__grid{grid-template-columns:repeat(auto-fit,minmax(200px,1fr))}
  .trust__grid--hero{grid-template-columns:repeat(3,1fr);gap:0}
  .trust__grid--hero .mini{padding-inline:clamp(.75rem,2vw,1.75rem);border-inline-end:1px solid rgba(36,28,21,.14)}
  .trust__grid--hero .mini:last-child{border-inline-end:0;padding-inline-end:0}
}

/* Category cards --------------------------------------------------------- */
.cat-grid{display:grid;gap:1rem;grid-template-columns:repeat(2,1fr)}
@media (min-width:768px){.cat-grid{grid-template-columns:repeat(3,1fr)}}
@media (min-width:992px){.cat-grid{grid-template-columns:repeat(6,1fr)}}
.cat__link{display:flex;flex-direction:column;align-items:center;gap:.5rem;text-align:center;color:var(--bz-ink)}
.cat__media{display:block;width:100%;border-radius:var(--bz-radius);overflow:hidden;background:var(--bz-beige)}
.cat__media img{width:100%;aspect-ratio:1;object-fit:cover;transition:transform .3s ease}
.cat__link:hover .cat__media img{transform:scale(1.04)}
.cat__name{font-weight:700;font-size:.9375rem}
.cat__count{font-size:.75rem;color:rgba(36,28,21,.45)}

/* Product grid ----------------------------------------------------------- */
.prod-grid,ul.products{display:grid;gap:1rem;grid-template-columns:repeat(2,1fr);padding:0;margin:0}
@media (min-width:992px){.prod-grid,ul.products{grid-template-columns:repeat(4,1fr);gap:1.5rem}}
.shop-main ul.products{grid-template-columns:repeat(2,1fr)}
@media (min-width:768px){.shop-main ul.products{grid-template-columns:repeat(3,1fr)}}
.prod{display:flex;flex-direction:column;background:#fff;border:1px solid var(--bz-card-line);
  border-radius:var(--bz-radius-lg);overflow:hidden;transition:box-shadow .2s ease}
.prod:hover{box-shadow:var(--bz-shadow)}
.prod__media{position:relative;background:var(--bz-beige)}
.prod__img,.prod__media img{width:100%;aspect-ratio:1;object-fit:cover}
.badge-sale,.badge-oos{position:absolute;top:.6rem;inset-inline-start:.6rem;
  border-radius:999px;padding:.15rem .6rem;font-size:.6875rem;font-weight:700;color:#fff}
.badge-sale{background:var(--bz-sale)}
.badge-oos{background:rgba(36,28,21,.65)}
.prod__body{display:flex;flex-direction:column;gap:.4rem;padding:.9rem;flex:1 1 auto}
.prod__title{font-size:.9375rem;font-weight:400;margin:0;line-height:1.7}
.prod__title a{color:var(--bz-ink)}
.prod__title a:hover{color:var(--bz-gold)}
.prod__price{font-weight:700;margin-top:auto}
.prod__price del{color:rgba(36,28,21,.4);font-weight:400;font-size:.8125rem;margin-inline-end:.35rem}
.prod__price ins{text-decoration:none;color:var(--bz-sale)}

/* Shop layout + filters -------------------------------------------------- */
.shop-layout{display:grid;gap:1.5rem;grid-template-columns:1fr}
/* grid items default to min-width:auto, so .shop-main refused to shrink below
   its content width (499px) and pushed the whole page to a 515px h-scroll on
   every phone. min-width:0 lets it shrink; .sortbar already scrolls on its own. */
.shop-main{min-width:0}
@media (min-width:992px){.shop-layout{grid-template-columns:300px 1fr;align-items:start}}
.shop-toolbar{display:flex;flex-direction:row-reverse;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem;flex-wrap:wrap}
.shop-count{margin:0;font-size:.875rem;color:rgba(36,28,21,.6)}
.sortbar{display:flex;align-items:center;gap:1.35rem;font-size:.875rem;min-width:0}
.sortbar__label{display:inline-flex;align-items:center;gap:.4rem;font-weight:700;color:var(--bz-ink);flex:0 0 auto}
.sortbar__link{color:rgba(36,28,21,.62);white-space:nowrap;border-bottom:2px solid transparent;padding-block:.5rem .35rem;transition:color .15s ease}
.sortbar__link:hover{color:var(--bz-ink)}
.sortbar__link.is-on{color:var(--bz-gold);font-weight:700;border-bottom-color:var(--bz-gold)}
@media (max-width:767.98px){
  .sortbar{width:100%;overflow-x:auto;padding-bottom:.25rem;gap:1rem;scrollbar-width:none}
  .sortbar::-webkit-scrollbar{display:none}
}
.archive-head{margin-bottom:1.5rem}
.archive-desc{color:rgba(36,28,21,.7);width:100%}

.filters__mobile-open{width:100%}
.shop-aside__head{display:none}
@media (max-width:991.98px){
  .filters__mobile-open{display:inline-flex}
  .shop-aside{position:fixed;inset:0;z-index:100;background:rgba(36,28,21,.45)}
  .shop-aside:not(.is-open){display:none}
  .shop-aside__inner{position:absolute;inset-block:0;inset-inline-start:0;width:min(90vw,340px);
    background:#fff;overflow-y:auto;padding:1rem;animation:bz-drawer-in .22s ease}
  .shop-aside__head{display:flex;align-items:center;justify-content:space-between;
    padding-bottom:.75rem;border-bottom:1px solid var(--bz-card-line);font-weight:800}
}
@media (min-width:992px){
  .filters__mobile-open{display:none}
  .shop-aside__inner{position:sticky;top:5.5rem}
}

.filters{border:1px solid var(--bz-card-line);border-radius:var(--bz-radius-lg);padding:1rem;background:#fff}
.filters__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:.75rem}
.filters__title{display:flex;align-items:center;gap:.4rem;font-size:1rem;margin:0}
.filters__clear{font-size:.8125rem;color:var(--bz-sale)}
.filters__submit{width:100%;margin-top:.75rem}
.f-group{border-top:1px solid var(--bz-card-line);padding-block:.6rem}
.f-group:first-of-type{border-top:0}
.f-group__head{display:flex;align-items:center;justify-content:space-between;width:100%;
  font-weight:700;font-size:.9375rem;padding:.35rem 0}
.f-group__body{padding-top:.35rem}
.f-group__body[hidden]{display:none}
.f-list{display:flex;flex-direction:column;gap:.1rem;max-height:15rem;overflow-y:auto}
.f-row{display:flex;align-items:center;gap:.5rem;padding:.35rem .25rem;border-radius:8px;cursor:pointer;font-size:.875rem}
.f-row:hover{background:var(--bz-band)}
.f-row.is-disabled{opacity:.45;cursor:not-allowed}
.f-row--link{color:var(--bz-ink)}
.f-label{flex:1 1 auto;min-width:0}
.f-count{font-size:.75rem;color:rgba(36,28,21,.45)}
.fbox{width:1.05rem;height:1.05rem;accent-color:var(--bz-gold);flex:0 0 auto}
.f-price{display:flex;align-items:center;gap:.5rem}
.f-price__field{flex:1 1 0;min-width:0}
.f-price__field input{width:100%;border:1px solid var(--bz-line);border-radius:8px;padding:.45rem .5rem;text-align:center}
.f-price__sep{color:rgba(36,28,21,.4)}
.f-price__hint{margin:.4rem 0 0;font-size:.75rem;color:rgba(36,28,21,.45);text-align:center}

.active-filters{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}
.tag{display:inline-flex;align-items:center;gap:.35rem;background:var(--bz-beige);
  border-radius:999px;padding:.3rem .75rem;font-size:.8125rem;color:var(--bz-ink)}
.tag:hover{background:var(--bz-card-line)}
.tag--clear{background:none;border:1px dashed var(--bz-line);color:var(--bz-sale)}
.tag__x{display:inline-flex}

.is-loading{opacity:.5;pointer-events:none;transition:opacity .15s ease}

/* Single product --------------------------------------------------------- */
.single-prod__grid{display:grid;gap:2rem;grid-template-columns:1fr}
@media (min-width:992px){.single-prod__grid{grid-template-columns:1fr 1fr}}
.gallery__main img,.gallery__main .bz-placeholder{width:100%;border-radius:var(--bz-radius-lg);aspect-ratio:1;object-fit:cover}
.gallery__thumbs{display:flex;gap:.5rem;margin-top:.75rem;flex-wrap:wrap}
.thumb{border:2px solid transparent;border-radius:var(--bz-radius);overflow:hidden;padding:0;width:72px}
.thumb.is-on{border-color:var(--bz-gold)}
.thumb img{width:100%;aspect-ratio:1;object-fit:cover}
.buy__title{font-size:clamp(1.25rem,1rem + 1.2vw,1.75rem);font-weight:700}
.buy__price{font-size:1.375rem;font-weight:700;margin-block:.75rem}
.buy__price del{color:rgba(36,28,21,.4);font-weight:400;font-size:1rem;margin-inline-end:.5rem}
.buy__price ins{text-decoration:none;color:var(--bz-sale)}
.buy__trust{display:flex;flex-wrap:wrap;gap:1rem;margin-top:1.25rem;
  border-top:1px solid var(--bz-card-line);padding-top:1rem}
.buy__sku{font-size:.8125rem;color:rgba(36,28,21,.5)}
/* Buy box.
   WooCommerce prints two different forms here: a simple product is just
   quantity + button, a variable one wraps a variations table and its own
   add-to-cart row around them. The form therefore stacks, and only the
   quantity+button line is a flex row — which is what the two shapes share. */
.buy form.cart{display:flex;flex-direction:column;align-items:stretch;gap:1rem;margin-block:1.25rem}
/* A simple product has no variations table, so its quantity and button are
   the form's only children and belong on one line. */
.buy form.cart:not(.variations_form){flex-direction:row;flex-wrap:wrap;align-items:center;gap:.75rem}
.buy .single_variation_wrap{display:flex;flex-direction:column;gap:1rem}

.buy .variations{width:100%;border-collapse:collapse}
.buy .variations tr{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;padding-block:.3rem}
.buy .variations th.label{padding:0;min-width:4.5rem;text-align:start;font-weight:700;font-size:.9375rem}
.buy .variations th.label label{margin:0}
.buy .variations td.value{padding:0;flex:1 1 14rem;min-width:0;display:flex;align-items:center;gap:.75rem}
.buy .variations select{flex:1 1 auto;min-width:0;appearance:none;-webkit-appearance:none;background-color:#fff;
  border:1px solid var(--bz-line);border-radius:10px;padding-block:.65rem;padding-inline-start:.9rem;padding-inline-end:2.25rem;
  background-image:url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23241C15'%3E%3Cpath d='M1.6 4.5a.8.8 0 0 1 1.1 0L8 9.8l5.3-5.3a.8.8 0 1 1 1.1 1.1l-5.9 5.9a.8.8 0 0 1-1.1 0L1.6 5.6a.8.8 0 0 1 0-1.1z'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:left .8rem center;background-size:.85rem}
.buy .variations select:focus-visible{outline:2px solid var(--bz-gold);outline-offset:1px}
.buy .reset_variations{font-size:.8125rem;color:rgba(36,28,21,.55);white-space:nowrap}
.buy .reset_variations:hover{color:var(--bz-ink)}

.buy .woocommerce-variation{margin:0}
.buy .woocommerce-variation-price{font-size:1.25rem;font-weight:700;margin-bottom:.35rem}
.buy .woocommerce-variation-price del{color:rgba(36,28,21,.4);font-weight:400;font-size:.9375rem;margin-inline-end:.5rem}
.buy .woocommerce-variation-price ins{text-decoration:none;color:var(--bz-sale)}
.buy .woocommerce-variation-availability p,.buy p.stock{margin:0;font-size:.875rem;font-weight:700}
.buy .stock.out-of-stock{color:var(--bz-sale)}
.buy .stock.in-stock{color:#2f6b3f}

.buy .woocommerce-variation-add-to-cart{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem}
.buy .quantity input{width:5rem;height:3.25rem;border:1px solid var(--bz-line);border-radius:10px;
  padding:.5rem;text-align:center}

/* Stepper. The native spinner is only hidden once the script has replaced it,
   so with JavaScript off the field is still steppable. */
.quantity.has-stepper{display:inline-flex;align-items:center;height:3.25rem;background:#fff;
  border:1px solid var(--bz-line);border-radius:10px;overflow:hidden}
.quantity.has-stepper input,.buy .quantity.has-stepper input{width:3rem;height:100%;border:0;border-radius:0;
  background:transparent;text-align:center;-moz-appearance:textfield;appearance:textfield}
.quantity.has-stepper input::-webkit-outer-spin-button,
.quantity.has-stepper input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}
.qty-btn,.buy form.cart .qty-btn{flex:0 0 auto;width:2.5rem;height:100%;padding:0;border-radius:0;
  background:transparent;color:var(--bz-ink);font-size:1.125rem;line-height:1;
  display:inline-flex;align-items:center;justify-content:center}
.qty-btn:hover,.buy form.cart .qty-btn:hover{background:var(--bz-band);color:var(--bz-gold)}
.qty-btn:disabled,.buy form.cart .qty-btn:disabled{opacity:.3;cursor:not-allowed;background:transparent}
/* Sits on its own line under the quantity row in either form layout. */
.qty-note{flex:1 1 100%;width:100%;margin:.1rem 0 0;font-size:.8125rem;color:var(--bz-sale)}
.qty-note[hidden]{display:none}

/* WooCommerce notices — the theme keeps woocommerce-general's colours off the
   rest of the page, so these get the site's own shapes. */
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-info{list-style:none;margin:0 0 1rem;padding:.85rem 1rem;
  border:1px solid var(--bz-line);border-radius:var(--bz-radius);background:var(--bz-band);font-size:.9375rem}
.woocommerce-notices-wrapper .woocommerce-error{border-color:#e6c9c9;background:#fbf3f3;color:var(--bz-sale)}
.woocommerce-notices-wrapper .woocommerce-error li{list-style:none}
.woocommerce-notices-wrapper a{color:var(--bz-gold);font-weight:700}
.buy form.cart button{display:inline-flex;align-items:center;justify-content:center;flex:1 1 12rem;
  height:3.25rem;padding-inline:2.5rem;background:var(--bz-ink);color:var(--bz-cream);
  border-radius:10px;font-weight:700}
.buy form.cart button:hover{background:#362a20}
.buy form.cart button:disabled,.buy form.cart button.disabled{opacity:.4;cursor:not-allowed}

.tabs{margin-top:2.5rem}
.tabs__nav{display:flex;gap:.25rem;border-bottom:1px solid var(--bz-card-line);flex-wrap:wrap}
.tab-btn{padding:.7rem 1.1rem;font-weight:400;font-size:.9375rem;color:rgba(36,28,21,.55);
  border-bottom:2px solid transparent;margin-bottom:-1px}
.tab-btn.is-on{color:var(--bz-ink);font-weight:700;border-bottom-color:var(--bz-gold)}
.tab-panel{padding-top:1.25rem}
.tab-panel[hidden]{display:none}
.shop_attributes{width:100%;border-collapse:collapse}
.shop_attributes th,.shop_attributes td{border:1px solid var(--bz-card-line);padding:.6rem .75rem;text-align:start;font-size:.9rem}
.shop_attributes th{background:var(--bz-band);font-weight:700;width:12rem}

/* Breadcrumbs ------------------------------------------------------------ */
.crumbs{margin-bottom:1rem;font-size:.8125rem;color:rgba(36,28,21,.5)}
.crumbs ol{display:flex;flex-wrap:wrap;gap:.35rem}
.crumbs li+li::before{content:"/";margin-inline-end:.35rem;color:rgba(36,28,21,.3)}
.crumbs a{color:rgba(36,28,21,.6);display:inline-block;padding-block:.35rem}
.crumbs a:hover{color:var(--bz-gold)}


/* Articles --------------------------------------------------------------- */
.post-grid{display:grid;gap:1.25rem;grid-template-columns:1fr}
@media (min-width:768px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media (min-width:992px){.post-grid{grid-template-columns:repeat(4,1fr)}}
.art{display:flex;flex-direction:column;gap:.6rem}
.art__media img,.art__media .bz-placeholder{width:100%;aspect-ratio:800/460;object-fit:cover;border-radius:var(--bz-radius)}
.art__title{font-size:1rem;font-weight:700;margin:0;line-height:1.7}
.art__title a{color:var(--bz-ink)}
.art__title a:hover{color:var(--bz-gold)}
.art__excerpt{font-size:.875rem;color:rgba(36,28,21,.6);margin:0}
.art__date{font-size:.75rem;color:rgba(36,28,21,.4)}

/* Pagination ------------------------------------------------------------- */
.woocommerce-pagination ul,.pagination .nav-links{display:flex;flex-wrap:wrap;gap:.4rem;justify-content:center;margin-top:2rem}
.page-numbers{display:grid;place-items:center;min-width:40px;height:40px;padding-inline:.6rem;
  border:1px solid var(--bz-card-line);border-radius:10px;color:var(--bz-ink);font-size:.875rem}
.page-numbers.current{background:var(--bz-ink);color:var(--bz-cream);border-color:var(--bz-ink)}
.page-numbers:hover{border-color:var(--bz-gold);color:var(--bz-gold)}

/* Footer ----------------------------------------------------------------- */
.site-footer{background:var(--bz-band);border-top:1px solid var(--bz-card-line);padding-block:3rem 1.5rem;margin-top:3rem}
.foot-cols{display:grid;gap:2rem;grid-template-columns:1fr}
@media (min-width:768px){.foot-cols{grid-template-columns:repeat(2,1fr)}}
@media (min-width:992px){.foot-cols{grid-template-columns:1.5fr repeat(3,1fr)}}
.foot-title{font-size:1rem;font-weight:700;margin-bottom:.75rem}
.foot-list li{margin-bottom:.4rem}
.foot-list a{color:rgba(36,28,21,.7);font-size:.9rem}
.foot-list a:hover{color:var(--bz-gold)}
.foot-tagline{color:rgba(36,28,21,.6);font-size:.9rem;max-width:34ch}
.brand--foot{margin-bottom:.75rem}
.foot-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;
  border-top:1px solid var(--bz-card-line);margin-top:2rem;padding-top:1.25rem}
.foot-copy{margin:0;font-size:.8125rem;color:rgba(36,28,21,.5)}
.foot-legal{display:flex;gap:1rem;flex-wrap:wrap}
.foot-legal a{font-size:.8125rem;color:rgba(36,28,21,.5)}

/* WooCommerce notices ----------------------------------------------------
   WooCommerce draws a pseudo-element icon with `font-family:WooCommerce`, but
   its RTL stylesheet registers that face under the name `star`, so the glyph
   never resolves and renders as an empty box. This theme uses inline SVG and
   no icon fonts at all, so the pseudo-icon is switched off and the notice is
   styled outright. */
.woocommerce-message,.woocommerce-info,.woocommerce-error,
.woocommerce ul.woocommerce-error,.woocommerce div.woocommerce-info{
  border:1px solid var(--bz-card-line);border-top:0;
  border-inline-start:3px solid var(--bz-gold);
  background:var(--bz-band);color:var(--bz-ink);
  border-radius:var(--bz-radius);padding:.9rem 1.1rem;margin:0 0 1rem;
  list-style:none;display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;
}
.woocommerce-message::before,.woocommerce-info::before,.woocommerce-error::before,
.woocommerce-message::after,.woocommerce-info::after,.woocommerce-error::after{
  content:none;display:none;
}
.woocommerce-error{border-inline-start-color:var(--bz-sale)}
.woocommerce-message{border-inline-start-color:#5b7a2e}
.woocommerce-message .button,.woocommerce-info .button,.woocommerce-error .button{
  float:none;margin-inline-start:auto;padding:.5rem 1.1rem;font-size:.875rem;
}

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}
}

/* Static page content ---------------------------------------------------- */
.prose h2{font-size:clamp(1.15rem,1rem + .6vw,1.5rem);margin-top:2rem}
.prose h3{font-size:1.05rem;margin-top:1.5rem;color:var(--bz-gold)}
.prose ul{margin:1rem 0;padding-inline-start:0}
.prose li{position:relative;padding-inline-start:1.25rem;margin-bottom:.5rem}
.prose li::before{content:"";position:absolute;inset-inline-start:0;top:.85em;
  width:6px;height:6px;border-radius:50%;background:var(--bz-gold)}
.about-features,.contact-details{display:grid;gap:.5rem}
@media (min-width:640px){.about-features{grid-template-columns:repeat(auto-fit,minmax(190px,1fr))}}
.about-features li,.contact-details li{background:var(--bz-band);border:1px solid var(--bz-card-line);
  border-radius:var(--bz-radius);padding:.7rem 1rem .7rem 1rem;padding-inline-start:2rem;margin:0}
.about-features li::before,.contact-details li::before{inset-inline-start:1rem;top:1.15em}

/* WooCommerce layout reset ------------------------------------------------
   woocommerce-layout.css floats product list items and gives them a
   percentage width (`ul.products li.product{float:left;width:22.05%}`).
   Inside a CSS grid the float is ignored but the width is not, so each card
   collapsed to ~22% of its own column. These overrides match WooCommerce's
   specificity and hand layout back to the grid. */
ul.products li.product,
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product{
  float:none;width:auto;margin:0;padding:0;
}
ul.products::before,ul.products::after,
.woocommerce ul.products::before,.woocommerce ul.products::after{content:none;display:none}
.woocommerce ul.products li.product a img{margin:0}
.woocommerce ul.products li.product .price{color:inherit;font-size:inherit}
.woocommerce ul.products li.product h2,
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:0;font-size:inherit}

/* WooCommerce buttons ----------------------------------------------------
   With `woocommerce-block-theme-has-button-styles` on <body>, WooCommerce
   stops styling its own buttons, so the theme has to. One brand look for
   add-to-cart, cart actions and checkout alike. */
.woocommerce a.button,.woocommerce button.button,.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button{
  display:inline-flex;align-items:center;justify-content:center;gap:.5rem;
  background:var(--bz-ink);color:var(--bz-cream);border:0;cursor:pointer;
  border-radius:var(--bz-radius);font-weight:700;font-family:inherit;
  padding:.85rem 1.75rem;line-height:1.4;text-align:center;
  transition:background-color .15s ease;
}
.woocommerce a.button:hover,.woocommerce button.button:hover,
.woocommerce input.button:hover,.woocommerce #respond input#submit:hover{
  background:#362a20;color:var(--bz-cream);
}
.woocommerce a.button.alt,.woocommerce button.button.alt,.woocommerce input.button.alt{
  background:var(--bz-ink);color:var(--bz-cream);
}
.woocommerce a.button.alt:hover,.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover{background:#362a20}
.woocommerce a.button.disabled,.woocommerce button.button:disabled,
.woocommerce button.button.disabled,.woocommerce input.button:disabled{
  background:rgba(36,28,21,.35);color:#fff;cursor:not-allowed;
}
/* Secondary actions (e.g. "بازگشت به فروشگاه") read as outlined, not solid. */
.woocommerce a.button.wc-backward{background:transparent;color:var(--bz-ink);border:1px solid var(--bz-line)}
.woocommerce a.button.wc-backward:hover{background:var(--bz-band);color:var(--bz-ink)}

/* Footer detail ---------------------------------------------------------- */
.foot-col--brand{grid-column:span 1}
@media (min-width:992px){.foot-cols{grid-template-columns:1.6fr 1fr 1fr 1.2fr}}
.foot-about{font-size:.8125rem;line-height:2;color:rgba(36,28,21,.6);margin:.75rem 0 0;max-width:46ch}
.foot-contact li{display:flex;align-items:flex-start;gap:.5rem;line-height:1.9}
.foot-contact .ic{color:var(--bz-gold);margin-top:.45em}
.foot-contact a,.foot-contact span{color:rgba(36,28,21,.7);font-size:.9rem}
.foot-contact a:hover{color:var(--bz-gold)}
.foot-social{display:flex;gap:1rem;flex-wrap:wrap}
.foot-social a{font-size:.8125rem;color:rgba(36,28,21,.6)}
.foot-social a:hover{color:var(--bz-gold)}


/* Collections — split promo banner ---------------------------------------
   Photograph on one side, dark panel on the other, alternating per banner.
   Mirrors the approved promo-banner design. */
.cbanner{display:grid;grid-template-columns:1fr;border-radius:var(--bz-radius-lg);
  overflow:hidden;background:var(--bz-dark);margin-bottom:1.5rem}
.cbanner:last-child{margin-bottom:0}
.cbanner__media{position:relative;min-height:260px}
.cbanner__img,.cbanner__media img{width:100%;height:100%;object-fit:cover;display:block}
.cbanner__media .bz-placeholder{height:100%;border-radius:0;aspect-ratio:auto}
.cbanner__panel{display:flex;flex-direction:column;justify-content:center;
  gap:.35rem;padding:clamp(1.5rem,4vw,3.25rem);color:var(--bz-cream)}
.cbanner__eyebrow{color:var(--bz-gold);font-weight:600;font-size:.8125rem;margin:0}
.cbanner__title{font-size:clamp(1.5rem,1.1rem + 1.6vw,2.25rem);font-weight:700;
  color:var(--bz-cream);margin:0 0 .35rem}
.cbanner__text{color:rgba(246,241,231,.72);line-height:2;margin:0 0 1.25rem;max-width:44ch}
.cbanner__cta{margin:0}

@media (min-width:768px){
  .cbanner{grid-template-columns:45% 55%;min-height:clamp(24rem,32vw,33rem)}
  /* In RTL the first grid child lands on the right, so the media column is
     explicitly ordered to sit on the left — as in the design. */
  .cbanner__media{order:2}
  .cbanner__panel{order:1}
  .cbanner--flip .cbanner__media{order:1}
  .cbanner--flip .cbanner__panel{order:2}
}

.mega__chips{display:flex;gap:.5rem;flex-wrap:wrap}
.mega__chips a{display:inline-block;background:var(--bz-band);border:1px solid var(--bz-card-line);
  border-radius:999px;padding:.3rem .8rem;font-size:.8125rem;color:var(--bz-ink)}
.mega__chips a:hover{border-color:var(--bz-gold);color:var(--bz-gold)}
.coupon{font-size:.8125rem;font-weight:400;color:var(--bz-gold);margin-top:.25rem}

/* Archive heading placed after the product layout ------------------------ */
.archive-head--below{margin:2.5rem 0 0;padding-top:1.5rem;border-top:1px solid var(--bz-card-line)}
.archive-head--below .page-title{font-size:clamp(1.25rem,1rem + 1vw,1.75rem);margin-bottom:.5rem}

/* Classic checkout layout ------------------------------------------------
   Billing form on the reading side (right in RTL), sticky order summary
   beside it. Stacks to one column on tablets and phones. */
@media (min-width:992px){
  form.woocommerce-checkout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);column-gap:2.5rem;grid-template-rows:auto auto 1fr;align-items:start}
  form.woocommerce-checkout #customer_details{grid-column:1;grid-row:1 / span 3}
  form.woocommerce-checkout #order_review_heading{grid-column:2;grid-row:1;margin-top:0}
  form.woocommerce-checkout #order_review{grid-column:2;grid-row:2;position:sticky;top:5.5rem}
}
form.woocommerce-checkout #customer_details .col-1,
form.woocommerce-checkout #customer_details .col-2{float:none;width:100%;max-width:none}
form.woocommerce-checkout .form-row{float:none;width:100%;display:block}
form.woocommerce-checkout .form-row-first,
form.woocommerce-checkout .form-row-last{width:calc(50% - .5rem);display:inline-block;vertical-align:top}
form.woocommerce-checkout .form-row-first{margin-inline-end:1rem}
@media (max-width:575.98px){
  form.woocommerce-checkout .form-row-first,form.woocommerce-checkout .form-row-last{width:100%;margin-inline-end:0}
}
#order_review table.shop_table{width:100%;border-collapse:collapse}
#order_review .woocommerce-checkout-payment{background:var(--bz-band);border-radius:var(--bz-radius);padding:1rem;margin-top:1rem}
#order_review #place_order{width:100%;margin-top:1rem}
