/*
Theme Name: Lifostep
Theme URI: https://lifostep.com
Author: Your Name
Description: Custom theme (optimized)
Version: 1.1
Text Domain: lifostep
*/

/* =========================================================
   1) DESIGN TOKENS & BASE
   ========================================================= */
:root{
  /* colors */
  --bg: #ebeef0;
  --text: #111;
  --muted: #444;
  --accent: #ff6600;

  /* layout */
  --container: max(72rem, 70%);
  --header-h: 76px;           /* desktop header height */
  --radius-lg: 28px;

  /* breakpoints */
  --bp-md: 900px;
  --bp-sm: 768px;
}
@media (max-width: 900px){
  :root{ --header-h: 60px; }  /* mobile header height */
}

*{ box-sizing: border-box; }
html, body{ height: 100%; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: #ffffff;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
}
img{ max-width: 100%; height: auto; display: block; }
.container{ width: min(var(--container), 92vw); margin-inline: auto; }
html, body{ overflow-x: hidden; } /* prevent accidental horizontal scroll */


/* ===== Force vertical scroll on mobile ===== */
html, body {
  overflow-x: hidden;   /* فقط افقی بسته باشه */
  overflow-y: auto;     /* عمودی همیشه باز باشه */
  -webkit-overflow-scrolling: touch; /* برای اسکرول نرم روی iOS */
}

/* وقتی منوی موبایل بازه فقط اسکرول بسته میشه */
body.menu-open {
  overflow: hidden;
}

/* مطمئن شو بک‌دراپ وقتی hidden هست کامل حذف شه */
.mobile-backdrop[hidden]{
  display: none !important;
}
/* =========================================================
   2) HEADER (desktop + mobile dropdown)
   ========================================================= */
.site-header{
  position: relative;                  /* anchor for mobile dropdown */
  z-index: 1000;
  background: transparent;
  transition: background .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled{
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
}

.header__inner{
  display: grid;
  grid-template-columns: 1fr auto 1fr;  /* left | center | right */
  align-items: center;
  gap: 16px;
  padding: 18px 0;
  min-height: var(--header-h);
}

/* brand / logo */
.header__left .brand{
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 800; color: var(--text); text-decoration: none;
  font-size: 3rem;
}
.header__left .custom-logo{ height: 44px; width: auto; }

/* desktop nav (center) */
.header__center .nav{
  list-style: none; display: flex; gap: 32px; margin: 0; padding: 0;
}
.header__center .nav a{
  color: var(--text); text-decoration: none; font-weight: 600;
  font-size: 1rem; opacity: .85; transition: opacity .25s ease, color .25s ease;
}
.header__center .nav a:hover{ opacity: 1; color: var(--accent); }

/* right side buttons (login/cart/menu) */
.header__right{
  display: flex; justify-content: flex-end; align-items: center; gap: 18px;
}

/* round buttons & icons */
.icon-btn,
.menu-toggle.fancy{
  background: none; border: 0; padding: 4px; cursor: pointer;
  line-height: 0; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.icon-btn svg, .menu-toggle.fancy .menu-icon{ width: 36px; height: 36px; }
.btn-ring{ fill: #fff; stroke: #e5e7eb; stroke-width: 2; }
.btn-fill{ fill: var(--text); }
.btn-stroke{ stroke: var(--text); }
.icon-btn:hover .btn-ring,
.menu-toggle.fancy:hover .btn-ring {
  filter: drop-shadow(0 8px 18px rgba(0,0,0,.12));
}
/* فقط برای آیکن لاگین */
.icon-btn.icon-login:hover .btn-ring {
  filter: none !important; /* سایه رو خاموش کن */
}

.icon-btn.icon-login:hover svg {
  transform: scale(1.15);
  transition: transform .25s ease;
}
/* fancy mobile menu toggle (foot ↔ close) */
.menu-toggle.fancy .icon-close{ opacity: 0; transition: opacity .3s ease; }
.menu-toggle.fancy .icon-foot{ transition: opacity .3s ease, transform .35s ease; transform-origin: 50% 50%; }
.menu-toggle.fancy.active .menu-icon{ transform: rotate(90deg) scale(1.02); transition: transform .35s ease; }
.menu-toggle.fancy.active .icon-foot{ opacity: 0; transform: scale(.8); }
.menu-toggle.fancy.active .icon-close{ opacity: 1; }

/* cart badge */
.icon-cart{ position: relative; }
.cart-badge{
  position: absolute; top: -6px; right: -4px;
  min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--accent); color: #fff; font-size: 11px; font-weight: 700;
  border-radius: 999px; display: inline-flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,.12);
}

/* visibility helpers */
.only-mobile{ display: none; }
.only-desktop{ display: block; }

/* mobile header layout */
@media (max-width: 900px){
  .only-mobile{ display: inline-flex; }
  .only-desktop{ display: none; }

  .site-header .header__inner{
    grid-template-columns: auto 1fr auto; /* logo | spacer | icons */
    padding: 12px 16px;
  }
  .header__left .brand{ font-size: 1.8rem; line-height: 1; }
  .header__left .custom-logo{ height: 32px; }

  .header__right{ gap: 10px; }
  .icon-login{ order: 1; }
  .icon-cart { order: 2; }
  .menu-toggle{ order: 3; }
}

/* mobile dropdown under header */
.mobile-dropdown{
  position: absolute; top: 100%; left: 0; right: 0;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.15);
  transform: translateY(-20px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 999;
}
.mobile-dropdown.open{
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.mobile-menu{
  list-style: none; margin: 0; padding: 16px 20px; display: grid; gap: 12px;
}
.mobile-menu a{
  display: block; padding: 12px; color: var(--text);
  text-decoration: none; font-weight: 600; border-radius: 6px;
}
.mobile-menu a:hover{ background: #f5f5f5; }

.mobile-backdrop{
  position: fixed; inset: 0; background: rgba(0,0,0,.35);
  z-index: 900; opacity: 0; transition: opacity .25s ease;
}
.mobile-backdrop.show{ opacity: 1; }

/* ensure mobile pieces never show on desktop */
@media (min-width: 901px){
  .mobile-dropdown, .mobile-backdrop{ display: none !important; }
}
@media (min-width: 901px){
  .menu-toggle.fancy{ display: none !important; }  /* دکمهٔ موبایل قطعاً مخفی */
}


.site-logo {
  height: 50px;
  width: auto;
}

@media (max-width: 900px) {
  .site-logo {
    height: 40px;
  }
}

/* =========================================================
   3) HERO (full viewport minus header, image expands up)
   ========================================================= */
/* ظرف Hero وسط‌چین با نسبت ثابت (هیچ پرشی ندارد) */
.hero-photo{
  position: relative;
  margin-inline: auto;
  width: min(1280px, 92vw);
  aspect-ratio: 1280 / 750;
  border-radius: var(--radius-lg, 20px);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.15);
}

/* تصویر: از اول تار؛ بعد از لود شفاف می‌شود */
.hero-photo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center;
  filter: blur(14px);
  opacity:.8;
  transition: filter 1.6s ease, opacity 1.6s ease; /* کندترش هم می‌کنی، مثلاً 2s */
}
.hero-photo img.is-loaded{
  filter: blur(0);
  opacity: 1;
}

/* متن/دکمه – از اول جا رزرو کن تا CLS نداشته باشی */
.hero-title,
.hero-subtitle{
  min-height: 1em; /* حداقل یک خط فضا رزرو شود */
}
.hero-btn{
  opacity:0;
  visibility:hidden;   /* رزرو فضا + نامرئی */
  transition: opacity .45s ease, transform .45s ease, visibility 0s linear .45s;
}
.hero-btn.show{
  opacity:1;
  visibility:visible;  /* بدون تغییر layout */
  transition: opacity .45s ease, transform .45s ease, visibility 0s;
  transform: translateY(0);
}

/* موبایل */
@media (max-width:768px){
  .hero-photo{ width:100vw; border-radius:12px; aspect-ratio:800/750; }
}

/* =========================================================
   4) SECTION TWO — “Why your feet hurt” (split + reveal)
   ========================================================= */
.pain-section{ padding: 100px 20px; }
.pain-container{
  width: min(1200px, 92vw); margin: 0 auto;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(24px, 6vw, 64px);
  align-items: center;
}
.pain-title{ font-size: clamp(1.8rem, 3.2vw, 2.6rem); margin: 0 0 .5rem; }
.pain-desc{ max-width: 56ch; color: var(--muted); }

/* scroll-reveal helpers */
.hidden-left{ opacity: 0; transform: translateX(-60px); transition: .8s ease; }
.hidden-right{ opacity: 0; transform: translateX(60px); transition: .8s ease; }
.show{ opacity: 1; transform: translateX(0); }

.pain-image img{
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12);
}

/* mobile layout */
@media (max-width: 900px){
  .pain-container{ grid-template-columns: 1fr; }
  .pain-desc{ margin-inline: auto; text-align: center; }
}


/* =========================================================
   5) STACKED SPLIT CARDS — sticky stack, split layout (optimized)
/* ===== Stacked Split Cards (smooth & jank-free) ===== */

.stacked-section{
  padding: 0 0 0;
  background: #fff;
}

.stacked-head{
  text-align: center;
  margin-bottom: 10px;
}
.stacked-title{
  margin: 0 0 8px;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 900;
}
.stacked-sub{
  margin: 0 auto;
  color: var(--muted);
  max-width: 60ch;
}

/* مسیر بلندتر + ایزوله برای جلوگیری از پرش کارت آخر */
.stacked-track{
  width: min(var(--container), 92vw);
  margin-inline: auto;
  position: relative;
  padding-top: 8vh;
  padding-bottom: 8vh;
  isolation: isolate;
}

/* کارت sticky با رندر بهینه (GPU) */
.stack-card{
  position: sticky;
  top: clamp(72px, 14vh, 140px);
  margin: 0 auto;
  width: min(1200px, 100%);
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  /* یک سایه‌ی ثابت – انیمیتش نمی‌کنیم */
  box-shadow: 0 12px 36px rgba(0,0,0,.10);
  overflow: hidden;

  /* بهینه‌سازی رندر */
  transform: translateY(24px);      /* شروع کمی پایین‌تر */
  opacity: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  contain: content;                 /* کمترین تاثیر روی layout/paint اطراف */

  /* فقط transform/opacity را انیمیت کن */
  transition: transform 400ms ease, opacity 400ms ease;
  z-index: 1; /* ترتیب دقیق‌تر در JS ست می‌شود */
}

/* جلوگیری از ترنزیشن روی خصوصیت‌های پرهزینه مثل box-shadow/width/height */
.stack-card,
.stack-card *{
  transition-property: transform, opacity;
}

/* فاصله بین کارت‌ها تا رهایی نرم */
.stack-card + .stack-card{
  margin-top: 12vh;
}

/* گرید داخلی: چپ متن / راست تصویر (دسکتاپ) */
.card-grid{
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(16px, 3vw, 28px);
  align-items: center;
}

/* ستون متن */
.card-text{
  padding: clamp(18px, 3vw, 28px) clamp(18px, 3vw, 32px);
}
.card-text h3{
  margin: 0 0 8px;
  font-size: clamp(1.2rem, 2.6vw, 1.6rem);
}
.card-text p{
  margin: 0;
  color: var(--muted);
  max-width: 60ch;
}

/* ستون تصویر */
.card-media{
  padding: clamp(12px, 2.2vw, 20px);
}
.card-media img{
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

/* وقتی وارد دید می‌شود */
.stack-card.is-in{
  opacity: 1;
  transform: translateY(0);
  /* box-shadow ثابت می‌ماند تا رندر CPU نگیرد */
}

/* هاور لطیف دسکتاپ – فقط با transform (بدون انیمیشن سایه) */
@media (hover:hover){
  .stack-card.is-in:hover{
    transform: translateY(-4px);
  }
}

/* موبایل: اول تصویر، بعد متن؛ یک‌ستونه */
@media (max-width: 900px){
  .stacked-section{ padding: 0 0 10px; }
  .stack-card{ top: clamp(64px, 12vh, 120px); }
  .stack-card + .stack-card{ margin-top: 10vh; }

  .card-grid{ grid-template-columns: 1fr; }
  .card-media{ order: -1; padding: 10px; }
  .card-text{ text-align: center; padding: 16px 16px 22px; }
  .card-text p{ margin-inline: auto; }
}

/* احترام به prefers-reduced-motion */
@media (prefers-reduced-motion: reduce){
  .stack-card{
    transition: none;
    transform: none;
    opacity: 1;
  }
}
/* =========================================================
   6) PRODUCTS CAROUSEL (black section with glass captions)
/* ========================================================= */
.products-carousel{
  background:#0b0b0c;
  color:#fff;
  padding: 72px 0;
}
.products-carousel .pc-head{
  text-align:center;
  margin-bottom: 24px;
}
.products-carousel .pc-head h2{
  margin:0 0 8px; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight:900;
}
.products-carousel .pc-head p{
  margin:0; color: rgba(255,255,255,.7);
}

/* viewport & track */
.pc-viewport{
  position:relative;
  width:min(var(--container), 92vw);
  margin-inline:auto;
  overflow:hidden;              /* لبه‌ها تمیز */
  padding: 8px 44px;            /* جا برای دکمه‌ها */
}
.pc-track{
  display:flex; gap: 16px;
  overflow-x:auto; overflow-y:hidden;
  scroll-behavior:smooth;
  scroll-snap-type: x mandatory;  /* اسنپ نرم کارت‌ها */
  -webkit-overflow-scrolling: touch;
  padding: 8px 4px 16px;

  /* مخفی کردن اسکرول‌بار */
  scrollbar-width: none;          /* Firefox */
  -ms-overflow-style: none;       /* IE/Edge قدیمی */
}
.pc-track::-webkit-scrollbar{ display:none; height:0; }

/* card (square) */
.pc-card{
  flex: 0 0 calc((100% - 32px) / 3);  /* 3 کارت در دید + دو فاصله 16px */
  scroll-snap-align: start;
  border-radius: 14px;
  text-decoration:none;
  color: inherit;
  outline: none;
  position: relative;
}
.pc-figure{
  position:relative;
  aspect-ratio: 1 / 1;         /* مربعی */
  border-radius: 14px;
  overflow:hidden;
  background:#111;
  box-shadow: 0 14px 36px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease;
  will-change: transform;
}
.pc-figure img{
  width:100%; height:100%; object-fit:cover; display:block;
}

/* glass caption — پیش‌فرض مخفی */
.pc-glass{
  position:absolute; left:0; right:0; bottom:0;
  display:grid; gap:4px;
  padding: 12px 12px 14px;
  /* شیشه ملایم */
  background: linear-gradient(to top, rgba(0,0,0,.55), rgba(0,0,0,0));
  color:#fff;
  backdrop-filter: blur(8px) saturate(120%);
  -webkit-backdrop-filter: blur(8px) saturate(120%);
  border-top: 1px solid rgba(255,255,255,.18);

  /* مخفی‌سازی و انیمیشن ورود */
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none; /* کلیک روی لینک کارت از بین نره */
  transition: opacity .25s ease, transform .25s ease;
}

.pc-glass strong{
  font-size: .98rem; font-weight:800; line-height:1.1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  text-shadow: 0 6px 20px rgba(0,0,0,.35);
}
.pc-glass span{
  font-size:.86rem; color: rgba(255,255,255,.92);
  max-height: 2.6em; overflow: hidden;
}

/* دسکتاپ: با هاور/فوکس نمایان شود */
@media (hover:hover){
  .pc-card:hover .pc-figure{
    transform: translateY(-3px);
    box-shadow: 0 18px 46px rgba(0,0,0,.45);
  }
  .pc-card:hover .pc-glass,
  .pc-card:focus .pc-glass,
  .pc-card:focus-within .pc-glass{
    opacity: 1; transform: translateY(0);
  }
}

/* موبایل/تاچ: با کلاس peek نمایان شود */
@media (hover:none){
  .products-carousel .pc-card.peek .pc-glass{
    opacity: 1; transform: translateY(0);
  }
}

/* nav buttons */
.pc-nav{
  position:absolute; top:50%; transform: translateY(-50%);
  width:40px; height:40px; border-radius:999px;
  border:1px solid rgba(255,255,255,.25);
  background: rgba(255,255,255,.08);
  color:#fff; font-size: 20px; font-weight:700;
  display:grid; place-items:center;
  cursor:pointer;
  z-index:10;
  backdrop-filter: blur(6px);
  transition: background .2s ease, transform .2s ease;
}
.pc-nav:hover{ background: rgba(255,255,255,.16); transform: translateY(calc(-50% - 1px)); }
.pc-prev{ left: 8px; }
.pc-next{ right: 8px; }

/* edge fades */
.pc-edge{
  position:absolute; top:0; bottom:0; width:54px; pointer-events:none; z-index:9;
}
.pc-edge--left{ left:0; background: linear-gradient(90deg, #0b0b0c 40%, transparent); }
.pc-edge--right{ right:0; background: linear-gradient(-90deg, #0b0b0c 40%, transparent); }

/* responsive: 2 کارت، بعد 1.2 کارت */
@media (max-width: 1100px){
  .pc-card{ flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 700px){
  .pc-card{ flex-basis: 82%; }       /* 1.2 کارت در دید برای جذابیت */
  .pc-viewport{ padding: 8px 36px; }
  .pc-nav{ width:36px; height:36px; font-size:18px; }
}

/* پیش‌فرض: کپشن مخفی باشد */
.pc-glass{
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

/* دسکتاپ: هاور کپشن را نشان بده */
@media (hover:hover){
  .pc-card:hover .pc-glass{
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

/* موبایل/لمس: وقتی کارت "آشکار" شد کپشن را نشان بده */
.pc-card.is-revealed .pc-glass{
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* =========================================================
   Shipping & Delivery
   ========================================================= */
   /* === Shipping & Delivery Page (match Refund/Privacy) === */
.ls-shipping-policy .ls-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
}

.ls-shipping-policy .ls-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
  text-align: center;
}

.ls-shipping-policy .ls-updated {
  font-size: 14px;
  color: #6b7280; /* کمی کم‌رنگ‌تر */
  margin-bottom: 28px;
  text-align: center;
}

.ls-shipping-policy .ls-article h2 {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin-top: 32px;
  margin-bottom: 12px;
}

.ls-shipping-policy .ls-article p {
  line-height: 1.8;
  font-size: 16px;
  margin: 0 0 16px;
  color: #1f2937;
}

.ls-shipping-policy .ls-article ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
  color: #374151;
}

.ls-shipping-policy .ls-article a {
  color: #0073aa;
  text-decoration: underline;
}

.ls-shipping-policy .ls-article strong {
  color: #111;
  font-weight: 600;
}
   
/* =========================================================
   Terms of Service
   ========================================================= */
   /* === Terms Page (match Refund/Privacy style) === */
.ls-terms .ls-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
}

.ls-terms .ls-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
  text-align: center;
}

.ls-terms .ls-updated {
  font-size: 14px;
  color: #6b7280; /* کم‌رنگ */
  margin-bottom: 28px;
  text-align: center;
}

.ls-terms .ls-article h2 {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin-top: 32px;
  margin-bottom: 12px;
}

.ls-terms .ls-article p {
  line-height: 1.8;
  font-size: 16px;
  margin: 0 0 16px;
  color: #1f2937;
}

.ls-terms .ls-article ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
  color: #374151;
}

.ls-terms .ls-article a {
  color: #0073aa;
  text-decoration: underline;
}

.ls-terms .ls-article strong {
  color: #111;
  font-weight: 600;
}

/* =========================================================
   ریفاند
   ========================================================= */
   /* === Refund Policy Page === */
.ls-refund-policy .ls-container {
  max-width: 880px;
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
}

.ls-refund-policy .ls-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
  text-align: center;
}

.ls-refund-policy .ls-updated {
  font-size: 14px;
  color: #6b7280;
  margin-bottom: 28px;
  text-align: center;
}

.ls-refund-policy .ls-article h2 {
  font-size: 22px;
  font-weight: 600;
  color: #111;
  margin-top: 32px;
  margin-bottom: 12px;
}

.ls-refund-policy .ls-article p {
  line-height: 1.8;
  font-size: 16px;
  margin: 0 0 16px;
  color: #1f2937;
}

.ls-refund-policy .ls-article ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
  color: #374151;
}

.ls-refund-policy .ls-article a {
  color: #0073aa;
  text-decoration: underline;
}

.ls-refund-policy .ls-article strong {
  color: #111;
  font-weight: 600;
}

/* =========================================================
   پالیسی Policy
   ========================================================= */
/* === Privacy Policy Page (refined) === */
.ls-privacy-policy .ls-container {
  max-width: 880px;            /* پهنای کمتر طبق خواسته */
  margin: 0 auto;
  padding: 40px 20px;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: #1f2937;
}

/* تیتر و تاریخ هر دو وسط‌چین */
.ls-privacy-policy .ls-title {
  text-align: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111827;
}

.ls-privacy-policy .ls-updated {
  text-align: center;
  font-size: 14px;
  color: #6b7280;              /* کم‌رنگ‌تر طبق خواسته */
  margin-bottom: 28px;
}

/* تیترهای داخل متن */
.ls-privacy-policy .ls-article h2,
.ls-privacy-policy .ls-article h3 {
  font-size: 22px;             /* سایز تیترها */
  font-weight: 600;
  color: #111;
  margin-top: 32px;            /* فاصله‌ها طبق خواسته */
  margin-bottom: 12px;
}

/* متن پاراگراف‌ها */
.ls-privacy-policy .ls-article p {
  line-height: 1.8;            /* Line-height طبق خواسته */
  font-size: 14px;             /* Font-size طبق خواسته */
  margin: 0 0 16px;
  color: #676767;
}

/* لیست‌ها و لینک‌ها */
.ls-privacy-policy .ls-article ul {
  margin: 12px 0 16px 20px;
  list-style: disc;
  color: #374151;
}

.ls-privacy-policy .ls-article a {
  color: #0073aa;
  text-decoration: underline;
}

.ls-privacy-policy .ls-article strong {
  color: #111;
  font-weight: 600;
}

/* اختیاری: نقل‌قول و تقسیم‌کننده */
.ls-privacy-policy .ls-article blockquote {
  border-left: 4px solid #0073aa;
  background: #f9fafb;
  padding: 12px 18px;
  margin: 20px 0;
  color: #374151;
  font-style: italic;
}

.ls-privacy-policy .ls-article hr {
  border: 0;
  border-top: 1px solid #e5e7eb;
  margin: 28px 0;
}

/* =========================================================
   FOOTER — modern gradient, glass accents, clean grid
   ========================================================= */
.site-footer{
  background: linear-gradient(180deg, #1a1c1e 0%, #0b0b0c 100%);
  color: #e9eef2;
  padding-top: 56px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer-inner{
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1.2fr;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding-bottom: 40px;
}

/* brand */
.ft-logo{
  display: inline-flex; align-items: center; gap: 1px;
  text-decoration: none; color: #fff; font-weight: 800;
}
.ft-logo-mark{
  display:inline-grid; place-items:center;
  width: 35px; height: 40px; border-radius: 5px;
  background: linear-gradient(135deg, #ffffff 0%, #e6e9ef 100%);
  color:#0b0b0c; font-weight: 900; font-size: 1.7rem;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
}
.ft-logo-text{ font-size: 1.25rem; letter-spacing: .2px; }

.ft-tagline{
  margin: 10px 0 18px;
  color: rgba(255,255,255,.75);
}

/* social */
.ft-social{ display:flex; gap: 10px; }
.soc-btn{
  width: 40px; height: 40px; border-radius: 12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  color:#fff; text-decoration:none;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.soc-btn svg{ width: 20px; height: 20px; fill: currentColor; }
.soc-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.22);
}

/* columns */
.ft-col{ min-width: 0; }
.ft-title{
  margin: 0 0 12px; font-size: .95rem; letter-spacing: .6px;
  text-transform: uppercase; color: #cfd6dd;
}
.ft-links{ list-style:none; margin:0; padding:0; display:grid; gap: 10px; }
.ft-links a{
  color: #dde4ea; text-decoration:none;
  opacity:.9; transition: opacity .2s ease, color .2s ease;
}
.ft-links a:hover{ opacity:1; color:#fff; }

/* contact */
.ft-contact .ft-phone{
  margin: 0 0 12px; font-weight: 800; color:#fff;
  letter-spacing:.3px;
}
.ft-im{ display:flex; gap:10px; flex-wrap: wrap; }
.im-btn{
  display:inline-flex; align-items:center; gap:8px;
  padding: 10px 14px; border-radius: 14px;
  text-decoration:none; font-weight:700; font-size:.92rem;
  color:#0b0b0c; background:#fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.2);
  transition: transform .2s ease, box-shadow .2s ease;
}
.im-btn svg{ width:18px; height:18px; fill: currentColor; }
.im-btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 36px rgba(0,0,0,.28); }
.im-whatsapp{ background: #eaffed; color:#128C7E; }
.im-telegram{ background: #e8f4ff; color:#229ED9; }

/* bottom bar */
.ft-bottom{
  border-top: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.12);
  backdrop-filter: blur(4px);
}
.ft-bottom-inner {
    display: flex
;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    font-size: .9rem;
    color: #cbd3da;
}
.ft-bottom-links{ display:flex; gap:16px; }
.ft-bottom-links a{ color:#cbd3da; text-decoration:none; opacity:.9; }
.ft-bottom-links a:hover{ opacity:1; color:#fff; }


/* تا 1000px: دو ستون مرتب */
@media (max-width: 1000px){
  .footer-inner{
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }
}

/* تا 640px: تک ستون + همه چیز وسط‌چین و منظم */
@media (max-width: 640px){

  /* کل فوتر یک ستون و آیتم‌ها وسط */
  .footer-inner{
    grid-template-columns: 1fr;
    text-align: center;
    gap: 22px;
  }

  /* لوگو، تگ‌لاین و سوشال وسط */
  .ft-logo{ justify-content: center; }
  .ft-tagline{ margin: 10px auto 16px; max-width: 28ch; }
  .ft-social{ justify-content: center; }

  /* لینک‌های مهم: دو تا دو تا کنار هم */
  .ft-links{
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 10px 14px;
    justify-items: center;
  }
  /* اگر جایی خواستی مجدد تک‌ستونه‌شون کنی:
     .ft-col--single .ft-links{ grid-template-columns: 1fr; } */

  /* تماس: دکمه‌ها کنار هم و وسط‌چین */
  .ft-im{
    justify-content: center;
    gap: 12px;
  }
  .im-btn{
    min-width: 140px;            /* اندازه مناسب برای لمس */
    justify-content: center;
  }

  /* تیترک‌های ستون‌ها کمی جمع‌وجورتر */
  .ft-title{ margin-bottom: 10px; }

  /* نوار پایینی: کاملاً وسط‌چین و جمع‌تر */
  .ft-bottom-inner{
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    padding: 12px 0 16px;
  }
}

/* فاصله از بالا و پایین برای صفحه لاگین */
.auth-page {
  display: flex;
  justify-content: center; /* باکس وسط چین بمونه */
}

.auth-wrapper {
  width: 100%;
  padding: 60px 0;   /* ↑↓ فاصله */
}


/* =========================================================
   ووکامرس بخش محصولات
   ========================================================= */
   
   /* استایل‌های عمومی */
.ls-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr; /* تقسیم دو به یک برای بخش چپ و راست در دسکتاپ */
    gap: 20px;
}

/* بخش سمت راست در دسکتاپ: ثابت (sticky) و بالا ماندن هنگام اسکرول */
.ls-right {
    position: sticky;
    top: 20px; /* فاصله از بالای صفحه هنگام اسکرول */
    align-self: flex-start; /* این خط کمک می‌کند که المنت به بالای کانتینر خود بچسبد. */
    height: fit-content; /* ارتفاع را بر اساس محتوای داخلش تنظیم می‌کند. */
}

/* مخفی کردن بخش موبایل در دسکتاپ */
.ls-summary-mobile {
    display: none;
}

/* استایل‌ها برای نمایشگرهای موبایل (عرض کمتر از 768px) */
@media screen and (max-width: 768px) {
    .ls-grid {
        display: flex; /* تغییر به فلکس‌باکس برای چیدمان عمودی */
        flex-direction: column;
    }

    /* مخفی کردن بخش دسکتاپ در موبایل */
    .ls-summary-desktop {
        display: none;
    }

    /* نمایش بخش موبایل و قرار دادن آن در بالاترین مکان */
    .ls-summary-mobile {
        display: block; /* یا flex بسته به نیاز */
        width: 100%;
        order: -1; /* این خط باعث می‌شود که در بالای لیست قرار گیرد. */
    }

    /* غیرفعال کردن استایل sticky در موبایل */
    .ls-right {
        position: static;
        top: auto;
    }
}

/* ===== قاب‌بندی کل صفحه محصول ===== */
.ls-product {
  max-width: 1280px;      /* حداکثر عرض در دسکتاپ */
  margin: 25px auto;         /* وسط‌چین کردن */
  padding: 0 16px;        /* فاصله داخلی در چپ و راست (برای موبایل هم کار می‌کنه) */
  box-sizing: border-box; /* برای درست شدن padding در محاسبه عرض */
}


.ls-upsells,
.ls-reviews-wrap {
  display: block;
  width: 100%;
  margin-bottom: 40px;
  clear: both;
}

/* =========================================================
   فرم محصول: قیمت، کشو، تعداد و دکمه
   (رویکرد جامع و بدون تداخل)
========================================================= */
/* ===== عنوان محصول ===== */
h1.product_title.entry-title {
  font-size: 28px !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
  color: #111 !important;
  margin: 0 0 18px 0 !important;
  padding-bottom: 10px;
  border-bottom: 1px solid #00000021;
}

/* افکت جذاب روی هاور */
h1.product_title.entry-title:hover {
  color: #838383 !important;
  transition: color 0.3s ease;
}

/* --- بخش Summary --- */
.ls-summary-desktop,
.ls-summary-mobile {
  position: relative !important;
  z-index: 10 !important;
  /* استایل پیشنهادی */
  padding: 20px;              /* فاصله داخلی */
  border: 1px solid #eee;     /* خط دور ملایم */
  border-radius: 8px;         /* گوشه‌های گرد */

}

/* --- ردیف Ratings --- */
/* ریتینگ: تمام‌عرض، بدون مارجین کناری، چسبیده و تمیز */
.ls-summary-desktop .woocommerce-product-rating,
.ls-summary-mobile  .woocommerce-product-rating{
  display: block !important;     /* به‌جای flex */
  width: 100% !important;
  margin: 6px 0 8px !important;  /* بدون مارجین کناری */
  padding: 0 !important;
}

/* هم‌خط شدن آیتم‌های داخل ریتینگ */
.ls-summary-desktop .woocommerce-product-rating > *,
.ls-summary-mobile  .woocommerce-product-rating > *{
  vertical-align: middle;
}

/* حذف هر مارجین ناخواسته از اولین آیتم (مثلاً ستاره‌ها) */
.ls-summary-desktop .woocommerce-product-rating > :first-child,
.ls-summary-mobile  .woocommerce-product-rating > :first-child{
  margin-left: 0 !important;
}

/* اطمینان از صفر بودن مارجین ستاره‌ها */
.woocommerce .woocommerce-product-rating .star-rating{
  margin: 0 !important;
  float: none !important;
  display: inline-block !important;
}

/* ===== لینک شمارش نظرات بالای محصول ===== */
.woocommerce-review-link {
  font-size: 16px;
  font-weight: 400;
  color: #000000;
  margin-left: 8px;
  text-decoration: none;
  transition: color .2s ease;
}

.woocommerce-review-link:hover {
  color: #838383;
  text-decoration: underline;
}

/* شمارش داخل پرانتز (تعداد) بولدتر بشه */
.woocommerce-review-link .count {
  font-weight: 400;
  color: #000000;
}
.woocommerce-review-link .count:hover {
    color: #838383;
}

/* ===== استایل مدرن قیمت محصول ===== */
.ls-summary-desktop .price,
.ls-summary-mobile .price {
  margin: 20px 0 !important;       /* حذف مارجین کناری */
  font-size: 26px !important;
  font-weight: 800 !important;
  color: #111 !important;
  display: block;                  /* تمام عرض در دسترس */
  position: relative;
  padding: 0;                      /* حذف بکگراند و پدینگ */
  background: none !important;     /* حذف پس‌زمینه */
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* قیمت تخفیف خورده (قدیمی) */
.ls-summary-desktop .price del,
.ls-summary-mobile .price del {
  font-size: 16px !important;
  color: #888 !important;
  margin-right: 8px;
  text-decoration: line-through;
}

/* قیمت اصلی (جدید) */
.ls-summary-desktop .price ins,
.ls-summary-mobile .price ins {
  text-decoration: none !important;
  color: #111 !important;
}

/* --- بخش Variations: Label و Select --- */
.ls-summary-desktop .variations,
.ls-summary-mobile .variations {
    width: 100% !important;
    margin: 8px 0 !important;
    border: 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

.ls-summary-desktop .variations td.label,
.ls-summary-mobile .variations td.label {
    padding: 0 !important;
    margin: 0 !important;
    font-weight: 800 !important;
    color: #111 !important;
    white-space: nowrap !important;
    display: block !important;
    margin-bottom: 8px !important;
}

.ls-summary-desktop .variations td.value,
.ls-summary-mobile .variations td.value {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.ls-summary-desktop .variations select,
.ls-summary-mobile  .variations select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    width: 55% !important;
    background: #f6f7f8 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") no-repeat right 14px center !important;
    background-size: 16px !important;
    border: 1px solid #e6e8eb !important;
    border-radius: 14px !important;
    padding: 12px 42px 12px 14px !important;
    font: 400 14px/1.4 Arial, Helvetica, sans-serif !important; /* وزن 400 (نرمال) */
    color: #444 !important; /* کم‌رنگ‌تر از #111 */
    outline: none !important;
    cursor: pointer;
}

/* هنگام فوکوس یا هاور */
.ls-summary-desktop .variations select:hover,
.ls-summary-mobile  .variations select:hover {
    border-color: #0b66ff !important;
}

.ls-summary-desktop .variations select:focus,
.ls-summary-mobile  .variations select:focus {
    border-color: #0b66ff !important;
    box-shadow: 0 0 0 3px rgba(11,102,255,.12);
}

/* --- استایل Select2 / SelectWoo --- */
.ls-summary-desktop .select2-container,
.ls-summary-mobile .select2-container {
    width: 100% !important;
    /* زوم روی استایل‌های کشوی باز شده */
}
/* عرض دلخواه داخل summary ها */
.ls-summary-desktop .variations .select2-container,
.ls-summary-mobile  .variations .select2-container {
  max-width: 205px !important;
  width: 100% !important;
}

/* ===============================
   ظاهر کشوی بسته (Single)
   =============================== */
.select2-container--default .select2-selection--single {
  height: 36px !important;
  background-color: #fff !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  padding: 0 36px 0 12px !important;   /* متن و فلش مرتب */
  display: flex !important;            /* متن وسط عمودی */
  align-items: center !important;
  transition: border-color .2s, box-shadow .2s;
}

/* متن انتخاب‌شده / placeholder داخل نوار */
.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single .select2-selection__placeholder {
  font-size: 13px !important;
  line-height: 1.5 !important;
  padding: 0 !important;
  color: #111 !important;
}

/* فلش کشو هماهنگ با ارتفاع */
.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 36px !important;
  right: 8px !important;
}

/* ===============================
   لیست بازشونده (Dropdown)
   =============================== */
.select2-dropdown {
  position: absolute;                  /* از fixed پرهیز کن */
  border: 1px solid #e0e0e0 !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
  overflow: hidden;                    /* لبه‌های گرد تمیز */
  z-index: 9999;                       /* بالاتر از کارت‌ها */
  touch-action: pan-y;                 /* اسکرول عمودی آزاد در موبایل */
}

.select2-results > .select2-results__options {
  max-height: 280px;                   /* لیست بلند اسکرول‌دار */
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.select2-container--default .select2-results__option {
  padding: 10px 14px !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #111 !important;
  border-radius: 8px;
  margin: 2px 6px;
  transition: background-color .2s ease, color .2s ease;
}

.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
  background: linear-gradient(135deg, #0b66ff, #0846b8) !important;
  color: #fff !important;
  border-radius: 8px !important;
}

.select2-container--default .select2-results__option[aria-selected="true"] {
  background: #f1f4ff !important;
  color: #0b66ff !important;
  font-weight: 600 !important;
  border-radius: 8px;
}

/* حالت hover/focus روی نوار بسته */
.select2-container--default .select2-selection--single:hover,
.select2-container--default .select2-selection--single:focus {
  border-color: #0b66ff !important;
  box-shadow: 0 0 0 3px rgba(11,102,255,0.12) !important;
}

/* اگر ماسک Select2 ساخته شد، اسکرول را قفل نکند */
.select2-close-mask {
  background: transparent !important;
  /* در صورت نیازِ اضطراری:
  pointer-events: none !important;
  */
}

/* =========================================
   تراز «Label / Select» با Grid دو ستونه
   ========================================= */
/* ——— ردیفِ ویژگی‌ها: دو ستون ثابت/سیال ——— */
.ls-summary-desktop .variations tr,
.ls-summary-mobile  .variations tr{
  display: grid !important;
  grid-template-columns: 70px minmax(0,1fr); /* ← عرض ثابت لیبل + بقیه فضا برای کشو */
  align-items: center;
  column-gap: 5px;
  margin: 0 0 14px 0;
}

/* لیبل‌ها: بدون پهنای شناور */
.ls-summary-desktop .variations th.label,
.ls-summary-mobile  .variations th.label{
  width: 110px !important;          /* با grid یکی باشد */
  padding: 0 !important;
  margin: 0 !important;
  white-space: nowrap;
  text-align: left;
}

/* سلول کشو: کل فضا را بگیرد */
.ls-summary-desktop .variations td.value,
.ls-summary-mobile  .variations td.value{
  padding: 0 !important;
  margin: 0 !important;
  width: 100% !important;
}

/* خودِ select (و select2) یک اندازه شوند */
.ls-summary-desktop .variations td.value select,
.ls-summary-mobile  .variations td.value select,
.ls-summary-desktop .variations td.value .select2-selection,
.ls-summary-mobile  .variations td.value .select2-selection{
  width: 88% !important;
  height: 52px !important;           /* ارتفاع یکسانِ همهٔ کشوها */
  border-radius: 16px !important;
  padding: 0 14px !important;
  font-size: 15px !important;
  line-height: 52px !important;
  background: #f8fafb !important;
  border: 1px solid #e6eaef !important;
  box-sizing: border-box;
}

/* متن داخل select2 */
.ls-summary-desktop .variations td.value .select2-selection__rendered,
.ls-summary-mobile  .variations td.value .select2-selection__rendered{
  line-height: 52px !important;
  padding-left: 0 !important;
  padding-right: 28px !important;    /* جا برای فلش */
  font-size: 15px;
}

/* فلش select2 درست درگوشه */
.ls-summary-desktop .variations td.value .select2-selection__arrow,
.ls-summary-mobile  .variations td.value .select2-selection__arrow{
  height: 100% !important;
  right: 12px !important;
}

/* دکمه Clear ووکامرس هم‌سطح بماند */
.ls-summary-desktop .reset_variations,
.ls-summary-mobile  .reset_variations{
  margin-left: 10px;
  font-size: 13px;
}

/* موبایل: ستون لیبل کمی باریک‌تر شود */
@media (max-width: 640px){
  .ls-summary-desktop .variations tr,
  .ls-summary-mobile  .variations tr{
    grid-template-columns: 70px minmax(0,1fr);
  }
  .ls-summary-desktop .variations th.label,
  .ls-summary-mobile  .variations th.label{
    width: 66px !important;
  }
}

/* --- ردیف Qty و Add to Cart --- */
.ls-summary-desktop form.cart .variations_button,
.ls-summary-mobile form.cart .variations_button {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    flex-wrap: wrap !important;
    margin-top: 30px !important;
    flex-direction: row;
    width: 280px;
}

/* فقط محصول متغیّر */
.ls-product.product-type-variable .ls-summary-desktop form.cart .variations_button,
.ls-product.product-type-variable .ls-summary-mobile  form.cart .variations_button{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:wrap !important;
  margin-top:30px !important;
  flex-direction:row;
  width:280px;
}

/* فقط محصول ساده */
.ls-product.product-type-simple .ls-summary-desktop form.cart,
.ls-product.product-type-simple .ls-summary-mobile  form.cart{
  display:flex !important;
  align-items:center !important;
  gap:12px !important;
  flex-wrap:nowrap !important;
  direction:ltr !important; /* تعداد چپ، دکمه راست */
}

/* کمی پولیش برای ورودی تعداد و دکمه در محصول ساده */
.ls-product.product-type-simple form.cart .quantity{ margin:0 !important; }
.ls-product.product-type-simple form.cart .quantity .qty{
  height:40px; min-width:80px; padding:0 10px;
}
.ls-product.product-type-simple form.cart .single_add_to_cart_button{
  height:40px; line-height:40px; padding:0 18px;
}
/* فیلد تعداد */
.ls-summary-desktop .quantity input.qty,
.ls-summary-mobile .quantity input.qty {
    width: 62px !important;
    min-width: 45px !important;
    max-width: 120px !important;
    padding: 11px 12px !important;
    background: #f6f7f8 !important;
    border: 1px solid #e6e8eb !important;
    border-radius: 14px !important;
}
/* دکمه در محصول ساده */
.ls-product.product-type-simple form.cart .single_add_to_cart_button {
  display: inline-flex;              /* برای وسط‌چین کردن محتوا */
  align-items: center;               /* وسط عمودی */
  justify-content: center;           /* وسط افقی */
  height: 42px;                      /* ارتفاع ثابت */
  padding: 0 20px;                   /* فاصله افقی */
  line-height: normal;               /* جلوگیری از کشیدگی متن */
  font-size: 14px;                   /* بسته به طراحی‌ات */
  font-weight: 600;                  /* کمی ضخیم‌تر برای دکمه */
  border-radius: 6px;                /* اگر گوشه گرد داری */
}

/* دکمه Add to Cart */
.ls-summary-desktop .single_add_to_cart_button.button,
.ls-summary-mobile .single_add_to_cart_button.button {
    flex: 1 !important;
    min-width: 180px !important;
    background: #111 !important;
    color: #fff !important;
    border: 0 !important;
    border-radius: 28px !important;
    padding: 13px 22px !important;
    font-weight: 800 !important;
}
/* حذف فاصله پیش‌فرض ووکامرس زیر کشو */
.woocommerce div.product form.cart .variations,
.woocommerce div.product form.cart .variations tr,
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 3.5 !important;
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}

.ls-summary-desktop .variations select,
.ls-summary-mobile  .variations select,
.ls-summary-desktop .variations .select2-container,
.ls-summary-mobile  .variations .select2-container {
  margin: 0 !important;
}
/* ردیف کشو + دکمه Clear کنار هم */
.ls-summary-desktop .variations td.value,
.ls-summary-mobile  .variations td.value {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important; /* فاصله بین کشو و کلیر */
}

/* خود کشو کوتاه‌تر بشه */
.ls-summary-desktop .variations .select2-container,
.ls-summary-mobile  .variations .select2-container {
  flex: 1 1 auto !important;
  margin: 0 !important;
}

/* استایل دکمه Clear */
.ls-summary-desktop .reset_variations,
.ls-summary-mobile  .reset_variations {
  margin: 0 !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #0b66ff !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
.ls-summary-desktop .reset_variations:hover,
.ls-summary-mobile  .reset_variations:hover {
  text-decoration: underline !important;
}

/* هماهنگی فلش Select2 با ارتفاع 40px */
.ls-summary-desktop .select2-container--default .select2-selection--single .select2-selection__arrow,
.ls-summary-mobile  .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 40px !important;
    position: absolute !important;
    top: 1px !important;
    right: 1px !important;
    width: 20px !important;
}



/* =========================================
   Lifostep — Product Media (Photos + Videos)
   - یک قاب مشترک برای عکس و ویدیو
   - ناوبری یکسان (فلش‌ها)
   - تب‌سوییچر Photos / Videos
   - واکنش‌گرا برای موبایل
========================================= */
/* ===== Frame ===== */
.ls-gallery--simple .ls-media-wrap{
  position: relative;
  width: 100%;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
}

/* دو استیج با نسبت یکسان */
.ls-stage{
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;         /* مربعی؛ در موبایل هم خوب جواب می‌دهد */
  display: grid;
  place-items: center;
}
.ls-stage--photos,
.ls-stage--videos{}

/* سوییچ نمایش با کلاس روی سکشن */
.ls-gallery.is-photos  .ls-stage--videos { display: none; }
.ls-gallery.is-videos  .ls-stage--photos { display: none; }

/* ===== Image ===== */
.ls-main-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ===== Video ===== */
.ls-video-holder{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
}
.ls-video-holder .ls-video-el{
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: contain;     /* محتوا کامل دیده شود؛ کنترل‌ها بیرون نزند */
}

/* ===== Arrows (common) ===== */
.ls-g-nav{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px; height: 42px;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,0.88);
  color: #111;
  font-size: 1.75rem;
  line-height: 42px;
  text-align: center;
  cursor: pointer;
  z-index: 30;
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, transform .15s;
}
.ls-g-nav:hover{ background: #fff; transform: translateY(-50%) scale(1.05); }
.ls-g-prev, .ls-v-prev{ left: 10px; }
.ls-g-next, .ls-v-next{ right: 10px; }

/* ===== Meta + Switch ===== */
.ls-gallery-meta{
  display: flex; align-items: center; gap: 10px;
  margin-top: 10px;
}
.ls-g-count{
  background: #f6f7f8; padding: 4px 10px; border-radius: 999px;
  font-weight: 600; color: #555;
}
.ls-g-switch{ margin-left: auto; display: flex; gap: 8px; }
.ls-g-switch .ls-tab{
  border: 1px solid #ddd;
  background: #fff;
  padding: 6px 12px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: all .2s;
  user-select: none;
}
.ls-g-switch .ls-tab.is-active{
  background: #111; color: #fff; border-color: #111;
}

/* ===== Mobile tweaks ===== */
@media (max-width: 768px){
  .ls-g-nav{ width: 44px; height: 44px; font-size: 2rem; }
  .ls-g-prev, .ls-v-prev{ left: 8px; }
  .ls-g-next, .ls-v-next{ right: 8px; }

  /* برای اینکه کنترل‌های ویدیو خارج قاب نرن */
  .ls-video-holder .ls-video-el{
    max-width: 92%;
    max-height: 92%;
  }
}
/* =========================================
   استایل برای بخش‌های سمت چپ (ls-left)
========================================= */
.ls-left .ls-card{

  border-radius:1px;
  padding:0px;
  overflow:hidden; /* لبه‌های گرد روی محتوای داخلی اعمال شود */
  margin-bottom: 2px;
}

/* فاصله بین سکشن‌ها */
.ls-left > .ls-card + .ls-card{
  margin-top:16px;
}

/* روی موبایل کمی فشرده‌تر */
@media (max-width:768px){
  .ls-left .ls-card{ padding:0px; border-radius:1px; }
  .ls-left > .ls-card + .ls-card{ margin-top:12px; }
}
/* ===== Product Details section (فعلی خودت) ===== */
#ls-description{
  background:#fff;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  padding:20px 24px;
  margin-top:5px;
}
#ls-description .ls-h2{
  font-size:20px;
  font-weight:800;
  margin-bottom:14px;
  border-bottom:1px solid #eee;
  padding-bottom:8px;
}
#ls-description .ls-content{
  font-size:15px;
  line-height:1.7;
  color:#333;
}
#ls-description .ls-content p{ margin-bottom:12px; }
#ls-description .ls-content ul{ padding-left:20px; list-style:disc; margin:12px 0; }
#ls-description .ls-content li{ margin-bottom:6px; }

/* ===== استایل تصاویر داخل Product Details ===== */
#ls-description .ls-content img{
  display:block;
  width:100%;
  max-width:100%;
  border-radius:12px;
  background:#f6f7f8;                 /* بک‌پلیت لطیف برای لودینگ */
  box-shadow:0 6px 16px rgba(0,0,0,.06);
  margin:14px 0;
  aspect-ratio: 16 / 10;               /* کادر منظم */
  object-fit: cover;                    /* کراپ ظریف داخل کادر */
  cursor: zoom-in;                      /* القای قابل‌بزرگ‌شدن */
}

/* اگر نخواستی همه‌شون کراپ شن، این کلاس رو روی img بذار: .no-crop */
#ls-description .ls-content img.no-crop{
  aspect-ratio:auto;
  object-fit:contain;
}

/* ===== لایت‌باکس ===== */
.ls-lightbox{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.8);
  z-index:9999;
  padding:20px;
  cursor: zoom-out;
}
.ls-lightbox.is-open{ display:flex; }
.ls-lightbox__img{
  max-width:90vw;
  max-height:90vh;
  border-radius:14px;
  box-shadow:0 12px 30px rgba(0,0,0,.35);
  animation: lb-pop .18s ease;
}
@keyframes lb-pop { from{ transform:scale(.96); opacity:0 } to{ transform:scale(1); opacity:1 } }

/* دکمه بستن (اختیاری) */
.ls-lightbox__close{
  position:absolute;
  top:16px; right:16px;
  width:36px; height:36px;
  border-radius:50%;
  background:#fff;
  color:#111;
  border:0;
  font-size:20px;
  line-height:36px;
  text-align:center;
  cursor:pointer;
  box-shadow:0 4px 12px rgba(0,0,0,.25);
}
.ls-lightbox__close:hover{ transform:scale(1.05); }

/* ===== Additional Information section ===== */
#ls-additional{
  background:#fff;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  padding:20px 24px;
}

#ls-additional .ls-h2{
  font-size:20px;
  font-weight:800;
  margin-bottom:14px;
  border-bottom:1px solid #eee;
  padding-bottom:8px;
}

#ls-additional .ls-content{
  font-size:15px;
  line-height:1.6;
  color:#333;
}

/* جدول مشخصات محصول */
#ls-additional table.shop_attributes{
  width:100%;
  border-collapse:collapse;
  margin:0;
}

#ls-additional table.shop_attributes th,
#ls-additional table.shop_attributes td{
  padding:10px 12px;
  border:1px solid #eee;
  text-align:left;
  font-size:14px;
  color:#444;
}

#ls-additional table.shop_attributes th{
  font-weight:700;
  width:30%;
  background:#fafafa;
}


/* ===== Customer Reviews section ===== */
#ls-reviews-wrap{
  background:#fff;
  border-radius:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.05);
  padding:20px 24px;
}

#ls-reviews-wrap .ls-h2{
  font-size:20px;
  font-weight:800;
  margin-bottom:16px;
  border-bottom:1px solid #eee;
  padding-bottom:8px;
}

/* لیست دیدگاه‌ها */
.ls-reviews ul.commentlist{
  list-style:none;
  margin:0;
  padding:0;
}

.ls-reviews ul.commentlist li.review{
  border-bottom:1px solid #eee;
  padding:14px 0;
}

.ls-reviews ul.commentlist li:last-child{
  border-bottom:none;
}

.ls-review-head{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
  margin-bottom:6px;
  color:#111;
}

.ls-review-head .star-rating,
.ls-review-head .wc-rating{
  margin-left:auto;
}

.ls-review-body{
  font-size:15px;
  line-height:1.6;
  color:#333;
  margin-bottom:6px;
}

.ls-review-meta{
  font-size:13px;
  color:#777;
}

/* پاسخ‌های تو در تو */
.ls-reviews ul.children{
  list-style:none;
  margin:12px 0 0 18px;
  padding-left:14px;
  border-left:2px solid #eee;
}
.ls-reviews ul.children li.review{
  border:none;
  padding:10px 0;
}

/* فیلتر بالای دیدگاه‌ها */
.ls-reviews-filter{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-bottom:16px;
}
.ls-reviews-filter .pill{
  background:#f6f7f8;
  border:1px solid #e6e8eb;
  border-radius:20px;
  padding:6px 14px;
  font-size:13px;
  font-weight:600;
  cursor:pointer;
  transition:all .2s ease;
}
.ls-reviews-filter .pill:hover{
  background:#eee;
}
.ls-reviews-filter .pill.is-active{
  background:#111;
  color:#fff;
  border-color:#111;
}


/* صفحه‌بندی */
.ls-rev-paging{
  display:flex;
  justify-content:center;
  gap:6px;
  margin-top:14px;
}
.ls-rev-paging .page-numbers{
  display:inline-block;
  min-width:28px;
  height:28px;
  line-height:28px;
  text-align:center;
  font-size:13px;
  border:1px solid #ddd;
  border-radius:6px;
  color:#333;
  text-decoration:none;
}
.ls-rev-paging .page-numbers.current{
  background:#111;
  color:#fff;
  border-color:#111;
}

/* فرم ثبت دیدگاه */
.ls-review-form{
  margin-top:20px;
}
.ls-review-form textarea,
.ls-review-form input[type="text"],
.ls-review-form input[type="email"]{
  width:100%;
  border:1px solid #ddd;
  border-radius:8px;
  padding:10px 12px;
  margin-bottom:12px;
  font-size:14px;
}
.ls-review-form textarea:focus,
.ls-review-form input:focus{
  outline:none;
  border-color:#111;
}
.ls-review-form .form-submit input[type="submit"]{
  background:#111;
  color:#fff;
  border:0;
  border-radius:20px;
  padding:10px 22px;
  font-weight:700;
  cursor:pointer;
  transition:all .2s ease;
}
.ls-review-form .form-submit input[type="submit"]:hover{
  background:#333;
}


/* ===== Login box (for reviews) ===== */
.ls-login-box{
  margin-top:24px; /* فاصله از بخش بالایی */
  padding:18px 20px;
  background:#f9f9fb;
  border:1px solid #e6e8eb;
  border-radius:14px;
  text-align:center;
}

.ls-login-box p{
  font-size:14px;
  color:#444;
  margin-bottom:12px !important;
}

.ls-login-btn{
  display:inline-block;
  background:#111;
  color:#fff !important;
  font-size:14px;
  font-weight:700;
  border-radius:24px;
  padding:10px 22px;
  text-decoration:none !important;
  transition:all .2s ease;
}
.ls-login-btn:hover{
  background:#333;
}


/* ===== Review form (logged in users) ===== */
.ls-review-form{
  margin-top:24px;
  padding:20px 22px;
  background:#f9f9fb;
  border:1px solid #e6e8eb;
  border-radius:14px;
}

/* عنوان فرم (Add a review) */
.ls-review-form h3{
  font-size:18px;
  font-weight:800;
  margin-bottom:16px;
  color:#111;
}

/* متن لاگین شده */
.ls-review-form .logged-in-as{
  font-size:13px;
  margin-bottom:12px;
  color:#555;
}
.ls-review-form .logged-in-as a{
  color:#0b66ff;
  font-weight:600;
  text-decoration:none;
}
.ls-review-form .logged-in-as a:hover{
  text-decoration:underline;
}

/* لیبل‌ها */
.ls-review-form label{
  font-size:14px;
  font-weight:700;
  color:#222;
  margin-bottom:6px;
  display:block;
}

/* فیلدهای ورودی */
.ls-review-form textarea,
.ls-review-form input[type="text"]{
  width:100%;
  padding:12px 14px;
  border:1px solid #ddd;
  border-radius:10px;
  font-size:14px;
  line-height:1.4;
  color:#333;
  margin-bottom:14px;
  background:#fff;
}
.ls-review-form textarea:focus,
.ls-review-form input[type="text"]:focus{
  border-color:#0b66ff;
  outline:none;
  box-shadow:0 0 0 2px rgba(11,102,255,.15);
}

/* متن الزامی (Required fields are marked *) */
.ls-review-form .comment-notes{
  font-size:12px;
  color:#777;
  margin-bottom:14px;
}

/* ===== دکمه ارسال در فرم دیدگاه ===== */
.ls-review-form .form-submit{
  margin-top:16px;
  text-align:left; /* دکمه سمت راست قرار بگیره */
}

.ls-review-form .form-submit .submit{
  background:#111;
  color:#fff;
  font-size:14px;
  font-weight:700;
  border:0;
  border-radius:28px;
  padding:12px 28px;
  cursor:pointer;
  transition:all .25s ease;
}

.ls-review-form .form-submit .submit:hover{
  background:#333;
}

.ls-review-form .form-submit .submit:disabled{
  background:#ccc;
  cursor:not-allowed;
}

/* ===== Override استایل ووکامرس برای دکمه ارسال دیدگاه ===== */
.ls-review-form #respond input#submit.submit {
  background:#111 !important;
  color:#fff !important;
  font-size:14px !important;
  font-weight:700 !important;
  border:0 !important;
  border-radius:28px !important;
  padding:12px 28px !important;
  cursor:pointer !important;
  transition:all .25s ease !important;
  text-shadow:none !important;
  box-shadow:none !important;
}

.ls-review-form #respond input#submit.submit:hover {
  background:#333 !important;
}

.ls-review-form #respond input#submit.submit:disabled {
  background:#ccc !important;
  cursor:not-allowed !important;
}
/* استایل بخش کاربر لاگین شده بالای فرم دیدگاه */
.ls-review-form .logged-in-as {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

/* ===== Override استایل ووکامرس برای ستاره‌های امتیاز ===== */
.woocommerce .woocommerce-product-rating .star-rating {
  margin: 0 !important;
  float: none !important;
  display: inline-block !important;
  vertical-align: middle !important;
}


.ls-product p {
  font-weight: 400;       /* وزن متن */
  font-size: 15px;        /* اندازه خوانا */
  line-height: 1.6;       /* فاصله خطوط */
  color: #333;            /* رنگ متن */
  margin: 12px 0;         /* فاصله بالا و پایین */
}

.ls-product p br {
  margin-bottom: 6px;     /* کمی فاصله بعد از هر <br> */
}

/* ===== استایل مدرن برای ستاره‌های امتیاز ===== */
.woocommerce .star-rating {
  font-size: 16px !important;        /* اندازه ستاره‌ها */
  letter-spacing: 3px !important;    /* فاصله بین ستاره‌ها */
  position: relative;
  display: inline-block;
  color: #ddd !important;            /* رنگ ستاره‌های خالی */
}

.woocommerce .star-rating::before {
  content: "★★★★★";                 /* ستاره‌های پس‌زمینه */
  color: #ddd !important;            /* خاکستری روشن برای خالی */
}

.woocommerce .star-rating span::before {
  content: "★★★★★";                 /* ستاره‌های پرشده */
  color: #f5b700 !important;         /* طلایی مدرن */
  position: absolute;
  left: 0;
  top: 0;
  overflow: hidden;
}

/* لوگوی هدر در صفحات ووکامرس – بی‌اثر کردن قانون عمومی img */
body.woocommerce .site-header .brand .site-logo{
  height: 50px !important;   /* اندازهٔ نهایی لوگو در دسکتاپ */
  width: auto !important;
  max-width: none !important; /* جلوی محدودیت 100% ووکامرس را می‌گیرد */
  display: block;
  object-fit: contain;
}

@media (max-width: 768px){
  body.woocommerce .site-header .brand .site-logo{
    height: 36px !important; /* کوچکتر برای موبایل */
  }
}


/* ردیف مزایا: 2 تا بالا + 1 دونه وسطِ زیرش */
.ls-perks{
  list-style:none;
  margin:16px 0 0;
  padding:0;
  display:grid;
  grid-template-columns: repeat(2, max-content); /* دو ستون تنگ و مرتب */
  gap:20px 36px;
  justify-content:center;   /* کل گرید وسط شود */
  align-items:center;
}

.ls-perks .ls-perk{
  display:flex;
  align-items:center;
  gap:12px;
  font-size:14px;
  font-weight:400;
  color:#111;
}

/* آیتم سوم بیاید ردیف دوم و دقیقا وسط */
.ls-perks .ls-perk:nth-child(3){
  grid-column: 1 / -1;      /* روی هر دو ستون اسپن کند */
  justify-self: center;     /* خودش وسط ستون‌ها بنشیند */
}

/* آیکن کنار متن */
.ls-perks .ls-perk-anim{
  width:32px;
  height:32px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.ls-perks .ls-perk-anim svg,
.ls-perks .ls-perk-anim .truck{ width:100%; height:100%; display:block; }

/* موبایل: تک‌ستونه و همه چپ‌چین/راست‌چین مطابق زبان */
@media (max-width:768px){
  .ls-perks{
    grid-template-columns: 1fr;
    justify-content:start;
    justify-items:start;
  }
  .ls-perks .ls-perk:nth-child(3){
    grid-column:auto;
    justify-self:start;
  }
}
/* انیمیشن کامیون — CSS خالص */
.ls-perk-anim .truck__body,
.ls-perk-anim .truck__line,
.ls-perk-anim .truck__outside1,
.ls-perk-anim .truck__outside2,
.ls-perk-anim .truck__outside3,
.ls-perk-anim .truck__wheel,
.ls-perk-anim .truck__wheel-spin,
.ls-perk-anim .truck__window1,
.ls-perk-anim .truck__window2{
  animation: truck-body 3s linear infinite;
}

.ls-perk-anim .truck__body{ transform-origin:17px 11px }
.ls-perk-anim .truck__line{ animation-name: truck-line }
.ls-perk-anim .truck__outside1{ animation-name: truck-outside1 }
.ls-perk-anim .truck__outside2{ animation-name: truck-outside2 }
.ls-perk-anim .truck__outside3{ animation-name: truck-outside3 }
.ls-perk-anim .truck__window1{ animation-name: truck-window1 }
.ls-perk-anim .truck__window2{ animation-name: truck-window2 }

.ls-perk-anim .truck__wheel{ animation-name: truck-wheel }
.ls-perk-anim .truck__wheel-spin{
  animation-name: truck-wheel-spin;
  transform-origin: 6.5px 17px;
}
.ls-perk-anim .truck__wheel:nth-child(2){ animation-delay: calc(3s * 0.0625) }
.ls-perk-anim .truck__wheel:nth-child(2) .truck__wheel-spin{ transform-origin: 27px 17px }

/* keyframes */
@keyframes truck-body{
  0%,12.5%,25%,37.5%,50%,62.5%,75%,87.5%,100%{
    animation-timing-function: cubic-bezier(0.33,0,0.67,0);
    transform: translate(0,0) rotate(0);
  }
  6.25%,18.75%,31.25%,43.75%,56.25%,68.75%,81.25%,93.75%{
    animation-timing-function: cubic-bezier(0.33,1,0.67,1);
    transform: translate(0,1px) rotate(-0.75deg);
  }
}
@keyframes truck-line{ from{stroke-dashoffset:-18} to{stroke-dashoffset:78} }
@keyframes truck-outside1{ from{stroke-dashoffset:105} to{stroke-dashoffset:-105} }
@keyframes truck-outside2{ from{stroke-dashoffset:168} to{stroke-dashoffset:-42} }
@keyframes truck-outside3{ from{stroke-dashoffset:192} to{stroke-dashoffset:-18} }
@keyframes truck-wheel{
  0%,12.5%,25%,37.5%,50%,62.5%,75%,87.5%,100%{
    animation-timing-function:cubic-bezier(0.33,0,0.67,0);
    transform: translate(0,0);
  }
  6.25%,18.75%,31.25%,43.75%,56.25%,68.75%,81.25%,93.75%{
    animation-timing-function:cubic-bezier(0.33,1,0.67,1);
    transform: translate(0,-1px);
  }
}
@keyframes truck-wheel-spin{
  from{ stroke-dashoffset:-15.71; transform: rotate(0) }
  to  { stroke-dashoffset: 15.71; transform: rotate(-4turn) }
}
@keyframes truck-window1{ from{stroke-dashoffset:-21} to{stroke-dashoffset:189} }
@keyframes truck-window2{ from{stroke-dashoffset:-39} to{stroke-dashoffset:171} }

/* احترام به کاربرانی که motion کمتر می‌خواهند */
@media (prefers-reduced-motion: reduce){
  .ls-perk-anim .truck__body,
  .ls-perk-anim .truck__line,
  .ls-perk-anim .truck__outside1,
  .ls-perk-anim .truck__outside2,
  .ls-perk-anim .truck__outside3,
  .ls-perk-anim .truck__wheel,
  .ls-perk-anim .truck__wheel-spin,
  .ls-perk-anim .truck__window1,
  .ls-perk-anim .truck__window2{
    animation: none !important;
  }
}

/* ===== Badge Star — looped draw each cycle ===== */
.badge-star{display:inline-block;width:32px;height:32px;color:#111}
.badge-star .star{stroke:#0b66ff}

/* مدت کل چرخه (قابل تغییر) */
.badge-star{ --bdg-dur: 3.2s; }

/* همه‌ی مسیرها با یک انیمیشن لوپی که «می‌کِشه → مکث → فوراً ریست» */
@keyframes bdg-dash-loop{
  0%     { stroke-dashoffset:100 }   /* قبل از شروع: خالی */
  40%    { stroke-dashoffset:0 }     /* تا این لحظه کامل کشیده می‌شود */
  60%    { stroke-dashoffset:0 }     /* کمی مکث روی حالت کامل */
  60.01% { stroke-dashoffset:100 }   /* ریست فوری برای شروع چرخه‌ی بعدی */
  100%   { stroke-dashoffset:100 }   /* تا انتها خالی می‌ماند */
}

/* ترتیب ظاهر شدن اجزا در هر لوپ با دیلی متفاوت */
.badge-star .rosette,
.badge-star .inner,
.badge-star .ribbon-left,
.badge-star .ribbon-right,
.badge-star .star{
  stroke-dasharray:100;    /* به لطف pathLength همگی نرمال شده‌اند */
  stroke-dashoffset:100;
  animation: bdg-dash-loop var(--bdg-dur) ease-in-out infinite;
}

/* دیلی‌ها برای ترتیبِ کشیده شدن در هر چرخه */
.badge-star .rosette      { animation-delay: 0s }
.badge-star .inner        { animation-delay: calc(var(--bdg-dur) * .08) }
.badge-star .ribbon-left  { animation-delay: calc(var(--bdg-dur) * .16) }
.badge-star .ribbon-right { animation-delay: calc(var(--bdg-dur) * .24) }
.badge-star .star         { animation-delay: calc(var(--bdg-dur) * .32) }

/* پالس ظریف ستاره روی لوپ جداگانه (همیشه ادامه دارد) */
@keyframes bdg-star-pulse{
  0%,100%{ transform:scale(1);   filter:drop-shadow(0 0 0 rgba(11,102,255,0)) }
  50%    { transform:scale(1.08);filter:drop-shadow(0 0 6px rgba(11,102,255,.45)) }
}
.badge-star .star{
  transform-origin: 50px 44px;
  animation-name: bdg-dash-loop, bdg-star-pulse;
  animation-duration: var(--bdg-dur), 2.2s;
  animation-timing-function: ease-in-out, ease-in-out;
  animation-iteration-count: infinite, infinite;
  animation-delay: calc(var(--bdg-dur) * .32), 1.2s;
}

/* اسپارکل‌های چشمک‌زن هم‌زمان با هر لوپ */
@keyframes bdg-sparkle{
  0%,100%{ opacity:0; transform:scale(.6) }
  40%    { opacity:1; transform:scale(1.25) }
}
.badge-star .sparkle circle{
  opacity:0; transform-origin:center;
  animation: bdg-sparkle var(--bdg-dur) ease-in-out infinite;
}
.badge-star .sparkle circle:nth-child(2){ animation-delay: .4s }
.badge-star .sparkle circle:nth-child(3){ animation-delay: .8s }


/* احترام به کاربرانی که motion کمتر می‌خواهند */
@media (prefers-reduced-motion: reduce){
  .badge-star *{ animation:none!important; stroke-dashoffset:0!important }
}

/* =========================================================
   استایل و انیمیشن برای آیکون ریفاند
========================================================= */

/* استایل کلی آیتم */
.ls-perk {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

/* کانتینر SVG */
.refund-badge {
  overflow: visible;
}

/* انیمیشن رسم خطوط (Draw) */
@keyframes draw {
  from { stroke-dashoffset: 100; }
  to { stroke-dashoffset: 0; }
}

/* انیمیشن پالس (Pulse) برای تیک و حلقه داخلی */
@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

/* استایل و انیمیشن حلقه بیرونی */
.rf-ring {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: draw 2s ease-in-out forwards;
}

/* استایل و انیمیشن حلقه داخلی */
.rf-inner {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform-origin: 50% 50%; /* مهم برای اینکه انیمیشن در جای خود انجام شود */
  animation: draw 2s ease-in-out forwards, pulse 1.5s ease-in-out infinite;
  animation-delay: 0.5s;
}

/* استایل و انیمیشن تیک */
.rf-check {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transform-origin: 50% 50%; /* مهم برای اینکه انیمیشن در جای خود انجام شود */
  animation: draw 1s ease-in-out forwards, pulse 1.5s ease-in-out infinite;
  animation-delay: 1.5s;
}

/* ============================
   Upsells (دسکتاپ)
   ============================ */
   
   .upsells .onsale,
.related .onsale,
.cross-sells .onsale {
  display: none !important;
}

/* 0) تمیزکاری ووکامرس: برداشتن clearfix قدیمی که فاصله می‌انداخت */
.woocommerce .products ul::before,
.woocommerce .products ul::after,
.woocommerce ul.products::before,
.woocommerce ul.products::after {
  content: none !important;
  display: none !important;
}

/* 1) شبکه 3 ستونه تمیز */
#ls-upsells ul.products{
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
#ls-upsells ul.products li.product{
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* 2) کارت محصول پایه */
#ls-upsells ul.products li.product{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: #f3f5f7;
  cursor: pointer;
  transition: transform .3s ease;
}
#ls-upsells ul.products li.product:hover{
  transform: translateY(-3px);
}

/* 3) لینک/عکس: کاور تمام کارت با نسبت 4:3 */
#ls-upsells ul.products li.product a.woocommerce-LoopProduct-link{
  display: block;
  position: relative;
  aspect-ratio: 4/3;
  
}
#ls-upsells ul.products li.product a.woocommerce-LoopProduct-link img{
  width: 100%;
  height: 130%;
  object-fit: cover;
  transition: filter .3s ease, transform .3s ease;
}
#ls-upsells ul.products li.product:hover a.woocommerce-LoopProduct-link img{
  filter: brightness(.8);
  transform: scale(1.05);
}

/* 4) لایه تاریک روی تصویر در هاور */
/* --- Upsells: حذف کامل دکمه‌ها در کارت --- */
#ls-upsells ul.products li.product .button,
#ls-upsells ul.products li.product .added_to_cart,
#ls-upsells ul.products li.product a + .button,
#ls-upsells ul.products li.product .woocommerce-loop-product__buttons {
  display: none !important;
}

/* --- کارت تمیز بدون پدینگ/مارجین اضافه --- */
#ls-upsells ul.products li.product{
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  padding: 0 !important;      /* بعضی تم‌ها padding می‌دن */
  margin: 0 !important;
  background: #f3f5f7;
}

/* --- لینک/تصویر: کل کارت را بپوشانَد --- */
#ls-upsells ul.products li.product a.woocommerce-LoopProduct-link{
  display: block;
  position: relative;
  aspect-ratio: 4 / 3;        /* نسبت ثابت کارت */
  height: auto;               /* از aspect-ratio پیروی کنه */
}

/* فاصله زیرِ تصویر (baseline) را حذف کن و کاور کامل شود */
#ls-upsells ul.products li.product a.woocommerce-LoopProduct-link img{
  display: block;             /* مهم برای حذف گپ زیر تصویر */
  width: 100%;
  height: 100%;
  object-fit: cover;          /* تصویر تا لبه‌ها */
}

/* --- لایه تاریک هاور کلیک‌پذیری لینک را خراب نکند --- */
#ls-upsells ul.products li.product::after{
  content:"";
  position:absolute; inset:0;
  background: rgba(0,0,0,.45);
  opacity:0; transition:.28s ease;
  z-index:1;
  pointer-events: none;       /* کلیک رد شود به لینک */
}
#ls-upsells ul.products li.product:hover::after{ opacity:1; }

/* --- متن‌ها روی تصویر: کلیک‌پذیری را نگیرند --- */
/* قبلی که مشکل‌ساز بود (حذفش کن یا ویرایشش کن) */
/*
#ls-upsells ul.products li.product .woocommerce-loop-product__title,
#ls-upsells ul.products li.product .price,
#ls-upsells ul.products li.product .star-rating{
  position:absolute; left:50%;
  transform:translate(-50%,8px);
  width:86%; max-width:520px;
  text-align:center; color:#fff;
  margin:0; z-index:2; opacity:0;
  pointer-events:none;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
  transition:opacity .28s ease, transform .28s ease;
}
*/

/* ✅ درست: فقط عنوان و قیمت */
#ls-upsells ul.products li.product .woocommerce-loop-product__title,
#ls-upsells ul.products li.product .price{
  position:absolute; left:50%;
  transform:translate(-50%,8px);
  width:86%; max-width:520px;
  text-align:center; color:#fff;
  margin:0; z-index:2; opacity:0;
  pointer-events:none;
  text-shadow:0 2px 8px rgba(0,0,0,.35);
  transition:opacity .28s ease, transform .28s ease;
}


#ls-upsells ul.products li.product:hover .woocommerce-loop-product__title,
#ls-upsells ul.products li.product:hover .price,
#ls-upsells ul.products li.product:hover .star-rating{
  opacity:1; transform:translate(-50%,0);
}

/* 6-1) عنوان: بالاتر + کنترل تعداد خط */
#ls-upsells ul.products li.product .woocommerce-loop-product__title{
  top: 10%;
  font-size: 13px;
  font-weight: 700;
  line-height: 2;
  letter-spacing: .2px;
  display: -webkit-box;
  -webkit-line-clamp: 3;          /* حداکثر 3 خط */
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 6-2) قیمت: دقیقاً مرکز کارت */
#ls-upsells ul.products li.product .price{
  top: 50%;
  transform: translate(-50%, calc(-50% + 0px));
  font-size: 18px;
  font-weight: 700;
  margin: 0 !important;
}

/* 6-3) ستاره‌ها: زیر قیمت و وسط‌چین، کوچک */
#ls-upsells ul.products li.product .star-rating {
  position: absolute;
  top: 70%;              /* جایگاه زیر قیمت */
  left: 50%;             /* وسط افقی */
  transform: translateX(-50%); /* دقیقاً وسط */
  font-size: 12px;
  color: #f5a623;        /* طلایی */
  margin: 0;
  z-index: 2;
  opacity: 0;            /* پیش‌فرض مخفی */
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
  text-shadow: 0 2px 8px rgba(0,0,0,.35);
}

/* 7) ظاهر شدن همه متن‌ها در هاور + تراز نهایی */
#ls-upsells ul.products li.product:hover .woocommerce-loop-product__title,
#ls-upsells ul.products li.product:hover .price,
#ls-upsells ul.products li.product:hover .star-rating{
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ============================
   Upsells – Mobile (≤640px)
   نشان عنوان و قیمت زیر عکس (ستاره نداریم)
============================ */
@media (max-width: 640px){

  /* گرید تک‌ستونه و کارت جمع‌وجور */
  #ls-upsells ul.products{
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  #ls-upsells ul.products li.product{
    float: none !important;
    width: auto !important;
    margin: 0 !important;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.05);
    padding-bottom: 10px;
  }

  /* تصویر کاور */
  #ls-upsells ul.products li.product a.woocommerce-LoopProduct-link{
    display: block; position: relative; aspect-ratio: 4/3;margin-bottom: 19px;
  }
  #ls-upsells ul.products li.product a.woocommerce-LoopProduct-link img{
    width: 100%; height: 100%; object-fit: cover; display: block;
    border-bottom: 1px solid #f0f0f0;
    filter: none !important; transform: none !important;
  }

  /* --- خیلی مهم: عنوان و قیمت را از حالت absolute/opacity خارج کن --- */
  #ls-upsells ul.products li.product .woocommerce-loop-product__title,
  #ls-upsells ul.products li.product .price{
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
    pointer-events: auto !important;
    text-shadow: none !important;
    color: #111 !important;
    display: block !important;
    text-align: center !important;
  }

  /* عنوان */
  #ls-upsells ul.products li.product .woocommerce-loop-product__title{
    /* استایل خود عنوان */
    font-size: 14px !important;
    font-weight: 600 !important;
    line-height: 1.7 !important;
    margin: 8px 0 4px !important;

    /* ریستِ استایل‌های دسکتاپ که وسط‌چین رو به‌هم می‌زنن */
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
    width: 99% !important;
    max-width: none !important;
    display: block !important;
    text-align: center !important;
  }

  /* قیمت */

  #ls-upsells ul.products li.product .price{
    font-size: 13px !important;
    font-weight: 600 !important;
    margin: 0 0 8px !important;
    color: #333 !important;

    /* ریست استایل دسکتاپ */
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    opacity: 1 !important;
    z-index: auto !important;
    width: 100% !important;
    max-width: none !important;
    display: block !important;
    text-align: center !important;
  }

  /* اگر قیمت تخفیف داشت */
  #ls-upsells ul.products li.product .price ins{
    text-decoration: none !important;
    font-weight: 700 !important;
  }
  #ls-upsells ul.products li.product .price del{
    opacity: .6 !important;
    margin-left: 6px !important;
    display: inline-block !important;
  }

  /* دکمه‌ها مخفی بمانند */
  #ls-upsells ul.products li.product .button{
    display: none !important;
  }
}

@media (max-width: 640px){
  /* لینک والد عنوان محصول در کارت‌های upsell */
  #ls-upsells ul.products li.product a.woocommerce-LoopProduct-link,
  #ls-upsells ul.products li.product a.woocommerce-loop-product__link,
  #ls-upsells ul.products li.product a.woocommerce-LoopProduct-link:hover,
  #ls-upsells ul.products li.product a.woocommerce-loop-product__link:hover {
    text-decoration: none !important;
  }

  /* اگر قالب با border زیر عنوان خط میندازه، این هم ریستش می‌کنه */
  #ls-upsells ul.products li.product .woocommerce-loop-product__title {
    border: 0 !important;
  }
}

/* مطمئن شو قوانین اورلی فقط برای دسکتاپ فعال‌اند */
@media (min-width: 641px){
  #ls-upsells ul.products li.product .woocommerce-loop-product__title,
  #ls-upsells ul.products li.product .price{
    position: absolute; /* همان حالت قبلی دسکتاپ شما */
    /* ...بقیه‌ی قوانین دسکتاپ شما... */
  }
}
/* ============================
   Upsells Section Styling
   ============================ */
#ls-upsells { 
  --ls-head-color:#111; 
  --ls-muted:#555; 
}

#ls-upsells .ls-section-head {
  margin: 0 0 16px;
  text-align: left;
}

#ls-upsells .ls-sh-top {
  display:flex;
  align-items:center;
  gap:8px;
  margin-bottom:6px;
  margin-top: 40px;
}

#ls-upsells .ls-spark {
  display:inline-flex;
  width:26px; height:26px;
  color: var(--ls-head-color);
}

#ls-upsells .ls-eyebrow {
  font-size:18px;
  font-weight:600;
  letter-spacing:.12em;
  text-transform:uppercase;
  color: var(--ls-muted);
  line-height:1.2;
}

#ls-upsells .ls-upsells-custom {
  margin: 0 0 6px;
  font-size: 25px;
  font-weight:700;
  line-height:1.4;
  color: var(--ls-head-color);
}

#ls-upsells .ls-lead {
  margin: 0;
  font-size:20px;
  line-height:1.4;
  color: var(--ls-muted);
  font-weight:400;
}

/* فاصله‌ی کمی بین متن و گرید محصولات */
#ls-upsells ul.products { 
  margin-top: 14px; 
}

/* کنار هم‌چین شدن ستاره و شمارش */
.ls-rating-wrap{
  display:inline-flex;
  align-items:center;
  gap:8px;           /* فاصله بین ستاره و پرانتز */
}

/* لینک شمارش نظرات */
.ls-rating-count{
  font-size: 13px;
  color: #555;
  text-decoration: none;
}
.ls-rating-count:hover{
  text-decoration: underline;
}


/* === Fix WooCommerce star fill (global) === */
.woocommerce .star-rating{
  position: relative;
  display: inline-block;
  line-height: 1;
}
.woocommerce .star-rating::before{
  content:"★★★★★";
  color:#ddd;               /* رنگ ستاره‌های خالی */
}
.woocommerce .star-rating span{
  position:absolute;        /* مهم: باید absolute باشه */
  left:0; top:0;
  height:100%;
  overflow:hidden;          /* مهم: تا بر اساس width برش بده */
  display:block;
}
.woocommerce .star-rating span::before{
  content:"★★★★★";
  color:#f5b700;            /* رنگ ستاره‌های پر */
  position:absolute;
  left:0; top:0;
}
/* ============================
 عکس داخل کامنت ها
   ============================ */
   /* استایل عکس‌های داخل کامنت‌ (ریویوهای محصولات) */
.ls-review-body img {
  display: inline-block;        /* در یک خط، ولی با فاصله */
  max-width: 120px;             /* حداکثر عرض استاندارد */
  max-height: 120px;            /* حداکثر ارتفاع استاندارد */
  height: auto;                 /* تناسب تصویر حفظ شود */
  margin: 6px;                  /* فاصله بین عکس‌ها */
  border-radius: 8px;           /* گوشه‌های گرد */
  object-fit: cover;            /* برش منظم داخل کادر */
  cursor: pointer;              /* حالت کلیک‌پذیر برای زوم یا لایت‌باکس */
  transition: transform 0.2s ease;
}

.ls-review-body img:hover {
  transform: scale(1.03);       /* افکت کوچک برای هاور */
}

/* عکس‌های داخل متن ریویو کلیک‌پذیر و با نشانگر بزرگ‌نمایی */
.ls-review-body img{
  cursor: zoom-in;
  border-radius: 10px;
  display: inline-block;
  max-width: 100%;
  height: auto;
}

/* ریشه لایت‌باکس */
#ls-review-lightbox[aria-hidden="true"]{ display:none; }
#ls-review-lightbox{
  position: fixed; inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
}

/* بک‌دراپ */
#ls-review-lightbox .ls-rlb-backdrop{
  position: absolute; inset: 0;
  background: rgba(0,0,0,.6);
}

/* قاب تصویر */
#ls-review-lightbox .ls-rlb-figure{
  position: relative;
  z-index: 1;
  max-width: min(96vw, 1200px);
  max-height: 90vh;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-rows: auto auto;
  gap: 8px;
}

/* تصویر */
#ls-review-lightbox .ls-rlb-img{
  display: block;
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* کپشن (alt) */
#ls-review-lightbox .ls-rlb-cap{
  color: #fff;
  font: 500 14px/1.4 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  text-align: center;
  opacity: .9;
}

/* دکمه بستن */
#ls-review-lightbox .ls-rlb-close{
  position: absolute;
  top: -10px; right: -10px;
  width: 36px; height: 36px;
  border: 0; border-radius: 999px;
  background: #111;
  color: #fff; font-size: 20px; line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
}
#ls-review-lightbox .ls-rlb-close:hover{ background:#333; }

/* هنگام باز بودن، اسکرول صفحه قفل شود */
html.ls-rlb-open, html.ls-rlb-open body{
  overflow: hidden !important;
  touch-action: none;
}

/* ============================
   ستاره امتیاز دادن کنار کامنت
   ============================ */
   
   /* Star widget inside product review form */
.comment-form-rating .ls-stars {
  display: inline-flex; flex-direction: row-reverse; gap: 6px;
}
.comment-form-rating .ls-stars input { display: none; }
.comment-form-rating .ls-stars label {
  font-size: 20px; color: #ddd; cursor: pointer; line-height: 1;
  transition: color .15s ease;
}
.comment-form-rating .ls-stars input:checked ~ label,
.comment-form-rating .ls-stars label:hover,
.comment-form-rating .ls-stars label:hover ~ label { color: #f5b700; }

/* نشانگر دست روی دکمه‌های ووکامرس */
.woocommerce .button,
.woocommerce a.button,
.single_add_to_cart_button,
.add_to_cart_button,
.ls-btn {
  cursor: pointer !important;
}

/* وقتی دکمه غیرفعاله (مثلاً وارییشن انتخاب نشده) */
.single_add_to_cart_button[disabled],
.single_add_to_cart_button.disabled,
.woocommerce .button[disabled],
.woocommerce .button.disabled {
  cursor: not-allowed !important;
  opacity: .6;
}


/* ============================
 حذف هاشیه های قرمز دور فیلدها توسط ووکامرس
   ============================ */
   
   /* فقط صفحات محصول، سبد و تسویه‌حساب */
.single-product *,
.woocommerce-cart *,
.woocommerce-checkout * {
  outline: none !important; /* حذف outline پیش‌فرض مرورگر */
}

/* حالت فوکوس: به‌جای قرمز، یه رینگ ملایم خاکستری/برند */
.single-product input:focus,
.single-product select:focus,
.single-product textarea:focus,
.woocommerce-cart input:focus,
.woocommerce-cart select:focus,
.woocommerce-cart textarea:focus,
.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(11,102,255,0.12) !important; /* اگر نمی‌خوای رینگ داشته باشه، این خط رو هم بردار */
  border-color: #bfc5d0 !important; /* یا همون رنگ تم خودت */
}

/* خنثی کردن قرمزی خطاهای ووکامرس */
.woocommerce form .form-row.woocommerce-invalid input.input-text,
.woocommerce form .form-row.woocommerce-invalid select,
.woocommerce form .form-row.woocommerce-invalid textarea,
.woocommerce form .form-row.woocommerce-invalid .select2-selection--single,
.woocommerce form .form-row.woocommerce-invalid .select2-selection--multiple {
  border-color: #e6e8eb !important;
  box-shadow: none !important;
}

/* اگر اعتبارسنجی HTML5 قرمز می‌کند */
.single-product input:required:invalid,
.single-product select:required:invalid,
.woocommerce-cart input:required:invalid,
.woocommerce-checkout input:required:invalid {
  box-shadow: none !important;
  border-color: #e6e8eb !important;
}

/* Select2 هم اگه داری */
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--multiple:focus {
  outline: none !important;
  box-shadow: none !important;
}



/* =========================================================
   کانتکت contact
   ========================================================= */
/* ===== Contact Page (Lifostep) ===== */
.lfs-contact{ --card:#fff; --border:#e5e7eb; --muted:#6b7280; --text:#111; --shadow:0 12px 28px rgba(0,0,0,.06); }

/* Container 1: centered, stacked */
.lfs-c1{ padding:48px 16px; background:#fff; }
.lfs-c1 .c1-inner{ max-width:940px; margin:0 auto; text-align:center; }
.c1-title{ font-size:32px; font-weight:900; margin:0 0 18px; }
.c1-block{ margin:14px 0; }
.c1-label{ display:block; font-weight:800; font-size:12px; text-transform:uppercase; letter-spacing:.76em; opacity:.7; margin-bottom:6px;margin-top: 40px; }
.c1-value{ margin:0; font-size:18px; }
.c1-value a{ color:#0a66c2; text-decoration:none; }
.c1-value a:hover{ text-decoration:underline; }

/* Social icons */
.c1-social{ margin-top:18px; display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.c1-social-link{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px; border-radius:12px; border:1px solid var(--border);
  background:#f9fafb; text-decoration:none; color:#111; font-weight:700;
  transition:.15s ease; box-shadow:0 2px 10px rgba(0,0,0,.03);
}
.c1-social-link:hover{ transform:translateY(-1px); background:#eef2ff; border-color:#dbeafe; }
.c1-icon{ width:18px; height:18px; display:inline-block; fill:currentColor; }

/* Container 2: gradient background + card form */
.lfs-c2{
  padding:56px 16px;
  background: linear-gradient(45deg, rgb(240,80,35) 0%, rgb(215,15,130) 25%, rgb(35,45,130) 80%);
  color:#fff;
}
.lfs-c2 .c2-inner{ max-width:960px; margin:0 auto; }
.c2-card{
  background:var(--card); color:var(--text);
  border:1px solid var(--border); border-radius:16px; box-shadow:var(--shadow);
  padding:20px;
}
.c2-title{ margin:0 0 6px; font-size:24px; font-weight:900; }
.c2-desc{ margin:0 0 16px; color:var(--muted); }

/* Form */
.lfs-form .row{ display:grid; grid-template-columns:1fr 1fr; gap:12px; }
.lfs-form .field{ text-align:start; }
.lfs-form label{ display:block; font-weight:800; font-size:12px; margin-bottom:6px; opacity:.8; }
.lfs-input{
  width:100%; border:1px solid var(--border); border-radius:12px; padding:10px 12px; background:#fff;
  font:600 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}
.lfs-input:focus{ outline:2px solid #bfdbfe; border-color:#93c5fd; }
.lfs-actions{ margin-top:12px; }
.lfs-btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  padding:10px 16px; border-radius:12px; border:1px solid transparent; cursor:pointer; text-decoration:none;
  font-weight:800; transition:.15s ease;
}
.lfs-btn.is-black{ background:#000; color:#fff; }
.lfs-btn.is-black:hover{ transform:translateY(-1px); opacity:.95; }

/* Notices */
.lfs-note{ padding:10px 12px; border-radius:10px; font-weight:700; margin:10px 0; }
.lfs-note.is-ok{ background:#ecfdf5; color:#065f46; border:1px solid #a7f3d0; }
.lfs-note.is-err{ background:#fef2f2; color:#991b1b; border:1px solid #fecaca; }

/* Responsive */
@media (max-width: 768px){
  .lfs-form .row{ grid-template-columns:1fr; }
  .c1-title{ font-size:26px; }
}

