[hidden] { display: none !important; }

body { min-width: 320px; }

/* Product page: use stable semantic classes instead of Tailwind arbitrary values.
   These rules remain available in the published CSS build and keep desktop content side by side. */
.sn-product-overview {
  display: grid;
  gap: 2rem;
}

/* Desktop storefront composition
   The mobile storefront has its own DOM and rules below 768px. Keeping this
   layer behind a desktop media query makes the reference-led desktop refresh
   independent from the established mobile experience. */
@media (min-width: 1024px) {
  :root {
    --sanat-navy: #082e63;
    --sanat-navy-deep: #052653;
    --sanat-orange: #f45a0b;
    --sanat-line: #e4e9f0;
  }

  body.sanat-home {
    color: #172b49;
    background: #fff;
  }

  .sanat-home .container-shell,
  .sanat-home-header .container-shell,
  .sanat-site-header .container-shell,
  .sanat-footer .container-shell {
    width: min(100% - 4rem, 1800px);
    max-width: 1800px;
    margin-inline: auto;
  }

  .sanat-home-header,
  .sanat-site-header {
    border-color: #e7ebf0;
    background: rgb(255 255 255 / .98);
    box-shadow: 0 2px 12px rgb(8 46 99 / .055);
  }

  .sanat-home-header > .bg-ink,
  .sanat-site-header > .bg-ink {
    background: var(--sanat-navy-deep);
  }

  .sanat-home-header .sanat-header-row,
  .sanat-site-header .sanat-header-row {
    display: grid;
    min-height: 88px;
    grid-template-columns: auto minmax(22rem, 1fr) auto;
    gap: 0;
    padding-block: .7rem;
  }

  /* The reference landing keeps the brand on the left and the account/cart
     actions on the right, while the rest of the store can retain RTL content. */
  .sanat-home-header .sanat-header-row { direction: ltr; }
  .sanat-home-header .sanat-header-row { grid-template-columns: 1fr minmax(34rem, 38rem) 1fr; }
  .sanat-home-header .sanat-store-brand { min-width: 0; direction: rtl; justify-self: start; }
  .sanat-home-header .sanat-search { direction: rtl; }
  .sanat-home-header .sanat-header-actions {
    direction: rtl;
    justify-self: end;
    margin: 0 !important;
  }

  .sanat-home-header .sanat-header-actions > div { display: none !important; }
  .sanat-home-header .sanat-header-actions > a { min-width: 5.25rem; }

  /* Photo reference uses a single compact header row on the landing page. */
  .sanat-home-header > nav { display: none; }

  .sanat-home-header .sanat-store-brand,
  .sanat-site-header .sanat-store-brand { min-width: 10.5rem; }

  .sanat-home-header .sanat-store-brand__logo,
  .sanat-site-header .sanat-store-brand__logo {
    max-width: 10.8rem;
    height: 3.15rem;
  }

  .sanat-home-header .sanat-store-brand__fallback,
  .sanat-site-header .sanat-store-brand__fallback {
    color: #fff;
    background: var(--sanat-orange);
  }

  .sanat-home-header .sanat-store-brand__name,
  .sanat-site-header .sanat-store-brand__name {
    color: var(--sanat-navy);
    font-size: 1.15rem;
  }

  .sanat-home-header .sanat-search,
  .sanat-site-header .sanat-search {
    order: initial;
    width: 100%;
    margin: 0;
  }

  .sanat-home-header .sanat-search input[type=search],
  .sanat-site-header .sanat-search input[type=search] {
    height: 3rem;
    border-color: #dfe4ea;
    border-radius: .8rem;
    color: #243650;
    background: #fbfcfd;
    box-shadow: inset 0 1px 2px rgb(15 23 42 / .025);
  }

  .sanat-home-header .sanat-header-actions,
  .sanat-site-header .sanat-header-actions {
    margin-inline-start: 0;
    color: var(--sanat-navy);
  }

  .sanat-home-header .sanat-header-actions a,
  .sanat-site-header .sanat-header-actions a { color: #334765; }

  .sanat-home-header nav,
  .sanat-site-header nav { border-color: #edf0f4; }

  .sanat-home-header nav > .container-shell,
  .sanat-site-header nav > .container-shell {
    height: 32px;
    min-height: 32px;
    color: #2f425e;
  }

  .sanat-home-header nav button,
  .sanat-site-header nav a { height: 32px; padding-block: 0; }

  #main-content {
    display: flex;
    flex-direction: column;
    padding-top: 0;
  }

  #main-content > .sanat-home-hero { order: 1; }
  #main-content > .sanat-home-categories { order: 2; }
  #main-content > .sanat-home-deals { order: 3; }
  #main-content > .sanat-home-brand-section { order: 4; }
  #main-content > .sanat-home-benefits { order: 5; }
  #main-content > .sanat-home-project { order: 6; }
  #main-content > .sanat-home-latest { order: 7; }
  #main-content > .sanat-home-blog { order: 8; }

  .sanat-home-hero {
    position: relative;
    width: min(100% - 4rem, 1800px);
    margin-inline: auto;
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .sanat-home-hero > .container-shell {
    position: relative;
    display: flex;
    width: 100%;
    max-width: none;
    margin: 0;
    min-height: clamp(270px, 21vw, 355px);
    align-items: center;
    justify-content: flex-start;
    padding: 1.45rem clamp(2.25rem, 4.5vw, 4.5rem);
    overflow: hidden;
    border-radius: 1.35rem;
    direction: ltr;
    background: linear-gradient(90deg, #062d61 0 42%, #0a427f 55%, #ff5c0d 55% 100%);
    box-shadow: 0 16px 38px rgb(8 46 99 / .14);
  }

  .sanat-home-hero > .container-shell::before {
    position: absolute;
    z-index: 1;
    inset-block: 0;
    right: 0;
    width: 62%;
    background: url('../images/electrobar-hero.png') center / cover no-repeat;
    content: '';
    mix-blend-mode: multiply;
    opacity: .96;
    transform: scaleX(-1);
  }

  .sanat-home-hero > .container-shell::after {
    position: absolute;
    left: 0;
    width: 48%;
    bottom: 1rem;
    color: #fff;
    content: '\25CF  \25CB  \25CB  \25CB';
    font-family: Arial, sans-serif;
    font-size: .6rem;
    letter-spacing: .35rem;
    text-align: center;
    opacity: .9;
  }

  .sanat-home-hero > .container-shell > div:first-child {
    z-index: 2;
    order: 1;
    width: min(45%, 610px);
    margin: 0;
    direction: rtl;
    text-align: center;
  }

  .sanat-home-hero > .container-shell > div:last-child,
  .sanat-home-hero .hero-motion { display: none; }

  .sanat-home-hero .eyebrow { display: none; }

  .sanat-home-hero .eyebrow svg { color: var(--sanat-orange); }

  .sanat-home-hero h1 {
    max-width: 640px;
    margin-top: 0;
    color: #fff;
    font-size: clamp(1.65rem, 2.6vw, 2.25rem);
    line-height: 1.25;
    text-wrap: balance;
  }

  .sanat-home-hero h1 > span,
  .sanat-home-hero h1 > strong,
  .sanat-home-hero h1 > small { display: block; }
  .sanat-home-hero h1 > strong { margin-top: .35rem; color: #ff7a1a; font: inherit; font-weight: 800; }
  .sanat-home-hero h1 > small { margin-top: .4rem; color: #eef5ff; font-size: .58em; font-weight: 600; }

  .sanat-home-hero p {
    display: none;
  }

  .sanat-home-hero .mt-7 { display: none; }

  .sanat-home-hero .mt-7 a {
    min-height: 2.55rem;
    border-radius: .65rem;
    padding-inline: 1.35rem;
    box-shadow: none;
  }

  .sanat-home-hero .mt-7 a:first-child { background: var(--sanat-orange); }
  .sanat-home-hero .mt-7 a:last-child {
    border-color: rgb(255 255 255 / .35);
    color: #fff;
    background: rgb(255 255 255 / .08);
  }

  .sanat-home-hero .sanat-hero-trusts {
    display: grid;
    width: min(100%, 26rem);
    margin: 1.2rem auto 0;
    padding: 0;
    border: 0;
    color: #fff;
  }

  .sanat-home-hero .sanat-hero-trusts a {
    display: grid;
    justify-items: center;
    gap: .25rem;
    color: inherit;
    font-size: .66rem;
    font-weight: 700;
  }

  .sanat-home-hero .sanat-hero-trusts svg {
    width: 2rem;
    height: 2rem;
    stroke-width: 1.65;
  }

  .sanat-home-categories {
    padding-block: .1rem .15rem;
  }

  .sanat-home-categories > div:first-child {
    margin-bottom: 0;
    padding-inline: .2rem;
  }

  .sanat-home-categories .eyebrow { display: none; }
  .sanat-home-categories .section-title { color: var(--sanat-navy); font-size: 1.05rem; }

  .sanat-home-categories .grid { gap: .75rem; }

  .sanat-home-categories .surface-card {
    min-height: 70px;
    padding: .2rem .25rem .3rem;
    border: 1px solid transparent;
    border-radius: 1rem;
    background: transparent;
    box-shadow: none;
  }

  .sanat-home-categories .surface-card:hover {
    border-color: #e2e8f0;
    background: #fff;
    box-shadow: 0 10px 24px rgb(8 46 99 / .08);
  }

  .sanat-home-categories .size-14 {
    width: 2.65rem;
    height: 2.65rem;
    border: 1px solid #dfe5ed;
    border-radius: 999px;
    color: var(--sanat-navy);
    background: #f7f9fc;
  }

  .sanat-home-categories .surface-card:first-child .size-14 {
    color: var(--sanat-navy);
    background: #f7f9fc;
  }

  .sanat-home-categories .size-7 { width: 1.4rem; height: 1.4rem; }
  .sanat-home-categories h3 { margin-top: .25rem; color: #283c59; font-size: .64rem; }
  .sanat-home-categories p { display: none; }

  .sanat-home-deals {
    position: relative;
    padding: .55rem .8rem .65rem;
    overflow: hidden;
    border-radius: 1.35rem;
    background: linear-gradient(110deg, #f24f05, #ff6911);
    box-shadow: 0 14px 30px rgb(244 90 11 / .16);
  }

  .sanat-home-deals > div:first-child { margin-bottom: .2rem; }

  .sanat-home-deals .eyebrow {
    display: none;
  }

  .sanat-home-deals .section-title {
    margin-top: 0;
    color: #fff;
    font-size: 1.05rem;
  }

  .sanat-deals-side {
    display: flex;
    align-items: center;
    gap: 1rem;
  }

  .sanat-deals-side > a { color: #fff; }

  .sanat-deals-timer {
    display: inline-flex;
    direction: ltr;
    align-items: center;
    gap: .28rem;
    color: #fff;
    font-family: Arial, sans-serif;
  }

  .sanat-deals-timer b {
    display: grid;
    width: 1.8rem;
    height: 1.7rem;
    place-items: center;
    border-radius: .42rem;
    color: var(--sanat-navy-deep);
    background: #fff;
    font-size: .82rem;
    box-shadow: 0 5px 10px rgb(123 39 0 / .16);
  }

  .sanat-deals-timer i { font-style: normal; font-weight: 900; }

  .sanat-home-deals .sanat-home-product-strip {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .65rem;
  }

  .sanat-home-deals .product-card {
    min-height: 165px;
    border: 0;
    border-radius: .9rem;
    background: #fff;
    box-shadow: 0 6px 18px rgb(116 35 0 / .12);
  }

  .sanat-home-deals .card-image {
    height: 78px;
    aspect-ratio: auto;
    padding: .4rem .65rem .15rem;
    background: #fff;
  }

  .sanat-home-deals .card-image .right-3 { top: .55rem; right: .55rem; }
  .sanat-home-deals .card-image .right-3 span { padding: .27rem .4rem; color: #fff; background: var(--sanat-orange); }
  .sanat-home-deals .card-image .right-3 span:last-child { display: none; }
  .sanat-home-deals .card-image .left-3 { top: .55rem; left: .55rem; }
  .sanat-home-deals .card-image .left-3 button { width: 1.9rem; height: 1.9rem; border-radius: 999px; }
  .sanat-home-deals .card-image .left-3 button:last-child { display: none; }

  .sanat-home-deals .product-card > div:last-child { padding: .2rem .5rem .35rem; }
  .sanat-home-deals .product-card > div:last-child > div:first-child,
  .sanat-home-deals .sn-card-summary,
  .sanat-home-deals .product-card .border-y,
  .sanat-home-deals .product-card .mt-1\.5,
  .sanat-home-deals .quantity-control { display: none; }

  .sanat-home-deals .product-card h2 {
    display: -webkit-box;
    min-height: 1.75rem;
    margin: 0;
    overflow: hidden;
    color: #273a56;
    font-size: .65rem;
    line-height: .875rem;
    text-align: center;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .sanat-home-deals .product-card .mt-auto { padding-top: .15rem; }
  .sanat-home-deals .product-card .mt-auto > div:first-child { display: block; text-align: center; }
  .sanat-home-deals .product-card .mt-auto > div:first-child > div > span { display: none; }
  .sanat-home-deals .product-card .mt-auto > div:first-child > div > div { color: var(--sanat-orange); font-size: .7rem; }
  .sanat-home-deals .product-card .mt-auto > div:first-child > span { display: none; }

  .sanat-home-deals .product-card form { margin-top: .25rem; }
  .sanat-home-deals .product-card form > button {
    height: 1.5rem;
    border-radius: .5rem;
    color: #fff;
    background: var(--sanat-navy);
    font-size: .66rem;
  }

  .sanat-home-brand-section { padding-block: .75rem .9rem; }
  .sanat-home-brand-section > div:first-child { margin-bottom: .35rem; }
  .sanat-home-brand-section .eyebrow { display: none; }
  .sanat-home-brand-section .section-title { color: var(--sanat-navy); font-size: 1.05rem; }
  .sanat-home-brand-section .grid { gap: .75rem; }

  .sanat-home-brand-section .surface-card {
    min-height: 88px;
    border-color: #e4e9ef;
    border-radius: .8rem;
    color: var(--sanat-navy);
    background: #fff;
    box-shadow: 0 5px 15px rgb(8 46 99 / .045);
  }

  .sanat-home-brand-section .surface-card strong {
    font-family: Arial, var(--font-persian), sans-serif;
    font-size: .82rem;
    font-weight: 800;
  }

  .sanat-home-benefits {
    margin-block: .05rem .7rem;
    transform: none;
  }

  .sanat-home-benefits > .surface-card {
    border: 0;
    border-radius: .9rem;
    color: #fff;
    background: var(--sanat-navy);
    box-shadow: 0 10px 24px rgb(8 46 99 / .14);
  }

  .sanat-home-benefits > .surface-card > div {
    min-height: 66px;
    border-color: rgb(255 255 255 / .15);
    padding: .7rem 1rem;
  }

  .sanat-home-benefits .size-11 {
    color: #fff;
    background: rgb(255 255 255 / .1);
  }

  .sanat-home-benefits strong { color: #fff; }
  .sanat-home-benefits .text-slate-500 { color: #c9d8eb; }

  .sanat-home-project { padding-block: .15rem .9rem; }
  .sanat-home-project .circuit-dark {
    min-height: 106px;
    padding: 1rem 1.5rem;
    border-radius: 1rem;
    background-color: var(--sanat-navy-deep);
  }

  .sanat-home-project .circuit-dark > div {
    display: grid;
    max-width: none;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 2rem;
  }

  .sanat-home-project .circuit-dark > div > span,
  .sanat-home-project .circuit-dark > div > h2,
  .sanat-home-project .circuit-dark > div > p { grid-column: 1; }

  .sanat-home-project .circuit-dark h2 { margin-top: .35rem; font-size: 1.05rem; line-height: 1.65; }
  .sanat-home-project .circuit-dark p { margin-top: 0; font-size: .68rem; }
  .sanat-home-project .circuit-dark .mt-6 { grid-column: 2; grid-row: 1 / 4; margin-top: 0; }

  .sanat-home-latest,
  .sanat-home-blog { padding-block: 1rem 1.5rem; }

  .sanat-home-latest .sanat-home-product-strip {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: .85rem;
  }

  .sanat-home-latest .product-card {
    min-height: 330px;
    box-shadow: 0 7px 22px rgb(8 46 99 / .07);
  }

  .sanat-home-latest .card-image {
    height: 180px;
    aspect-ratio: auto;
    padding: .8rem;
  }

  .sanat-home-latest .product-card > div:last-child { padding: .65rem .75rem .75rem; }
  .sanat-home-latest .product-card > div:last-child > div:first-child,
  .sanat-home-latest .sn-card-summary,
  .sanat-home-latest .product-card .border-y,
  .sanat-home-latest .product-card .mt-1\.5,
  .sanat-home-latest .quantity-control { display: none; }

  .sanat-home-latest .product-card h2 {
    display: -webkit-box;
    min-height: 2.7rem;
    overflow: hidden;
    font-size: .76rem;
    line-height: 1.35rem;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .sanat-home-latest .product-card .mt-auto { padding-top: .35rem; }
  .sanat-home-latest .product-card form { margin-top: .45rem; }
  .sanat-home-latest .product-card form > button { height: 2.1rem; }

  .sanat-footer {
    border-color: rgb(255 255 255 / .1);
    color: #c5d3e5;
    background: var(--sanat-navy-deep);
  }

  .sanat-footer .sanat-store-brand,
  .sanat-footer .sanat-store-brand__name,
  .sanat-footer h2 { color: #fff; }

  .sanat-footer .sanat-store-brand__fallback { color: #fff; background: var(--sanat-orange); }
  .sanat-footer p,
  .sanat-footer a { color: #c5d3e5; }
  .sanat-footer a:hover { color: #fff; }
  .sanat-footer > .border-t { border-color: rgb(255 255 255 / .12); }
  .sanat-footer > .border-t .text-slate-500 { color: #9eb1c9; }
}

.sn-product-details {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #f1f5f9;
}

@media (min-width: 1024px) {
  .sn-product-overview {
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
    align-items: start;
  }

  .sn-product-details {
    grid-template-columns: minmax(0, 1fr) 20rem;
    align-items: start;
  }
}

.plain-icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
  stroke-width: 1.8;
}

/* Landing hero: a code-native warehouse-to-project scene and a plausible LV panel. */
.hero-motion {
  position: relative;
  isolation: isolate;
  width: 100%;
  max-width: 680px;
  aspect-ratio: 720 / 590;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid rgb(99 144 204 / .28);
  border-radius: 2rem;
  direction: ltr;
  background: #0b172b;
  box-shadow: 0 24px 60px rgb(2 8 23 / .2);
}

.hero-motion::before {
  position: absolute;
  z-index: 1;
  inset: 8% 18%;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(35 111 241 / .2), transparent 70%);
  filter: blur(24px);
  content: "";
  pointer-events: none;
}

.hero-motion::after { display: none; content: ""; }

.hero-motion-stage {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-persian), Tahoma, Arial, sans-serif;
}

.hero-motion-stage path,
.hero-motion-stage circle,
.hero-motion-stage rect,
.hero-motion-stage ellipse {
  vector-effect: non-scaling-stroke;
}

.hero-svg-workflow,
.hero-svg-brand,
.hero-svg-caption,
.hero-svg-device-brand,
.hero-svg-device-code,
.hero-svg-device-rating,
.hero-svg-test,
.hero-svg-contactor-brand,
.hero-svg-contactor-code,
.hero-svg-terminal {
  font-family: Arial, sans-serif;
}

.hero-svg-workflow {
  fill: #8fb1de;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .17em;
}

.hero-svg-brand {
  fill: white;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
}

.hero-svg-caption {
  fill: rgb(219 234 254 / .78);
  font-size: 5.5px;
  font-weight: 600;
  letter-spacing: .13em;
}

.hero-svg-device-brand { fill: #145be1; font-size: 6px; font-weight: 800; }
.hero-svg-device-code { fill: #526171; font-size: 4.5px; font-weight: 700; }
.hero-svg-device-rating { fill: #334155; font-size: 4.5px; font-weight: 800; }
.hero-svg-test { fill: #172033; font-size: 5px; font-weight: 800; }
.hero-svg-contactor-brand { fill: white; font-size: 5px; font-weight: 800; letter-spacing: .04em; }
.hero-svg-contactor-code { fill: #dbeafe; font-size: 4.5px; font-weight: 700; }
.hero-svg-terminal { fill: #263548; font-size: 4px; font-weight: 800; }

.hero-supply-route-base,
.hero-supply-route,
.hero-wire-base,
.hero-wire-current,
.hero-wire-earth-stripe,
.hero-comb-busbar {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-supply-route-base { stroke: #294f7d; stroke-width: 8; }
.hero-supply-route {
  stroke: #f2a61b;
  stroke-width: 2.5;
  stroke-dasharray: 7 10;
  animation: hero-supply-flow 3.4s linear infinite;
}
.hero-supply-route--delay { animation-delay: -1.15s; }
.hero-supply-route--slow { animation-duration: 4.2s; animation-delay: -2s; }

.hero-wire-base { stroke-width: 4.5; }
.hero-wire-earth { stroke: #f0c72f; }
.hero-wire-earth-stripe { stroke: #319b66; stroke-width: 3.2; stroke-dasharray: 9 5; }
.hero-wire-current {
  stroke: rgb(255 255 255 / .88);
  stroke-width: 1.35;
  stroke-dasharray: 3 10;
  animation: hero-wire-flow 2.5s linear infinite;
}
.hero-wire-current--delay { animation-delay: -.85s; }
.hero-wire-current--warm { stroke: #ffe3a3; animation-delay: -1.35s; }
.hero-comb-busbar { stroke: #b87333; stroke-width: 5; }

.hero-core-halo {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-core-breathe 5.8s ease-in-out infinite;
}

.hero-live-light,
.hero-spd-indicator,
.hero-contactor-led { animation: hero-live-light 2.8s ease-in-out infinite; }
.hero-spd-indicator { animation-duration: 4s; }

.hero-contactor-core {
  transform-box: fill-box;
  transform-origin: center;
  animation: hero-contactor-pull 7.8s ease-in-out infinite;
}

.hero-process-node {
  position: absolute;
  z-index: 4;
  display: flex;
  width: 132px;
  min-height: 68px;
  align-items: center;
  gap: .55rem;
  padding: .55rem .6rem;
  border: 1px solid rgb(104 154 219 / .65);
  border-radius: .9rem;
  direction: rtl;
  color: white;
  background: linear-gradient(145deg, rgb(18 53 95 / .96), rgb(10 31 59 / .96));
  box-shadow: 0 12px 28px rgb(2 8 23 / .3), inset 0 1px rgb(255 255 255 / .06);
  backdrop-filter: blur(8px);
}

.hero-process-node--source { top: 17.7%; left: 2.7%; --process-delay: 0s; }
.hero-process-node--quality { top: 63.5%; left: 2.7%; --process-delay: -.8s; }
.hero-process-node--retail { top: 17.7%; right: 2.7%; --process-delay: -1.6s; }
.hero-process-node--project { top: 63.5%; right: 2.7%; --process-delay: -2.4s; }

.hero-process-node-icon {
  display: grid;
  width: 42px;
  height: 42px;
  flex: none;
  place-items: center;
  border: 1px solid rgb(104 154 219 / .55);
  border-radius: .7rem;
  color: #e1edff;
  background: linear-gradient(145deg, #1b4c89, #173969);
}

.hero-process-node-icon svg {
  width: 33px;
  height: 33px;
  fill: none;
  stroke: currentcolor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hero-process-node-copy { min-width: 0; text-align: right; }
.hero-process-node-copy strong,
.hero-process-node-copy small { display: block; white-space: nowrap; }
.hero-process-node-copy strong { font-size: .68rem; line-height: 1.6; }
.hero-process-node-copy small { margin-top: .12rem; color: #9eb9dc; font-size: .52rem; line-height: 1.5; }

.hero-process-node-step {
  position: absolute;
  inset-block-end: .24rem;
  inset-inline-start: .45rem;
  color: rgb(130 169 219 / .55);
  font-family: Arial, sans-serif;
  font-size: .5rem;
  font-weight: 800;
}

.hero-process-node-check {
  position: absolute;
  inset-block-start: .3rem;
  inset-inline-start: .38rem;
  display: grid;
  width: 1rem;
  height: 1rem;
  place-items: center;
  border-radius: 50%;
  color: #061c14;
  background: #4adeaa;
  box-shadow: 0 0 0 0 rgb(74 222 170 / .38);
  animation: hero-process-ready 3.2s ease-out infinite;
  animation-delay: var(--process-delay);
}

.hero-motion-toggle {
  position: absolute;
  z-index: 7;
  left: 50%;
  inset-block-end: 2.8%;
  display: inline-flex;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  padding-inline: .75rem;
  border: 1px solid rgb(255 255 255 / .2);
  border-radius: .7rem;
  direction: rtl;
  color: rgb(226 232 240);
  background: rgb(2 8 23 / .62);
  backdrop-filter: blur(8px);
  font-size: .58rem;
  font-weight: 700;
  transform: translateX(-50%);
  transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.hero-motion-toggle:hover {
  border-color: rgb(255 255 255 / .4);
  color: white;
  background: rgb(2 8 23 / .82);
}

.hero-play-icon { display: none; }
.hero-motion.is-paused .hero-pause-icon { display: none; }
.hero-motion.is-paused .hero-play-icon { display: inline-flex; }
.hero-motion.is-paused .hero-motion-stage *,
.hero-motion.is-paused .hero-process-node * { animation-play-state: paused !important; }

.header-search-results {
  position: absolute;
  inset-inline: 0;
  top: calc(100% + .5rem);
  z-index: 90;
  max-height: 23rem;
  overflow: auto;
}

/* Store identity supports both compact square marks and wide typographic logos. */
.sanat-store-brand {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: .75rem;
  color: rgb(var(--ink));
}

.sanat-store-brand__logo {
  display: block;
  width: auto;
  max-width: 11rem;
  height: 3.4rem;
  flex: none;
  object-fit: contain;
  object-position: center;
}

.sanat-store-brand__fallback {
  display: grid;
  width: 3rem;
  height: 3rem;
  flex: none;
  place-items: center;
  border-radius: .8rem;
  color: white;
  background: rgb(var(--brand));
  box-shadow: 0 8px 20px rgb(20 91 225 / .22);
}

.sanat-store-brand__fallback svg { width: 1.5rem; height: 1.5rem; stroke-width: 1.8; }

.sanat-store-brand__name {
  display: block;
  max-width: 12rem;
  overflow: hidden;
  color: inherit;
  font-size: clamp(.95rem, 1.6vw, 1.25rem);
  font-weight: 800;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sanat-store-brand--dark { color: white; }
.sanat-store-brand--dark .sanat-store-brand__name { color: white; }

.sanat-header-row {
  display: flex;
  min-height: 74px;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.sanat-search {
  position: relative;
  min-width: 0;
  flex: 1 1 28rem;
}

/* دکمهٔ 48px سمت راست است؛ padding باید از عرض آیکن بزرگ‌تر باشد تا
   placeholder و متن واردشده هرگز زیر ذره‌بین قرار نگیرند. */
.sanat-search input[type=search]{padding-right:4.25rem;padding-left:1rem;}

@media (max-width: 1180px) {
  .sanat-header-row { min-height: 0; row-gap: .65rem; padding-block: .75rem; }
  .sanat-search { order: 3; flex-basis: 100%; width: 100%; }
  .sanat-header-actions [class*="min-w-"] { min-width: 3.1rem; }
  .sanat-header-actions span:not(.badge-count) { display: none; }
}

@media (max-width: 560px) {
  .sanat-header-row { min-height: 66px; gap: .5rem; }
  .sanat-store-brand { gap: .5rem; }
  .sanat-store-brand__logo { max-width: 8.5rem; height: 2.8rem; }
  .sanat-store-brand__name { max-width: 7.5rem; font-size: .92rem; }
  .sanat-header-actions { gap: 0; }
  .sanat-header-actions a { min-width: 2.75rem !important; padding-inline: .35rem; }
}

.sanat-footer a { transition: color .18s ease; }
.sanat-footer a:hover { color: rgb(var(--brand)); }

.sn-catalog-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem;
  border: 1px solid #dbe4f0;
  border-radius: .9rem;
  background: white;
  box-shadow: 0 10px 30px rgb(15 23 42 / .05);
}

.sn-catalog-pagination__summary { color: #64748b; font-size: .75rem; white-space: nowrap; }
.sn-catalog-pagination__links { display: flex; align-items: center; gap: .35rem; }
.sn-catalog-pagination__link,
.sn-catalog-pagination__gap {
  display: grid;
  min-width: 2.4rem;
  height: 2.4rem;
  place-items: center;
  border: 1px solid #dbe4f0;
  border-radius: .65rem;
  color: #475569;
  background: white;
  font-size: .78rem;
  font-weight: 700;
}

.sn-catalog-pagination__link { transition: border-color .18s ease, color .18s ease, background-color .18s ease, transform .18s ease; }
.sn-catalog-pagination__link:hover { border-color: rgb(var(--brand)); color: rgb(var(--brand)); transform: translateY(-1px); }
.sn-catalog-pagination__link--current { border-color: rgb(var(--brand)); color: white; background: rgb(var(--brand)); }
.sn-catalog-pagination__link--disabled { cursor: not-allowed; opacity: .42; }
.sn-catalog-pagination__gap { min-width: 1.4rem; border-color: transparent; background: transparent; }

@media (max-width: 640px) {
  .sn-catalog-pagination { align-items: stretch; flex-direction: column; }
  .sn-catalog-pagination__links { justify-content: center; }
  .sn-catalog-pagination__summary { text-align: center; }
}

.mega-panel {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  z-index: 80;
}

.drawer-layer,
.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 120;
}

.drawer-backdrop,
.modal-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgb(2 8 23 / .5);
  backdrop-filter: blur(3px);
}

.mobile-drawer {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(88vw, 370px);
  overflow: auto;
  background: white;
  box-shadow: 0 24px 70px rgb(2 8 23 / .25);
  animation: drawer-in .22s ease-out;
}

.filter-sheet {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  max-height: 92vh;
  overflow: auto;
  border-radius: 1.25rem 1.25rem 0 0;
  background: white;
  animation: sheet-in .22s ease-out;
}

.modal-card {
  position: relative;
  width: min(92vw, 520px);
  max-height: 88vh;
  overflow: auto;
  margin: 6vh auto 0;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 24px 70px rgb(2 8 23 / .25);
  animation: modal-in .2s ease-out;
}

.product-card [data-product-image] {
  transition: transform .35s ease;
}

.product-card:hover [data-product-image] { transform: scale(1.035); }

.action-icon.is-active {
  border-color: rgb(147 197 253);
  color: rgb(var(--brand));
  background: rgb(239 246 255);
}

.action-icon[data-wishlist].is-active {
  border-color: rgb(254 202 202);
  color: rgb(220 38 38);
  background: rgb(254 242 242);
}

.quantity-control {
  display: inline-flex;
  height: 2.35rem;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgb(203 213 225);
  border-radius: .55rem;
  background: white;
}

.quantity-control button {
  display: grid;
  width: 2.25rem;
  height: 100%;
  place-items: center;
  color: rgb(71 85 105);
}

.quantity-control input {
  width: 2.6rem;
  height: 100%;
  border: 0;
  border-inline: 1px solid rgb(226 232 240);
  text-align: center;
  font-size: .75rem;
  font-weight: 700;
  outline: none;
  appearance: textfield;
}

.quantity-control input::-webkit-inner-spin-button { display: none; }

.toast-region {
  position: fixed;
  inset-inline: 1rem;
  bottom: 5.5rem;
  z-index: 150;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  pointer-events: none;
}

.toast-message {
  display: flex;
  min-height: 3.1rem;
  align-items: center;
  gap: .65rem;
  padding: .7rem 1rem;
  border: 1px solid rgb(167 243 208);
  border-radius: .8rem;
  color: rgb(30 41 59);
  background: white;
  box-shadow: 0 16px 45px rgb(15 23 42 / .18);
  font-size: .75rem;
  font-weight: 600;
  animation: toast-in .22s ease-out;
}

.badge-count:empty { display: none; }

.filter-check input { position: absolute; opacity: 0; pointer-events: none; }
.filter-check .check-box::after { content: "✓"; opacity: 0; color: white; font-size: .7rem; }
.filter-check input:checked + .check-box { border-color: rgb(var(--brand)); background: rgb(var(--brand)); }
.filter-check input:checked + .check-box::after { opacity: 1; }

.product-card.is-filtered-out { display: none; }
.product-card.is-list { grid-template-columns: 190px minmax(0,1fr) 250px; }
.product-card.is-list .card-image { aspect-ratio: auto; min-height: 220px; }

.accordion-panel { border-top: 1px solid rgb(241 245 249); }
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); color: rgb(var(--brand)); }
.accordion-chevron { transition: transform .18s ease; }

.tabs-panel { display: none; }
.tabs-panel.is-active { display: block; }
.tab-button.is-active { border-color: rgb(var(--brand)); color: rgb(var(--brand)); }

.cart-line {
  display: grid;
  grid-template-columns: 100px minmax(0,1fr) auto;
  gap: 1rem;
  align-items: center;
}

.checkout-panel { display: none; }
.checkout-panel.is-active { display: block; }
.checkout-step.is-active .step-dot { border-color: rgb(var(--brand)); color: rgb(var(--brand)); background: rgb(239 246 255); }
.checkout-step.is-complete .step-dot { border-color: rgb(var(--success)); color: white; background: rgb(var(--success)); }

.empty-state {
  padding: 5rem 1.5rem;
  text-align: center;
}

.compare-table {
  width: 100%;
  min-width: 720px;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: .72rem;
}
.compare-table th, .compare-table td { padding: .85rem; border: 1px solid rgb(226 232 240); }
.compare-table th { background: rgb(248 250 252); }

.skeleton-block {
  border-radius: .6rem;
  background: linear-gradient(90deg, rgb(241 245 249), rgb(226 232 240), rgb(241 245 249));
  background-size: 220% 100%;
  animation: skeleton 1.2s linear infinite;
}

@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes sheet-in { from { transform: translateY(100%); } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(.98); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes skeleton { to { background-position: -220% 0; } }
@keyframes hero-supply-flow { to { stroke-dashoffset: -68; } }
@keyframes hero-wire-flow { to { stroke-dashoffset: -52; } }
@keyframes hero-core-breathe { 50% { opacity: .7; transform: scale(1.08); } }
@keyframes hero-live-light { 50% { opacity: .58; } }
@keyframes hero-contactor-pull {
  0%, 73%, 84%, 100% { transform: translateY(0); }
  77%, 81% { transform: translateY(2px); }
}
@keyframes hero-process-ready {
  0%, 42% { box-shadow: 0 0 0 0 rgb(74 222 170 / .32); }
  74%, 100% { box-shadow: 0 0 0 8px rgb(74 222 170 / 0); }
}

@media (max-width: 767px) {
  .sanat-mobile-service-bar {
    display: flex;
    min-height: 1.7rem;
    align-items: center;
    justify-content: space-between;
    padding-inline: .85rem;
    color: #dbeafe;
    background: #082a58;
    font-size: .53rem;
    font-weight: 600;
  }

  .sanat-mobile-service-bar a { color: #f8c84c; }

  .hero-motion {
    width: min(100%, 430px);
    height: clamp(470px, 132vw, 535px);
    aspect-ratio: auto;
    margin-block: -.5rem .5rem;
    border-radius: 1.4rem;
  }

  .hero-motion-stage { inset: 0 0 auto; height: auto; }
  .hero-svg-workflow,
  .hero-circuit-network { display: none; }

  .hero-process-node {
    width: calc(50% - 1.1rem);
    min-height: 62px;
    gap: .45rem;
    padding: .45rem .5rem;
    border-radius: .75rem;
  }
  .hero-process-node--source { top: 57.5%; right: .7rem; left: auto; }
  .hero-process-node--quality { top: 57.5%; right: auto; left: .7rem; }
  .hero-process-node--retail { top: 72.5%; right: .7rem; left: auto; }
  .hero-process-node--project { top: 72.5%; right: auto; left: .7rem; }
  .hero-process-node-icon { width: 36px; height: 36px; border-radius: .58rem; }
  .hero-process-node-icon svg { width: 29px; height: 29px; }
  .hero-process-node-copy strong { font-size: .66rem; }
  .hero-process-node-copy small { font-size: .5rem; }
  .hero-process-node-check { width: .9rem; height: .9rem; }
  .hero-motion-toggle { inset-block-end: 2.8%; padding-inline: .65rem; }
  .product-card.is-list { display: flex; }
  .cart-line { grid-template-columns: 78px minmax(0,1fr); }
  .cart-line > .cart-price { grid-column: 1 / -1; border-top: 1px solid rgb(241 245 249); padding-top: .75rem; }
  .toast-region { bottom: 5.25rem; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-drawer, .filter-sheet, .modal-card, .toast-message, .skeleton-block,
  .hero-motion *, .hero-motion::before, .hero-motion::after { animation: none !important; }
  .hero-motion .hero-supply-route,
  .hero-motion .hero-wire-current { opacity: .72; stroke-dashoffset: 0; }
  .hero-motion .hero-contactor-core { transform: none; }
  .hero-motion-toggle { display: none; }
}

/* Mobile storefront refresh: all rules are deliberately scoped to the home
   page and to a mobile viewport, so the established desktop layout is intact. */
.sanat-mobile-service-bar,
.sanat-mobile-home,
.sanat-mobile-support,
.sanat-mobile-skip { display: none; }

@media (max-width: 767px) {
  body.sanat-home {
    padding-bottom: 4.85rem;
    background: #f4f6f9;
  }

  .sanat-home .container-shell { padding-inline: .75rem; }

  .sanat-home-header {
    border: 0;
    box-shadow: 0 1px 0 rgb(15 23 42 / .06);
  }

  .sanat-home-header > .bg-ink { display: none; }

  .sanat-home-header .sanat-header-row {
    min-height: 0;
    gap: .35rem;
    padding-block: .45rem .5rem;
  }

  .sanat-home-header .sanat-header-row > button {
    order: 3;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: .65rem;
    background: #f1f5f9;
  }

  .sanat-home-header .sanat-store-brand { order: 1; margin-inline-end: auto; }
  .sanat-home-header .sanat-store-brand__logo { max-width: 7.4rem; height: 2.25rem; }
  .sanat-home-header .sanat-store-brand__fallback { width: 2.25rem; height: 2.25rem; border-radius: .6rem; }
  .sanat-home-header .sanat-store-brand__name { max-width: 7rem; font-size: .8rem; }

  .sanat-home-header .sanat-header-actions {
    order: 2;
    margin-inline-start: 0;
  }

  .sanat-home-header .sanat-header-actions > a {
    min-width: 2.5rem !important;
    min-height: 2.5rem;
    padding-inline: .3rem;
  }

  .sanat-home-header .sanat-header-actions > a span:not(.badge-count) { display: none; }
  .sanat-home-header .sanat-search { order: 4; flex-basis: 100%; margin-top: .1rem; }
  .sanat-home-header .sanat-search input[type=search] { height: 2.65rem; border-radius: .75rem; background: #f4f5f7; font-size: .72rem; }
  .sanat-home-header .sanat-search button { width: 2.65rem; height: 2.65rem; }

  .sanat-home-hero {
    min-height: 9.55rem;
    margin: .55rem .75rem 0;
    border: 0;
    border-radius: 1rem;
    background-image: linear-gradient(90deg, rgb(3 28 63 / .96) 0%, rgb(5 51 109 / .8) 49%, rgb(5 51 109 / .12) 100%), url('../images/electrobar-hero.png');
    background-position: center, 61% center;
    background-size: cover;
    box-shadow: 0 10px 22px rgb(15 23 42 / .12);
  }

  .sanat-home-hero > .container-shell {
    display: block;
    min-height: 9.55rem;
    padding: .85rem 1rem;
  }

  .sanat-home-hero > .container-shell > div:first-child {
    width: min(65%, 15.5rem);
    margin: 0;
  }

  .sanat-home-hero .hero-motion { display: none; }
  .sanat-home-hero::after { position: absolute; inset-inline: 0; bottom: .3rem; z-index: 3; color: #f8c84c; content: '●  ○  ○'; font-size: .46rem; letter-spacing: .16rem; text-align: center; }
  .sanat-home-hero .eyebrow { padding: 0; color: #f6c648; background: transparent; font-size: .52rem; }
  .sanat-home-hero .eyebrow svg { display: none; }
  .sanat-home-hero h1 { margin-top: .28rem; color: white; font-size: .9rem; line-height: 1.7; }
  .sanat-home-hero p { display: none; }
  .sanat-home-hero .mt-7 { margin-top: .35rem; }
  .sanat-home-hero .mt-7 a { min-height: 1.8rem; border-radius: .45rem; padding-inline: .65rem; font-size: .54rem; box-shadow: none; }
  .sanat-home-hero .mt-7 a:last-child { display: none; }

  .sanat-home-benefits { margin-top: .45rem; transform: none; }
  .sanat-home-benefits > .surface-card { grid-template-columns: repeat(4, minmax(0, 1fr)); border-radius: .7rem; }
  .sanat-home-benefits > .surface-card > div { display: grid; min-height: 4.25rem; place-items: center; padding: .35rem .2rem; border: 0; text-align: center; }
  .sanat-home-benefits .size-11 { width: 1.7rem; height: 1.7rem; border-radius: .45rem; }
  .sanat-home-benefits .plain-icon { width: 1rem; height: 1rem; }
  .sanat-home-benefits .mt-1 { display: none; }
  .sanat-home-benefits strong { font-size: 0; line-height: 1.5; }
  .sanat-home-benefits > .surface-card > div:nth-child(1) strong::after { content: 'مشاوره فنی'; }
  .sanat-home-benefits > .surface-card > div:nth-child(2) strong::after { content: 'لیست خرید'; }
  .sanat-home-benefits > .surface-card > div:nth-child(3) strong::after { content: 'پیش‌فاکتور'; }
  .sanat-home-benefits > .surface-card > div:nth-child(4) strong::after { content: 'موجودی روز'; }
  .sanat-home-benefits strong::after { color: #334155; font-size: .52rem; }

  .sanat-home-categories { padding-top: 1.25rem; padding-bottom: 1.3rem; }
  .sanat-home-categories > div:first-child { margin-bottom: .8rem; }
  .sanat-home-categories .eyebrow { display: none; }
  .sanat-home-categories .section-title { font-size: .95rem; }
  .sanat-home-categories .grid { display: flex; width: calc(100% + 1.5rem); margin-inline: -.75rem; gap: .2rem; overflow-x: auto; padding-inline: .75rem; scrollbar-width: none; }
  .sanat-home-categories .grid::-webkit-scrollbar { display: none; }
  .sanat-home-categories .surface-card { width: 3.95rem; min-width: 3.95rem; min-height: 4.95rem; padding: .35rem .12rem; border: 0; border-radius: .55rem; box-shadow: none; background: transparent; }
  .sanat-home-categories .size-14 { width: 1.9rem; height: 1.9rem; border-radius: 999px; }
  .sanat-home-categories .size-7 { width: 1rem; height: 1rem; }
  .sanat-home-categories h3 { margin-top: .28rem; font-size: .48rem; line-height: 1.45; }
  .sanat-home-categories p { display: none; }

  .sanat-home section.container-shell:not(.sanat-home-benefits):not(.sanat-home-categories) { padding-top: 1.25rem; padding-bottom: 1.25rem; }
  .sanat-home section.container-shell > div:first-child > .eyebrow { font-size: .56rem; }
  .sanat-home section.container-shell .section-title { font-size: 1rem; }

  .sanat-home-product-strip {
    display: flex;
    width: calc(100% + 1.5rem);
    margin-inline: -.75rem;
    overflow-x: auto;
    gap: .55rem;
    padding: .15rem .75rem .55rem;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
  }

  .sanat-home-product-strip::-webkit-scrollbar { display: none; }
  .sanat-home-product-strip .product-card { width: 6.75rem; min-width: 6.75rem; scroll-snap-align: start; border-radius: .6rem; box-shadow: 0 3px 10px rgb(15 23 42 / .08); }
  .sanat-home-product-strip .card-image { padding: .45rem; }
  .sanat-home-product-strip .card-image .right-3 { top: .35rem; right: .35rem; }
  .sanat-home-product-strip .card-image .left-3 { top: .35rem; left: .35rem; }
  .sanat-home-product-strip .card-image .left-3 button:last-child { display: none; }
  .sanat-home-product-strip .action-icon { width: 1.6rem; height: 1.6rem; border-radius: .45rem; }
  .sanat-home-product-strip .action-icon svg { width: .8rem; height: .8rem; }
  .sanat-home-product-strip .card-image .right-3 span { padding: .18rem .32rem; font-size: .42rem; }
  .sanat-home-product-strip .product-card > div:last-child { padding: .4rem; }
  .sanat-home-product-strip .product-card > div:last-child > div:first-child,
  .sanat-home-product-strip .sn-card-summary,
  .sanat-home-product-strip .border-y,
  .sanat-home-product-strip .product-card .mt-1\.5,
  .sanat-home-product-strip .quantity-control { display: none; }
  .sanat-home-product-strip .product-card h2 { min-height: 2.35rem; font-size: .5rem; line-height: 1.15rem; }
  .sanat-home-product-strip .product-card .mt-auto { padding-top: .2rem; }
  .sanat-home-product-strip .product-card .mt-auto > div:first-child { display: block; }
  .sanat-home-product-strip .product-card .mt-auto .text-\[\.95rem\] { font-size: .57rem; }
  .sanat-home-product-strip .product-card form { margin-top: .3rem; }
  .sanat-home-product-strip .product-card form button { height: 1.6rem; padding-inline: .2rem; font-size: .42rem; }

  .sanat-home .circuit-dark { border-radius: .9rem; padding: 1.1rem; }
  .sanat-home .circuit-dark h2 { margin-top: .55rem; font-size: 1rem; line-height: 1.8; }
  .sanat-home .circuit-dark p { font-size: .68rem; line-height: 1.8; }
  .sanat-home .circuit-dark .mt-6 { margin-top: .75rem; }
  .sanat-home .circuit-dark a { min-height: 2.2rem; padding-inline: .65rem; font-size: .62rem; }

  .sanat-home .sanat-footer { padding-bottom: 1rem; }
  .sanat-home > nav[aria-label="ناوبری پایین"] { height: 4.3rem; padding-bottom: env(safe-area-inset-bottom); }
  .sanat-home > nav[aria-label="ناوبری پایین"] a { gap: .1rem; font-size: .56rem; }
  .sanat-home > nav[aria-label="ناوبری پایین"] a:first-child { color: rgb(var(--brand)); }
  .sanat-home > nav[aria-label="ناوبری پایین"] a:first-child svg { stroke-width: 2.4; }
}

/* Reference-led mobile home. This intentionally replaces (rather than
   compresses) the desktop composition only below 768px. */
@media (max-width: 767px) {
  body.sanat-home {
    padding-bottom: 4.5rem;
    background: #fff;
  }

  body.sanat-home > #main-content,
  body.sanat-home > .sanat-footer,
  body.sanat-home > #mobile-menu { display: none !important; }

  .sanat-desktop-skip { display: none; }
  .sanat-mobile-skip { display: block; }

  .sanat-mobile-service-bar {
    display: flex;
    min-height: 1.2rem;
    align-items: center;
    justify-content: space-between;
    padding-inline: .75rem;
    color: #dbeafe;
    background: #082a58;
    font-size: .58rem;
    font-weight: 600;
  }

  .sanat-mobile-service-bar a { color: #ffc33b; }
  .sanat-mobile-home { display: block; overflow: hidden; padding: .45rem .65rem .8rem; color: #14213d; background: #fff; }

  .sanat-home-header { border: 0; box-shadow: 0 1px 0 rgb(15 23 42 / .07); }
  .sanat-home-header > .bg-ink,
  .sanat-home-header .sanat-home-menu-toggle { display: none !important; }
  .sanat-home-header .sanat-header-row { min-height: 0; gap: .3rem; padding: .25rem .75rem .32rem; }
  .sanat-home-header .sanat-store-brand { order: 1; margin-inline-end: auto; }
  .sanat-home-header .sanat-store-brand__logo { max-width: 6.5rem; height: 1.85rem; }
  .sanat-home-header .sanat-store-brand__fallback { width: 1.95rem; height: 1.95rem; }
  .sanat-home-header .sanat-store-brand__name { max-width: 7.2rem; font-size: .78rem; }
  .sanat-home-header .sanat-header-actions { display: none !important; }
  .sanat-home-header .sanat-mobile-support { display: grid; order: 2; width: 2rem; height: 2rem; place-items: center; border-radius: 999px; color: #123a76; background: #f1f6ff; }
  .sanat-home-header .sanat-mobile-support svg { width: 1.25rem; height: 1.25rem; stroke-width: 1.7; }
  .sanat-home-header .sanat-search { order: 3; flex-basis: 100%; margin-top: .05rem; }
  .sanat-home-header .sanat-search input[type=search] { height: 2.35rem; border-color: #e5e8ed; border-radius: .6rem; background: #f5f6f8; font-size: .64rem; }
  .sanat-home-header .sanat-search button { width: 2.35rem; height: 2.35rem; }

  .sanat-mobile-hero {
    position: relative;
    isolation: isolate;
    min-height: 14.75rem;
    overflow: hidden;
    border-radius: .65rem;
    background: #062a5a;
    box-shadow: 0 5px 13px rgb(15 23 42 / .14);
  }

  .sanat-mobile-hero::before { position: absolute; z-index: -2; inset: 0; background: url('../images/electrobar-hero.png') center / cover no-repeat; content: ''; transform: scaleX(-1); }
  .sanat-mobile-hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, rgb(3 29 68 / .98) 0%, rgb(4 42 92 / .91) 50%, rgb(4 42 92 / .12) 100%); content: ''; }
  .sanat-mobile-hero__copy { position: absolute; z-index: 1; top: 100px; left: 0; width: 58%; padding: .74rem .78rem 0; color: white; text-align: right; }
  .sanat-mobile-hero__copy > span { color: #ffbf27; font-size: .58rem; font-weight: 700; }
  .sanat-mobile-hero h1 { margin: .1rem 0; color: white; font-size: 1.06rem; font-weight: 900; line-height: 1.45; }
  .sanat-mobile-hero p { margin: 0; color: #dbeafe; font-size: .56rem; line-height: 1.55; }
  .sanat-mobile-hero a { display: inline-flex; min-height: 1.76rem; align-items: center; gap: .35rem; margin-top: .34rem; padding: 0 .57rem; border-radius: .35rem; color: #11366c; background: white; font-size: .56rem; font-weight: 800; }
  .sanat-mobile-hero a span { font-size: .82rem; }
  .sanat-mobile-hero__dots { display: flex; justify-content: center; gap: .18rem; padding: .28rem 0 .34rem; }
  .sanat-mobile-hero__dots i { width: .27rem; height: .27rem; border-radius: 999px; background: rgb(255 255 255 / .6); }
  .sanat-mobile-hero__dots i:first-child { width: .62rem; background: #ffb322; }

  .sanat-mobile-category-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(3.6rem, 1fr)); gap: .05rem; padding: .7rem 0 .62rem; }
  .sanat-mobile-category-row a { display: grid; min-width: 0; justify-items: center; gap: .3rem; color: #203a68; text-align: center; }
  .sanat-mobile-icon { display: grid; width: 2.62rem; height: 2.62rem; place-items: center; border: 1px solid #d9e2f0; border-radius: 999px; color: #163d78; background: #fff; box-shadow: 0 2px 5px rgb(15 23 42 / .05); }
  .sanat-mobile-icon img { width: 1.75rem; height: 1.75rem; object-fit: contain; }
  .sanat-mobile-category-row svg,
  .sanat-mobile-shortcuts svg { width: 1.18rem; height: 1.18rem; fill: none; stroke: currentcolor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.6; }
  .sanat-mobile-category-row b { overflow: hidden; width: 100%; color: #263957; font-size: .61rem; font-weight: 700; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }

  .sanat-mobile-shortcuts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: .58rem; overflow: hidden; border: 1px solid #e5eaf1; border-radius: .62rem; background: #fff; box-shadow: 0 2px 8px rgb(15 23 42 / .05); }
  .sanat-mobile-shortcuts a { display: grid; min-height: 3.6rem; place-items: center; align-content: center; gap: .25rem; border-inline-start: 1px solid #edf0f5; color: #173b75; }
  .sanat-mobile-shortcuts a:first-child { border-inline-start: 0; }
  .sanat-mobile-shortcuts svg { width: 1.16rem; height: 1.16rem; }
  .sanat-mobile-shortcuts span { color: #3b4d69; font-size: .58rem; font-weight: 700; white-space: nowrap; }

  .sanat-mobile-deals { padding: .52rem; border-radius: .68rem; color: white; background: linear-gradient(135deg, #ff7c13, #ff5909); box-shadow: 0 6px 14px rgb(245 92 13 / .18); }
  .sanat-mobile-deals__head { display: flex; align-items: center; justify-content: space-between; gap: .45rem; padding: 0 .1rem .42rem; }
  .sanat-mobile-deals__head > div > span { display: block; color: rgb(255 255 255 / .86); font-size: .52rem; }
  .sanat-mobile-deals h2 { margin: .08rem 0 0; font-size: .9rem; font-weight: 900; }
  .sanat-mobile-deals h2 i { color: #ffe139; font-style: normal; }
  .sanat-mobile-deals__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .32rem; }
  .sanat-mobile-deals__empty { grid-column: 1 / -1; margin: 0; padding: 1rem; color: #fff; font-size: .65rem; text-align: center; }
  .sanat-mobile-deals__all { display: block; margin-top: .42rem; color: white; font-size: .55rem; font-weight: 700; }

  .sanat-mobile-product-card { min-width: 0; overflow: hidden; padding: .26rem; border-radius: .38rem; color: #172033; background: #fff; text-align: center; }
  .sanat-mobile-product-card__image { position: relative; display: grid; height: 4.25rem; place-items: center; }
  .sanat-mobile-product-card__image img { width: 100%; height: 100%; object-fit: contain; }
  .sanat-mobile-product-card__image span { position: absolute; top: .04rem; right: .04rem; z-index: 1; padding: .1rem .18rem; border-radius: .18rem; color: white; background: #ff6c0b; font-size: .4rem; font-weight: 800; }
  .sanat-mobile-product-card h3 { display: -webkit-box; min-height: 2rem; margin: .16rem 0 .07rem; overflow: hidden; color: #243654; font-size: .56rem; font-weight: 700; line-height: 1rem; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .sanat-mobile-product-card > strong { display: block; min-height: .9rem; color: #ef5a13; font-size: .6rem; font-weight: 900; white-space: nowrap; }
  .sanat-mobile-product-card > strong small { color: #718096; font-size: .46rem; font-weight: 600; }
  .sanat-mobile-product-card form { margin-top: .16rem; }
  .sanat-mobile-product-card button { width: 100%; min-height: 1.48rem; border: 0; border-radius: .22rem; color: white; background: #0b4eb8; font-size: .53rem; font-weight: 800; }
  .sanat-mobile-product-card button:disabled { background: #a8b3c3; }

  .sanat-mobile-brands,
  .sanat-mobile-newest,
  .sanat-mobile-blog { padding: .82rem 0 .05rem; }
  .sanat-mobile-section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .42rem; }
  .sanat-mobile-section-head h2 { margin: 0; color: #1f3659; font-size: .8rem; font-weight: 900; }
  .sanat-mobile-section-head a { color: #1b63c9; font-size: .54rem; font-weight: 700; }
  .sanat-mobile-brands > div:last-child { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .22rem; }
  .sanat-mobile-brands a { display: grid; min-height: 2.8rem; place-items: center; align-content: center; gap: .1rem; padding: .14rem; border: 1px solid #edf0f4; border-radius: .36rem; color: #446084; background: #fff; text-align: center; }
  .sanat-mobile-brands strong { overflow: hidden; max-width: 100%; color: #3d5478; font-size: .54rem; text-overflow: ellipsis; white-space: nowrap; }
  .sanat-mobile-brands small { overflow: hidden; max-width: 100%; color: #8493a8; font-size: .42rem; text-overflow: ellipsis; white-space: nowrap; }
  .sanat-mobile-newest > div:last-child { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .32rem; }

  .sanat-mobile-project-cta { margin-top: .9rem; padding: .8rem; border-radius: .68rem; color: white; background: linear-gradient(135deg, #082a58, #123e78); box-shadow: 0 6px 16px rgb(8 42 88 / .18); }
  .sanat-mobile-project-cta > span { color: #ffc33b; font-size: .54rem; font-weight: 800; }
  .sanat-mobile-project-cta h2 { margin: .18rem 0; font-size: .79rem; font-weight: 900; line-height: 1.7; }
  .sanat-mobile-project-cta p { margin: 0; color: #d7e7ff; font-size: .57rem; line-height: 1.8; }
  .sanat-mobile-project-cta > div { display: flex; gap: .35rem; margin-top: .62rem; }
  .sanat-mobile-project-cta a { display: inline-flex; min-height: 1.95rem; flex: 1; align-items: center; justify-content: center; border: 1px solid rgb(255 255 255 / .25); border-radius: .4rem; color: white; font-size: .56rem; font-weight: 800; }
  .sanat-mobile-project-cta a:first-child { border-color: #ffc33b; color: #102b50; background: #ffc33b; }

  .sanat-mobile-blog > div:last-child { display: grid; gap: .38rem; }
  .sanat-mobile-blog > div:last-child > a { display: grid; grid-template-columns: 4.4rem minmax(0, 1fr); gap: .48rem; min-height: 4.5rem; overflow: hidden; border: 1px solid #e6ebf2; border-radius: .58rem; background: #fff; color: #263957; }
  .sanat-mobile-blog img { width: 4.4rem; height: 4.5rem; object-fit: cover; }
  .sanat-mobile-blog span { display: grid; align-content: center; gap: .18rem; min-width: 0; padding-inline-end: .45rem; }
  .sanat-mobile-blog strong { display: -webkit-box; overflow: hidden; font-size: .62rem; font-weight: 800; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .sanat-mobile-blog small { display: -webkit-box; overflow: hidden; color: #77879c; font-size: .51rem; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }

  .sanat-home > nav[aria-label="ناوبری پایین"] { height: 3.75rem; border-color: #e4e9f0; background: #fff; box-shadow: 0 -3px 12px rgb(15 23 42 / .08); }
  .sanat-home > nav[aria-label="ناوبری پایین"] a { gap: .12rem; color: #5d6f89; font-size: .55rem; }
  .sanat-home > nav[aria-label="ناوبری پایین"] a:first-child { color: #ff6b12; }
  .sanat-home > nav[aria-label="ناوبری پایین"] a:first-child svg { stroke-width: 2.3; }
}

/* Product catalog gets an intentionally separate mobile composition.  Desktop
   keeps the original sidebar and product card layout above this breakpoint. */
.sn-catalog-mobile-tools,
.sn-mobile-catalog-grid,
.sn-catalog-mobile-result-count,
.sn-mobile-bottom-nav { display: none; }

.sn-catalog-intro__crumb { display: none; }

@media (max-width: 767px) {
  body.sn-mobile-nav-shell { padding-bottom: 5.2rem; }
  body.sn-mobile-nav-shell .sn-mobile-menu,
  body.sn-mobile-nav-shell .sanat-footer { display: none; }

  body:has(.sn-catalog-page),
  body:has(.sn-cart-page) {
    padding-bottom: 5.2rem;
  }

  body:has(.sn-catalog-page) {
    background: #f3f6fb;
  }

  body:has(.sn-catalog-page) .sanat-site-header,
  body:has(.sn-cart-page) .sanat-site-header {
    position: sticky;
    top: 0;
    z-index: 70;
    border-color: #e7edf5;
    box-shadow: 0 2px 12px rgb(15 23 42 / .05);
  }

  body:has(.sn-catalog-page) .sanat-site-header > .bg-ink,
  body:has(.sn-cart-page) .sanat-site-header > .bg-ink,
  body:has(.sn-catalog-page) .sn-mobile-menu,
  body:has(.sn-cart-page) .sn-mobile-menu,
  body:has(.sn-catalog-page) .sanat-footer,
  body:has(.sn-cart-page) .sanat-footer { display: none; }

  body:has(.sn-catalog-page) .container-shell { padding-inline: .75rem; }

  body:has(.sn-catalog-page) .sanat-header-row {
    min-height: 0;
    column-gap: .5rem;
    row-gap: .45rem;
    padding-block: .48rem .55rem;
  }

  body:has(.sn-catalog-page) .sanat-store-brand { order: 1; gap: .35rem; }
  body:has(.sn-catalog-page) .sanat-store-brand__logo { max-width: 7.3rem; height: 2.15rem; }
  body:has(.sn-catalog-page) .sanat-store-brand__fallback { width: 2.1rem; height: 2.1rem; border-radius: .55rem; }
  body:has(.sn-catalog-page) .sanat-store-brand__fallback svg { width: 1.05rem; height: 1.05rem; }
  body:has(.sn-catalog-page) .sanat-store-brand__name { max-width: 6.6rem; font-size: .72rem; }

  body:has(.sn-catalog-page) .sanat-header-actions { order: 2; gap: .08rem; }
  body:has(.sn-catalog-page) .sanat-header-actions a { min-width: 2.22rem !important; min-height: 2.15rem; padding-inline: .28rem; }
  body:has(.sn-catalog-page) .sanat-header-actions a span:not(.badge-count) { display: none; }
  body:has(.sn-catalog-page) .sanat-header-actions a svg { width: 1.12rem; height: 1.12rem; }
  body:has(.sn-catalog-page) .sanat-header-actions .badge-count { top: -.1rem; left: -.05rem; min-width: .92rem; font-size: .48rem; }

  body:has(.sn-catalog-page) .sanat-search { order: 3; flex: 1 0 100%; }
  body:has(.sn-catalog-page) .sanat-search input[type=search] {
    height: 2.45rem;
    border-radius: .65rem;
    padding-right: 3.25rem;
    font-size: .67rem;
  }
  body:has(.sn-catalog-page) .sanat-search button { width: 2.45rem; height: 2.45rem; }
  body:has(.sn-catalog-page) .sanat-search button svg { width: 1.1rem; height: 1.1rem; }

  .sn-catalog-page.sn-page {
    max-width: none;
    padding: .68rem .68rem 1rem;
  }

  .sn-catalog-intro {
    margin-bottom: .65rem;
    padding: .72rem .78rem .76rem;
    border: 1px solid #e3eaf4;
    border-radius: .8rem;
    background: linear-gradient(135deg, #fff, #f7faff);
    box-shadow: 0 4px 15px rgb(15 23 42 / .04);
  }

  .sn-catalog-intro__crumb {
    display: flex;
    align-items: center;
    gap: .32rem;
    margin-bottom: .42rem;
    color: #8a9ab0;
    font-size: .58rem;
    font-weight: 600;
  }

  .sn-catalog-intro__crumb a { color: #2865bd; }
  .sn-catalog-intro .eyebrow { font-size: .58rem; letter-spacing: .01em; }
  .sn-catalog-intro .sn-title { margin-top: .12rem; font-size: 1.16rem; line-height: 1.4; }
  .sn-catalog-intro .sn-lead { margin-top: .2rem; color: #718198; font-size: .66rem; line-height: 1.8; }

  .sn-catalog-mobile-tools { display: grid; gap: .52rem; margin-bottom: .78rem; }

  .sn-catalog-filter {
    overflow: hidden;
    border: 1px solid #e0e8f3;
    border-radius: .8rem;
    background: #fff;
    box-shadow: 0 4px 15px rgb(15 23 42 / .045);
  }

  .sn-catalog-filter[open] { border-color: #cbdcf4; box-shadow: 0 8px 22px rgb(20 91 225 / .09); }
  .sn-catalog-filter summary { display: flex; min-height: 3.35rem; align-items: center; gap: .52rem; padding: .45rem .6rem; cursor: pointer; list-style: none; }
  .sn-catalog-filter summary::-webkit-details-marker { display: none; }
  .sn-catalog-filter__summary-icon { display: grid; width: 2.15rem; height: 2.15rem; flex: none; place-items: center; border-radius: .56rem; color: #1556ba; background: #edf5ff; }
  .sn-catalog-filter__summary-icon svg { width: 1.13rem; height: 1.13rem; stroke-width: 1.9; }
  .sn-catalog-filter__summary-copy { display: grid; min-width: 0; gap: .08rem; }
  .sn-catalog-filter__summary-copy strong { color: #1b3357; font-size: .73rem; font-weight: 800; }
  .sn-catalog-filter__summary-copy small { color: #8494a9; font-size: .58rem; font-weight: 600; }
  .sn-catalog-filter summary b { display: grid; width: 1.17rem; height: 1.17rem; margin-inline-start: auto; place-items: center; border-radius: 999px; color: white; background: #f06b24; font-family: Arial, sans-serif; font-size: .6rem; }
  .sn-catalog-filter__chevron { width: 1rem; height: 1rem; flex: none; color: #7890ad; transition: transform .18s ease; }
  .sn-catalog-filter[open] .sn-catalog-filter__chevron { color: #1556ba; transform: rotate(180deg); }

  .sn-catalog-filter__form { display: grid; gap: .68rem; padding: .72rem; border-top: 1px solid #edf1f6; background: #fbfcfe; }
  .sn-catalog-filter__field { display: grid; gap: .33rem; }
  .sn-catalog-filter__field > label { color: #4b607b; font-size: .64rem; font-weight: 800; }
  .sn-catalog-filter__field input,
  .sn-catalog-filter__field select {
    width: 100%;
    height: 2.35rem;
    border: 1px solid #d9e3ef;
    border-radius: .56rem;
    color: #233955;
    background: #fff;
    padding-inline: .62rem;
    font-size: .68rem;
    outline: none;
  }
  .sn-catalog-filter__field input:focus,
  .sn-catalog-filter__field select:focus { border-color: #1d63c9; box-shadow: 0 0 0 3px rgb(29 99 201 / .11); }
  .sn-catalog-filter__field--search > div { position: relative; }
  .sn-catalog-filter__field--search input { padding-inline-start: 2.25rem; }
  .sn-catalog-filter__field--search svg { position: absolute; inset-block: 0; inset-inline-start: .65rem; width: 1rem; height: 100%; color: #7890ad; stroke-width: 1.8; pointer-events: none; }
  .sn-catalog-filter__price { display: grid; grid-template-columns: 1fr 1fr; gap: .45rem; }

  .sn-catalog-filter__checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
  .sn-catalog-filter__checks label { position: relative; display: flex; min-height: 2.45rem; align-items: center; gap: .42rem; padding: .35rem .48rem; border: 1px solid #e1e7f0; border-radius: .54rem; color: #526782; background: #fff; font-size: .61rem; font-weight: 700; }
  .sn-catalog-filter__checks input { position: absolute; opacity: 0; pointer-events: none; }
  .sn-catalog-filter__checks label > span { display: grid; width: 1rem; height: 1rem; flex: none; place-items: center; border: 1px solid #bfcddd; border-radius: .28rem; background: white; }
  .sn-catalog-filter__checks label > span::after { color: white; content: '✓'; font-family: Arial, sans-serif; font-size: .64rem; font-weight: 900; opacity: 0; }
  .sn-catalog-filter__checks input:checked + span { border-color: #145be1; background: #145be1; }
  .sn-catalog-filter__checks input:checked + span::after { opacity: 1; }
  .sn-catalog-filter__checks label:has(input:checked) { border-color: #bcd3f6; color: #1454b5; background: #f5f9ff; }

  .sn-catalog-filter__actions { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding-top: .1rem; }
  .sn-catalog-filter__actions a { padding: .55rem .35rem; color: #718198; font-size: .65rem; font-weight: 800; }
  .sn-catalog-filter__actions button { min-width: 8.8rem; min-height: 2.4rem; border: 0; border-radius: .56rem; color: white; background: #145be1; box-shadow: 0 5px 12px rgb(20 91 225 / .2); font-size: .7rem; font-weight: 800; }

  .sn-catalog-mobile-sort { display: flex; min-width: 0; align-items: center; gap: .38rem; }
  .sn-catalog-mobile-sort > span { flex: none; color: #75869d; font-size: .6rem; font-weight: 700; }
  .sn-catalog-mobile-sort > div { display: flex; min-width: 0; flex: 1; gap: .3rem; overflow-x: auto; padding-block: .08rem; scrollbar-width: none; }
  .sn-catalog-mobile-sort > div::-webkit-scrollbar { display: none; }
  .sn-catalog-mobile-sort a { display: inline-flex; min-height: 1.95rem; flex: none; align-items: center; justify-content: center; padding: 0 .58rem; border: 1px solid #dde6f0; border-radius: 999px; color: #60738d; background: white; font-size: .6rem; font-weight: 750; white-space: nowrap; }
  .sn-catalog-mobile-sort a.is-active { border-color: #155ec9; color: white; background: #155ec9; box-shadow: 0 3px 8px rgb(21 94 201 / .18); }

  .sn-catalog-page .sn-sidebar { display: block; }
  .sn-cart-page .sn-sidebar { grid-template-columns: minmax(0, 1fr) !important; }
  .sn-catalog-desktop-filter,
  .sn-catalog-desktop-sort,
  .sn-catalog-page .sn-catalog-desktop-grid { display: none; }

  .sn-catalog-mobile-result-count { display: block; margin: 0 .08rem .46rem; color: #6d7e95; font-size: .64rem; font-weight: 650; }
  .sn-catalog-mobile-result-count strong { color: #145be1; font-family: Arial, sans-serif; font-size: .76rem; }
  .sn-mobile-catalog-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .62rem; }

  .sn-mobile-catalog-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #e1e8f1;
    border-radius: .82rem;
    color: #203652;
    background: white;
    box-shadow: 0 5px 17px rgb(15 23 42 / .055);
  }

  .sn-mobile-catalog-card.is-filtered-out { display: none; }
  .sn-mobile-catalog-card__image { position: relative; height: clamp(8.35rem, 38vw, 9.8rem); overflow: hidden; border-bottom: 1px solid #edf1f5; background: linear-gradient(145deg, #fbfcfe, #f1f5fa); }
  .sn-mobile-catalog-card__image > a { display: grid; width: 100%; height: 100%; place-items: center; padding: .65rem; }
  .sn-mobile-catalog-card__image img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
  .sn-mobile-catalog-card__discount { position: absolute; top: .47rem; inset-inline-start: .47rem; display: inline-flex; min-height: 1.28rem; align-items: center; padding: 0 .35rem; border-radius: .34rem; color: white; background: #ef6c24; font-family: Arial, sans-serif; font-size: .58rem; font-weight: 800; }
  .sn-mobile-catalog-card__wish { position: absolute; top: .43rem; inset-inline-end: .43rem; display: grid; width: 1.82rem; height: 1.82rem; place-items: center; border: 1px solid #e2e9f1; border-radius: 999px; color: #7e91aa; background: rgb(255 255 255 / .94); box-shadow: 0 2px 6px rgb(15 23 42 / .07); }
  .sn-mobile-catalog-card__wish svg { width: .92rem; height: .92rem; stroke-width: 1.8; }
  .sn-mobile-catalog-card__wish.is-active { border-color: #fed0d0; color: #df3f3f; background: #fff3f3; }

  .sn-mobile-catalog-card__body { display: grid; padding: .56rem .58rem .6rem; }
  .sn-mobile-catalog-card__category { overflow: hidden; color: #2869c6; font-size: .57rem; font-weight: 800; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
  .sn-mobile-catalog-card h2 { display: -webkit-box; min-height: 2.65rem; margin: .22rem 0 .38rem; overflow: hidden; color: #253a57; font-size: .7rem; font-weight: 800; line-height: 1.35; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
  .sn-mobile-catalog-card h2 a { color: inherit; }
  .sn-mobile-catalog-card__price { display: grid; gap: .08rem; min-height: 2.5rem; padding: .36rem .42rem; border-radius: .48rem; background: #f7f9fc; }
  .sn-mobile-catalog-card__price > span { color: #8796a9; font-size: .56rem; font-weight: 650; }
  .sn-mobile-catalog-card__price strong { overflow: hidden; color: #172d4d; font-family: Arial, sans-serif; font-size: .73rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
  .sn-mobile-catalog-card__price small { color: #7c8ca1; font-family: var(--font-persian), Tahoma, sans-serif; font-size: .55rem; font-weight: 700; }
  .sn-mobile-catalog-card__footer { display: grid; gap: .35rem; margin-top: .45rem; }
  .sn-mobile-catalog-card__footer > span { overflow: hidden; font-size: .58rem; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
  .sn-mobile-catalog-card__footer > .is-available { color: #07835a; }
  .sn-mobile-catalog-card__footer > .is-unavailable { color: #d25b3e; }
  .sn-mobile-catalog-card__footer form { display: block; }
  .sn-mobile-catalog-card__footer button { display: flex; width: 100%; min-height: 2.05rem; align-items: center; justify-content: center; gap: .25rem; border: 0; border-radius: .46rem; color: white; background: #145be1; font-size: .63rem; font-weight: 800; }
  .sn-mobile-catalog-card__footer button svg { width: .87rem; height: .87rem; stroke-width: 1.9; }
  .sn-mobile-catalog-card__footer button:disabled { color: #78899f; background: #e9eef4; }

  .sn-catalog-page .sn-pagination nav { margin-top: .9rem; }
  .sn-catalog-page .sn-catalog-pagination { padding: .62rem; border-radius: .72rem; }
  .sn-catalog-page .sn-catalog-pagination__link,
  .sn-catalog-page .sn-catalog-pagination__gap { min-width: 2rem; height: 2rem; font-size: .66rem; }

  .sn-mobile-bottom-nav {
    position: fixed;
    z-index: 100;
    inset-inline: 0;
    bottom: 0;
    display: grid;
    height: 4.35rem;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid #e2e9f2;
    color: #62748e;
    background: rgb(255 255 255 / .97);
    box-shadow: 0 -4px 16px rgb(15 23 42 / .08);
    backdrop-filter: blur(10px);
  }

  .sn-mobile-bottom-nav a { position: relative; display: grid; min-width: 0; place-items: center; align-content: center; gap: .17rem; padding-top: .15rem; color: inherit; font-size: .58rem; font-weight: 700; }
  .sn-mobile-bottom-nav a svg { width: 1.27rem; height: 1.27rem; stroke-width: 1.75; }
  .sn-mobile-bottom-nav a.is-active { color: #145be1; }
  .sn-mobile-bottom-nav a.is-active::before { position: absolute; top: .17rem; width: 1.9rem; height: .17rem; border-radius: 0 0 999px 999px; background: #145be1; content: ''; }
  .sn-mobile-bottom-nav__cart b { position: absolute; top: .33rem; inset-inline-start: calc(50% + .28rem); display: grid; min-width: .95rem; height: .95rem; place-items: center; padding-inline: .12rem; border: 1px solid white; border-radius: 999px; color: white; background: #ef6c24; font-family: Arial, sans-serif; font-size: .48rem; }
}
