@font-face{font-family:IRANSansXFaNum;src:url('../fonts/IRANSansXFaNum-Regular.woff2') format('woff2');font-weight:400;font-style:normal;font-display:optional}@font-face{font-family:IRANSansXFaNum;src:url('../fonts/IRANSansXFaNum-Medium.woff2') format('woff2');font-weight:500;font-style:normal;font-display:optional}@font-face{font-family:IRANSansXFaNum;src:url('../fonts/IRANSansXFaNum-Bold.woff2') format('woff2');font-weight:700;font-style:normal;font-display:optional}.bb-lp{--bb-primary:#772C4F;--bb-primary-dark:#5C2140;--bb-primary-tint:#F7EEF2;--bb-white:#FFFFFF;--bb-text:#1A1A1A;--bb-text2:rgba(26,26,26,.68);--bb-text3:rgba(26,26,26,.45);--bb-line:rgba(26,26,26,.12);--bb-ease:cubic-bezier(.16,.8,.24,1);background:var(--bb-white);color:var(--bb-text);font-family:IRANSansXFaNum,Vazirmatn,Tahoma,sans-serif;line-height:1.6;direction:rtl;text-align:right;overflow-x:hidden}.bb-lp,.bb-lp *{box-sizing:border-box}.bb-lp img{max-width:100%;height:auto;display:block}.bb-lp a{color:inherit;text-decoration:none}.bb-lp button{font-family:inherit}.bb-lp h1,.bb-lp h2,.bb-lp h3,.bb-lp h4{font-weight:700;margin:0;letter-spacing:-.01em}.bb-lp p{margin:0}.bb-lp ::selection{background:var(--bb-primary);color:#fff}.bb-wrap{max-width:1280px;margin:0 auto;padding:0 24px}@media (max-width:780px){.bb-wrap{padding:0 18px}}.bb-section{padding:96px 0}.bb-alt{background:var(--bb-primary-tint)}@media (max-width:780px){.bb-section{padding:64px 0}}.bb-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:13px;color:var(--bb-primary);font-weight:700;letter-spacing:.04em;margin-bottom:18px}.bb-eyebrow::before{content:'';width:22px;height:2px;background:var(--bb-primary);border-radius:2px}.bb-section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:50px;flex-wrap:wrap}.bb-section-head h2{font-size:clamp(1.6rem,3.2vw,2.4rem);max-width:16ch}.bb-section-head p{color:var(--bb-text2);max-width:34ch;font-size:14.5px;line-height:1.9}.bb-h1{font-size:clamp(2.1rem,5.4vw,3.9rem);line-height:1.25;max-width:15ch}.bb-h1 em{font-style:normal;color:var(--bb-primary)}.bb-h2{font-size:clamp(1.7rem,3.2vw,2.3rem);line-height:1.4;margin-bottom:22px;max-width:20ch}.bb-lead{margin-top:22px;font-size:clamp(.98rem,1.4vw,1.1rem);color:var(--bb-text2);max-width:46ch;line-height:1.9}.bb-p{color:var(--bb-text2);font-size:15px;line-height:1.95;margin-bottom:16px;max-width:60ch}.bb-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 30px;border-radius:999px;font-size:14.5px;font-weight:700;transition:transform .25s var(--bb-ease),background-color .25s,border-color .25s,color .25s;border:1.5px solid transparent}.bb-btn:hover{transform:translateY(-2px)}.bb-btn-primary{background:var(--bb-primary);color:#fff}.bb-btn-primary:hover{background:var(--bb-primary-dark)}.bb-btn-ghost{border-color:var(--bb-line);color:var(--bb-text)}.bb-btn-ghost:hover{border-color:var(--bb-primary);color:var(--bb-primary)}.bb-hero{padding:90px 0 60px;background:var(--bb-white)}.bb-hero-eyebrow{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700;color:var(--bb-primary);margin-bottom:22px;letter-spacing:.03em}.bb-hero-eyebrow::before{content:'';width:22px;height:2px;background:var(--bb-primary);border-radius:2px}.bb-hero-ctas{display:flex;flex-wrap:wrap;gap:16px;margin-top:36px}.bb-hero-stats{display:flex;flex-wrap:wrap;gap:0;margin-top:56px;border-top:1px solid var(--bb-line);padding-top:26px}.bb-hstat{padding:0 26px;border-right:1px solid var(--bb-line)}.bb-hstat:first-child{padding-right:0;border-right:none}@media(max-width:640px){.bb-hstat{padding:0 16px}}.bb-hstat b{display:block;font-size:24px;color:var(--bb-primary);font-weight:700}.bb-hstat span{font-size:12px;color:var(--bb-text3)}#bb-categories .bb-cat-scroller,#bb-categories.bb-section .bb-cat-scroller{display:grid!important;flex-direction:unset!important;flex-wrap:unset!important;grid-template-columns:repeat(auto-fit,minmax(210px,1fr))!important;gap:20px!important;max-width:1280px!important;width:100%!important;margin:0 auto!important;padding:6px 24px 8px!important;overflow:visible!important;overflow-x:visible!important;overflow-y:visible!important;white-space:normal!important;scroll-snap-type:none!important;-webkit-overflow-scrolling:auto!important;justify-content:normal!important}#bb-categories .bb-cat-card{position:relative;display:block!important;width:100%!important;min-width:0!important;max-width:none!important;flex:none!important;border-radius:16px;overflow:hidden;background:var(--bb-primary-tint);transition:transform .3s var(--bb-ease)}#bb-categories .bb-cat-card:hover{transform:translateY(-4px)}#bb-categories .bb-cat-card img{width:100%!important;aspect-ratio:4/5;object-fit:cover}#bb-categories .bb-cat-info{position:absolute;inset:auto 0 0 0;padding:16px;background:linear-gradient(0deg,rgba(0,0,0,.62),transparent 75%);display:flex;flex-direction:column;gap:2px}#bb-categories .bb-cat-info b{color:#fff;font-size:15.5px}#bb-categories .bb-cat-info i{color:rgba(255,255,255,.8);font-style:normal;font-size:11.5px}@media (min-width:781px) and (max-width:1023px){#bb-categories .bb-cat-scroller{grid-template-columns:repeat(3,1fr)!important;gap:16px!important;padding:6px 24px 8px!important}}@media (max-width:780px){#bb-categories .bb-cat-scroller{display:grid!important;grid-template-columns:repeat(2,1fr)!important;gap:12px!important;padding:6px 18px 8px!important;margin:0!important;max-width:100%!important;overflow:visible!important;overflow-x:visible!important;scroll-snap-type:none!important}#bb-categories .bb-cat-card{border-radius:13px}#bb-categories .bb-cat-info{padding:12px}#bb-categories .bb-cat-info b{font-size:14px}#bb-categories .bb-cat-info i{font-size:11px}}@media (max-width:400px){#bb-categories .bb-cat-scroller{grid-template-columns:1fr!important;gap:10px!important;padding:6px 16px 8px!important}#bb-categories .bb-cat-card{border-radius:12px}#bb-categories .bb-cat-card img{aspect-ratio:16/10}}.bb-about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:60px;align-items:center}@media(max-width:860px){.bb-about-grid{grid-template-columns:1fr;gap:34px}}.bb-about-media img{aspect-ratio:3/2;object-fit:cover;border-radius:18px;aspect-ratio:4/5;object-fit:cover}.bb-facts{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:26px}.bb-facts>div{border-top:1px solid var(--bb-line);padding-top:12px}.bb-facts b{display:block;color:var(--bb-primary);font-size:13px;margin-bottom:3px}.bb-facts span{font-size:12.5px;color:var(--bb-text3)}.bb-why-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:var(--bb-line);border:1px solid var(--bb-line);border-radius:16px;overflow:hidden}@media(max-width:860px){.bb-why-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.bb-why-grid{grid-template-columns:1fr}}.bb-why-card{background:#fff;padding:34px 26px}.bb-tag{display:inline-block;font-size:12px;font-weight:700;color:var(--bb-primary);border:1px solid var(--bb-primary);border-radius:6px;padding:2px 9px;margin-bottom:18px}.bb-why-card h3{font-size:17px;margin-bottom:8px}.bb-why-card p{font-size:13.5px;color:var(--bb-text2);line-height:1.85}.bb-fabric-box{background:#fff;border:1px solid var(--bb-line);border-radius:20px;padding:40px}@media(max-width:780px){.bb-fabric-box{padding:22px}}.bb-fabric-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:40px;align-items:start}@media(max-width:860px){.bb-fabric-grid{grid-template-columns:1fr}}.bb-fabric-list{display:flex;flex-direction:column}.bb-fabric-item{display:flex;justify-content:space-between;align-items:center;width:100%;text-align:right;background:0 0;border:none;border-top:1px solid var(--bb-line);padding:16px 4px;font-size:17px;color:var(--bb-text2);cursor:pointer}.bb-fabric-list .bb-fabric-item:last-child{border-bottom:1px solid var(--bb-line)}.bb-fabric-item span{font-size:12px;color:var(--bb-text3)}.bb-fabric-item.active{color:var(--bb-primary);font-weight:700}.bb-fabric-item.active span{color:var(--bb-primary)}.bb-fabric-visual{position:relative;border-radius:16px;overflow:hidden;aspect-ratio:16/11;background:var(--bb-primary-tint)}.bb-fabric-visual img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:0;transition:opacity .5s var(--bb-ease)}.bb-fabric-visual img.show{opacity:1}.bb-fabric-cap>div{display:none;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:18px}.bb-fabric-cap>div.show{display:grid}.bb-fabric-cap b{display:block;color:var(--bb-primary);font-size:11.5px;margin-bottom:4px}.bb-fabric-cap span{font-size:12.5px;color:var(--bb-text2)}.bb-trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;background:var(--bb-line);border:1px solid var(--bb-line);border-radius:16px;overflow:hidden}@media(max-width:780px){.bb-trust-grid{grid-template-columns:repeat(2,1fr)}}.bb-trust-card{background:#fff;padding:36px 20px;text-align:center}.bb-trust-num{font-size:clamp(1.9rem,3.6vw,2.6rem);font-weight:700;color:var(--bb-primary)}.bb-trust-label{margin-top:8px;font-size:13px;color:var(--bb-text2)}.bb-timeline{display:flex;gap:0;overflow-x:auto;padding-bottom:10px}.bb-tl-step{flex:1 0 200px;padding-left:24px;border-right:1px solid var(--bb-line);padding-right:20px}.bb-tl-step:first-child{padding-right:0;border-right:none}.bb-tl-num{font-size:12.5px;color:var(--bb-primary);font-weight:700;display:block;margin-bottom:10px}.bb-tl-step h4{font-size:16px;margin-bottom:8px}.bb-tl-step p{font-size:12.5px;color:var(--bb-text3);line-height:1.75}.bb-test-wrap{max-width:700px;margin:0 auto;text-align:center}.bb-test-slide{display:none}.bb-test-slide.active{display:block}.bb-test-slide p{font-size:clamp(1.05rem,2vw,1.35rem);line-height:1.8;margin-bottom:22px}.bb-test-slide b{display:block;color:var(--bb-primary);font-size:14px}.bb-test-slide i{font-style:normal;color:var(--bb-text3);font-size:12px}.bb-test-dots{display:flex;justify-content:center;gap:8px;margin-top:30px}.bb-test-dots span{width:7px;height:7px;border-radius:50%;background:var(--bb-line);cursor:pointer;transition:transform .3s,background .3s;transform:scaleX(1);transform-origin:center}.bb-test-dots span.active{background:var(--bb-primary);transform:scaleX(2.6)}.bb-faq-item{border-top:1px solid var(--bb-line)}.bb-faq-item:last-child{border-bottom:1px solid var(--bb-line)}.bb-faq-q{width:100%;display:flex;justify-content:space-between;align-items:center;gap:16px;text-align:right;background:0 0;border:none;padding:20px 2px;font-size:15.5px;font-weight:700;color:var(--bb-text);cursor:pointer}.bb-faq-q span{color:var(--bb-primary);font-size:19px;transition:transform .3s var(--bb-ease);flex:none}.bb-faq-item.open .bb-faq-q span{transform:rotate(45deg)}.bb-faq-a{max-height:0;overflow:hidden;transition:max-height .4s var(--bb-ease)}.bb-faq-a p{padding:0 2px 20px;color:var(--bb-text2);font-size:14px;line-height:1.85;max-width:70ch}.bb-final-cta{background:var(--bb-primary-tint);border-radius:22px;padding:70px 30px;text-align:center}.bb-final-cta h2{margin:0 auto 18px}.bb-final-ctas{display:flex;justify-content:center;gap:14px;flex-wrap:wrap}@media (prefers-reduced-motion:reduce){.bb-lp *{transition-duration:NaNs!important}}.bb-lp :focus-visible{outline:2px solid var(--bb-primary);outline-offset:2px}.bb-blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}@media(max-width:860px){.bb-blog-grid{grid-template-columns:repeat(2,1fr);gap:18px}}@media(max-width:560px){.bb-blog-grid{grid-template-columns:1fr;gap:16px}}.bb-blog-card{display:block;background:#fff;border:1px solid var(--bb-line);border-radius:16px;overflow:hidden;transition:transform .3s var(--bb-ease),box-shadow .3s var(--bb-ease),border-color .3s var(--bb-ease)}.bb-blog-card:hover{transform:translateY(-5px);box-shadow:0 20px 40px -20px rgba(26,26,26,.18);border-color:transparent}.bb-blog-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--bb-primary-tint)}.bb-blog-media img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .5s var(--bb-ease)}.bb-blog-card:hover .bb-blog-media img{transform:scale(1.06)}.bb-blog-cat{position:absolute;top:14px;inset-inline-start:14px;background:var(--bb-primary);color:#fff;font-size:11.5px;font-weight:700;padding:5px 13px;border-radius:999px;letter-spacing:.02em}.bb-blog-body{padding:22px 20px 26px}.bb-blog-date{display:block;font-size:12px;color:var(--bb-text3);margin-bottom:10px}.bb-blog-body h3{font-size:16px;line-height:1.6;font-weight:700;color:var(--bb-text);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.bb-blog-empty{grid-column:1/-1;text-align:center;color:var(--bb-text3);padding:20px 0}.bb-blog-more{margin-top:44px;text-align:center}

/**
 * BB-DEALS — سکشن «پیشنهادهای ویژه بن‌بیگی»
 * استایل اختصاصی کارت محصول و اسلایدر Swiper.
 * از رنگ‌ها و تایپوگرافی پیش‌فرض قالب استفاده می‌کند (بدون Palette جدید)
 * و بر پایه کلاس‌های عمومی موجود در قالب (bb-section, bb-wrap, bb-btn) است.
 *
 * مسیر پیشنهادی: assets/css/bb-deals.css
 */

/* =========================================================
   BB-DEALS — پیشنهادهای ویژه؛ از رنگ و تایپوگرافی پیش‌فرض قالب
   (بدون Palette جدید) و کلاس‌های عمومی bb-section/bb-btn استفاده
   می‌کند. فقط اجزای اختصاصی کارت و اسلایدر اینجا تعریف شده‌اند.
   ========================================================= */
/**
 * BB-FLASH — سکشن «پیشنهاد شگفت‌انگیز تک‌سایز»
 * پالت قرمز/نارنجی پرانرژی الهام‌گرفته از ویجت «شگفت‌انگیز» دیجی‌کالا.
 * فلش‌های ناوبری همیشه‌نمایان، هم در دسکتاپ و هم موبایل.
 *
 * مسیر پیشنهادی: assets/css/bb-flash.css
 */
 /**
 * BB-FLASH — سکشن «پیشنهاد شگفت‌انگیز تک‌سایز»
 * پالت قرمز/نارنجی پرانرژی الهام‌گرفته از ویجت «شگفت‌انگیز» دیجی‌کالا.
 * فلش‌های ناوبری همیشه‌نمایان، هم در دسکتاپ و هم موبایل.
 *
 * مسیر پیشنهادی: assets/css/bb-flash.css
 .
 */

/* ===== IRANSansX Webfont ===== */
/* منبع فونت: چایلد تم وودمارت (wp-content/themes/woodmart-child/fonts/iransansx/) */

@font-face {
  font-family: 'IRANSansX';
  src: url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Thin.woff2') format('woff2'),
       url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Thin.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-UltraLight.woff2') format('woff2'),
       url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-UltraLight.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Light.woff2') format('woff2'),
       url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Light.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Regular.woff2') format('woff2'),
       url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Medium.woff2') format('woff2'),
       url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-DemiBold.woff2') format('woff2'),
       url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-DemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Bold.woff2') format('woff2'),
       url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-ExtraBold.woff2') format('woff2'),
       url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-ExtraBold.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'IRANSansX';
  src: url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Black.woff2') format('woff2'),
       url('/wp-content/themes/woodmart-child/fonts/iransansx/IRANSansX-Black.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* استفاده در بقیه CSS: */
body, .site {
  font-family: 'IRANSansX', Tahoma, sans-serif;
}
.bb-flash-section{
  --bbf-bg:       rgb(117, 72, 93);
  --bbf-bg-deep:  rgb(95, 29, 60);
  --bbf-bg-light: rgb(102, 31, 64);
  --bbf-accent:   rgb(119,44,79);
  --bbf-gold:     #ffd166;
  --bbf-white:    #ffffff;
  --bbf-ink:      #241014;
  margin: 30px 0;
  padding-block: 10px;
}

.bb-flash-panel{
  position:relative;
  display:flex;
  align-items:stretch;
  gap:0;
  max-width:1680px;
  margin-inline:auto;
  background:
    radial-gradient(120% 160% at 100% 0%, var(--bbf-bg-light) 0%, transparent 45%),
    linear-gradient(160deg, var(--bbf-bg) 0%, var(--bbf-bg-deep) 100%);
  border-radius:28px;
  overflow:hidden;
  box-shadow:
    0 30px 70px -30px rgba(179,19,26,.6),
    inset 0 1px 0 rgba(255,255,255,.1);
}

.bb-flash-panel::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background-image:radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size:16px 16px;
  opacity:.5;
  mix-blend-mode:overlay;
}

/* ---- ستون معرفی ---- */
.bb-flash-intro{
  position:relative;
  flex:0 0 clamp(220px, 20vw, 300px);
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  padding:36px 34px;
  color:var(--bbf-white);
  text-align:right;
  overflow:hidden;
  z-index:1;
}

.bb-flash-deco{
  position:absolute;
  top:-14px;
  inset-inline-end:-14px;
  width:130px;
  height:130px;
  opacity:.9;
  pointer-events:none;
  filter:drop-shadow(0 6px 14px rgba(0,0,0,.3));
}

.bb-flash-badge{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:6px 15px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
  border:1px solid rgba(255,255,255,.32);
  backdrop-filter:blur(6px);
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  color:var(--bbf-gold);
  margin-bottom:16px;
}

.bb-flash-intro h2{
  margin:0 0 10px;
  font-size:clamp(1.35rem, 1.8vw, 1.75rem);
  font-weight:800;
  line-height:1.42;
  color:var(--bbf-white);
  text-shadow:0 2px 12px rgba(0,0,0,.25);
}

.bb-flash-intro p{
  margin:0 0 18px;
  font-size:13px;
  line-height:1.95;
  color:rgba(255,255,255,.82);
  max-width:230px;
}

.bb-flash-timer{
  display:inline-flex;
  align-items:center;
  gap:7px;
  padding:8px 16px;
  margin-bottom:22px;
  border-radius:999px;
  background:rgba(0,0,0,.22);
  color:var(--bbf-white);
  font-size:13px;
  font-weight:800;
  letter-spacing:.03em;
  direction:ltr;
}
.bb-flash-timer-value{ font-variant-numeric:tabular-nums; }

.bb-flash-more{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:12px 24px;
  border-radius:999px;
  background:linear-gradient(180deg, #5c425a 0%, #ffeceb 100%);
  color:black;
  font-size:13.5px;
  font-weight:800;
  text-decoration:none;
  transition:transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s ease;
  box-shadow:0 14px 26px -12px rgba(0,0,0,.5);
}
.bb-flash-more svg{ transition:transform .3s ease; }
.bb-flash-more:hover{ transform:translateY(-3px); box-shadow:0 18px 32px -12px rgba(0,0,0,.55); }
.bb-flash-more:hover svg{ transform:translateX(-3px); }
.bb-flash-more:focus-visible{ outline:2px solid var(--bbf-white); outline-offset:3px; }

/* ---- ستون اسلایدر ---- */
.bb-flash-carousel{
  position:relative;
  flex:1 1 auto;
  min-width:0;
  padding:24px 26px 24px 4px;
  display:flex;
  align-items:center;
  z-index:1;
}

.bb-flash-shell{ position:relative; width:100%; }

/* ---- Skeleton ---- */
.bb-flash-skeleton{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:14px;
}
.bb-flash-shell.is-ready .bb-flash-skeleton{ display:none; }
.bb-flash-shell:not(.is-ready) .bb-flash-swiper{ opacity:0; pointer-events:none; position:absolute; inset:0; }
.bb-flash-shell:not(.is-ready) .bb-flash-arrow{ opacity:0; pointer-events:none; }

.bb-flash-card-sk{
  padding:12px;
  border-radius:18px;
  background:var(--bbf-white);
}
.bb-fsk{
  background:linear-gradient(90deg, rgba(0,0,0,.06) 25%, rgba(0,0,0,.10) 37%, rgba(0,0,0,.06) 63%);
  background-size:400% 100%;
  border-radius:8px;
  animation:bbFlashShimmer 1.4s ease infinite;
}
.bb-fsk-img{ width:100%; aspect-ratio:1/1; border-radius:14px; margin-bottom:12px; }
.bb-fsk-line{ height:10px; margin-bottom:7px; }
@keyframes bbFlashShimmer{ 0%{ background-position:100% 0; } 100%{ background-position:-100% 0; } }

/* ---- Swiper shell ---- */
.bb-flash-swiper{ overflow:hidden; padding:6px 4px 12px; transition:opacity .35s ease; }
.bb-flash-swiper .swiper-slide{ height:auto; display:flex; }

/* ---- Card ---- */
.bb-flash-card{
  position:relative;
  display:flex;
  flex-direction:column;
  width:100%;
  height:100%;
  background:var(--bbf-white);
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 16px 32px -18px rgba(30,4,6,.55);
  transition:transform .32s cubic-bezier(.2,.8,.2,1), box-shadow .32s ease;
}
.bb-flash-card:hover{
  transform:translateY(-6px);
  box-shadow:0 26px 42px -18px rgba(30,4,6,.6);
}

.bb-flash-ribbon{
  position:absolute;
  top:12px;
  inset-inline-start:0;
  z-index:2;
  padding:5px 14px 5px 10px;
  background:linear-gradient(90deg, var(--bbf-accent), var(--bbf-bg-light));
  color:var(--bbf-white);
  font-size:10.5px;
  font-weight:800;
  letter-spacing:.01em;
  border-radius:0 999px 999px 0;
  box-shadow:0 8px 16px -8px rgba(30,4,6,.6);
}

.bb-flash-media{ position:relative; display:block; background:#faf1f0; }
.bb-flash-img{ width:100%; aspect-ratio:1/1; object-fit:cover; display:block; transition:transform .5s ease; }
.bb-flash-card:hover .bb-flash-img{ transform:scale(1.06); }

.bb-flash-off{
  position:absolute;
  bottom:8px;
  inset-inline-end:8px;
  z-index:2;
  display:flex;
  flex-direction:column;
  align-items:center;
  line-height:1.1;
  padding:5px 9px;
  border-radius:10px;
  background:var(--bbf-accent);
  color:var(--bbf-white);
  font-size:13px;
  font-weight:800;
  box-shadow:0 8px 16px -6px rgba(30,4,6,.6);
}
.bb-flash-off small{ font-size:8.5px; font-weight:600; opacity:.9; }

.bb-flash-body{ display:flex; flex-direction:column; flex:1; padding:13px; gap:6px; text-align:right; }

.bb-flash-body a{
	color: black !important;
}

.bb-flash-title{ font-size:13px; font-weight:700; line-height:1.5; margin:0; min-height:2.6em; color:var(--bbf-ink); }
.bb-flash-title a{ color:inherit; text-decoration:none; }
.bb-flash-title a:hover{ color:var(--bbf-accent); }

.bb-flash-price-row{ display:flex; align-items:baseline; gap:8px; flex-wrap:wrap; }
.bb-flash-price-cur{ font-size:14.5px; font-weight:800; color:var(--bbf-accent); }
.bb-flash-price-cur .woocommerce-Price-currencySymbol{ font-size:10.5px; font-weight:600; }
.bb-flash-price-old{ font-size:11px; color:rgba(36,16,20,.4); text-decoration:line-through; }

.bb-flash-progress{
  width:100%;
  height:6px;
  border-radius:999px;
  background:rgba(229,28,35,.14);
  overflow:hidden;
  margin-top:2px;
}
.bb-flash-progress-bar{
  height:100%;
  border-radius:999px;
  background:linear-gradient(90deg, var(--bbf-bg-light), var(--bbf-accent));
}
.bb-flash-progress-label{ font-size:10.5px; color:black; font-weight:700; }

.bb-flash-stock.is-out{ font-size:11px; color:#b23a3a; font-weight:700; }

.bb-flash-cta{
  margin-top:auto;
  display:block;
  text-align:center;
  padding:9px 14px;
  border-radius:999px;
  background:var(--bbf-accent);
  color:white !important;
  font-size:12.5px;
  font-weight:700;
  text-decoration:none;
  transition:filter .25s ease, transform .25s ease;
}
.bb-flash-cta:hover{ filter:brightness(1.1); transform:translateY(-1px); }
.bb-flash-cta:focus-visible{ outline:2px solid var(--bbf-accent); outline-offset:2px; }

/* ---- فلش‌های ناوبری — همیشه‌نمایان در PC و موبایل ---- */
.bb-flash-arrow{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px; height:44px;
  border-radius:50%;
  border:none;
  background:var(--bbf-white);
  color:var(--bbf-accent);
  cursor:pointer;
  box-shadow:0 12px 24px -8px rgba(30,4,6,.55);
  transition:transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease, color .25s ease;
}
.bb-flash-arrow:hover{ background:var(--bbf-accent); color:var(--bbf-white); transform:translateY(-50%) scale(1.08); }
.bb-flash-arrow:focus-visible{ outline:2px solid var(--bbf-white); outline-offset:3px; }
.bb-flash-arrow.swiper-button-disabled{ opacity:.45; cursor:default; }
.bb-flash-arrow.swiper-button-disabled:hover{ transform:translateY(-50%); background:var(--bbf-white); color:var(--bbf-accent); }

/* توجه: next در حالت RTL روی inset-inline-end قرار می‌گیرد که از نظر
   بصری همان سمت چپ باکس است — دقیقاً مطابق درخواست (فلش چپ = بعدی). */
.bb-flash-arrow-prev{ inset-inline-start:0; }
.bb-flash-arrow-next{ inset-inline-end:0; }

.bb-flash-shell.is-ready .bb-flash-arrow-next{
  animation:bbFlashArrowHint 1.4s ease-in-out .6s 3;
}
@keyframes bbFlashArrowHint{
  0%, 100%{ transform:translateY(-50%) translateX(0); }
  50%{ transform:translateY(-50%) translateX(-6px); }
}

@media (prefers-reduced-motion: reduce){
  .bb-flash-card, .bb-flash-img, .bb-flash-swiper, .bb-fsk, .bb-flash-arrow, .bb-flash-more{ transition:none !important; animation:none !important; }
  .bb-flash-shell.is-ready .bb-flash-arrow-next{ animation:none !important; }
}

/* ---- Responsive ---- */
@media (max-width:1280px){
  .bb-flash-skeleton{ grid-template-columns:repeat(4, 1fr); }
}

@media (max-width:1024px){
  .bb-flash-intro{ flex-basis:220px; padding:28px 24px; }
  .bb-flash-carousel{ padding:18px 18px 18px 4px; }
  .bb-flash-skeleton{ grid-template-columns:repeat(3, 1fr); }
}

@media (max-width:820px){
  .bb-flash-panel{ flex-direction:column; border-radius:24px; }
  .bb-flash-intro{
    flex-basis:auto;
    align-items:center;
    text-align:center;
    padding:26px 20px 22px;
  }
  .bb-flash-deco{ top:-30px; inset-inline-end:50%; transform:translateX(50%); width:90px; height:90px; }
  .bb-flash-intro p{ max-width:340px; }
  .bb-flash-carousel{ padding:6px 16px 26px; }
  .bb-flash-skeleton{ grid-template-columns:repeat(2, 1fr); gap:14px; }

  /* فلش‌ها روی موبایل هم فعال می‌مانند، فقط کمی کوچک‌تر و نزدیک‌تر به لبه */
  .bb-flash-arrow{ width:38px; height:38px; }
  .bb-flash-arrow-prev{ inset-inline-start:4px; }
  .bb-flash-arrow-next{ inset-inline-end:4px; }
}

@media (max-width:480px){
  .bb-flash-skeleton{ grid-template-columns:1fr; }
  .bb-flash-title{ font-size:12.5px; }
  .bb-flash-arrow{ width:34px; height:34px; }
}

/* اگر Swiper به هر دلیل لود نشود، کارت‌ها به‌صورت یک ردیف افقی
   قابل‌اسکرول (بدون جاوااسکریپت) نمایش داده می‌شوند. */
.bb-flash-shell.bb-flash-fallback .bb-flash-swiper{
  opacity:1 !important; position:static !important; pointer-events:auto !important;
}
.bb-flash-shell.bb-flash-fallback .swiper-wrapper{
  display:flex; overflow-x:auto; scroll-snap-type:x proximity; gap:16px;
  -webkit-overflow-scrolling:touch;
}
.bb-flash-shell.bb-flash-fallback .swiper-slide{
  flex:0 0 min(78%, 240px); scroll-snap-align:start;
}
.bb-flash-shell.bb-flash-fallback .bb-flash-arrow{ display:none; }
