.elementor-3119 .elementor-element.elementor-element-add576d{--display:flex;--background-transition:0.3s;}.elementor-3119 .elementor-element.elementor-element-94bdcba > .elementor-widget-container{background-color:var( --e-global-color-2a14b78 );border-radius:7px 7px 7px 7px;}.elementor-3119 .elementor-element.elementor-element-94bdcba .woocommerce-breadcrumb > a{color:var( --e-global-color-secondary );}.elementor-3119 .elementor-element.elementor-element-94bdcba .woocommerce-breadcrumb{line-height:30px;}.elementor-3119 .elementor-element.elementor-element-edfb405{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--background-transition:0.3s;}.elementor-3119 .elementor-element.elementor-element-5e6450e{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:0.3s;}.elementor-3119 .elementor-element.elementor-element-384b00e > .elementor-widget-container{padding:0px 0px 0px 0px;}.elementor-3119 .elementor-element.elementor-element-eb532ad{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:0.3s;}.elementor-widget-woocommerce-product-title .elementor-heading-title{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-3119 .elementor-element.elementor-element-d6b4f64 .elementor-heading-title{color:#106D4D;font-size:20px;font-weight:700;}.elementor-3119 .elementor-element.elementor-element-3a8d900{text-align:justify;}.elementor-widget-woocommerce-product-meta .product_meta .detail-container:not(:last-child):after{border-color:var( --e-global-color-text );}.elementor-3119 .elementor-element.elementor-element-9b6c82d{--display:flex;--background-transition:0.3s;}.woocommerce .elementor-widget-woocommerce-product-price .price{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-product-add-to-cart .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-3119 .elementor-element.elementor-element-2e25a5d .cart button, .elementor-3119 .elementor-element.elementor-element-2e25a5d .cart .button{transition:all 0.2s;}.elementor-3119 .elementor-element.elementor-element-2e25a5d .quantity .qty{transition:all 0.2s;}.elementor-widget-alert .elementor-alert-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-alert .elementor-alert-description{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-3119 .elementor-element.elementor-element-3a60f72 .elementor-alert{background-color:#FFCC22;border-color:#FFCC22;border-left-width:0px;}.elementor-3119 .elementor-element.elementor-element-3a60f72 .elementor-alert-title{color:#000000;}.elementor-3119 .elementor-element.elementor-element-3a60f72 .elementor-alert-description{color:#000000;font-size:13px;font-weight:400;line-height:1px;letter-spacing:1.5px;word-spacing:0px;text-shadow:0px 0px 3px rgba(0,0,0,0.3);}.elementor-3119 .elementor-element.elementor-element-004cf27{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:0.3s;--border-radius:10px 10px 10px 10px;}.elementor-3119 .elementor-element.elementor-element-83c8bfc{--display:grid;--e-con-grid-template-columns:repeat(1, 1fr);--e-con-grid-template-rows:repeat(2, 1fr);--grid-auto-flow:row;--background-transition:0.3s;--overlay-opacity:0.5;border-style:solid;--border-style:solid;border-width:0px 0px 0px 0px;--border-top-width:0px;--border-right-width:0px;--border-bottom-width:0px;--border-left-width:0px;--border-radius:10px 10px 10px 10px;}.elementor-3119 .elementor-element.elementor-element-83c8bfc::before, .elementor-3119 .elementor-element.elementor-element-83c8bfc > .elementor-background-video-container::before, .elementor-3119 .elementor-element.elementor-element-83c8bfc > .e-con-inner > .elementor-background-video-container::before, .elementor-3119 .elementor-element.elementor-element-83c8bfc > .elementor-background-slideshow::before, .elementor-3119 .elementor-element.elementor-element-83c8bfc > .e-con-inner > .elementor-background-slideshow::before, .elementor-3119 .elementor-element.elementor-element-83c8bfc > .elementor-motion-effects-container > .elementor-motion-effects-layer::before{background-color:#DDDDDD;--background-overlay:'';}.elementor-3119 .elementor-element.elementor-element-83c8bfc, .elementor-3119 .elementor-element.elementor-element-83c8bfc::before{--border-transition:0.3s;}.elementor-3119 .elementor-element.elementor-element-a99aefb{--display:flex;--align-items:center;--container-widget-width:calc( ( 1 - var( --container-widget-flex-grow ) ) * 100% );--background-transition:0.3s;}.elementor-widget-heading .elementor-heading-title{color:var( --e-global-color-primary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-3119 .elementor-element.elementor-element-7cac56a{width:100%;max-width:100%;text-align:center;}.elementor-3119 .elementor-element.elementor-element-7cac56a > .elementor-widget-container{margin:11px 0px 0px 0px;}.elementor-3119 .elementor-element.elementor-element-7cac56a .elementor-heading-title{color:var( --e-global-color-secondary );}.elementor-3119 .elementor-element.elementor-element-70a2d6d{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--justify-content:center;--gap:1px 1px;--background-transition:0.3s;}.elementor-widget-button .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-3119 .elementor-element.elementor-element-f2ce580 .elementor-button{background-color:#FFCC22;fill:#000000;color:#000000;}.elementor-3119 .elementor-element.elementor-element-15e05d1 .elementor-button{background-color:var( --e-global-color-primary );fill:#000000;color:#000000;}.elementor-3119 .elementor-element.elementor-element-f403589 .elementor-button{background-color:#FFCC22;fill:#000000;color:#000000;}.elementor-3119 .elementor-element.elementor-element-c844eaa .elementor-button{background-color:#235C3C;fill:#FFFFFF;color:#FFFFFF;}.elementor-3119 .elementor-element.elementor-element-021d756{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:0.3s;}.elementor-3119 .elementor-element.elementor-element-a808426{--display:flex;--flex-direction:row;--container-widget-width:initial;--container-widget-height:100%;--container-widget-flex-grow:1;--container-widget-align-self:stretch;--flex-wrap-mobile:wrap;--gap:0px 0px;--background-transition:0.3s;}.elementor-3119 .elementor-element.elementor-element-5a6e4d9{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:0.3s;}.elementor-widget-woocommerce-product-content{color:var( --e-global-color-text );font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-3119 .elementor-element.elementor-element-f05d465{text-align:justify;}.elementor-3119 .elementor-element.elementor-element-e420746{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--background-transition:0.3s;}.elementor-3119 .elementor-element.elementor-element-d3abc6c{--display:flex;--background-transition:0.3s;}.elementor-3119 .elementor-element.elementor-element-d3abc6c:not(.elementor-motion-effects-element-type-background), .elementor-3119 .elementor-element.elementor-element-d3abc6c > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-c9cffa8 );}.elementor-3119 .elementor-element.elementor-element-d3abc6c, .elementor-3119 .elementor-element.elementor-element-d3abc6c::before{--border-transition:0.3s;}.elementor-3119 .elementor-element.elementor-element-b808fcd .elementor-heading-title{color:#CEA10A;font-size:23px;}.elementor-3119 .elementor-element.elementor-element-3113beb{--swiper-slides-to-display:4;--swiper-slides-gap:10px;--arrow-prev-left-align:0%;--arrow-prev-translate-x:0px;--arrow-prev-left-position:0px;--arrow-prev-top-align:50%;--arrow-prev-translate-y:-50%;--arrow-prev-top-position:0px;--arrow-next-right-align:0%;--arrow-next-translate-x:0%;--arrow-next-right-position:0px;--arrow-next-top-align:50%;--arrow-next-translate-y:-50%;--arrow-next-top-position:0px;--arrow-normal-color:var( --e-global-color-text );--swiper-pagination-size:15px;--dots-normal-color:var( --e-global-color-secondary );--swiper-pagination-spacing:15px;}.elementor-3119 .elementor-element.elementor-element-3113beb .swiper-slide > .elementor-element{height:100%;}@media(max-width:1024px){.elementor-3119 .elementor-element.elementor-element-83c8bfc{--grid-auto-flow:row;}.elementor-3119 .elementor-element.elementor-element-3113beb{--swiper-slides-to-display:3;}}@media(max-width:767px){.elementor-3119 .elementor-element.elementor-element-94bdcba .woocommerce-breadcrumb{text-align:center;}.elementor-3119 .elementor-element.elementor-element-d6b4f64{text-align:center;}.elementor-3119 .elementor-element.elementor-element-d6b4f64 .elementor-heading-title{font-size:16px;line-height:1.8em;}.woocommerce .elementor-3119 .elementor-element.elementor-element-3a8d900 .woocommerce-product-details__short-description{font-size:15px;}.elementor-3119 .elementor-element.elementor-element-3a60f72 .elementor-alert-description{letter-spacing:6px;}.elementor-3119 .elementor-element.elementor-element-83c8bfc{--e-con-grid-template-columns:repeat(1, 1fr);--grid-auto-flow:row;}.elementor-3119 .elementor-element.elementor-element-3113beb{--swiper-slides-to-display:1;}}@media(min-width:768px){.elementor-3119 .elementor-element.elementor-element-5e6450e{--width:40%;}.elementor-3119 .elementor-element.elementor-element-eb532ad{--width:60%;}.elementor-3119 .elementor-element.elementor-element-004cf27{--width:42%;}.elementor-3119 .elementor-element.elementor-element-e420746{--width:320px;}}/* Start custom CSS for html, class: .elementor-element-731787e *//* ----- متغیرهای رنگ و سایه (Design Tokens) ----- */
:root {
  --af-bg: #faf8f3;
  --af-surface: #ffffff;
  --af-ink: #1c2620;
  --af-ink-2: #4a564f;
  --af-ink-3: #8a948e;
  --af-line: #e7e3d8;
  --af-line-strong: #d4cdb8;

  --af-primary: #2f6b48;
  --af-primary-deep: #1f4f33;
  --af-primary-soft: #e8efe8;
  --af-accent: #c89744;
  --af-accent-soft: #fbf3df;
  --af-danger: #b8443a;
  --af-success: #2f6b48;

  --af-radius: 14px;
  --af-radius-sm: 8px;
  --af-shadow-sm: 0 1px 2px rgba(28,38,32,.04), 0 2px 8px rgba(28,38,32,.04);
  --af-shadow-md: 0 4px 12px rgba(28,38,32,.06), 0 12px 32px rgba(28,38,32,.06);
}

/* ----- ریست و فونت سراسری ----- */
body.single-product,


body.single-product {
  background: var(--af-bg);
  color: var(--af-ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* پاک کردن استایل‌های پیش‌فرض ووکامرس که نیازی نیستند */
.single-product div.product .woocommerce-product-gallery,
.single-product div.product .summary {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* ================================================================
   02 — BREADCRUMB
   ================================================================ */
.af-breadcrumb { padding: 18px 0; font-size: 12.5px; color: var(--af-ink-3); }
.af-breadcrumb ol { list-style: none; padding: 0; margin: 0; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.af-breadcrumb li { display: flex; align-items: center; gap: 8px; }
.af-breadcrumb li::after { content: "/"; opacity: .4; }
.af-breadcrumb li:last-child::after { display: none; }
.af-breadcrumb li:last-child { color: var(--af-ink); font-weight: 500; }
.af-breadcrumb a { color: inherit; text-decoration: none; }
.af-breadcrumb a:hover { color: var(--af-primary); }

/* ================================================================
   03 — PRODUCT HERO (gallery + info + price + add to cart)
   ----------------------------------------------------------------
   نکته: این بلوک ترکیبی از ویجت‌های پیش‌فرض ووکامرس Elementor و
   چند HTML widget اضافی است. CSS زیر روی هر دو اعمال می‌شود.
   ================================================================ */

.af-product-hero {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: 24px;
  padding: 36px;
  margin-bottom: 32px;
}

.af-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
}

/* ----- گالری تصاویر محصول ----- */
/* وقتی از Elementor's "Product Images" widget استفاده می‌کنید
   این کلاس‌ها روی wrapper مربوطه اعمال می‌شوند */
.af-product-hero .woocommerce-product-gallery {
  border-radius: 18px;
  overflow: hidden;
}
.af-product-hero .woocommerce-product-gallery__image img {
  border-radius: 18px;
  background: radial-gradient(circle at 30% 30%, #ffffff 0%, #f3efe0 70%);
}
.af-product-hero .flex-control-thumbs {
  display: flex !important;
  gap: 10px;
  margin-top: 14px;
}
.af-product-hero .flex-control-thumbs li {
  width: 80px !important; height: 80px !important;
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid var(--af-line);
  cursor: pointer;
  transition: all .15s;
}
.af-product-hero .flex-control-thumbs li:hover,
.af-product-hero .flex-control-thumbs li img.flex-active {
  border-color: var(--af-primary);
  box-shadow: 0 0 0 3px rgba(47,107,72,.1);
}

/* ----- ستون اطلاعات محصول ----- */
.af-info-col h1 {
  font-size: 28px;
  margin: 0 0 8px;
  font-weight: 700;
  color: var(--af-ink);
  line-height: 1.35;
}
.af-info-col .en-name {
  color: var(--af-ink-3);
  font-size: 14px;
  direction: ltr;
  text-align: right;
  font-weight: 500;
  margin-bottom: 18px;
}

/* ----- نوار متادیتای محصول (امتیاز + شناسه + موجودی) ----- */
.af-meta-row {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-top: 1px solid var(--af-line);
  border-bottom: 1px solid var(--af-line);
  margin-bottom: 22px;
  font-size: 13px;
}
.af-stars { display: inline-flex; gap: 2px; color: var(--af-accent); }
.af-meta-row .sep { width: 1px; height: 14px; background: var(--af-line-strong); }
.af-meta-row .item { display: flex; align-items: center; gap: 6px; color: var(--af-ink-2); }
.af-meta-row .item strong { color: var(--af-ink); font-weight: 600; }
.af-in-stock { color: var(--af-success); display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.af-in-stock::before { content: ""; width: 7px; height: 7px; background: var(--af-success); border-radius: 50%; }

/* ----- توضیحات کوتاه ----- */
.af-short-desc { color: var(--af-ink-2); margin-bottom: 22px; line-height: 1.8; }

/* ----- لیست ویژگی‌های اصلی ----- */
.af-feature-list {
  list-style: none; padding: 0; margin: 0 0 24px;
  display: grid; gap: 10px;
}
.af-feature-list li {
  display: grid; grid-template-columns: 24px 1fr; gap: 12px;
  align-items: flex-start;
  font-size: 14px;
  color: var(--af-ink-2);
}
.af-feature-list .check {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--af-primary-soft);
  color: var(--af-primary);
  display: grid; place-items: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.af-feature-list strong { color: var(--af-ink); font-weight: 600; }

/* ----- کارت قیمت و دکمه افزودن به سبد ----- */
.af-price-card {
  background: linear-gradient(145deg, #fdfbf4 0%, #f5f1e3 100%);
  border: 1px solid var(--af-line);
  border-radius: 16px;
  padding: 22px;
  margin-bottom: 16px;
}

/* قیمت در ووکامرس داخل p.price رندر می‌شود */
.af-price-card .price,
.af-price-line {
  display: flex; align-items: baseline; gap: 14px; margin: 0 0 14px;
  flex-wrap: wrap;
}
.af-price-card .price ins,
.af-price-card .price .amount,
.af-price-now {
  font-size: 30px;
  font-weight: 800;
  color: var(--af-ink);
  text-decoration: none;
}
.af-price-card .price ins .amount { font-weight: 800; }
.af-price-card .price del,
.af-price-old {
  text-decoration: line-through;
  color: var(--af-ink-3);
  font-size: 16px;
  font-weight: 500;
  opacity: 1;
}
.af-price-save {
  background: rgba(184,68,58,.1);
  color: var(--af-danger);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
}

/* فرم افزودن به سبد — کلاس‌های اصلی ووکامرس */
.af-price-card form.cart {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  margin: 0;
}
.af-price-card form.cart .quantity {
  display: inline-flex; align-items: center;
  border: 1.5px solid var(--af-line-strong);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}
.af-price-card form.cart .quantity input.qty {
  width: 50px; height: 50px;
  border: 0; outline: none;
  text-align: center;
  font: inherit;
  font-weight: 700;
  font-size: 16px;
  color: var(--af-ink);
  background: transparent;
  -moz-appearance: textfield;
}
.af-price-card form.cart .quantity input.qty::-webkit-outer-spin-button,
.af-price-card form.cart .quantity input.qty::-webkit-inner-spin-button {
  -webkit-appearance: none; margin: 0;
}
/* دکمه‌های +/− سفارشی (با JS اضافه می‌شوند) */
.af-price-card form.cart .quantity button.af-qty-btn {
  width: 42px; height: 50px;
  background: transparent;
  border: 0;
  color: var(--af-ink);
  font-size: 18px;
  cursor: pointer;
  transition: background .12s;
}
.af-price-card form.cart .quantity button.af-qty-btn:hover {
  background: var(--af-primary-soft); color: var(--af-primary);
}
.af-price-card form.cart button.single_add_to_cart_button {
  height: 50px;
  background: var(--af-primary) !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  padding: 0 24px !important;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .15s;
  box-shadow: 0 4px 12px rgba(47,107,72,.2);
  width: 100%;
}
.af-price-card form.cart button.single_add_to_cart_button:hover {
  background: var(--af-primary-deep) !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(47,107,72,.3);
}

/* اکشن‌های ثانویه (علاقه‌مندی، مقایسه، اشتراک‌گذاری) */
.af-secondary-actions {
  display: flex; gap: 10px; margin-top: 14px;
}
.af-sa-btn {
  flex: 1;
  padding: 12px;
  background: #fff;
  border: 1px solid var(--af-line);
  border-radius: 10px;
  font-size: 13px;
  color: var(--af-ink-2);
  display: flex; align-items: center; justify-content: center; gap: 6px;
  cursor: pointer;
  text-decoration: none;
  transition: all .15s;
}
.af-sa-btn:hover { color: var(--af-primary); border-color: var(--af-primary); }

/* ----- ردیف مزایا (ارسال، ضمانت، بازگشت، مشاوره) ----- */
.af-benefits {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px dashed var(--af-line-strong);
}
.af-benefit {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 10px 0;
}
.af-benefit-icon {
  width: 40px; height: 40px;
  background: var(--af-primary-soft);
  color: var(--af-primary);
  border-radius: 10px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.af-benefit-text strong { display: block; font-size: 13.5px; color: var(--af-ink); margin-bottom: 2px; }
.af-benefit-text span { font-size: 12px; color: var(--af-ink-3); }

/* ----- دسته‌بندی / برچسب (محصول metadata پایینی) ----- */
.af-meta-bottom {
  display: flex; flex-wrap: wrap; gap: 16px 24px;
  margin-top: 22px; padding-top: 18px;
  border-top: 1px solid var(--af-line);
  font-size: 13px;
  color: var(--af-ink-2);
}
.af-meta-bottom strong { color: var(--af-ink); margin-left: 6px; }
.af-meta-bottom a { color: var(--af-primary); text-decoration: none; }


/* ================================================================
   04 — TRUST CERTIFICATIONS STRIP
   ================================================================ */

.af-certs-strip {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: 16px;
  padding: 22px 28px;
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
}
.af-certs-strip .title { font-weight: 700; font-size: 15px; color: var(--af-ink); }
.af-certs-strip .title small {
  display: block; font-size: 12px; color: var(--af-ink-3);
  font-weight: 400; margin-top: 2px;
}

.af-certs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.af-cert {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: #faf8f3;
  border: 1px solid var(--af-line);
  border-radius: 10px;
}
.af-cert-mark {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: #fff;
  border: 1.5px solid var(--af-primary);
  display: grid; place-items: center;
  color: var(--af-primary);
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 800;
}
.af-cert-text { font-size: 12.5px; color: var(--af-ink-2); line-height: 1.4; }
.af-cert-text strong { display: block; color: var(--af-ink); font-weight: 600; }


/* ================================================================
   05 — STICKY TABS + CONTENT SECTIONS + ASIDE
   ================================================================ */

/* ----- نوار تب‌های چسبان ----- */
.af-tabs-nav {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: 16px;
  padding: 8px;
  margin-bottom: 24px;
  display: flex;
  gap: 4px;
  position: sticky;
  top: 80px;
  z-index: 20;
  overflow-x: auto;
}
.af-tab-btn {
  flex: 1;
  padding: 12px 14px;
  background: transparent;
  border: 0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--af-ink-2);
  cursor: pointer;
  transition: all .15s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  white-space: nowrap;
  font-family: inherit;
}
.af-tab-btn:hover { background: var(--af-primary-soft); color: var(--af-primary); }
.af-tab-btn.active {
  background: var(--af-primary);
  color: #fff;
  box-shadow: 0 4px 10px rgba(47,107,72,.2);
}
.af-tab-btn .count {
  background: rgba(255,255,255,.2);
  padding: 1px 7px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
}
.af-tab-btn:not(.active) .count { background: var(--af-line); color: var(--af-ink-2); }

/* ----- لایه محتوای دو ستونه ----- */
.af-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 24px;
  margin-bottom: 32px;
}
.af-content-main {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: 16px;
  padding: 32px;
}
.af-content-aside { display: flex; flex-direction: column; gap: 16px; }

/* ----- سکشن محتوا (هدر + متن) ----- */
.af-section { margin-bottom: 36px; }
.af-section:last-child { margin-bottom: 0; }
.af-section h2 {
  font-size: 20px;
  margin: 0 0 16px;
  padding-right: 14px;
  border-right: 4px solid var(--af-primary);
  color: var(--af-ink);
  font-weight: 700;
}
.af-section p { color: var(--af-ink-2); margin: 0 0 14px; line-height: 1.8; }
.af-section ul { padding-right: 20px; color: var(--af-ink-2); }
.af-section ul li { margin-bottom: 8px; }
.af-section ul li strong { color: var(--af-ink); font-weight: 600; }

/* ----- جدول مشخصات ----- */
.af-spec-table {
  border: 1px solid var(--af-line);
  border-radius: 12px;
  overflow: hidden;
}
.af-spec-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  border-bottom: 1px solid var(--af-line);
}
.af-spec-row:last-child { border-bottom: 0; }
.af-spec-row > div {
  padding: 14px 18px;
  font-size: 13.5px;
}
.af-spec-row .key {
  background: #faf8f3;
  color: var(--af-ink);
  font-weight: 600;
  border-left: 1px solid var(--af-line);
}
.af-spec-row .val { color: var(--af-ink-2); }

/* ----- چیپ‌های ترکیبات ----- */
.af-ingredients { display: flex; flex-wrap: wrap; gap: 8px; }
.af-ing-chip {
  padding: 8px 14px;
  background: var(--af-primary-soft);
  border: 1px solid rgba(47,107,72,.15);
  border-radius: 999px;
  font-size: 13px;
  color: var(--af-primary-deep);
  font-weight: 500;
}
.af-ing-chip.alt {
  background: var(--af-accent-soft);
  border-color: rgba(200,151,68,.2);
  color: #7a5a1f;
}

/* ----- مراحل نحوه مصرف ----- */
.af-steps { display: grid; gap: 14px; margin-top: 8px; }
.af-step {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  padding: 16px;
  background: #faf8f3;
  border-radius: 12px;
  border: 1px solid var(--af-line);
}
.af-step-num {
  width: 44px; height: 44px;
  background: var(--af-primary);
  color: #fff;
  border-radius: 12px;
  display: grid; place-items: center;
  font-size: 18px;
  font-weight: 800;
}
.af-step h3 { font-size: 15px; margin: 0 0 4px; font-weight: 700; }
.af-step p { margin: 0; font-size: 13.5px; }

/* ----- کارت هشدار ----- */
.af-warning-card {
  background: #fef7e8;
  border: 1px solid #f0d690;
  border-radius: 12px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
  margin-top: 16px;
}
.af-warning-card .ico { color: #a87d20; }
.af-warning-card h4 { color: #7a5a1f; font-size: 14px; margin: 0 0 4px; font-weight: 700; }
.af-warning-card p { font-size: 13px; color: #6a5018; margin: 0; }

/* ----- FAQ آکاردئون ----- */
.af-faq-item { border-bottom: 1px solid var(--af-line); }
.af-faq-item:last-child { border-bottom: 0; }
.af-faq-q {
  width: 100%; text-align: right;
  padding: 16px 4px;
  background: transparent; border: 0;
  font: inherit; font-size: 15px; font-weight: 600;
  color: var(--af-ink);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  cursor: pointer;
}
.af-faq-q .chev { transition: transform .2s; color: var(--af-ink-3); }
.af-faq-item.open .af-faq-q .chev { transform: rotate(180deg); color: var(--af-primary); }
.af-faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .25s ease;
  color: var(--af-ink-2); font-size: 14px;
}
.af-faq-a > div { padding: 0 4px 16px; }
.af-faq-item.open .af-faq-a { max-height: 400px; }

/* ----- خلاصه نظرات ----- */
.af-reviews-summary {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  padding: 24px;
  background: #faf8f3;
  border-radius: 14px;
  margin-bottom: 24px;
}
.af-rev-big { text-align: center; }
.af-rev-big .num { font-size: 56px; font-weight: 800; color: var(--af-ink); line-height: 1; }
.af-rev-big .af-stars { font-size: 18px; margin: 8px 0; justify-content: center; }
.af-rev-big .total { color: var(--af-ink-3); font-size: 13px; }
.af-rev-bars { display: grid; gap: 10px; align-self: center; }
.af-rev-bar {
  display: grid; grid-template-columns: 60px 1fr 40px;
  gap: 12px; align-items: center;
  font-size: 13px; color: var(--af-ink-2);
}
.af-rev-bar .track { height: 8px; background: #e7e3d8; border-radius: 4px; overflow: hidden; }
.af-rev-bar .fill { height: 100%; background: var(--af-accent); border-radius: 4px; }
.af-rev-bar .pct { color: var(--af-ink-3); font-size: 12px; text-align: left; direction: ltr; }

/* ----- کارت نظر ----- */
.af-review-card {
  padding: 20px;
  border: 1px solid var(--af-line);
  border-radius: 14px;
  margin-bottom: 14px;
}
.af-review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.af-avatar {
  width: 40px; height: 40px;
  background: var(--af-primary-soft);
  color: var(--af-primary);
  border-radius: 50%;
  display: grid; place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.af-review-meta { flex: 1; }
.af-review-meta strong { display: block; font-size: 14px; }
.af-review-meta span { font-size: 12px; color: var(--af-ink-3); }
.af-review-card p { margin: 0; color: var(--af-ink-2); font-size: 14px; line-height: 1.7; }

/* ----- کارت‌های ستون کناری (Aside) ----- */
.af-aside-card {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: 14px;
  padding: 18px;
}
.af-aside-card h3 {
  font-size: 14px; margin: 0 0 14px;
  color: var(--af-ink);
  font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.af-aside-card h3 .ico { color: var(--af-primary); }
.af-aside-card ul { list-style: none; padding: 0; margin: 0; }
.af-aside-card li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--af-line);
  font-size: 13px;
  color: var(--af-ink-2);
  align-items: center;
}
.af-aside-card li:last-child { border-bottom: 0; }
.af-aside-card li .ico { color: var(--af-primary); }
.af-aside-card li strong { color: var(--af-ink); display: block; font-size: 13.5px; font-weight: 600; }

/* ----- کارت مشاوره (CTA سبز) ----- */
.af-consultation-card {
  background: linear-gradient(140deg, var(--af-primary) 0%, var(--af-primary-deep) 100%);
  color: #fff;
  border: 0;
  overflow: hidden;
  position: relative;
}
.af-consultation-card::before {
  content: ""; position: absolute;
  width: 180px; height: 180px;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  bottom: -80px; left: -60px;
}
.af-consultation-card h3 { color: #fff; font-size: 16px; margin-bottom: 4px; }
.af-consultation-card h3 .ico { color: rgba(255,255,255,.85); }
.af-consultation-card p { font-size: 13px; opacity: .9; margin: 0 0 14px; }
.af-consultation-card button,
.af-consultation-card a.btn {
  background: #fff;
  color: var(--af-primary-deep);
  border: 0;
  padding: 11px 18px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13.5px;
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  cursor: pointer;
  text-decoration: none;
}

/* ================================================================
   06 — RELATED PRODUCTS GRID + 07 FOOTER + 08 RESPONSIVE
   ================================================================ */

/* ----- محصولات مرتبط ----- */
.af-related { margin-bottom: 32px; }
.af-related-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.af-related-head h2 {
  font-size: 22px;
  margin: 0;
  font-weight: 700;
  padding-right: 14px;
  border-right: 4px solid var(--af-primary);
}
.af-related-head a {
  color: var(--af-primary);
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex; align-items: center; gap: 4px;
  text-decoration: none;
}
.af-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.af-product-card {
  background: var(--af-surface);
  border: 1px solid var(--af-line);
  border-radius: 16px;
  overflow: hidden;
  transition: all .2s;
  display: flex; flex-direction: column;
}
.af-product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--af-shadow-md);
  border-color: var(--af-primary);
}
.af-pc-img {
  aspect-ratio: 1 / 1;
  background: linear-gradient(145deg, #faf8f3 0%, #f0ede0 100%);
  display: grid; place-items: center;
  position: relative;
}
.af-pc-img .badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--af-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.af-pc-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.af-pc-body .cat { font-size: 11px; color: var(--af-ink-3); margin-bottom: 4px; }
.af-pc-body .name { font-size: 14px; font-weight: 600; line-height: 1.4; margin-bottom: 10px; flex: 1; }
.af-pc-body .af-stars { font-size: 12px; margin-bottom: 8px; }
.af-pc-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.af-pc-price { font-weight: 700; color: var(--af-ink); }
.af-pc-price small { font-size: 11px; font-weight: 400; color: var(--af-ink-3); }
.af-pc-old { font-size: 12px; color: var(--af-ink-3); text-decoration: line-through; margin-right: 6px; }
.af-pc-add {
  width: 36px; height: 36px;
  background: var(--af-primary-soft);
  color: var(--af-primary);
  border: 0;
  border-radius: 10px;
  display: grid; place-items: center;
  transition: all .15s;
  cursor: pointer;
}
.af-pc-add:hover { background: var(--af-primary); color: #fff; }

/* ================================================================
   07 — FOOTER
   ================================================================ */
.af-footer {
  background: var(--af-ink);
  color: #b8c0bb;
  padding: 48px 0 0;
  margin-top: 32px;
}
.af-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.af-footer h4 { color: #fff; font-size: 14px; margin: 0 0 18px; font-weight: 700; }
.af-footer ul { list-style: none; padding: 0; margin: 0; }
.af-footer li { margin-bottom: 10px; font-size: 13px; }
.af-footer a { color: inherit; text-decoration: none; }
.af-footer a:hover { color: #fff; }
.af-footer .about p { font-size: 13px; line-height: 1.8; margin-bottom: 14px; }
.af-footer-bottom {
  padding: 18px 0;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 12.5px; color: #8a948e;
}
.af-socials { display: flex; gap: 8px; }
.af-socials a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.05);
  border-radius: 10px;
  display: grid; place-items: center;
  color: #b8c0bb;
  transition: all .15s;
}
.af-socials a:hover { background: var(--af-primary); color: #fff; }
.af-contact-item {
  display: flex; gap: 10px; margin-bottom: 12px;
  font-size: 13px; align-items: flex-start;
}
.af-contact-item .ico { color: var(--af-primary); flex-shrink: 0; margin-top: 2px; }
.af-contact-item span { color: #fff; direction: ltr; }

/* ================================================================
   08 — STICKY MOBILE CTA BAR
   ================================================================ */
.af-sticky-cta {
  position: fixed;
  bottom: 16px; left: 16px; right: 16px;
  background: #fff;
  border: 1px solid var(--af-line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(28,38,32,.1);
  padding: 12px;
  display: none;
  z-index: 30;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.af-sticky-cta .p { font-weight: 800; font-size: 18px; }
.af-sticky-cta button {
  background: var(--af-primary); color: #fff; border: 0;
  padding: 12px 20px; border-radius: 10px;
  font-weight: 700; font-size: 14px; cursor: pointer;
}

/* ================================================================
   09 — RESPONSIVE BREAKPOINTS
   ================================================================ */
@media (max-width: 1100px) {
  .af-hero-grid { grid-template-columns: 1fr; gap: 28px; }
  .af-content-grid { grid-template-columns: 1fr; }
  .af-products-grid { grid-template-columns: repeat(3, 1fr); }
  .af-certs-strip { grid-template-columns: 1fr; gap: 16px; }
  .af-footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .af-container { padding: 0 16px; }
  .af-topbar { display: none; }
  .af-header .af-container { grid-template-columns: auto 1fr auto; gap: 12px; }
  .af-search { display: none; }
  .af-nav { display: none; }
  .af-product-hero { padding: 20px; border-radius: 18px; }
  .af-info-col h1 { font-size: 22px; }
  .af-price-card .price ins .amount,
  .af-price-now { font-size: 24px; }
  .af-price-card form.cart { grid-template-columns: 1fr; }
  .af-price-card form.cart .quantity { justify-content: center; }
  .af-benefits { grid-template-columns: 1fr; }
  .af-certs-grid { grid-template-columns: repeat(2, 1fr); }
  .af-tabs-nav { overflow-x: auto; flex-wrap: nowrap; }
  .af-tab-btn { white-space: nowrap; padding: 10px 14px; font-size: 13px; }
  .af-content-main { padding: 20px; }
  .af-reviews-summary { grid-template-columns: 1fr; gap: 18px; padding: 18px; }
  .af-spec-row { grid-template-columns: 130px 1fr; }
  .af-products-grid { grid-template-columns: repeat(2, 1fr); }
  .af-footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .af-sticky-cta { display: grid; }
  body.single-product { padding-bottom: 80px; }
}/* End custom CSS */