.elementor-288 .elementor-element.elementor-element-2b3c870{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-288 .elementor-element.elementor-element-6d10ade{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-288 .elementor-element.elementor-element-9711cd3{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-woocommerce-product-meta .product_meta .detail-container:not(:last-child):after{border-color:var( --e-global-color-text );}.elementor-widget-woocommerce-product-title .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-288 .elementor-element.elementor-element-4533b16{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-288 .elementor-element.elementor-element-e216309{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.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-288 .elementor-element.elementor-element-d11d2a5 .cart button, .elementor-288 .elementor-element.elementor-element-d11d2a5 .cart .button{transition:all 0.2s;}.elementor-288 .elementor-element.elementor-element-d11d2a5 .quantity .qty{transition:all 0.2s;}.elementor-288 .elementor-element.elementor-element-e8f17ef{--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;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-product__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-product__title, .elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .woocommerce-loop-category__title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.woocommerce .elementor-widget-woocommerce-product-related.elementor-wc-products .products > h2{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-related.elementor-wc-products ul.products li.product .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-related.elementor-wc-products ul.products li.product .price ins{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price ins .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price del{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price del .amount{color:var( --e-global-color-primary );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .price del {font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products ul.products li.product .button{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-woocommerce-product-related.elementor-wc-products .added_to_cart{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-288 .elementor-element.elementor-element-dc3f677.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}.elementor-288 .elementor-element.elementor-element-dc3f677.elementor-wc-products ul.products li.product span.onsale{display:block;}@media(max-width:1024px){.elementor-288 .elementor-element.elementor-element-dc3f677.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}@media(max-width:767px){.elementor-288 .elementor-element.elementor-element-dc3f677.elementor-wc-products  ul.products{grid-column-gap:20px;grid-row-gap:40px;}}/* Start custom CSS for container, class: .elementor-element-2b3c870 */@font-face {
  font-family: AGProductVazirmatn;
  src: url('/wp-content/uploads/fonts/Vazirmatn-Regular.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: AGProductLalezar;
  src: url('/wp-content/uploads/fonts/Lalezar-Regular.ttf') format('truetype');
  font-display: swap;
}
.ag-product-v2 {
  --ag-ink: #17212b;
  --ag-muted: #64748b;
  --ag-line: #e2e8f0;
  --ag-surface: #f5f6f8;
  --ag-accent: #ff6508;
  --ag-action: #b83f00;
  --ag-focus: #2563eb;
  --ag-header-edge: 0px;
  --ag-sticky-top: calc(var(--ag-header-edge) + 16px);
  direction: rtl;
  width: 100%;
  max-width: 1440px !important;
  margin-inline: auto;
  padding: clamp(16px, 3vw, 40px) clamp(12px, 2.5vw, 32px) 48px;
  gap: clamp(14px, 2.6vw, 36px);
  color: var(--ag-ink);
  background: white;
  font: 400 15px/1.8 Vazirmatn, AGProductVazirmatn, sans-serif;
}
.ag-product-v2 :is(button, input, select, textarea) { font-family: inherit; }
.ag-product-v2 :is(h1, h2, h3) {
  font: 400 25px/1.25 Lalezar, AGProductLalezar, sans-serif;
  color: var(--ag-ink);
}
.ag-product-v2 :focus-visible { outline: 2px solid var(--ag-focus); outline-offset: 3px; }
.ag-product-v2 .woocommerce-breadcrumb {
  font-size: 12px;
  color: var(--ag-muted);
  margin: 0;
  overflow-wrap: anywhere;
}
.ag-product-v2 .woocommerce-breadcrumb a { color: var(--ag-ink); }
.ag-product-v2 .ag-v2-main {
  display: grid;
  grid-template-columns: minmax(0, 37fr) minmax(0, 40fr) minmax(220px, 23fr);
  grid-template-rows: repeat(2, min-content) auto auto;
  gap: 16px clamp(16px, 2.25vw, 32px);
  align-items: start;
}
.ag-product-v2 .ag-v2-main > * { min-width: 0; width: 100%; }
.ag-product-v2 .ag-v2-gallery { grid-area: 1 / 1 / 4 / 2; }
.ag-product-v2 .ag-v2-heading { grid-area: 1 / 2; gap: 8px; }
.ag-product-v2 .ag-v2-short { grid-area: 2 / 2; color: var(--ag-muted); }
.ag-product-v2 .ag-v2-benefits { grid-area: 3 / 2; }
.ag-product-v2 .ag-v2-tabs { grid-area: 4 / 1 / 5 / 3; }
.ag-product-v2 .ag-v2-rail { grid-area: 1 / 3 / 5 / 4; align-self: stretch; }
.ag-product-v2 .ag-v2-heading .ag-v2-title h1 {
  font: 400 clamp(28px, 2.55vw, 38px) / 1.2 Lalezar, AGProductLalezar, sans-serif !important;
  color: var(--ag-ink) !important;
  margin: 0;
  unicode-bidi: plaintext;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}
.ag-product-v2 .ag-v2-title bdi { display: inline-block; max-inline-size: 100%; }
.ag-product-v2 .ag-english-name { color: var(--ag-muted); margin: 0; text-align: start; }
.ag-product-v2 .ag-v2-category:not(.ag-v2-category-ready) { display: none; }
.ag-product-v2 .ag-v2-category a {
  display: inline-block;
  font-size: 13px;
  color: var(--ag-action);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-inline-end: 8px;
}
.ag-product-v2 .ag-v2-short :last-child { margin-block-end: 0; }
.ag-product-v2 .woocommerce-product-rating { margin: 0; color: var(--ag-muted); font-size: 13px; }
.ag-product-v2 .star-rating span::before { color: var(--ag-action); }
body:not(.elementor-editor-active) .ag-product-v2 :is(
  .ag-v2-notices:not(:has(.woocommerce-message, .woocommerce-error, .woocommerce-info)),
  .ag-v2-brand:not(:has(.ag-brand)), .ag-v2-status:not(:has(.ag-product-facts)),
  .ag-v2-english:not(:has(.ag-english-name)),
  .ag-v2-short:not(:has(.woocommerce-product-details__short-description)),
  .ag-v2-related:not(:has(li.product)), .ag-v2-runtime
) { display: none; }
.ag-product-v2 .ag-v2-gallery :is(.woocommerce-product-gallery, .woocommerce-product-gallery__wrapper) {
  width: 100%;
  float: none;
  margin: 0;
}
.ag-product-v2 .ag-v2-gallery :is(.woocommerce-product-gallery__image, .woocommerce-product-gallery__image--placeholder) {
  display: grid;
  place-items: center;
  aspect-ratio: 1.14;
  border: 1px solid var(--ag-line);
  border-radius: 12px;
  background: var(--ag-surface);
  overflow: hidden;
}
.ag-product-v2 .ag-v2-gallery .woocommerce-product-gallery__image > a { display: grid; width: 100%; height: 100%; place-items: center; }
.ag-product-v2 .ag-v2-gallery .woocommerce-product-gallery__image img:not(.zoomImg) {
  width: 100%; height: 100%; max-height: 420px; object-fit: contain; padding: clamp(10px, 2vw, 24px);
}
.ag-product-v2 .ag-v2-gallery .woocommerce-product-gallery__image--placeholder img {
  width: min(47%, 172px) !important;
  height: auto !important;
  opacity: .64;
  margin-block-end: 42px;
}
.ag-product-v2 .ag-v2-gallery .woocommerce-product-gallery--without-images { opacity: 1 !important; }
.ag-product-v2 .ag-v2-gallery .woocommerce-product-gallery__image--placeholder::after {
  content: 'تصویری برای این محصول ثبت نشده است';
  position: absolute;
  inset-inline: 10px;
  inset-block-end: 21%;
  color: var(--ag-muted);
  font-size: 13px;
  text-align: center;
}
.ag-product-v2 .ag-v2-gallery .flex-control-thumbs {
  display: flex;
  gap: 8px;
  padding: 5px;
  margin: 7px 0 0;
  overflow-x: auto;
}
.ag-product-v2 .ag-v2-gallery .flex-control-thumbs li { flex: 0 0 60px; float: none; }
.ag-product-v2 .ag-v2-gallery .flex-control-thumbs img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  padding: 4px; border: 1px solid var(--ag-line); border-radius: 8px;
  opacity: .72; transition: opacity .18s, border-color .18s;
}
.ag-product-v2 .ag-v2-gallery .flex-control-thumbs img.flex-active { opacity: 1; border-color: var(--ag-accent); }
.ag-product-v2 .ag-v2-gallery .flex-direction-nav {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0;
  padding: 0 8px 62px;
  list-style: none;
  pointer-events: none;
}
.ag-product-v2 .ag-v2-gallery .flex-direction-nav a,
.ag-product-v2 .ag-v2-gallery .ag-v2-gallery-nav button {
  display: grid; place-items: center; min-width: 44px; min-height: 44px;
  padding: 0; border: 1px solid var(--ag-line); border-radius: 8px;
  background: white; color: var(--ag-ink); font-size: 21px; pointer-events: auto;
}
.ag-product-v2 .ag-v2-gallery .ag-v2-gallery-nav {
  position: absolute; inset-inline: 8px; top: 44%; display: flex;
  justify-content: space-between; pointer-events: none;
}
.ag-product-v2 .ag-v2-benefits {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 13px 0;
  margin-block-start: 4px;
  border-block: 1px solid var(--ag-line);
}
.ag-product-v2 .ag-v2-benefit + .ag-v2-benefit { border-inline-start: 1px solid var(--ag-line); }
.ag-product-v2 .ag-v2-benefit { min-width: 0; text-align: center; padding-inline: 4px; font-size: 12px; line-height: 1.5; }
.ag-product-v2 .ag-v2-benefit p { margin: 0; }
.ag-product-v2 .ag-v2-benefit::before {
  content: ''; display: block; width: 24px; height: 24px; margin: 0 auto 8px;
  background: var(--ag-action); mask: var(--ag-benefit-icon) center / contain no-repeat;
}
.ag-product-v2 .ag-v2-shipping { --ag-benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 5h12v12H3zM15 9h3l3 4v4h-6'/%3E%3Ccircle cx='7' cy='17' r='2' fill='white'/%3E%3Ccircle cx='17' cy='17' r='2' fill='white'/%3E%3C/svg%3E"); }
.ag-product-v2 .ag-v2-refund { --ag-benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 10a9 9 0 1 1 1 7M3 5v5h5M12 7v10m3-7H11a2 2 0 1 0 0 4h2'/%3E%3C/svg%3E"); }
.ag-product-v2 .ag-v2-warranty { --ag-benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3 4 6v5c0 5 3 8 8 10 5-2 8-5 8-10V6ZM9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.ag-product-v2 .ag-v2-consulting { --ag-benefit-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 13v-2a8 8 0 0 1 16 0v2M5 12h2v6H5a2 2 0 0 1-2-2v-2a2 2 0 0 1 2-2ZM19 12h-2v6h2a2 2 0 0 0 2-2v-2a2 2 0 0 0-2-2ZM17 18v1a2 2 0 0 1-2 2h-3'/%3E%3C/svg%3E"); }
.ag-product-v2 .ag-v2-card {
  position: sticky;
  top: var(--ag-sticky-top);
  align-self: flex-start;
  padding: clamp(12px, 1.45vw, 22px);
  gap: 14px;
  width: 100%;
  border: 1px solid var(--ag-line);
  border-radius: 12px;
  background: white;
  box-shadow: 0 9px 24px rgb(23 33 43 / 6%);
  max-block-size: calc(100dvh - var(--ag-sticky-top) - 16px);
  overflow-x: hidden;
  overflow-y: auto;
}
.ag-product-v2 .ag-brand {
  display: flex; align-items: center; flex-wrap: wrap; gap: 4px 9px;
  padding-block-end: 10px; border-block-end: 1px solid var(--ag-line);
}
.ag-product-v2 .ag-brand img { width: 36px; height: 26px; object-fit: contain; }
.ag-product-v2 .ag-brand-label { color: var(--ag-muted); font-size: 12px; }
.ag-product-v2 .ag-brand a { color: var(--ag-action); font-size: 12px; width: 100%; text-decoration: underline; }
.ag-product-v2 :is(.ag-v2-price, .woocommerce-variation-price) .price {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px;
  margin: 0; color: var(--ag-ink); font-size: clamp(21px, 1.9vw, 30px); line-height: 1.35;
}
.ag-product-v2 .price del { color: var(--ag-muted); font-size: .62em; opacity: 1; }
.ag-product-v2 .price ins { color: var(--ag-action); text-decoration: none; }
.ag-product-v2 .ag-v2-price p.price { flex-direction: column; align-items: flex-start; }
.ag-product-v2 .ag-v2-price .woocommerce-Price-amount { unicode-bidi: isolate; }
.ag-product-v2 :is(.ag-v2-price, .woocommerce-variation-price) .woocommerce-Price-currencySymbol { font-size: .59em; margin-inline: 4px; }
.ag-product-v2 .ag-product-facts { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; font-size: 12px; }
.ag-product-v2 .ag-sale { color: white; background: var(--ag-action); border-radius: 8px; padding: 2px 7px; }
.ag-product-v2 .ag-stock { color: var(--ag-focus); }
.ag-product-v2 .ag-stock[data-state=outofstock] { color: var(--ag-muted); }
.ag-product-v2 [hidden] { display: none !important; }
.ag-product-v2 .ag-v2-card:has(.ag-stock:not([hidden])) .ag-v2-purchase .stock:not(.woocommerce-variation-availability .stock) { display: none; }
.ag-product-v2 .ag-v2-purchase form.cart { margin: 0; }
.ag-product-v2 .ag-v2-purchase :is(form.cart:not(.variations_form), form.cart .woocommerce-variation-add-to-cart) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  justify-items: start;
  gap: 9px;
  align-items: center;
}
.ag-product-v2 .ag-v2-purchase .cart :is(.variations, select) { max-width: 100%; }
.ag-product-v2 .ag-v2-purchase .variations :is(th, td) { text-align: start; padding-inline: 2px; }
.ag-product-v2 .ag-v2-purchase select { min-height: 44px; border: 1px solid var(--ag-line); border-radius: 8px; }
.ag-product-v2 .ag-v2-purchase :is(.quantity, .single_add_to_cart_button) { float: none; margin: 0; }
.ag-product-v2 .ag-v2-quantity { display: inline-flex; align-items: center; border: 1px solid var(--ag-line); border-radius: 8px; }
.ag-product-v2 .ag-v2-purchase .quantity .qty { min-block-size: 44px; inline-size: 50px; padding: 0; text-align: center; }
.ag-product-v2 .ag-v2-quantity .quantity .qty { border: 0; appearance: textfield; }
.ag-product-v2 .ag-v2-quantity .qty::-webkit-inner-spin-button { appearance: none; }
.ag-product-v2 .ag-v2-quantity button {
  width: 44px; height: 44px; padding: 0; font-size: 19px;
  border: 0; background: transparent; color: var(--ag-ink);
}
.ag-product-v2 .ag-v2-quantity button:disabled { opacity: .42; }
.ag-product-v2 .ag-v2-purchase form.cart button.single_add_to_cart_button,
.ag-product-v2 .ag-v2-mobile button {
  display: inline-flex; justify-content: center; align-items: center;
  min-height: 46px; padding: 8px 13px; border: 0; border-radius: 8px;
  background: var(--ag-action); color: white; font-size: 14px;
  transition: transform .16s ease, background-color .16s ease;
}
.ag-product-v2 .ag-v2-purchase form.cart button.single_add_to_cart_button {
  width: 100% !important;
  min-width: 0;
  margin: 0 !important;
  white-space: normal;
  background: var(--ag-action);
}
.ag-product-v2 :is(.ag-v2-purchase form.cart button.single_add_to_cart_button, .ag-v2-mobile button):hover { background: var(--ag-ink); }
.ag-product-v2 :is(.ag-v2-quantity button, .ag-v2-purchase .single_add_to_cart_button, .ag-v2-mobile button):active { transform: scale(.97); }
.ag-product-v2 [aria-busy=true] .single_add_to_cart_button::after {
  content: ''; width: 14px; height: 14px; margin-inline-start: 8px;
  border: 2px solid currentColor; border-inline-end-color: transparent; border-radius: 50%;
  animation: ag-v2-spin .65s linear infinite;
}
@keyframes ag-v2-spin { to { transform: rotate(360deg); } }
.ag-product-v2 .ag-v2-tabs { margin-block-start: 12px; min-width: 0; }
.ag-product-v2 .ag-v2-tabs :is(.wc-tabs, .ag-v2-section-links) {
  display: flex; flex-wrap: wrap; gap: 4px 15px; padding: 0; margin: 0;
  list-style: none;
  border-block-end: 1px solid var(--ag-line); background: white;
}
.ag-product-v2 .ag-v2-tabs :is(.wc-tabs, .ag-v2-section-links)::before,
.ag-product-v2 .ag-v2-tabs :is(.wc-tabs, .ag-v2-section-links) li::before,
.ag-product-v2 .ag-v2-tabs :is(.wc-tabs, .ag-v2-section-links) li::after { display: none; }
.ag-product-v2 .ag-v2-tabs .woocommerce-tabs :is(.wc-tabs, .ag-v2-section-links) li {
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
.ag-product-v2 .ag-v2-tabs :is(.wc-tabs, .ag-v2-section-links) a::before {
  content: '';
  width: 1em;
  height: 1em;
  border: 1.5px solid currentColor;
  border-radius: 3px;
  background: repeating-linear-gradient(currentColor 0 1px, transparent 1px 4px) center / 58% 50% no-repeat;
}
.ag-product-v2 .ag-v2-tabs :is(.wc-tabs, .ag-v2-section-links) a[href$="additional_information"]::before { border-radius: 1px; background-size: 100% 52%; }
.ag-product-v2 .ag-v2-tabs :is(.wc-tabs, .ag-v2-section-links) a[href$="tab-reviews"]::before { border-radius: 4px 4px 4px 0; }
.ag-product-v2 .ag-v2-tabs :is(.wc-tabs, .ag-v2-section-links) a {
  display: inline-flex; min-height: 44px; align-items: center; gap: 5px;
  color: var(--ag-ink); border-block-end: 3px solid transparent; padding-inline: 4px;
  font-size: clamp(12px, 1.3vw, 15px); font-weight: 400;
  transition: color .18s, border-color .18s;
}
.ag-product-v2 .ag-v2-tabs :is(.wc-tabs, .ag-v2-section-links) :is(.active a, a[aria-current]) { color: var(--ag-action); border-color: var(--ag-accent); }
.ag-product-v2 .ag-v2-section-nav { position: sticky; z-index: 4; top: var(--ag-header-edge); }
.ag-product-v2 .ag-v2-tabs.ag-v2-anchors .wc-tab:not([hidden]) { display: block !important; }
.ag-product-v2 .ag-v2-tabs .wc-tab {
  margin: 0; padding: clamp(16px, 3vw, 32px) 0; color: var(--ag-ink);
  line-height: 1.95; overflow-wrap: anywhere;
  scroll-margin-block-start: calc(var(--ag-header-edge) + var(--ag-section-nav-height, 48px) + 12px);
}
.ag-product-v2 .ag-v2-tabs .wc-tab + .wc-tab { border-block-start: 1px solid var(--ag-line); }
.ag-product-v2 .ag-v2-tabs .wc-tab :is(p, ul, ol) { max-width: 72ch; }
.ag-product-v2 .ag-v2-tabs .wc-tab :is(h2, h3, h4) { margin-block: .65em .45em; }
.ag-product-v2 .ag-v2-tabs .wc-tab a { color: var(--ag-focus); text-decoration: underline; }
.ag-product-v2 .ag-v2-tabs .wc-tab :is(img, video, iframe) { max-width: 100%; }
.ag-product-v2 .ag-v2-tabs .wc-tab img { height: auto; }
.ag-product-v2 .ag-v2-tabs .wc-tab pre { overflow: auto; }
.ag-product-v2 .ag-v2-tabs .wc-tab table:not(.woocommerce-product-attributes) { display: block; max-width: 100%; overflow-x: auto; }
.ag-product-v2 .ag-v2-tabs .woocommerce-product-attributes { border: 1px solid var(--ag-line); border-collapse: collapse; }
.ag-product-v2 .woocommerce-product-attributes :is(th, td) { padding: 10px; border-block-end: 1px solid var(--ag-line); text-align: start; }
.ag-product-v2 .woocommerce-product-attributes th { background: var(--ag-surface); width: 38%; font-weight: 400; }
.ag-product-v2 .woocommerce-product-attributes td { background: white; font-style: normal; }
.ag-product-v2 #reviews :is(input, textarea) { max-width: 100%; }
.ag-product-v2 .ag-v2-related { min-width: 0; }
.ag-product-v2 .ag-v2-related section.related {
  padding: clamp(12px, 2.5vw, 28px);
  border-radius: 12px;
  background: linear-gradient(90deg, #2563eb, #17212b 65%) top / 100% 155px no-repeat;
  border: 1px solid var(--ag-line);
}
.ag-product-v2 .ag-v2-related section.related > h2 {
  color: white !important;
  font: 400 27px / 1.2 Lalezar, AGProductLalezar, sans-serif !important;
  margin: 0 0 16px; padding-inline-start: 9px;
  border-inline-start: 4px solid var(--ag-accent);
}
.ag-product-v2 .ag-v2-related ul.products {
  display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: calc((100% - 48px) / 5); gap: 12px; overflow-x: auto;
  scroll-snap-type: x mandatory; padding: 4px; margin: 0;
}
.ag-product-v2 .ag-v2-related ul.products::before,
.ag-product-v2 .ag-v2-related ul.products::after { display: none; }
.ag-product-v2 .ag-v2-related ul.products li.product {
  display: flex; flex-direction: column; float: none; margin: 0; width: auto; min-width: 0;
  border: 1px solid var(--ag-line); border-radius: 12px; padding: 10px; background: white;
  scroll-snap-align: start; text-align: start; overflow-wrap: anywhere;
}
.ag-product-v2 .ag-v2-related ul.products:has(> li.product:only-child) { grid-auto-columns: min(100%, 280px); }
.ag-product-v2 .ag-v2-related li.product img { aspect-ratio: 1.4; object-fit: contain; background: var(--ag-surface); border-radius: 8px; }
.ag-product-v2 .ag-v2-related li.product .woocommerce-loop-product__title {
  font: 400 14px/1.55 Vazirmatn, AGProductVazirmatn, sans-serif !important;
  color: var(--ag-ink) !important;
}
.ag-product-v2 .ag-v2-related li.product .price { color: var(--ag-ink) !important; }
.ag-product-v2 .ag-v2-related li.product .button {
  align-self: start; margin-block-start: auto; padding: 8px; border: 1px solid var(--ag-line);
  background: white; color: var(--ag-action); font-size: 12px; line-height: 1.6;
}
.ag-product-v2 .ag-v2-related-controls { display: flex; justify-content: end; gap: 6px; margin: 0 0 8px; }
.ag-product-v2 .ag-v2-related-controls button {
  width: 44px; height: 44px; padding: 0; border-radius: 8px; border: 1px solid var(--ag-line);
  color: var(--ag-ink); background: white; font-size: 21px;
}
.ag-product-v2 .ag-v2-related-controls button:disabled { opacity: .55; }
.ag-product-v2 .ag-v2-mobile { display: none; }
@media (min-width: 1024px) and (max-height: 550px) {
  .ag-product-v2 .ag-v2-card { position: static; max-block-size: none; overflow: visible; }
}
@media (max-width: 1023px) {
  .ag-product-v2 .ag-v2-main { display: flex; flex-direction: column; align-items: stretch; }
  .ag-product-v2 .ag-v2-card { position: static; max-block-size: none; overflow: visible; }
  .ag-product-v2 .ag-v2-gallery .woocommerce-product-gallery__image { max-block-size: 420px; }
  .ag-product-v2 .ag-v2-related ul.products { grid-auto-columns: calc((100% - 24px) / 3); }
}
@media (max-width: 767px) {
  .ag-product-v2 .ag-v2-card { gap: 11px; }
  .ag-product-v2 .ag-v2-heading .ag-v2-title h1 { font-size: clamp(27px, 7vw, 35px) !important; }
  .ag-product-v2 .ag-v2-benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 0; }
  .ag-product-v2 .ag-v2-benefit { padding: 11px 5px; }
  .ag-product-v2 .ag-v2-benefit:nth-child(3) { border-inline-start: 0; }
  .ag-product-v2 .ag-v2-benefit:nth-child(n+3) { border-block-start: 1px solid var(--ag-line); }
  .ag-product-v2 .ag-v2-related ul.products { grid-auto-columns: minmax(146px, 61%); }
  .ag-product-v2 .ag-v2-mobile {
    display: flex; position: fixed; inset-inline: 0; z-index: 90;
    bottom: var(--ag-mobile-offset, env(safe-area-inset-bottom, 0px));
    justify-content: space-between; align-items: center; gap: 8px;
    padding: 7px max(12px, env(safe-area-inset-right, 0px)); border-block-start: 1px solid var(--ag-line);
    background: white; box-shadow: 0 -4px 12px rgb(23 33 43 / 6%);
    animation: ag-v2-enter .18s ease both;
  }
  .ag-product-v2.ag-v2-mobile-show { padding-block-end: 108px; }
  .ag-product-v2 .ag-v2-mobile .woocommerce-Price-currencySymbol { margin-inline: 4px; }
}
@keyframes ag-v2-enter { from { opacity: 0; transform: translateY(8px); } }
@media (max-height: 550px) {
  .ag-product-v2 .ag-v2-section-nav { position: static; }
}
@media (prefers-reduced-motion: reduce) {
  .ag-product-v2 *, .ag-product-v2 *::before, .ag-product-v2 *::after {
    animation-duration: .01ms !important; transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}/* End custom CSS */