/* VOARO 4.8.66 — فونت فارسی یکدست + دکمهٔ سبد خرید برای همهٔ دموها */

/* ───── فونت: متغیرهای رایج همهٔ طرح‌ها یکی می‌شوند ───── */
body.voaro-fa-font{
  --font:var(--voaro-fa-font);--font-display:var(--voaro-fa-font);--font-heading:var(--voaro-fa-font);
  --font-body:var(--voaro-fa-font);--f-body:var(--voaro-fa-font);--f-head:var(--voaro-fa-font);
  --f-nasta:var(--voaro-fa-font);--f-lat:var(--voaro-fa-font);
  font-family:var(--voaro-fa-font);
  font-feature-settings:"kern","liga";
  text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;
}
/* قاعدهٔ سخت‌گیرانه برای عناصر متنی؛ آیکون‌فونت‌ها و کد استثنا هستند */
body.voaro-fa-font :is(h1,h2,h3,h4,h5,h6,p,a,li,dt,dd,td,th,label,legend,button,input,select,textarea,blockquote,figcaption,small,strong,em,b,span,div,nav,summary):not(
  .fa,.fas,.far,.fab,.fal,.fad,.fat,[class^="fa-"],[class*=" fa-"],.dashicons,[class*="dashicons-"],.eicon,[class*="eicon-"],
  .star-rating,.star-rating *,.material-icons,.material-symbols-outlined,.emoji,code,pre,kbd,samp,.mono){
  font-family:var(--voaro-fa-font)!important;
}
body.voaro-fa-font :is(h1,h2,h3,h4,h5,h6){font-weight:800;line-height:1.55;letter-spacing:0!important}
body.voaro-fa-font :is(p,li,td,th,label,input,textarea,select){line-height:1.95;letter-spacing:0!important}
body.voaro-fa-font :is(.price,.amount,.woocommerce-Price-amount,.woocommerce-Price-currencySymbol){font-weight:700}
/* چون ارقام فارسی‌اند، فاصله‌گذاری هم‌عرض لازم نیست */
body.voaro-fa-digits{font-variant-numeric:normal}

/* ───── دکمه‌های «افزودن به سبد» ───── */
.add_to_cart_button,.single_add_to_cart_button,.book-buy,.voaro-stickybuy__btn,.emp-stickybuy .emp-btn,.f14-sticky .btn{
  white-space:nowrap;text-align:center;line-height:1.5;cursor:pointer;
  -webkit-tap-highlight-color:transparent;
}
.add_to_cart_button.loading,.single_add_to_cart_button.loading{opacity:.7;pointer-events:none;position:relative}
.add_to_cart_button.loading::after,.single_add_to_cart_button.loading::after{
  content:"";display:inline-block;width:1em;height:1em;margin-inline-start:.5em;vertical-align:-.15em;
  border:2px solid currentColor;border-inline-end-color:transparent;border-radius:50%;animation:voaroSpin .7s linear infinite}
.add_to_cart_button.added::after,.single_add_to_cart_button.added::after{content:"✓";margin-inline-start:.4em;border:0;animation:none;width:auto;height:auto}
@keyframes voaroSpin{to{transform:rotate(360deg)}}
a.added_to_cart{display:inline-block;margin-top:.45rem;font-size:.88em;font-weight:700;text-decoration:underline}
.single_add_to_cart_button.disabled,.single_add_to_cart_button:disabled{opacity:.55;cursor:not-allowed}

/* نوار چسبان امپراطور: دکمه یک‌خطی، قیمت منظم، بالاتر از تب‌بار پایین */
@media (max-width:640px){
  .single-product .emp-stickybuy{bottom:calc(60px + env(safe-area-inset-bottom,0px));gap:.7rem;align-items:center;flex-direction:row}
  .emp-stickybuy__price{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:.05rem;line-height:1.45;font-weight:800;min-width:0;flex:1 1 auto}
  .emp-stickybuy__price del{font-size:.78rem;opacity:.6;font-weight:500}
  .emp-stickybuy__price ins{text-decoration:none}
  .emp-stickybuy__price .woocommerce-Price-amount{font-size:1rem;white-space:nowrap}
  .emp-stickybuy .emp-btn{flex:0 0 auto;min-width:9.5rem;padding:.6rem 1.1rem;font-size:.95rem;min-height:46px}
}

/* نوار چسبان مشترک (برای دموهایی که نوار اختصاصی ندارند) */
.voaro-stickybuy{display:none}
@media (max-width:860px){
  body.voaro-has-sticky .voaro-stickybuy:not([hidden]){
    display:flex;position:fixed;inset-inline:0;bottom:0;z-index:9990;align-items:center;justify-content:space-between;gap:.8rem;
    padding:.6rem 1rem calc(.6rem + env(safe-area-inset-bottom,0px));
    background:var(--voaro-sticky-bg,#fff);color:var(--voaro-sticky-fg,#1b1b1b);
    border-top:1px solid rgba(0,0,0,.12);box-shadow:0 -8px 24px rgba(0,0,0,.12);direction:rtl}
  .voaro-stickybuy__price{display:flex;flex-direction:column;line-height:1.45;font-weight:800;min-width:0;flex:1 1 auto}
  .voaro-stickybuy__price del{font-size:.78rem;opacity:.6;font-weight:500}
  .voaro-stickybuy__price ins{text-decoration:none}
  .voaro-stickybuy__btn{flex:0 0 auto;min-width:9.5rem;min-height:46px;padding:.55rem 1.2rem;border:0;border-radius:12px;
    background:var(--voaro-sticky-btn,#1d1d1f);color:var(--voaro-sticky-btn-fg,#fff)!important;font-weight:800;font-size:.95rem}
  body.voaro-has-sticky{padding-bottom:calc(76px + env(safe-area-inset-bottom,0px))}
}

/* ───── 4.8.68 — صفحهٔ محصول دموی چرم: قاب اصلی دیگر شبکهٔ دوستونهٔ قدیمی نیست ───── */
/* قالب امپراطور روی div.product شبکهٔ ۲ستونه می‌انداخت؛ در چیدمان جدید این قاب شامل سربرگ، صحنه و بخش پایین است و باید بلوکی باشد. */
body.voaro-demo-emperator.single-product div.product.voaro-product-detail{display:block!important;grid-template-columns:none!important;width:100%;max-width:none;gap:0}
body.voaro-demo-emperator.single-product .voaro-product-detail__stage{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(320px,.9fr);gap:clamp(24px,4vw,56px);align-items:start}
body.voaro-demo-emperator.single-product .voaro-product-detail__visual,
body.voaro-demo-emperator.single-product .voaro-product-detail__summary{min-width:0;width:100%}
body.voaro-demo-emperator.single-product .voaro-product-detail .woocommerce-product-gallery{width:100%!important;max-width:100%}
body.voaro-demo-emperator.single-product .voaro-product-detail .woocommerce-product-gallery__image img,
body.voaro-demo-emperator.single-product .voaro-product-detail .woocommerce-product-gallery img.wp-post-image{width:100%!important;height:auto}
body.voaro-demo-emperator.single-product .voaro-product-detail .summary .product_title{letter-spacing:0;line-height:1.5;word-break:normal;overflow-wrap:normal}
body.voaro-demo-emperator.single-product .voaro-product-detail__below{display:block;width:100%;margin-top:48px}
body.voaro-demo-emperator.single-product .voaro-product-detail .woocommerce-tabs,
body.voaro-demo-emperator.single-product .voaro-product-detail .related.products,
body.voaro-demo-emperator.single-product .voaro-product-detail .upsells.products{grid-column:auto;width:100%;max-width:none;float:none;margin-inline:0}
body.voaro-demo-emperator.single-product .voaro-product-detail .woocommerce-tabs ul.tabs{gap:.5rem 1rem;flex-wrap:wrap}
body.voaro-demo-emperator.single-product .voaro-product-detail .woocommerce-tabs ul.tabs li{flex:0 0 auto}
body.voaro-demo-emperator.single-product .voaro-product-detail ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:1.2rem;width:100%;margin:0;padding:0;list-style:none}
body.voaro-demo-emperator.single-product .voaro-product-detail ul.products>li{width:auto!important;float:none!important;margin:0!important}
body.voaro-demo-emperator.single-product .emp-card__price .woocommerce-Price-amount{white-space:nowrap}
@media (max-width:1100px){body.voaro-demo-emperator.single-product .voaro-product-detail ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:860px){
  body.voaro-demo-emperator.single-product .voaro-product-detail__stage{grid-template-columns:minmax(0,1fr)}
  body.voaro-demo-emperator.single-product .voaro-product-detail ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem}
}
