/* Homepage only. Inherit the storefront's Persian font. */
.navad-home {
  --nh-ink: #211e24;
  --nh-muted: #5d555f;
  --nh-red: #bb1634;
  --nh-deep-red: #93112a;
  --nh-rose: #fbe9eb;
  --nh-line: #e9e1e4;
  --nh-paper: #fff;
  --nh-gap: clamp(.65rem, 1.8vw, 1.2rem);
  --nh-radius: 1rem;
  color: var(--nh-ink);
  background: var(--nh-paper);
  text-align: start;
}
.navad-home *, .navad-home *::before, .navad-home *::after { box-sizing: border-box; }
.navad-home [hidden] { display: none !important; }
.navad-home :where(a) { color: inherit; text-decoration: none; }
.navad-home :where(button) { font: inherit; cursor: pointer; }
.navad-home :is(a, button):focus-visible {
  outline: 2px solid #282129;
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}
.navad-home:focus-visible { outline: 2px solid var(--nh-red); outline-offset: -2px; }
.navad-home .nh-wrap { width: min(76rem, calc(100% - clamp(1.5rem, 7vw, 6.5rem))); margin-inline: auto; }
.nh-symbols { position: absolute; pointer-events: none; }
.navad-home .nh-icon { display: block; width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

.navad-home .nh-hero {
  position: relative;
  isolation: isolate;
  color: #fff8f5;
  background: radial-gradient(ellipse at 15% 95%, #402130 0%, transparent 60%), #1c1921;
  border-block-end: .25rem solid var(--nh-red);
}
.navad-home .nh-hero__layout {
  display: grid;
  grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
  align-items: center;
  gap: clamp(1rem, 3.5vw, 3.25rem);
  padding-block: clamp(2rem, 4vw, 4.25rem);
}
.navad-home .nh-hero__copy { min-width: 0; overflow-wrap: anywhere; }
.navad-home .nh-hero__label {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .65rem;
  border: 1px solid #8b4d5b;
  border-radius: .5rem;
  color: #ffd2d5;
  background: #38242e;
  font-size: .875rem;
  font-weight: 700;
}
.navad-home .nh-hero__label .nh-icon { width: 1.05rem; height: 1.05rem; }
.navad-home .nh-hero h1 {
  margin: clamp(.75rem, 2vw, 1.35rem) 0 .65rem;
  color: inherit;
  font-size: clamp(2rem, 1.45rem + 2.65vw, 4.25rem);
  font-weight: 900;
  line-height: 1.32;
}
.navad-home .nh-hero h1 em { color: #ff949c; font: inherit; }
.navad-home .nh-hero p { max-width: 32rem; margin: 0; color: #ded4dd; line-height: 1.85; font-size: clamp(.95rem, .86rem + .4vw, 1.15rem); }
.navad-home .nh-hero__actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-block-start: 1.35rem; }
.navad-home .nh-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .5rem .95rem;
  border: 1px solid transparent;
  border-radius: .65rem;
  background: var(--nh-red);
  color: #fff;
  font-weight: 800;
  line-height: 1.5;
}
.navad-home .nh-button:hover { background: var(--nh-deep-red); }
.navad-home .nh-button--quiet { border-color: #8e7b8b; color: #fff8f5; background: transparent; }
.navad-home .nh-button--quiet:hover { background: #422e40; }
.navad-home .nh-hero__visual { position: relative; isolation: isolate; min-width: 0; }
.navad-home .nh-hero__art { display: block; width: 100%; height: auto; }
.navad-home .nh-hero__photo {
  position: absolute;
  z-index: 1;
  inset: 5.38% 6.56%;
  overflow: hidden;
  border-radius: clamp(.85rem, 3vw, 2rem);
  background: #35232f;
  opacity: 0;
}
.navad-home .nh-hero__photo[data-loaded] { opacity: 1; }
.navad-home .nh-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.navad-home .nh-section { padding-block: clamp(1.85rem, 4.6vw, 4.25rem); }
.navad-home .nh-section--categories { scroll-margin-block-start: var(--navad-header-clearance, 1rem); }
.navad-home .nh-section--s { background: #fcf2f3; border-block: 1px solid #f3dfe4; }
.navad-home .nh-section--n { background: #f7f5f7; border-block-start: 1px solid var(--nh-line); }
.navad-home .nh-heading { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .55rem 1.2rem; margin-block-end: clamp(.85rem, 2vw, 1.35rem); }
.navad-home .nh-kicker { display: inline-flex; align-items: center; gap: .4rem; margin-block-end: .25rem; color: var(--nh-deep-red); font-size: .85rem; font-weight: 800; }
.navad-home .nh-kicker .nh-icon { width: 1rem; height: 1rem; }
.navad-home .nh-heading h2 { margin: 0; color: var(--nh-ink); font-size: clamp(1.45rem, 1.15rem + 1.4vw, 2.35rem); font-weight: 900; line-height: 1.38; overflow-wrap: anywhere; }
.navad-home .nh-heading__actions, .navad-home .nh-rail-controls { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .65rem; }
.navad-home .nh-heading__actions:empty { display: none; }
.navad-home .nh-more { display: inline-flex; align-items: center; gap: .4rem; min-height: 2.75rem; color: var(--nh-deep-red); font-size: .9rem; font-weight: 800; text-decoration: underline; text-underline-offset: .25em; }
.navad-home .nh-more .nh-icon { width: 1.1rem; height: 1.1rem; }
.navad-home :is(.nh-categories, .nh-products, .nh-rail) { padding: 0; margin: 0; list-style: none; }
.navad-home :is(.nh-categories, .nh-products) { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--nh-gap); }
.navad-home .nh-categories--five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.navad-home :is(.nh-categories, .nh-products, .nh-rail) > li { display: flex; min-width: 0; }
.navad-home :is(.nh-category, .nh-product) {
  display: flex;
  flex-flow: column;
  width: 100%;
  min-width: 0;
  border: 1px solid var(--nh-line);
  border-radius: var(--nh-radius);
  background: #fff;
  color: var(--nh-ink);
}
.navad-home .nh-category {
  --nh-tile: #f9e9ed;
  align-items: stretch;
  justify-content: space-between;
  gap: .8rem;
  min-height: 8.25rem;
  padding: clamp(.7rem, 1.4vw, 1.1rem);
  background: linear-gradient(145deg, var(--nh-tile), #fff 74%);
}
.navad-home .nh-categories > li:nth-child(2n) .nh-category { --nh-tile: #f0e9f8; }
.navad-home .nh-categories > li:nth-child(3n) .nh-category { --nh-tile: #f8ebe2; }
.navad-home .nh-category__icon {
  display: grid;
  place-items: center;
  align-self: start;
  width: clamp(2.85rem, 6.5vw, 4rem);
  aspect-ratio: 1;
  border: 1px solid var(--nh-line);
  border-radius: .85rem;
  background: #fff;
  color: var(--nh-red);
}
.navad-home .nh-category__icon .nh-icon { width: 56%; height: auto; aspect-ratio: 1; }
.navad-home .nh-category__label { display: flex; align-items: center; justify-content: space-between; gap: .3rem; min-width: 0; font-size: clamp(.925rem, .85rem + .4vw, 1.15rem); font-weight: 800; line-height: 1.5; overflow-wrap: anywhere; }
.navad-home .nh-category__label .nh-icon { width: 1.05rem; height: 1.05rem; color: var(--nh-deep-red); }

.navad-home .nh-product { overflow: hidden; }
.navad-home .nh-product__media {
  position: relative;
  isolation: isolate;
  display: block;
  width: 100%;
  aspect-ratio: 6 / 5;
  background: radial-gradient(ellipse at 62% 22%, #faf8fa, #eeebef);
  border-block-end: 1px solid var(--nh-line);
}
.navad-home .nh-product__fallback, .navad-home .nh-product__media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.navad-home .nh-product__fallback { display: grid; place-items: center; color: #776a79; }
.navad-home .nh-product__fallback .nh-icon { width: clamp(1.9rem, 25%, 3rem); height: auto; aspect-ratio: 1; stroke-width: 1.35; }
.navad-home .nh-product__media img { display: block; padding: .45rem; object-fit: contain; background: #f7f5f7; }
.navad-home .nh-product__body { display: flex; flex: 1; flex-flow: column; gap: .25rem; min-width: 0; padding: clamp(.6rem, 1.4vw, .95rem); }
.navad-home .nh-product__category { color: var(--nh-muted); font-size: .8rem; line-height: 1.5; overflow-wrap: anywhere; }
.navad-home .nh-product__name { color: var(--nh-ink); font-size: clamp(.9rem, .85rem + .2vw, 1rem); line-height: 1.6; font-weight: 800; overflow-wrap: anywhere; }
.navad-home .nh-product__bottom { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .35rem; margin-block-start: auto; padding-block-start: .65rem; }
.navad-home .nh-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 .28rem; min-width: 0; line-height: 1.45; }
.navad-home .nh-price strong { font-size: clamp(.95rem, .85rem + .42vw, 1.22rem); font-weight: 900; min-width: 0; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.navad-home .nh-price small { color: var(--nh-muted); font-size: .76rem; }
.navad-home .nh-product__details { color: var(--nh-deep-red); font-size: .8rem; font-weight: 800; }
.navad-home .nh-product__arrow { display: grid; place-items: center; flex: none; margin-inline-start: auto; width: 1.95rem; aspect-ratio: 1; border-radius: 50%; color: var(--nh-deep-red); background: var(--nh-rose); }
.navad-home .nh-product__arrow .nh-icon { width: 1rem; height: 1rem; }
@media (hover: hover) {
  .navad-home :is(.nh-category, .nh-product):hover { border-color: #bc586d; }
  .navad-home .nh-category:hover .nh-category__label bdi, .navad-home .nh-product:hover .nh-product__name { text-decoration: underline; text-underline-offset: .22em; }
  .navad-home .nh-product:hover .nh-product__arrow { background: var(--nh-red); color: #fff; }
}

/* Rail remains usable via touch, trackpad and card focus before JS. */
.navad-home .nh-rail { display: flex; gap: var(--nh-gap); overflow-x: auto; padding: .4rem .4rem .7rem; scroll-padding-inline: .4rem; scroll-behavior: auto; scroll-snap-type: x proximity; scrollbar-color: #9b818b transparent; }
.navad-home .nh-rail > li { flex: 0 0 min(82%, clamp(10.5rem, 21vw, 15rem)); scroll-snap-align: start; }
.navad-home .nh-arrow { display: inline-grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid #d0c2ca; border-radius: 50%; color: var(--nh-deep-red); background: #fff; }
.navad-home .nh-arrow:not([aria-disabled="true"]):hover { background: var(--nh-red); border-color: var(--nh-red); color: #fff; }
.navad-home .nh-arrow[aria-disabled="true"] { color: #726974; background: #f1edf0; cursor: default; }

@media (max-width: 60rem) {
  .navad-home :is(.nh-categories, .nh-products) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .navad-home .nh-categories--five { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .navad-home .nh-categories--five > li { grid-column: span 2; }
  .navad-home .nh-categories--five > li:nth-child(4) { grid-column: 2 / span 2; }
}
@media (max-width: 48rem) {
  .navad-home .nh-hero__layout { grid-template-columns: minmax(0, 1fr); gap: .8rem; }
  .navad-home .nh-hero__visual { width: min(100%, 28rem); justify-self: center; }
}
@media (max-width: 37.5rem) {
  .navad-home :is(.nh-categories, .nh-products) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .navad-home .nh-categories--five > li, .navad-home .nh-categories--five > li:nth-child(4) { grid-column: auto; }
  .navad-home .nh-categories > li:last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }
  .navad-home .nh-categories > li:last-child:nth-child(odd):not(:first-child) .nh-category { flex-direction: row; align-items: center; min-height: 0; }
  .navad-home .nh-categories > li:last-child:nth-child(odd):not(:first-child) .nh-category__label { flex: 1; }
}
@media (max-width: 19rem) {
  .navad-home :is(.nh-categories, .nh-products) { grid-template-columns: minmax(0, 1fr); }
}