/* Homepage layout for لِبسة — last-loaded customer overrides. */
html body.home-page:not(.admin-view):not(.merchant-view) {
  --ls-burgundy: #66001f;
  --ls-olive: #59633A;
  --ls-beige: #E8D8BE;
  --ls-ivory: #FBF7F0;
  --ls-ink: #31352C;
  --ls-white: #FFFDF9;
  --home-gap: clamp(56px, 8vw, 72px);
  --home-gap-lg: clamp(80px, 7vw, 112px);
  --home-pad: 16px;
  background: var(--ls-ivory);
  color: var(--ls-ink);
}

@media (min-width: 768px) {
  html body.home-page:not(.admin-view):not(.merchant-view) {
    --home-pad: 28px;
  }
}

html body.home-page:not(.admin-view):not(.merchant-view) .container,
html body.home-page:not(.admin-view):not(.merchant-view) .home-band-body,
html body.home-page:not(.admin-view):not(.merchant-view) .home-categories-inner,
html body.home-page:not(.admin-view):not(.merchant-view) .about-libseh-layout,
html body.home-page:not(.admin-view):not(.merchant-view) .home-cta-inner {
  width: min(100% - (var(--home-pad) * 2), 1280px) !important;
  max-width: 1280px !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  box-sizing: border-box !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .libseh-header .container.libseh-header-inner {
  width: min(100% - 16px, 1280px) !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) main {
  min-width: 0;
}

html body.home-page.has-bottom-nav:not(.admin-view):not(.merchant-view) main {
  padding-bottom: 0 !important;
}

html body.home-page.has-bottom-nav:not(.admin-view):not(.merchant-view) .libseh-footer {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)) !important;
}

/* Header */
html body.home-page:not(.admin-view):not(.merchant-view) .libseh-header {
  min-height: 64px;
  background: rgba(255, 253, 249, .94);
  border-bottom: 1px solid rgba(232, 216, 190, .8);
  box-shadow: none;
}

html body.home-page:not(.admin-view):not(.merchant-view) .customer-main-nav a {
  font-weight: 600;
  color: var(--ls-ink);
}
html body.home-page:not(.admin-view):not(.merchant-view) .customer-main-nav a.active {
  color: var(--ls-burgundy);
}

/* Hero */
html body.home-page:not(.admin-view):not(.merchant-view) .home-hero {
  position: relative !important;
  isolation: isolate;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  background: var(--ls-beige) !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero::after,
html body.home-page:not(.admin-view):not(.merchant-view) .home-hero-overlay,
html body.home-page:not(.admin-view):not(.merchant-view) [data-hero-prev],
html body.home-page:not(.admin-view):not(.merchant-view) [data-hero-next],
html body.home-page:not(.admin-view):not(.merchant-view) .hero-nav {
  display: none !important;
  content: none !important;
  background: none !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero-slides {
  position: relative !important;
  inset: auto !important;
  z-index: 0 !important;
  height: auto !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero-slides img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 18% !important;
  opacity: 0;
  transition: opacity 280ms ease;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero-slides img.is-active {
  opacity: 1;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-copy {
  position: relative !important;
  z-index: 2 !important;
  inset: auto !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px !important;
  background: #FBF7F0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: start !important;
  color: #31352C !important;
  transform: none !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-copy .eyebrow {
  color: #59633A !important;
  font-size: .88rem !important;
  font-weight: 600 !important;
  margin: 0 0 6px !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-title,
html body.home-page:not(.admin-view):not(.merchant-view) .home-hero h1 {
  font-size: clamp(1.7rem, 7vw, 2.2rem) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  max-width: 14ch;
  margin: 0 0 8px !important;
  color: #66001f !important;
  text-shadow: 0 1px 0 rgba(255, 253, 249, .55);
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-subtitle {
  font-size: clamp(0.95rem, 3.4vw, 1.08rem) !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  margin: 0 0 14px !important;
  color: #31352C !important;
  max-width: none;
  display: block !important;
  -webkit-line-clamp: unset !important;
  overflow: visible !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-actions {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
  width: 100% !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-actions .pill {
  min-height: 44px !important;
  justify-content: center !important;
  font-weight: 600 !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-actions .pill.ghost {
  background: #f6f1e8 !important;
  color: #59633A !important;
  border: 1px solid #59633A !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-dots {
  position: static !important;
  z-index: 2 !important;
  inset: auto !important;
  display: flex !important;
  justify-content: flex-start;
  gap: 6px;
  margin: 12px 0 0 !important;
  pointer-events: none;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-dots button {
  pointer-events: auto;
  width: 7px !important;
  height: 7px !important;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: rgba(89, 99, 58, .4) !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-dots button.is-active {
  width: 18px !important;
  background: #66001f !important;
}

@media (min-width: 768px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .home-hero {
    height: auto !important;
  }
  html body.home-page:not(.admin-view):not(.merchant-view) .home-hero-slides img {
    object-position: center 22% !important;
  }
  html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-copy {
    inset-block: auto !important;
    inset-block-start: 50% !important;
    inset-inline-start: max(24px, calc((100% - 1280px) / 2 + 24px)) !important;
    inset-inline-end: auto !important;
    transform: translateY(-50%) !important;
    width: min(520px, 42vw) !important;
    max-width: 520px !important;
  }
  html body.home-page:not(.admin-view):not(.merchant-view) .home-hero .hero-title,
  html body.home-page:not(.admin-view):not(.merchant-view) .home-hero h1 {
    font-size: clamp(2.1rem, 4vw, 3.6rem) !important;
  }
}

/* Sections */
html body.home-page:not(.admin-view):not(.merchant-view) .home-categories,
html body.home-page:not(.admin-view):not(.merchant-view) .home-band,
html body.home-page:not(.admin-view):not(.merchant-view) .home-why,
html body.home-page:not(.admin-view):not(.merchant-view) .about-libseh,
html body.home-page:not(.admin-view):not(.merchant-view) .home-cta {
  margin: 0 !important;
  padding-block: var(--home-gap) !important;
  min-height: 0 !important;
  height: auto !important;
  background: transparent !important;
}

@media (min-width: 1024px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .home-categories,
  html body.home-page:not(.admin-view):not(.merchant-view) .home-band,
  html body.home-page:not(.admin-view):not(.merchant-view) .home-why,
  html body.home-page:not(.admin-view):not(.merchant-view) .about-libseh,
  html body.home-page:not(.admin-view):not(.merchant-view) .home-cta {
    padding-block: var(--home-gap-lg) !important;
  }
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-section-head {
  display: grid !important;
  gap: 8px !important;
  margin-bottom: 28px !important;
  text-align: center !important;
  justify-items: center !important;
  margin-inline: auto !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-section-head .eyebrow {
  color: var(--ls-olive) !important;
  font-size: .9rem !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-section-head h2 {
  color: var(--ls-burgundy) !important;
  font-size: clamp(1.75rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin: 0 !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-section-head p {
  font-size: clamp(1rem, 2vw, 1.2rem) !important;
  max-width: 40rem;
  margin: 0 auto !important;
  text-align: center !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-section-cta {
  margin-top: 8px;
}

/* Categories */
.welcome-modal[hidden] { display: none !important; }
html body.home-page:not(.admin-view):not(.merchant-view) .categories-grid.main-category-circles {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 16px 12px !important;
  justify-items: center !important;
}

@media (min-width: 390px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .categories-grid.main-category-circles {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (min-width: 768px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .categories-grid.main-category-circles {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 24px 16px !important;
    max-width: 880px;
    margin-inline: auto;
  }
}

html body.home-page:not(.admin-view):not(.merchant-view) .main-category {
  display: grid !important;
  justify-items: center;
  gap: 8px;
  width: 100%;
  min-width: 0;
  text-decoration: none;
  color: var(--ls-ink);
}

html body.home-page:not(.admin-view):not(.merchant-view) .main-category span {
  display: grid;
  place-items: center;
  width: min(100%, 112px);
  aspect-ratio: 1;
  border-radius: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

html body.home-page:not(.admin-view):not(.merchant-view) .main-category img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
}

html body.home-page:not(.admin-view):not(.merchant-view) .main-category strong {
  font-size: .92rem;
  font-weight: 600;
  text-align: center;
}

@media (hover: hover) {
  html body.home-page:not(.admin-view):not(.merchant-view) .main-category:hover span {
    transform: translateY(-2px);
    transition: transform 180ms ease;
  }
}

/* Featured stores */
html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .store-carousel {
  width: 100% !important;
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin-inline: 0 !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .store-carousel::-webkit-scrollbar {
  display: none;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .store-carousel-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  gap: 16px !important;
  width: max-content !important;
  min-width: 0 !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .ls-store-card {
  position: relative;
  flex: 0 0 min(86vw, 340px) !important;
  width: min(86vw, 340px) !important;
  max-width: 86vw !important;
  min-width: 0 !important;
  scroll-snap-align: start;
  background: var(--ls-white);
  border: 1px solid rgba(232, 216, 190, .9);
  border-radius: 20px;
  box-shadow: 0 6px 20px rgba(49, 53, 44, .05);
  overflow: visible;
  padding-bottom: 14px;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-media {
  position: relative;
}
html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-logo {
  position: absolute;
  inset-block-end: -22px;
  inset-inline-start: 16px;
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--ls-white);
  background: var(--ls-white);
  z-index: 2;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-media > .favorite-form {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-end: 12px;
  z-index: 2;
  margin: 0;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-body {
  display: grid;
  gap: 10px;
  padding: 36px 16px 4px;
  min-width: 0;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-main {
  display: grid;
  gap: 4px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .featured-store-actions form {
  margin: 0;
}

@media (min-width: 768px) {
  html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .ls-store-card,
  html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .ls-store-card {
    flex-basis: calc(50% - 10px) !important;
    width: calc((1280px - 16px) / 2) !important;
    max-width: calc(50vw - 28px) !important;
  }
}

@media (min-width: 1024px) {
  html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .store-carousel {
    overflow: visible !important;
  }
  html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .store-carousel-track {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
    gap: 20px !important;
  }
  html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .ls-store-card {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
  }
}

@media (min-width: 1280px) {
  html body.home-page:not(.admin-view):not(.merchant-view) #featured-stores .store-carousel-track {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Products */
html body.home-page:not(.admin-view):not(.merchant-view) .home-product-carousel {
  overflow-x: auto !important;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-product-track {
  display: flex !important;
  gap: 16px !important;
  width: max-content !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-product-track .luxe-product-card {
  flex: 0 0 min(72vw, 260px) !important;
  width: min(72vw, 260px) !important;
  max-width: 260px !important;
  min-width: 0 !important;
  scroll-snap-align: start;
  height: auto !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-product-track .luxe-product-card img {
  aspect-ratio: 4 / 5;
  height: auto !important;
  object-fit: cover;
}

html body.home-page:not(.admin-view):not(.merchant-view) .product-sale-ends {
  display: block;
  font-size: .82rem;
  color: var(--ls-olive);
}

@media (min-width: 1024px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .home-product-carousel {
    overflow: visible !important;
  }
  html body.home-page:not(.admin-view):not(.merchant-view) .home-product-track {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    width: 100% !important;
  }
  html body.home-page:not(.admin-view):not(.merchant-view) .home-product-track .luxe-product-card {
    width: auto !important;
    max-width: none !important;
    flex: none !important;
  }
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-compact {
  max-height: 260px !important;
  min-height: 0 !important;
  padding: 20px 16px !important;
  gap: 8px !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-compact svg {
  width: 36px;
  height: 36px;
  color: var(--ls-olive);
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-compact strong {
  color: var(--ls-burgundy);
}

/* Why */
html body.home-page:not(.admin-view):not(.merchant-view) .home-why .site-benefits-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-why .site-benefit {
  min-height: 0 !important;
  padding: 16px 14px !important;
  background: var(--ls-white);
  border: 1px solid rgba(232, 216, 190, .9);
  border-radius: 16px;
  box-shadow: none !important;
  text-align: start !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-why .site-benefit svg {
  width: 28px;
  height: 28px;
  stroke: var(--ls-olive);
  fill: none;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-why .site-benefit p {
  font-size: .92rem;
  line-height: 1.45;
  margin: 0;
}

@media (min-width: 1024px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .home-why .site-benefits-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 16px !important;
  }
}

/* About */
html body.home-page:not(.admin-view):not(.merchant-view) #about-libseh.about-libseh {
  position: relative !important;
  min-height: 0 !important;
  overflow: visible !important;
  background: transparent !important;
  display: block !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) #about-libseh.about-libseh::after {
  display: none !important;
  content: none !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .about-libseh-layout {
  display: grid !important;
  gap: 24px !important;
  align-items: center;
}

html body.home-page:not(.admin-view):not(.merchant-view) #about-libseh .about-libseh-image {
  position: static !important;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  border-radius: 0 !important;
  background: transparent !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) #about-libseh .about-libseh-copy {
  position: static !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .about-libseh-points {
  margin: 12px 0 16px;
  padding-inline-start: 1.1rem;
  display: grid;
  gap: 6px;
}

html body.home-page:not(.admin-view):not(.merchant-view) .about-libseh-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 900px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .about-libseh-layout {
    grid-template-columns: .9fr 1.1fr;
    gap: 40px;
  }
  html body.home-page:not(.admin-view):not(.merchant-view) #about-libseh .about-libseh-image {
    max-height: none !important;
  }
}

/* CTA */
html body.home-page:not(.admin-view):not(.merchant-view) .home-cta {
  background: var(--ls-beige) !important;
  position: relative;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-cta::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-start: 0;
  height: 8px;
  background: var(--ls-burgundy);
  opacity: .85;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-cta-inner {
  display: grid;
  gap: 10px;
  justify-items: start;
  text-align: start;
  position: relative;
  z-index: 1;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-cta h2 {
  color: var(--ls-burgundy);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  margin: 0;
}

/* Footer */
html body:not(.admin-view):not(.merchant-view) .libseh-footer {
  background: var(--ls-ivory);
  border-top: 1px solid rgba(232, 216, 190, .9);
}

html body:not(.admin-view):not(.merchant-view) .footer-grid {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 12px !important;
  padding-block: 28px 8px !important;
  min-height: 0 !important;
}

html body:not(.admin-view):not(.merchant-view) .footer-brand {
  display: grid;
  gap: 10px;
}

html body:not(.admin-view):not(.merchant-view) .footer-social {
  display: flex !important;
  gap: 8px !important;
  flex-wrap: nowrap;
}

html body:not(.admin-view):not(.merchant-view) .footer-acc {
  border-bottom: 1px solid rgba(232, 216, 190, .7);
  padding-block: 6px;
}

html body:not(.admin-view):not(.merchant-view) .footer-acc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--ls-burgundy);
  padding-block: 8px;
}

html body:not(.admin-view):not(.merchant-view) .footer-acc a {
  display: block;
  padding-block: 6px;
  color: var(--ls-ink);
  text-decoration: none;
}

html body:not(.admin-view):not(.merchant-view) .footer-bottom {
  padding-block: 12px 8px !important;
}

@media (min-width: 1024px) {
  html body:not(.admin-view):not(.merchant-view) .footer-grid {
    grid-template-columns: 1.3fr 1fr 1fr 1fr !important;
    gap: 32px !important;
    align-items: start;
  }
  html body:not(.admin-view):not(.merchant-view) .footer-acc {
    border: 0;
  }
  html body:not(.admin-view):not(.merchant-view) .footer-acc summary {
    pointer-events: none;
    list-style: none;
  }
  html body:not(.admin-view):not(.merchant-view) .footer-acc summary::-webkit-details-marker {
    display: none;
  }
}

/* Bottom nav */
html body:not(.admin-view):not(.merchant-view) .customer-bottom-nav {
  background: rgba(251, 247, 240, .97) !important;
  border-top: 1px solid rgba(232, 216, 190, .95) !important;
  padding-bottom: env(safe-area-inset-bottom, 0px) !important;
  min-height: 56px;
}

html body:not(.admin-view):not(.merchant-view) .customer-bottom-nav a {
  color: var(--ls-olive) !important;
}

html body:not(.admin-view):not(.merchant-view) .customer-bottom-nav a.active {
  color: var(--ls-burgundy) !important;
}

html body:not(.admin-view):not(.merchant-view) .bag-trigger,
html body:not(.admin-view):not(.merchant-view) .bottom-cart-link {
  overflow: visible !important;
  position: relative !important;
}

html body:not(.admin-view):not(.merchant-view) .header-cart-icon,
html body:not(.admin-view):not(.merchant-view) .bottom-cart-icon,
html body.has-bottom-nav:not(.admin-view):not(.merchant-view) .customer-bottom-nav a.bottom-cart-link span.bottom-cart-icon {
  position: relative !important;
  display: grid !important;
  place-items: center !important;
  width: 26px !important;
  height: 26px !important;
  min-width: 26px !important;
  min-height: 26px !important;
  max-width: 26px !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: inherit !important;
  overflow: visible !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  font-size: 0 !important;
  line-height: 0 !important;
  white-space: normal !important;
  text-overflow: clip !important;
}

html body:not(.admin-view):not(.merchant-view) .header-cart-icon svg,
html body:not(.admin-view):not(.merchant-view) .bottom-cart-icon svg {
  width: 24px !important;
  height: 24px !important;
  display: block !important;
}

html body:not(.admin-view):not(.merchant-view) .bottom-cart-badge,
html body.has-bottom-nav:not(.admin-view):not(.merchant-view) .customer-bottom-nav .bottom-cart-icon > .bottom-cart-badge,
html body:not(.admin-view):not(.merchant-view) .header-cart-icon > .bottom-cart-badge {
  position: absolute !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  inset-block-start: -3px !important;
  inset-inline-end: -4px !important;
  inset-block-end: auto !important;
  inset-inline-start: auto !important;
  width: 15px !important;
  min-width: 15px !important;
  max-width: 18px !important;
  height: 15px !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 50% !important;
  background: #66001f !important;
  color: #fff !important;
  font-size: 9px !important;
  font-weight: 800 !important;
  line-height: 15px !important;
  display: grid !important;
  place-items: center !important;
  z-index: 3 !important;
  pointer-events: none !important;
  overflow: visible !important;
}

html body:not(.admin-view):not(.merchant-view) .customer-bottom-nav .bottom-cart-link > span:not(.bottom-cart-icon) {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  background: none !important;
  color: inherit !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 0 !important;
  display: block !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-shop-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  min-width: 0;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-shop-pair > .home-band {
  min-width: 0;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-card {
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 18px 16px 16px;
  background: #FBF7F0;
  border: 1px solid #E8D8BE;
  border-radius: 24px;
  box-shadow: none;
  color: #31352C;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-art {
  display: block;
  width: 98px;
  height: 98px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-card strong {
  margin: 0;
  color: #66001f;
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.35;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-card p {
  margin: 0;
  max-width: 28ch;
  color: #31352C;
  font-size: 0.92rem;
  line-height: 1.5;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-cta {
  margin-top: 4px;
  min-height: 42px;
  padding-inline: 18px;
  background: #66001f;
  border-color: #66001f;
  color: #FBF7F0;
  transition: background-color 180ms ease, border-color 180ms ease;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-cta:hover,
html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-cta:focus-visible {
  background: #5e1630 !important;
  border-color: #5e1630 !important;
}

html body.home-page:not(.admin-view):not(.merchant-view) .home-band-shop:has(.home-empty-card) {
  padding-block: 18px 20px !important;
}

@media (min-width: 768px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .home-shop-pair.is-empty-pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    gap: 16px;
    width: min(100% - 32px, 1280px);
    margin-inline: auto;
  }

  html body.home-page:not(.admin-view):not(.merchant-view) .home-shop-pair.is-empty-pair .home-band-shop {
    min-width: 0;
    padding-block: 20px !important;
  }

  html body.home-page:not(.admin-view):not(.merchant-view) .home-shop-pair.is-empty-pair .home-band-body {
    width: 100% !important;
    max-width: none !important;
  }

  html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-art {
    width: 120px;
    height: 120px;
  }
}

@media (min-width: 1024px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .home-empty-art {
    width: 126px;
    height: 126px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html body.home-page:not(.admin-view):not(.merchant-view) * {
    transition: none !important;
    animation: none !important;
  }
}
@media (min-width: 768px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .categories-grid.main-category-circles {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}
/* Keep all six categories visible; three primary departments occupy the first row. */
html body.home-page:not(.admin-view):not(.merchant-view) .home-categories .categories-grid.main-category-circles {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  overflow: visible !important;
  gap: 24px 16px !important;
  max-width: 900px !important;
  margin-inline: auto !important;
}
html body.home-page:not(.admin-view):not(.merchant-view) .home-categories .main-category {
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  padding: 0 !important;
}
html body.home-page:not(.admin-view):not(.merchant-view) .home-categories .main-category > .category-item-media {
  width: clamp(80px, 15vw, 170px) !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  max-width: 100% !important;
  max-height: none !important;
  aspect-ratio: 1 !important;
}
html body.home-page:not(.admin-view):not(.merchant-view) .home-categories .main-category > .category-item-media img {
  object-fit: contain !important;
}
@media(max-width:359px) {
  html body.home-page:not(.admin-view):not(.merchant-view) .home-categories .categories-grid.main-category-circles { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
}
