.av-home-stage {
  border-block: 1px solid #eeeff1;
  background: linear-gradient(90deg, #f3f4f6, #fff 20%, #fff 80%, #f3f4f6);
}
.av-home {
  color-scheme: light;
  --paper: #fff;
  --canvas: #f7f8fa;
  --ink: #19291d;
  --muted: #47564a;
  --line: #e4e6eb;
  --brand: #23612e;
  --brand-deep: #123e23;
  --tint: #eef4f1;
  --radius: 18px;
  width: min(100% - 56px, 1440px);
  margin-inline: auto;
  padding-block: 20px 56px;
  color: var(--ink);
  font: 15px/1.65 IRANYekan, Tahoma, sans-serif;
  direction: rtl;
  text-align: start;
}

@scope (.av-home) {
*, *::before, *::after { box-sizing: border-box; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:where(a, button):focus-visible { outline: 2px solid #287d38; outline-offset: 3px; }
h2, h3, p { margin: 0; color: inherit; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.campaign { margin-bottom: 22px; }
.campaign-mobile { display: none; }
.campaign .metaslider { border-radius: var(--radius); overflow: hidden; }
.special-spotlight { touch-action: pan-y pinch-zoom; }
.special-spotlight.is-dragging .special-media img { transform: translateX(var(--slide-drag, 0)); }
.arrow { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--brand); font: 26px/1 Arial, sans-serif; }
.arrow[data-direction]::before, .chevron::before { content: ""; display: block; width: 8px; height: 8px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: rotate(-135deg); }
.arrow[data-direction="previous"]::before { transform: rotate(45deg); }
.chevron { display: grid; place-items: center; }
.arrow:disabled { opacity: .38; cursor: default; }
.row-motion::before { content: ""; width: 4px; height: 13px; border-radius: 2px; background: currentColor; box-shadow: 7px 0 currentColor; transform: translateX(-3.5px); }
.row-motion[data-paused="true"]::before { width: 12px; height: 13px; border-radius: 0; box-shadow: none; transform: translateX(1px); clip-path: polygon(0 0, 100% 50%, 0 100%); }
.special { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 31%); gap: 12px; border-radius: 21px; padding: clamp(12px, 2vw, 25px); margin: 0 0 28px; background: radial-gradient(ellipse at 10% 112%, #f77452, transparent 56%), linear-gradient(105deg, #b52346, #8b1939); color: #fff; }
.special-header { grid-column: 1 / -1; display: flex; align-items: center; margin-bottom: 4px; }
.special-header h2 { display: flex; align-items: center; gap: 11px; font-size: clamp(23px, 2.4vw, 33px); font-weight: 800; }
#special-title { color: #fff !important; }
.special-header svg { width: 28px; height: 28px; fill: #ffd58a; }
.special-spotlight { display: grid; grid-template-columns: 1fr 0.9fr; background: #fff; color: #221e2a; border-radius: 15px; overflow: hidden; min-width: 0; }
.special-copy { display: grid; align-content: center; justify-items: start; gap: 11px; min-width: 0; padding: clamp(15px, 2.25vw, 32px); }
.special-name { font-weight: 800; font-size: clamp(17px, 1.8vw, 28px); line-height: 1.5; }
.special-price { font-size: clamp(17px, 1.7vw, 24px); font-weight: 800; color: #942342; }
.special-highlights { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; color: #503c46; font-size: 12px; }
.special-highlights li { display: flex; align-items: center; gap: 7px; }
.special-highlights li::before { content: ""; flex: 0 0 5px; height: 5px; border-radius: 50%; background: #be4c60; }
.special-cta { display: flex; align-items: center; gap: 12px; padding: 9px 13px; border-radius: 8px; background: #a02246; color: #fff; font-weight: 700; }
.special-cta:hover { color: #fff; background: #78162f; }
.special-media { position: relative; display: grid; place-items: center; min-height: 285px; padding: 14px; border-inline-start: 1px solid #f1e8eb; background: #fff; }
.special-media img { width: min(100%, 290px); height: min(28vw, 290px); object-fit: contain; }
.special-navigation { min-width: 0; display: grid; align-content: start; gap: 7px; }
.special-nav-top, .special-arrows { display: flex; align-items: center; gap: 6px; }
.special-nav-top { justify-content: space-between; }
.special-position { color: #fff; font-size: 12px; font-weight: 700; }
.special-arrows .arrow { background: #fff; border-color: #fff; color: #89233c; }
.special-thumbs { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.special-thumb { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; align-items: center; min-width: 0; padding: 5px 7px; border: 1px solid transparent; border-radius: 9px; background: #fff7f3; color: #33212a; text-align: start; }
.special-thumb[aria-pressed="true"] { border-color: #ffc574; box-shadow: inset 0 0 0 1px #ffc574; background: #ffe3c3; }
.special-thumb img { height: 45px; width: 100%; object-fit: contain; background: #fff; border-radius: 4px; }
.special-thumb-copy { display: grid; gap: 2px; min-width: 0; }
.special-thumb-name { font-size: 11px; font-weight: 700; overflow-wrap: anywhere; }
.special-thumb-price { color: #822641; font-size: 11px; }
.section { margin-top: 34px; min-width: 0; }
.product-section { padding: clamp(12px, 1.6vw, 23px); border: 1px solid var(--line); border-radius: var(--radius); background: #ffffffaa; }
#featured .section { margin-top: 8px; }
.section-header { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.section-header h2 { font-size: clamp(18px, 1.65vw, 25px); letter-spacing: -.025em; }
.section-actions { display: flex; align-items: center; gap: 7px; }
.section-link { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; padding: 6px 11px; min-height: 36px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--brand); font-size: 12px; font-weight: 700; }
.section-link:hover { border-color: #73a579; }
.product-list { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 5); direction: rtl; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 4px; overscroll-behavior-inline: contain; scrollbar-width: thin; scrollbar-color: #9ab59d transparent; padding: 4px 4px 12px; margin-inline: -4px; }
.featured .product-list { grid-auto-columns: calc((100% - 28px) / 3); }
.product-list.is-dragging { scroll-snap-type: none; }
.product-list.is-dragging, .product-list.is-dragging *, .special-spotlight.is-dragging { cursor: grabbing; user-select: none; }
.product-list img, .special-spotlight img { -webkit-user-drag: none; }
.product-card { min-width: 0; height: 100%; background: var(--paper); border: 1px solid var(--line); border-radius: 15px; padding: 12px; display: flex; flex-direction: column; scroll-snap-align: start; }
.product-card:hover { border-color: #73a579; }
.product-media { display: block; position: relative; overflow: hidden; height: clamp(105px, 12vw, 170px); background: #fff; border-radius: 10px; padding: 9px; }
.product-media img { width: 100%; height: 100%; object-fit: contain; }
.product-card h3 { direction: rtl; text-align: start; font-size: 13px; line-height: 1.65; font-weight: 600; margin-top: 10px; min-height: 3.3em; overflow-wrap: anywhere; }
.product-end { display: flex; align-items: center; justify-content: space-between; gap: 5px; padding-top: 9px; margin-top: auto; border-top: 1px solid #eceef2; }
.price { font-size: clamp(12px, 1.05vw, 16px); font-weight: 800; font-variant-numeric: tabular-nums; }
.price small { font-size: 11px; font-weight: 500; color: var(--muted); }
.price.inquiry { color: var(--brand); font-size: 12px; }
.product-arrow { flex: 0 0 27px; height: 27px; display: grid; place-items: center; color: var(--brand); border-radius: 50%; background: var(--tint); font: 21px/1 Arial, sans-serif; }
.category-band { padding: clamp(12px, 2.2vw, 28px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.categories { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 9px; }
.category { min-width: 0; display: grid; place-items: center; align-content: center; gap: 7px; padding: 11px 4px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: #1c3624; text-align: center; font-size: 12px; font-weight: 700; }
.category:hover { border-color: #63946b; }
.category-media { width: min(100%, 88px); height: 88px; border-radius: 15px; background: #f3f4f7; display: grid; place-items: center; }
.category img { width: min(100%, 78px); height: 78px; object-fit: contain; }
.business { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.business a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(115px, 40%); align-items: center; min-height: 150px; padding: 7px 17px 7px 6px; overflow: hidden; border: 1px solid transparent; border-radius: 17px; }
.business .business-wholesale { background: linear-gradient(115deg, #ffe2aa, #fff0dc 75%); color: #4a2e22; border-color: #ead4b5; }
.business .business-company { background: linear-gradient(115deg, #225473, #16314c 76%); color: #fff; }
.business a:hover .business-arrow { transform: translateX(-3px); }
.business-copy { display: grid; align-content: center; justify-items: start; gap: 15px; padding-inline-start: clamp(1px, 1.2vw, 16px); }
.business-copy strong { font-size: clamp(15px, 1.8vw, 24px); font-weight: 800; }
.business-art { width: 100%; max-height: 145px; }
.business-arrow { width: 29px; height: 29px; border: 1px solid currentColor; border-radius: 50%; transition: transform 160ms ease; }
.consultation { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: linear-gradient(115deg, #2d416a, #202a48 69%); border: 1px solid #263551; border-radius: var(--radius); padding: 22px; color: #fff; }
.consultation-copy { display: flex; align-items: center; gap: 14px; }
.consultation-icon { display: grid; place-items: center; flex: 0 0 46px; height: 46px; border-radius: 10px; background: #405682; color: #fff; }
.consultation-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
#consultation-title { font-size: clamp(15px, 1.5vw, 22px); font-weight: 800; color: #fff !important; }
.consultation-copy p { font-size: 13px; color: #edf2ff !important; }
.consultation a { padding: 9px 16px; border-radius: 8px; background: #e5edfc; color: #1b2849 !important; font-weight: 800; white-space: nowrap; text-align: center; direction: ltr; unicode-bidi: isolate; }
.consultation a:hover { background: #fff; }
.brands { display: flex; overflow: auto; scrollbar-width: thin; padding-bottom: 8px; }
.brand-track { display: flex; flex: 0 0 auto; gap: 10px; padding-inline-end: 10px; }
.brands a { display: grid; place-items: center; min-height: 80px; border: 1px solid var(--line); background: #fff; border-radius: 12px; }
.brand-track a { width: clamp(88px, 10vw, 134px); }
.brands img { width: 74px; height: 54px; object-fit: contain; }
.editorial { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.editorial a:where(.editorial-card) { display: grid; align-items: center; grid-template-columns: 88px 1fr; gap: 12px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px; margin-top: 8px; font-weight: 600; font-size: 13px; }
.editorial-card img { object-fit: cover; width: 88px; height: 58px; border-radius: 6px; background: var(--tint); }
.tutorial-banner { margin-block-start: clamp(22px, 2.8vw, 38px); }
.tutorial-banner a, .tutorial-banner img { display: block; width: 100%; }
.tutorial-banner img { border-radius: var(--radius); }

@media (max-width: 991px) {
  .campaign-desktop { display: none; }
  .campaign-mobile { display: block; }
}
@media (max-width: 900px) {
  :scope { width: calc(100% - 36px); }
  .categories { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .product-list { grid-auto-columns: calc((100% - 42px) / 4); }
}
@media (max-width: 600px) {
  :scope { width: calc(100% - 24px); padding-top: 12px; }
  .special { grid-template-columns: minmax(0, 1fr); margin-bottom: 24px; padding: 11px; border-radius: 15px; }
  .special-header { margin-bottom: 9px; }
  .special-spotlight { grid-template-columns: minmax(0, 1fr); border-radius: 11px; }
  .special-media { grid-row: 1; min-height: 0; padding: 0 10px; border-inline-start: 0; border-block-end: 1px solid #f1e8eb; }
  .special-media img { height: 155px; }
  .special-copy { gap: 7px; min-height: auto; padding: 12px; }
  .special-highlights { line-height: 1.6; }
  .special-highlights li:nth-child(n + 3) { display: none; }
  .special-name { font-size: 16px; }
  .special-price { font-size: 17px; }
  .special-navigation { gap: 5px; }
  .special-thumbs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .special-thumb { grid-template-columns: 29px minmax(0,1fr); gap: 5px; padding: 4px; }
  .special-thumb img { height: 32px; }
  .special-thumb-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .special-thumb-price { font-size: 10px; }
  .section { margin-top: 24px; }
  .section-header { margin-bottom: 8px; }
  .featured .product-list { grid-auto-columns: calc((100% - 12px) / 2.13); }
  .product-list { grid-auto-columns: calc((100% - 12px) / 2.13); gap: 8px; }
  .product-card { padding: 8px; }
  .product-media { height: 108px; }
  .product-card h3 { font-size: 12px; }
  .categories { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .category { font-size: 11px; }
  .category-media { width: min(100%, 70px); height: 70px; border-radius: 12px; }
  .category img { width: min(100%, 62px); height: 62px; }
  .business, .editorial { grid-template-columns: 1fr; gap: 8px; }
  .consultation { flex-wrap: wrap; padding: 12px; }
  .consultation-copy { gap: 8px; }
  .consultation a { margin-inline-start: 54px; }
  .editorial .section + .section { margin-top: 12px; }
  .arrow { min-width: 44px; min-height: 44px; }
  .section-actions .arrow { min-width: 36px; min-height: 40px; }
  .section-link { min-height: 40px; padding-inline: 8px; }
  .business a { min-height: 115px; }
  .business-art { max-height: 105px; }
}
@media (max-width: 370px) {
  .section-header { flex-wrap: wrap; }
}
}
