/**
 * Theme Name:     Hello Elementor Child
 * Author:         Elementor Team
 * Version:        1.3.0
 * Template:       hello-elementor
 * Text Domain:	   hello-elementor-child
 * Description:    Hello Elementor is a lightweight and minimalist WordPress theme that was built specifically to work seamlessly with the Elementor site builder plugin. The theme is free, open-source, and designed for users who want a flexible, easy-to-use, and customizable website. The theme, which is optimized for performance, provides a solid foundation for users to build their own unique designs using the Elementor drag-and-drop site builder. Its simplicity and flexibility make it a great choice for both beginners and experienced Web Creators.
 */

/* Modern Minimal Scrollbar Styling */

/* ===================================
   BONYANSOFT PRODUCT TYPOGRAPHY
   Clean RTL Product Description
=================================== */

body.single-product {
  --bny-text: #334155;
  --bny-heading: #17243b;
  --bny-accent: #009fe3;
}

/* Main product description */
body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) {
  direction: rtl;
  text-align: right;
}

/* Paragraphs */
body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) p {
  font-size: 16px !important;
  line-height: 2.25 !important;
  color: var(--bny-text) !important;
  font-weight: 400;
  margin: 0 0 20px !important;
  text-align: right;
  overflow-wrap: break-word;
}

/* Main headings */
body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) h2 {
  font-size: 26px !important;
  line-height: 1.7 !important;
  font-weight: 800 !important;
  color: var(--bny-heading) !important;
  margin: 36px 0 22px !important;
  padding: 8px 16px 8px 0;
  border-right: 4px solid var(--bny-accent);
  background: linear-gradient(
    270deg,
    #f0f9ff 0%,
    transparent 85%
  );
  border-radius: 0 8px 8px 0;
  text-align: right;
}

/* Secondary headings */
body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) h3 {
  font-size: 21px !important;
  font-weight: 750 !important;
  line-height: 1.8 !important;
  color: var(--bny-heading) !important;
  margin: 28px 0 16px !important;
  text-align: right;
}

/* Lists inside product descriptions */
body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) :is(ul, ol) {
  padding-right: 28px !important;
  padding-left: 0 !important;
  margin: 12px 0 24px !important;
}

body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) li {
  font-size: 15.5px !important;
  line-height: 2.2 !important;
  color: var(--bny-text) !important;
  margin-bottom: 9px !important;
}

body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) li::marker {
  color: var(--bny-accent);
}

/* Bold text */
body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) strong {
  font-weight: 750 !important;
  color: #172b4d;
}

/* Links */
body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) a {
  color: #028ac9;
  text-decoration-color: #b7def2;
  text-underline-offset: 4px;
  transition: color .2s ease;
}

body.single-product :is(
  #intro,
  .woocommerce-Tabs-panel--description,
  .elementor-widget-woocommerce-product-content,
  .elementor-widget-theme-post-content
) a:hover {
  color: #00689d;
}

/* Short product description beside image */
body.single-product :is(
  .woocommerce-product-details__short-description,
  .elementor-widget-woocommerce-product-short-description
) :is(p, li) {
  font-size: 14px !important;
  line-height: 2.1 !important;
  color: #46556b !important;
}

/* Mobile typography */
@media (max-width: 767px) {
  body.single-product :is(
    #intro,
    .woocommerce-Tabs-panel--description,
    .elementor-widget-woocommerce-product-content,
    .elementor-widget-theme-post-content
  ) p {
    font-size: 14.5px !important;
    line-height: 2.15 !important;
  }

  body.single-product :is(
    #intro,
    .woocommerce-Tabs-panel--description,
    .elementor-widget-woocommerce-product-content,
    .elementor-widget-theme-post-content
  ) h2 {
    font-size: 21px !important;
    margin: 26px 0 16px !important;
  }

  body.single-product :is(
    #intro,
    .woocommerce-Tabs-panel--description,
    .elementor-widget-woocommerce-product-content,
    .elementor-widget-theme-post-content
  ) h3 {
    font-size: 18px !important;
  }
}

/* Firefox */
* {
	scrollbar-width: thin;
	scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}

/* Webkit browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
	width: 8px;
	height: 8px;
}

*::-webkit-scrollbar-track {
	background: transparent;
}

*::-webkit-scrollbar-thumb {
	background-color: rgba(0, 0, 0, 0.2);
	border-radius: 10px;
	border: 2px solid transparent;
	background-clip: content-box;
	transition: background-color 0.2s ease;
}

*::-webkit-scrollbar-thumb:hover {
	background-color: rgba(0, 0, 0, 0.35);
}

*::-webkit-scrollbar-thumb:active {
	background-color: rgba(0, 0, 0, 0.5);
}

/* For horizontal scrollbars */
*::-webkit-scrollbar:horizontal {
	height: 8px;
}

/* Smooth scroll behavior */
html {
	scroll-behavior: smooth;
}
/* باز شدن منوی تماس به سمت راست دکمه، نه بیرون صفحه */
.vican-fab-container .vican-fab-menu {
  right: auto !important;
  left: 0 !important;
  transform-origin: left bottom;
}

/* افکت hover به سمت داخل صفحه */
.vican-fab-container .vican-fab-menu.active .vican-fab-item:hover {
  transform: translateX(3px);
}

/* موبایل: دکمه بالاتر از منوی پایین سایت + جلوگیری از بیرون زدن منو */
@media (max-width: 768px) {
  .vican-fab-container {
    bottom: 86px;
  }
  .vican-fab-container .vican-fab-menu {
    min-width: 0;
    max-width: calc(100vw - 24px);
  }
}
/* Bonyan v1.1: product comparison table stays visible on narrow screens. */
.bny-theme-comparison { max-width: 100%; overflow-x: auto; }
.bny-theme-comparison .tablepress { max-width: 100%; width: 100%; }
.bny-theme-table-notice { border: 1px solid #d4a22a; background: #fff8e1; padding: 12px; margin: 12px 0; border-radius: 6px; }
/* Bonyan: features list under the short description (light card; the global .feat-text is white for the dark section). */
.bnyfe-in-short { margin-top: 12px; }
.bnyfe-in-short .feat-text { color: inherit !important; }
