/**
 * Page d'accueil — layout épuré & compact
 */

.an-home {
  --an-home-max-width: min(calc(100% - var(--an-space-3)), 1720px);
  --an-home-below-max-width: min(calc(100% - var(--an-space-8)), var(--an-max-width));
  --an-home-rail-width: clamp(280px, 24vw, 360px);
  --an-home-hero-height: clamp(560px, 66vh, 740px);
  --an-home-grid-cols: 5;
}

body.home .an-main {
  padding: 0;
}

body.home .an-header {
  background: rgba(8, 10, 12, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.05);
}

body.home .an-header__inner {
  max-width: var(--an-home-max-width, var(--an-max-width));
  width: calc(100% - var(--an-space-6));
}

body.home .an-nav__link.is-active {
  color: var(--an-accent);
  background: rgba(129, 215, 66, 0.1);
  box-shadow: none;
}

body.home .an-header__logo--brand img,
body.home .an-header__brand .custom-logo {
  height: 66px;
  width: auto;
  max-width: min(360px, 58vw);
}

/* ── Hero — bloc principal ── */
.an-home-hero {
  width: var(--an-home-max-width);
  margin-inline: auto;
  padding: var(--an-space-5) 0 var(--an-space-6);
}

.an-home-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--an-home-rail-width);
  gap: var(--an-space-5);
  align-items: stretch;
  height: var(--an-home-hero-height);
}

.an-home-hero__map-col {
  position: relative;
  min-width: 0;
  height: 100%;
  min-height: 0;
  border-radius: var(--an-radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: #0a0c0f;
}

.an-home-hero__copy {
  position: absolute;
  z-index: 600;
  top: var(--an-space-4);
  left: var(--an-space-4);
  max-width: min(360px, calc(100% - 2rem));
  pointer-events: none;
}

.an-home-hero__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--an-text-subtle);
}

.an-home-hero__title {
  margin: 0;
  font-family: var(--an-font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* ── Rail ── */
.an-home-hero__rail {
  display: flex;
  flex-direction: column;
  gap: var(--an-space-4);
  padding: var(--an-space-5);
  background: var(--an-bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--an-radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 0;
}

.an-home-rail__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--an-space-2);
  padding-bottom: var(--an-space-2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.an-home-rail__eyebrow {
  display: none;
}

.an-home-rail__title {
  margin: 0;
  font-size: var(--an-text-base);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--an-text);
}

.an-home-rail__link {
  font-size: var(--an-text-xs);
  font-weight: 600;
  color: var(--an-accent);
  text-decoration: none;
}

.an-home-rail__link:hover {
  color: var(--an-accent-hover);
}

.an-home-rail__filters {
  display: none;
}

.an-date-chip {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  color: var(--an-text-muted);
  border-radius: var(--an-radius-full);
  padding: 0.35rem 0.75rem;
  font-size: var(--an-text-xs);
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  transition: background var(--an-duration) var(--an-ease), border-color var(--an-duration) var(--an-ease), color var(--an-duration) var(--an-ease);
}

.an-date-chip:hover {
  color: var(--an-text);
  border-color: rgba(255, 255, 255, 0.12);
}

.an-date-chip.is-active {
  color: #0a0c0e;
  background: var(--an-accent);
  border-color: var(--an-accent);
}

.an-home-rail__list[aria-busy='true'] {
  opacity: 0.55;
  pointer-events: none;
}

.an-home-rail__list {
  display: grid;
  gap: var(--an-space-3);
  flex: 1;
  overflow: auto;
  padding-right: 0.1rem;
  scrollbar-width: thin;
}

.an-home-rail__cta {
  flex-shrink: 0;
  font-size: var(--an-text-xs);
}

.an-home-sheet {
  display: none;
}

/* ── Map hero ── */
.an-map-block--hero {
  position: absolute;
  inset: 0;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.an-map-block--hero .an-map-block__stage {
  position: absolute;
  inset: 0;
  height: 100%;
  min-height: 100%;
}

.an-map-block--hero .an-map-block__stage::before {
  content: "";
  position: absolute;
  z-index: 400;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 10, 12, 0.25) 0%, transparent 18%, transparent 85%, rgba(8, 10, 12, 0.2) 100%);
}

.an-map-block--hero .an-map--hero {
  position: absolute;
  inset: 0;
  height: 100% !important;
  min-height: 100%;
  z-index: 1;
  background: #0a0c0f;
}

.an-map-block--hero .an-map--hero .leaflet-container {
  background: #0a0c0f;
}

.an-map-block--hero .an-map-block__search {
  position: static;
  width: min(340px, 100%);
}

.an-map-block--hero .an-map-block__controls {
  position: absolute;
  z-index: 500;
  left: var(--an-space-4);
  bottom: var(--an-space-4);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--an-space-2);
  max-width: min(380px, calc(100% - 2rem));
}

.an-map-block--hero .an-map-block__date-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.35rem;
  border-radius: var(--an-radius-full);
  background: rgba(8, 10, 12, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.an-map-block--hero .an-map-block__search-icon {
  position: absolute;
  left: 0.85rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--an-text-subtle);
  pointer-events: none;
}

.an-map-block--hero .an-map-block__search-icon .an-icon {
  width: 16px;
  height: 16px;
}

.an-input--glass {
  width: 100%;
  padding: 0.6rem 0.85rem 0.6rem 2.35rem;
  border-radius: var(--an-radius-full);
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(8, 10, 12, 0.75);
  backdrop-filter: blur(10px);
  box-shadow: none;
  color: var(--an-text);
  font-size: var(--an-text-xs);
}

.an-input--glass::placeholder {
  color: var(--an-text-subtle);
}

.an-input--glass:focus {
  outline: none;
  border-color: rgba(129, 215, 66, 0.4);
  box-shadow: 0 0 0 2px rgba(129, 215, 66, 0.12);
}

.an-map-block--hero .an-map-block__tabs {
  position: absolute;
  z-index: 500;
  top: var(--an-space-3);
  right: var(--an-space-3);
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: flex-end;
  padding: 0.2rem;
  border-radius: var(--an-radius-full);
  background: rgba(8, 10, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(10px);
}

.an-map-block--hero .map-tabs__btn {
  border: 0;
  background: transparent;
  color: var(--an-text-muted);
  padding: 0.35rem 0.65rem;
  border-radius: var(--an-radius-full);
  cursor: pointer;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: all var(--an-duration) var(--an-ease);
}

.an-map-block--hero .map-tabs__btn.is-active {
  background: var(--an-accent);
  color: #0a0c0e;
  box-shadow: none;
}

.an-map-block--hero .map-tabs__btn:hover:not(.is-active) {
  color: var(--an-text);
  background: rgba(255, 255, 255, 0.05);
}

.an-map-block--hero .an-map-block__stats {
  position: absolute;
  z-index: 500;
  left: var(--an-space-4);
  top: auto;
  bottom: calc(var(--an-space-4) + 5.5rem);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.65rem;
  border-radius: var(--an-radius-full);
  background: rgba(8, 10, 12, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--an-text-muted);
}

.an-map-block--hero .an-map-block__stats strong {
  color: var(--an-accent);
  font-weight: 700;
  font-size: var(--an-text-xs);
}

.an-map-block--hero .an-map-block__stats-sep {
  opacity: 0.35;
}

.an-map-block--hero .leaflet-control-zoom {
  margin-right: var(--an-space-3) !important;
  margin-bottom: var(--an-space-3) !important;
  border: 0 !important;
  box-shadow: none !important;
}

.an-map-block--hero .leaflet-control-zoom a {
  width: 28px !important;
  height: 28px !important;
  line-height: 28px !important;
  background: rgba(8, 10, 12, 0.8) !important;
  color: var(--an-text-muted) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  font-size: 14px !important;
}

.an-map.is-loading::after {
  z-index: 450;
}

/* ── Rail cards compactes ── */
.an-rail-card--compact {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: var(--an-space-3);
  align-items: start;
  padding: var(--an-space-3) var(--an-space-4);
  border-radius: var(--an-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  transition: background var(--an-duration) var(--an-ease), border-color var(--an-duration) var(--an-ease);
}

.an-rail-card--compact:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: rgba(255, 255, 255, 0.06);
  transform: none;
  box-shadow: none;
}

.an-rail-card--compact .an-rail-card__media {
  display: block;
  width: 84px;
  height: 84px;
  border-radius: var(--an-radius-sm);
  overflow: hidden;
  background: var(--an-bg-hover);
}

.an-rail-card--compact .an-rail-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-rail-card--compact .an-rail-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a222d, #12161c);
}

.an-rail-card--compact .an-rail-card__body {
  display: grid;
  gap: 0.25rem;
  padding: 0;
  min-width: 0;
}

.an-rail-card--compact .an-rail-card__top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.an-rail-card--compact .an-rail-card__date {
  font-size: var(--an-text-xs);
  font-weight: 700;
  color: var(--an-accent);
  letter-spacing: 0.02em;
}

.an-rail-card--compact .an-rail-card__title {
  margin: 0;
  font-size: var(--an-text-base);
  font-weight: 600;
  line-height: 1.35;
}

.an-rail-card--compact .an-rail-card__title a {
  color: inherit;
  text-decoration: none;
}

.an-rail-card--compact .an-rail-card__title a:hover {
  color: var(--an-accent);
}

.an-rail-card--compact .an-rail-card__location {
  margin: 0;
  font-size: var(--an-text-xs);
  color: var(--an-text-subtle);
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.an-rail-card--compact .an-rail-card__cta {
  display: inline-flex;
  align-self: start;
  margin-top: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--an-radius-full);
  font-size: var(--an-text-xs);
  font-weight: 700;
  color: #0a0c0e;
  background: var(--an-accent);
  text-decoration: none;
  transition: background var(--an-duration) var(--an-ease);
}

.an-rail-card--compact .an-rail-card__cta:hover {
  background: var(--an-accent-hover);
  color: #0a0c0e;
  text-decoration: none;
}

/* Legacy vertical cards (sheet mobile) inherit compact on mobile via same class */

/* ── Sections bas de page — plus étroites que le hero ── */
.an-home-below__inner {
  width: var(--an-home-below-max-width);
  margin-inline: auto;
}

.an-home-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--an-space-4);
  margin-bottom: var(--an-space-4);
}

.an-home-section__head h2 {
  margin: 0;
  font-family: var(--an-font-display);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  font-weight: 700;
  color: var(--an-text-muted);
}

.an-home-section__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--an-text-subtle);
}

.an-home-shop {
  padding: var(--an-space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background: var(--an-bg);
}

.an-home-spots {
  padding: var(--an-space-6) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.an-home-spots__grid {
  display: grid;
  grid-template-columns: repeat(var(--an-home-grid-cols), minmax(0, 1fr));
  gap: var(--an-space-3);
}

.an-home-spot-card {
  border-radius: var(--an-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color var(--an-duration) var(--an-ease);
}

.an-home-spot-card:hover {
  border-color: rgba(129, 215, 66, 0.35);
}

.an-home-spot-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--an-bg-hover);
}

.an-home-spot-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-home-spot-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #1a222d, #12161c);
}

.an-home-spot-card__tag {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  padding: 0.15rem 0.45rem;
  border-radius: var(--an-radius-sm);
  background: rgba(8, 10, 12, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--an-text-muted);
  font-size: 0.58rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.an-home-spot-card__body {
  padding: var(--an-space-3);
  display: grid;
  gap: 0.35rem;
}

.an-home-spot-card__title {
  margin: 0;
  font-size: var(--an-text-xs);
  line-height: 1.35;
  min-height: 2.6em;
}

.an-home-spot-card__title a {
  color: inherit;
  text-decoration: none;
}

.an-home-spot-card--event:hover {
  border-color: rgba(129, 215, 66, 0.45);
}

.an-home-spot-card__tag--date {
  background: rgba(129, 215, 66, 0.92);
  border-color: rgba(129, 215, 66, 0.5);
  color: #0a0c0e;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: none;
}

.an-home-spot-card__badge {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
}

.an-home-spots--events {
  padding-top: 0;
  border-top: 0;
}

.an-home-spot-card__meta {
  margin: 0;
  font-size: var(--an-text-xs);
  color: var(--an-text-subtle);
  line-height: 1.35;
}

.an-home-shop__grid {
  display: grid;
  grid-template-columns: repeat(var(--an-home-grid-cols), minmax(0, 1fr));
  gap: var(--an-space-3);
}

.an-home-shop__grid--products {
  --an-home-shop-product-cols: 5;
  grid-template-columns: repeat(var(--an-home-shop-product-cols), minmax(0, 1fr));
}

.an-home-shop__categories {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: var(--an-space-3);
  margin-bottom: var(--an-space-6);
}

.an-shop-cat {
  display: grid;
  gap: var(--an-space-2);
  padding: var(--an-space-3);
  border-radius: var(--an-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  color: inherit;
  text-decoration: none;
  text-align: center;
  transition: border-color var(--an-duration) var(--an-ease);
}

.an-shop-cat:hover {
  border-color: rgba(129, 215, 66, 0.35);
  color: inherit;
  text-decoration: none;
}

.an-shop-cat__media {
  display: block;
  aspect-ratio: 1;
  border-radius: var(--an-radius-sm);
  overflow: hidden;
  background: #fff;
}

.an-shop-cat__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--an-space-2);
}

.an-shop-cat__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--an-bg-hover);
}

.an-shop-cat__label {
  font-size: var(--an-text-xs);
  font-weight: 600;
  line-height: 1.3;
}

.an-shop-cat__count {
  font-size: 0.62rem;
  color: var(--an-text-subtle);
}

.an-home-shop__products-head {
  margin-bottom: var(--an-space-4);
}

.an-home-shop__products-title {
  margin: 0;
  font-family: var(--an-font-display);
  font-size: var(--an-text-base);
  font-weight: 700;
  color: var(--an-text);
}

.an-home-shop__products-hint {
  margin: var(--an-space-1) 0 0;
  font-size: var(--an-text-xs);
  color: var(--an-text-subtle);
  line-height: 1.45;
}

.an-shop-card .add_to_cart_button,
.an-shop-card .button.product_type_simple,
.an-shop-card .button.product_type_variable {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 2rem;
  padding: 0.4rem 0.75rem;
  border-radius: var(--an-radius-full);
  border: 1px solid var(--an-accent);
  background: var(--an-accent);
  color: #0a0c0e;
  font-size: var(--an-text-xs);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--an-duration) var(--an-ease);
}

.an-shop-card .add_to_cart_button:hover,
.an-shop-card .button.product_type_simple:hover,
.an-shop-card .button.product_type_variable:hover {
  background: var(--an-accent-hover);
  color: #0a0c0e;
  text-decoration: none;
}

.an-shop-card {
  border-radius: var(--an-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color var(--an-duration) var(--an-ease);
}

.an-shop-card:hover {
  border-color: rgba(255, 153, 0, 0.35);
  transform: none;
  box-shadow: none;
}

.an-shop-card__media {
  display: block;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}

.an-shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: var(--an-space-2);
}

.an-shop-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--an-bg-hover);
}

.an-shop-card__tag {
  position: absolute;
  top: 0.35rem;
  left: 0.35rem;
  padding: 0.15rem 0.4rem;
  border-radius: var(--an-radius-sm);
  background: var(--an-amazon);
  color: #111;
  font-size: 0.58rem;
  font-weight: 800;
  text-transform: uppercase;
}

.an-shop-card__body {
  padding: var(--an-space-3);
  display: grid;
  gap: 0.35rem;
}

.an-shop-card__title {
  margin: 0;
  font-size: var(--an-text-xs);
  line-height: 1.35;
  min-height: 2.6em;
}

.an-shop-card__title a {
  color: inherit;
  text-decoration: none;
}

.an-shop-card__price {
  margin: 0;
  font-size: var(--an-text-sm);
  font-weight: 700;
}

.an-shop-card__price del {
  color: var(--an-text-subtle);
  font-size: var(--an-text-xs);
  margin-right: 0.25rem;
}

.an-shop-card__price ins {
  text-decoration: none;
  color: var(--an-accent);
}

.an-home-news {
  padding: var(--an-space-6) 0 var(--an-space-8);
}

.an-home-news__grid {
  display: grid;
  grid-template-columns: repeat(var(--an-home-grid-cols), minmax(0, 1fr));
  gap: var(--an-space-3);
}

.an-news-card {
  border-radius: var(--an-radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  transition: border-color var(--an-duration) var(--an-ease);
}

.an-news-card:hover {
  border-color: rgba(129, 215, 66, 0.3);
  transform: none;
  box-shadow: none;
}

.an-news-card__media {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--an-bg-hover);
}

.an-news-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.an-news-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1c222b, #12161c);
}

.an-news-card__body {
  padding: var(--an-space-3);
  display: grid;
  gap: 0.35rem;
}

.an-news-card__date {
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--an-accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.an-news-card__title {
  margin: 0;
  font-size: var(--an-text-base);
  font-weight: 600;
  line-height: 1.3;
}

.an-news-card__title a {
  color: inherit;
  text-decoration: none;
}

.an-news-card__excerpt {
  margin: 0;
  font-size: var(--an-text-xs);
  color: var(--an-text-muted);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── Mobile ── */
@media (max-width: 1199px) {
  .an-home {
    --an-home-grid-cols: 3;
  }

  .an-home-shop__categories {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .an-home-shop__grid--products {
    --an-home-shop-product-cols: 3;
  }
}

@media (max-width: 1023px) {
  .an-home-hero {
    width: 100%;
    padding: 0 0 var(--an-space-4);
  }

  .an-home-hero__grid {
    grid-template-columns: 1fr;
    gap: 0;
    height: auto;
  }

  .an-home-hero__map-col {
    min-height: clamp(440px, 58vh, 580px);
    height: auto;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }

  .an-map-block--hero .an-map-block__controls {
    left: var(--an-space-3);
    bottom: var(--an-space-3);
    max-width: calc(100% - 2rem);
  }

  .an-map-block--hero .an-map-block__stats {
    left: var(--an-space-3);
    bottom: calc(var(--an-space-3) + 6.25rem);
  }

  .an-home-hero__copy {
    top: var(--an-space-3);
    left: var(--an-space-4);
  }

  .an-home-hero__title {
    font-size: 1.1rem;
  }

  .an-home-hero__rail {
    display: none;
  }

  .an-map-block--hero .an-map-block__tabs {
    top: var(--an-space-3);
    right: var(--an-space-3);
  }

  .an-home-sheet {
    display: block;
    position: fixed;
    z-index: calc(var(--an-z-bottom-nav) - 1);
    left: 0;
    right: 0;
    bottom: calc(var(--an-bottom-nav-height) + env(safe-area-inset-bottom, 0px));
    background: var(--an-bg-elevated);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px 14px 0 0;
    max-height: 58vh;
    transform: translateY(calc(100% - 2.75rem));
    transition: transform 0.3s var(--an-ease);
  }

  .an-home-sheet.is-open {
    transform: translateY(0);
  }

  .an-home-sheet__handle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    width: 100%;
    padding: 0.55rem var(--an-space-3) 0.35rem;
    border: 0;
    background: transparent;
    color: var(--an-text-muted);
    cursor: pointer;
    font-size: var(--an-text-xs);
    font-weight: 600;
  }

  .an-home-sheet__handle-bar {
    width: 36px;
    height: 3px;
    border-radius: var(--an-radius-full);
    background: var(--an-border);
  }

  .an-home-sheet__body {
    overflow: auto;
    max-height: calc(58vh - 2.75rem);
    padding: 0 var(--an-space-3) var(--an-space-4);
  }

  .an-home-rail__list--sheet {
    gap: var(--an-space-1);
  }

  .an-home-shop__grid,
  .an-home-shop__grid--products,
  .an-home-spots__grid,
  .an-home-news__grid {
    --an-home-grid-cols: 2;
    --an-home-shop-product-cols: 2;
  }

  .an-home-shop__categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 639px) {
  .an-home-shop__grid,
  .an-home-spots__grid,
  .an-home-news__grid {
    --an-home-grid-cols: 1;
  }
}
