.app-shell {
  --header-height: calc(
    73px
    + max(0px, calc(env(safe-area-inset-top) - 12px))
    + max(0px, calc(env(safe-area-inset-top) - 12px))
  );
  width: 100%;
  min-width: 0;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  padding-top: var(--header-height);
  display: flex;
  flex-direction: column;
  background: var(--canvas);
}

#app {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  container-type: inline-size;
}

/* Sticky Header */
.site-header {
  background: rgba(255, 253, 247, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(10, 37, 64, 0.1);
  box-shadow: 0 4px 18px rgba(10, 37, 64, 0.045);
}

#header-root {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
}

.site-header__inner {
  max-width: var(--page-max);
  margin: 0 auto;
  min-height: 72px;
  padding: max(12px, env(safe-area-inset-top)) var(--gutter);
  display: grid;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  text-decoration: none;
}

.brand__mark {
  width: 48px;
  height: 42px;
  display: grid;
  place-items: center;
  transition: transform 0.2s var(--ease);
}

.brand:hover .brand__mark {
  transform: scale(1.05);
}

.brand__mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand__name {
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0.045em;
  color: #0a2540;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #0a2540;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--canvas);
}

.language-switch__option {
  min-width: 36px;
  height: 28px;
  padding: 0 8px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  color: var(--ink-500);
  font-size: 0.68rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.language-switch__option.is-active,
.language-switch__option:hover {
  background: var(--paper);
  color: var(--green-800);
  box-shadow: var(--shadow-xs);
}

.icon-btn {
  position: relative;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid transparent;
  background: transparent;
  border-radius: 13px;
  color: #0a2540;
  display: grid;
  place-items: center;
  transition: all 0.2s var(--ease);
}

.icon-btn:hover {
  background: rgba(46, 125, 50, 0.08);
  border-color: rgba(46, 125, 50, 0.18);
  color: #2e7d32;
}

.icon-btn:active {
  transform: scale(0.95);
}

.icon-btn:focus-visible,
.header-menu-item:focus-visible,
.brand:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.55);
  outline-offset: 2px;
}

.icon-btn svg {
  width: 21px;
  height: 21px;
}

.header-menu-wrap {
  position: relative;
}

.header-menu-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 50;
  width: min(240px, calc(100vw - 28px));
  padding: 7px;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 15px;
  background: #fffdf7;
  box-shadow: 0 14px 34px rgba(10, 37, 64, 0.15);
}

.header-menu-panel[hidden] {
  display: none;
}

.header-menu-item {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #0a2540;
  text-align: left;
  font-size: 0.9rem;
  font-weight: 700;
}

.header-menu-item:hover {
  background: rgba(46, 125, 50, 0.08);
  color: #2e7d32;
}

.cart-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-pill);
  background: var(--green-700);
  color: white;
  font-size: 0.68rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px white;
  transition: transform 0.2s var(--ease);
}

/* Page Layout */
.page {
  flex: 1;
  width: 100%;
  min-width: 0;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 20px var(--gutter) calc(var(--bottom-nav-h) + 32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.page > * {
  min-width: 0;
}

/* Shared motion layer for route changes and long scrolling pages. */
#main-root {
  width: 100%;
  min-width: 0;
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(22px) scale(0.985);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.scroll-reveal.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
  .scroll-reveal {
    animation: none;
    transition: none;
    transform: none;
    opacity: 1;
  }
}

/* Mobile-first browse structure */
.browse-screen {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.home-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.home-intro__eyebrow,
.home-section-heading__eyebrow {
  margin: 0 0 5px;
  color: var(--green-700);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-intro__title {
  max-width: 280px;
  color: var(--ink-950);
  font-size: 1.52rem;
  line-height: 1.12;
}

.home-quick-links {
  margin: 0 calc(var(--gutter) * -1);
  padding: 2px 0 5px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: none;
  touch-action: pan-x;
}

.home-quick-links__track {
  display: flex;
  width: max-content;
}

.home-quick-links__group {
  display: flex;
  flex: 0 0 auto;
  padding: 0 var(--gutter);
}

.home-quick-links::-webkit-scrollbar,
.home-promo__viewport::-webkit-scrollbar {
  display: none;
}

.home-quick-link {
  width: 68px;
  flex: 0 0 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
  scroll-snap-align: start;
}

.home-quick-link__icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--green-50);
  color: var(--green-700);
}

.responsive-asset-image {
  display: contents;
}

.home-quick-link__icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-quick-link__icon svg {
  width: 29px;
  height: 29px;
}

.home-hero {
  position: relative;
  min-height: 238px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #f6ead7;
  box-shadow: var(--shadow-sm);
}

.home-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero__content {
  position: relative;
  z-index: 1;
  width: 68%;
  min-height: 238px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  padding: 24px 18px;
  background: linear-gradient(90deg, rgba(255, 249, 237, 0.94), rgba(255, 249, 237, 0.66), transparent);
}

.home-hero__eyebrow {
  color: var(--green-800);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-hero h2 {
  max-width: 230px;
  color: var(--ink-950);
  font-size: 1.62rem;
  line-height: 1.08;
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 5px;
}

.home-hero__button,
.home-promo-card__button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 800;
}

.home-hero__button--primary,
.home-promo-card__button {
  border: 1px solid var(--green-700);
  background: var(--green-700);
  color: white;
}

.home-hero__button--secondary {
  border: 1px solid rgba(20, 108, 67, 0.28);
  background: rgba(255, 255, 255, 0.84);
  color: var(--green-800);
}

.home-promo {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.home-section-heading h2 {
  color: var(--ink-950);
  font-size: 1.12rem;
  line-height: 1.18;
}

.home-promo__viewport {
  margin: 0 calc(var(--gutter) * -1);
  overflow: hidden;
  touch-action: pan-y;
  border-radius: var(--radius-md);
}

.home-promo__track {
  display: flex;
  gap: 0;
  padding: 0 0 5px;
  width: 100%;
  will-change: transform;
}

.home-promo-card {
  position: relative;
  width: 100%;
  min-height: 174px;
  flex: 0 0 100%;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  box-shadow: 0 12px 28px rgba(15, 81, 50, 0.1);
  transform: translateZ(0);
  transition: box-shadow 500ms var(--ease), border-color 500ms ease;
  isolation: isolate;
}

.home-promo-card:hover {
  border-color: var(--green-300);
  box-shadow: 0 16px 30px rgba(15, 81, 50, 0.16);
}

.home-promo-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1050ms cubic-bezier(0.16, 1, 0.3, 1), filter 700ms var(--ease);
}

.home-promo-card:not(.is-carousel-clone) .home-promo-card__image {
  animation: promoImageDrift 7s ease-in-out infinite alternate;
}

.home-promo-card:hover .home-promo-card__image {
  filter: saturate(1.08);
  transform: scale(1.06);
}

.home-promo-card__content {
  position: relative;
  z-index: 1;
  width: 72%;
  min-height: 174px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
  padding: 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.68), transparent);
  animation: promoContentLift 900ms var(--ease) both;
}

@keyframes promoImageDrift {
  from { transform: scale(1.02); }
  to { transform: scale(1.08); }
}

@keyframes promoContentLift {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-promo-card__content > span {
  color: var(--ink-950);
  font-size: 0.95rem;
  font-weight: 800;
}

.home-promo-card__content p {
  color: var(--ink-700);
  font-size: 0.74rem;
  line-height: 1.25;
}

.home-promo-card__button {
  min-height: 30px;
  padding: 0 11px;
  font-size: 0.7rem;
  position: relative;
  z-index: 2;
}

.home-section-heading--products {
  margin-top: 2px;
}

.home-sort-control select {
  min-height: 36px;
  max-width: 120px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  color: var(--ink-700);
  font-size: 0.72rem;
  font-weight: 700;
}

.home-category-grid {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0 calc(var(--gutter) * -1);
  padding: 1px var(--gutter) 4px;
  scrollbar-width: none;
}

.home-category-grid::-webkit-scrollbar {
  display: none;
}

.home-category-chip {
  width: 72px;
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  transition: background 280ms ease;
  background: transparent;

.home-promo-card:hover .home-promo-card__content {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.78) 68%, transparent);
}
  color: var(--ink-700);
  text-align: center;
}

.home-category-chip > span {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
}

.home-category-chip svg {
  width: 24px;
  height: 24px;
}

.home-category-chip small {
  overflow: hidden;
  width: 100%;
  font-size: 0.68rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browse-screen__header,
.browse-section__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.browse-screen__eyebrow,
.browse-section__kicker,
.browse-product-card__category {
  margin: 0 0 4px;
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.browse-screen__title,
.browse-section__heading h2 {
  color: var(--ink-950);
  font-size: 1.45rem;
  line-height: 1.15;
}

.browse-section__heading h2 {
  font-size: 1.15rem;
}

.browse-screen__search {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink-700);
}

.browse-screen__search svg {
  width: 20px;
  height: 20px;
}

.browse-switcher {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--ink-100);
}

.browse-switcher__tab {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--ink-500);
  font-weight: 800;
}

.browse-switcher__tab svg {
  width: 19px;
  height: 19px;
}

.browse-switcher__tab.is-active {
  background: var(--paper);
  color: var(--green-800);
  box-shadow: var(--shadow-xs);
}

.browse-screen__content,
.browse-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.browse-section__heading--products {
  margin-top: 2px;
}

.browse-section__action {
  border: 0;
  background: transparent;
  color: var(--green-700);
  font-size: 0.85rem;
  font-weight: 800;
}

.browse-category-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.browse-category {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
  border: 0;
  background: transparent;
  color: var(--ink-700);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
}

.browse-category__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-md);
}

.browse-category__icon svg {
  width: 27px;
  height: 27px;
}

.browse-product-list,
.browse-service-list {
  display: grid;
  gap: 12px;
}

.browse-product-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.browse-product-category-sections {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.browse-product-category-section {
  min-width: 0;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--paper);
}

.browse-product-category-section:nth-child(even) {
  background: #fffaf0;
}

.browse-product-category-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.browse-product-category-heading h3 {
  min-width: 0;
  color: var(--ink-950);
  font-size: 1.08rem;
  line-height: 1.25;
}

.browse-product-category-more {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 38px;
  padding: 7px 12px;
  border: 1px solid var(--green-200);
  border-radius: var(--radius-pill);
  background: var(--paper);
  color: var(--green-800);
  font-size: .78rem;
  font-weight: 800;
  white-space: nowrap;
}

.browse-product-category-more:hover {
  border-color: var(--green-700);
  background: var(--green-50);
}

.browse-product-category-more svg {
  width: 16px;
  height: 16px;
}

.browse-product-category-track {
  display: flex;
  gap: 12px;
  min-width: 0;
  padding: 2px 2px 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.browse-product-category-track .browse-product-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}

.browse-product-card,
.browse-service-card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  overflow: hidden;
  cursor: pointer;
}

.browse-product-card__media {
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: var(--canvas);
  color: var(--ink-400);
}

.browse-service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.browse-product-card__media img {
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 8px;
  object-fit: contain;
  object-position: center;
}

.browse-product-card__media svg {
  width: 32px;
  height: 32px;
}

.browse-product-card__body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px;
}

.browse-product-card__body h3,
.browse-service-card__body h3 {
  overflow: hidden;
  color: var(--ink-950);
  font-size: 0.92rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.browse-product-card__body strong,
.browse-service-card__body strong {
  color: var(--green-800);
  font-size: 0.9rem;
}

.browse-service-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 10px;
}

.browse-service-card__media {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--green-50);
  color: var(--green-700);
}

.browse-service-card__media svg {
  width: 30px;
  height: 30px;
}

.browse-service-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.browse-service-card__body > span {
  color: var(--ink-500);
  font-size: 0.72rem;
  font-weight: 700;
}

.browse-service-card__body p {
  display: -webkit-box;
  overflow: hidden;
  color: var(--ink-500);
  font-size: 0.78rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.browse-service-card__arrow {
  color: var(--ink-400);
}

.browse-service-card__arrow svg {
  width: 18px;
  height: 18px;
}

.browse-dairy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.browse-category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.browse-category-card {
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 4px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink-950);
  text-align: center;
  cursor: pointer;
  transition: transform 0.22s var(--ease);
}

.browse-category-card:hover {
  transform: translateY(-3px);
}

.browse-category-card__icon {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #dff9ec 0%, #bdf0d4 100%);
  border: 1px solid rgba(20, 108, 67, 0.16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 2rem;
}

.browse-category-card__body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.browse-category-card__body strong {
  font-size: 0.82rem;
  line-height: 1.2;
}

.browse-category-card__body small {
  display: none;
}

.browse-category-card .browse-dairy-card__action {
  display: none;
}

.browse-category-back {
  border: 0;
  background: transparent;
  color: var(--green-800);
  font-size: 0.76rem;
  font-weight: 800;
  cursor: pointer;
}

.browse-dairy-card {
  position: relative;
  min-height: 178px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(20, 108, 67, 0.14);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(240, 250, 244, 0.96) 0%, rgba(255, 255, 255, 0.98) 42%, rgba(247, 252, 249, 1) 100%);
  color: var(--ink-950);
  text-align: left;
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(17, 94, 58, 0.08);
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), border-color 0.22s ease;
  overflow: hidden;
  isolation: isolate;
}

.browse-dairy-card::before {
  content: "";
  position: absolute;
  top: -46px;
  right: -28px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(136, 223, 178, 0.42) 0%, rgba(136, 223, 178, 0.12) 38%, rgba(136, 223, 178, 0) 72%);
  z-index: 0;
}

.browse-dairy-card:hover {
  border-color: rgba(37, 162, 102, 0.6);
  box-shadow: 0 18px 32px rgba(17, 94, 58, 0.14);
  transform: translateY(-4px);
}

.browse-dairy-card > * {
  position: relative;
  z-index: 1;
}

.browse-dairy-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #defbe7 0%, #baf2d5 100%);
  border: 1px solid rgba(20, 108, 67, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  font-size: 1.8rem;
}

.browse-dairy-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.browse-dairy-card__body strong {
  color: var(--green-900);
  font-size: 1.08rem;
}

.browse-dairy-card__body small {
  color: var(--ink-700);
  font-size: 0.76rem;
  line-height: 1.4;
}

.browse-dairy-card__action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
  padding: 7px 10px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  box-shadow: 0 8px 18px rgba(20, 108, 67, 0.2);
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
}

.browse-dairy-card__action svg {
  width: 14px;
  height: 14px;
}

@media (max-width: 640px) {
  .browse-dairy-grid {
    grid-template-columns: 1fr;
  }
}

.browse-state {
  min-height: 170px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
  padding: 24px;
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-md);
  color: var(--ink-500);
  text-align: center;
}

.browse-state strong {
  color: var(--ink-800);
}

.browse-state button {
  border: 0;
  background: transparent;
  color: var(--green-700);
  font-weight: 800;
}

.browse-state__loader {
  width: 24px;
  height: 24px;
  border: 3px solid var(--green-200);
  border-top-color: var(--green-700);
  border-radius: 50%;
  animation: browseSpin 0.8s linear infinite;
}

@keyframes browseSpin {
  to { transform: rotate(360deg); }
}

.section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.section__title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-950);
}

.section__link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-700);
  text-decoration: none;
  transition: color 0.15s var(--ease), transform 0.15s var(--ease);
}

.section__link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s var(--ease);
}

.section__link:hover {
  color: var(--green-800);
}

.section__link:hover svg {
  transform: translateX(3px);
}

/* Fixed Premium Bottom Navigation (Mobile & Tablet) */
.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 6px 12px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.08);
  border-top: 1px solid rgba(20, 108, 67, 0.08);
}

.startup-animation {
  position: fixed;
  z-index: 99;
  right: 0;
  bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
  left: 0;
  height: min(70cqw, 24vh, 280px);
  overflow: hidden;
  background: transparent;
  opacity: 1;
  pointer-events: none;
  transition: opacity 300ms ease, transform 300ms ease;
}

.startup-animation svg {
  width: 100%;
  height: 100%;
}

.startup-animation.is-exiting {
  opacity: 0;
  transform: translateY(12px);
}

.bottom-nav__container {
  max-width: 560px;
  margin: 0 auto;
}

.bottom-nav__row {
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  padding: 0 4px;
  min-height: 56px;
}

.bottom-nav__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: var(--ink-500);
  cursor: pointer;
  padding: 4px 6px;
  min-width: 48px;
  transition: all 0.28s var(--ease);
  -webkit-tap-highlight-color: transparent;
}

.bottom-nav__bubble {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: transform 0.38s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.25s ease,
              box-shadow 0.3s ease,
              color 0.25s ease;
  background: transparent;
  color: inherit;
}

.bottom-nav__icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  transition: transform 0.25s ease;
}

.bottom-nav__icon svg {
  width: 22px;
  height: 22px;
  stroke-width: 1.85px;
}

.bottom-nav__item[data-nav="categories"] .bottom-nav__icon,
.bottom-nav__item[data-nav="categories"] .bottom-nav__icon svg {
  width: 24px;
  height: 24px;
}

.bottom-nav__label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: inherit;
  transition: all 0.25s ease;
  white-space: nowrap;
}

/* Floating elevated active bubble */
.bottom-nav__item.is-active {
  color: var(--green-800);
}

.bottom-nav__item.is-active .bottom-nav__bubble {
  transform: translateY(-16px) scale(1.08);
  background: linear-gradient(135deg, var(--green-700) 0%, var(--green-600) 100%);
  color: #ffffff;
  box-shadow: 0 0 0 4px #ffffff,
              0 10px 22px rgba(20, 108, 67, 0.38),
              0 3px 8px rgba(20, 108, 67, 0.22);
}

.bottom-nav__item.is-active .bottom-nav__bubble::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(78, 203, 140, 0.4) 0%, transparent 70%);
  opacity: 0.6;
  z-index: -1;
  animation: pulseGlow 2.4s infinite alternate ease-in-out;
}

@keyframes pulseGlow {
  0% { transform: scale(1); opacity: 0.4; }
  100% { transform: scale(1.2); opacity: 0.8; }
}

.bottom-nav__item.is-active .bottom-nav__label {
  color: var(--green-800);
  font-weight: 800;
  transform: translateY(-4px);
}

.bottom-nav__item:not(.is-active):hover {
  color: var(--green-700);
}

.bottom-nav__item:not(.is-active):hover .bottom-nav__bubble {
  transform: translateY(-3px);
  background: var(--green-50);
}

.bottom-nav__badge {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: var(--radius-pill);
  background: var(--green-700);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  display: grid;
  place-items: center;
  box-shadow: 0 0 0 2px white;
}

.bottom-nav__badge.wishlist-badge {
  background: #e11d48;
}

/* Responsive adjustments */
@media (min-width: 901px) {
  .page {
    padding-bottom: 48px;
  }

  .bottom-nav {
    display: none;
  }

  .startup-animation {
    bottom: 0;
  }
}

@media (max-width: 900px) {
  .app-shell {
    --header-height: calc(
      123px
      + max(0px, calc(env(safe-area-inset-top) - 12px))
      + max(0px, calc(env(safe-area-inset-top) - 12px))
    );
  }

  .site-header__inner {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand actions"
      "search search";
    gap: 10px 12px;
    padding-top: 10px;
    padding-bottom: 12px;
  }

  .brand {
    grid-area: brand;
  }

  .header-actions {
    grid-area: actions;
    justify-self: end;
    gap: 5px;
  }

  .search-field {
    grid-area: search;
  }
}

@media (max-width: 640px) {
  .app-shell {
    --header-height: calc(
      112px
      + max(0px, calc(env(safe-area-inset-top) - 12px))
    );
  }

  .site-header__inner {
    gap: 8px 10px;
    padding-top: 8px;
    padding-bottom: 8px;
    padding-right: max(var(--gutter), env(safe-area-inset-right));
    padding-left: max(var(--gutter), env(safe-area-inset-left));
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__name {
    font-size: 1rem;
  }

  .icon-btn {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 360px) {
  .brand__name {
    display: none;
  }

  .brand__mark {
    width: 36px;
    height: 36px;
  }

  .header-actions {
    gap: 3px;
  }

  .icon-btn {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 640px) {
  .page {
    gap: 24px;
    padding-top: 0;
  }

  .section__title {
    font-size: 1.2rem;
  }
}

.browse-screen {
  gap: 18px;
}

.home-hero-carousel {
  --hero-accent: #2e7d32;
  --hero-start: #f8f4e9;
  --hero-mid: #f3ead5;
  --hero-end: #e9dfca;
  --hero-glow-left: rgba(255, 253, 247, 0.9);
  --hero-glow-right: rgba(220, 196, 143, 0.28);
  position: relative;
  width: 100cqw;
  margin: -20px calc(50% - 50cqw) 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse 72% 115% at 4% 0%, var(--hero-glow-left), transparent 100%),
    radial-gradient(ellipse 68% 105% at 100% 100%, var(--hero-glow-right), transparent 100%),
    linear-gradient(112deg, var(--hero-start) 0%, var(--hero-mid) 52%, var(--hero-end) 100%);
  background-color: var(--hero-mid);
  transition: background 560ms ease;
  color: #0a2540;
  touch-action: pan-y;
}

.home-hero-carousel[data-theme="fresh"] {
  --hero-accent: #2e7d32;
  --hero-start: #eff7eb;
  --hero-mid: #e2f0dc;
  --hero-end: #d2e8cd;
  --hero-glow-left: rgba(255, 255, 245, 0.84);
  --hero-glow-right: rgba(137, 190, 126, 0.34);
}

.home-hero-carousel[data-theme="pandit"] {
  --hero-accent: #a77a17;
  --hero-start: #fff8e8;
  --hero-mid: #f8edcf;
  --hero-end: #eddfb8;
  --hero-glow-left: rgba(255, 255, 247, 0.88);
  --hero-glow-right: rgba(210, 174, 92, 0.3);
}

.home-hero-carousel[data-theme="repair"] {
  --hero-accent: #6750a4;
  --hero-start: #f4f0fc;
  --hero-mid: #e9e2f7;
  --hero-end: #dbd1ef;
  --hero-glow-left: rgba(255, 253, 255, 0.85);
  --hero-glow-right: rgba(159, 137, 211, 0.3);
}

.home-hero-carousel[data-theme="laundry"] {
  --hero-accent: #b85e31;
  --hero-start: #fff6ed;
  --hero-mid: #f9e9dc;
  --hero-end: #f0d9c9;
  --hero-glow-left: rgba(255, 255, 250, 0.86);
  --hero-glow-right: rgba(219, 151, 108, 0.28);
}

.home-hero-carousel[data-theme="flowers"] {
  --hero-accent: #a53b55;
  --hero-start: #fff4f2;
  --hero-mid: #f8e5e5;
  --hero-end: #efd6dc;
  --hero-glow-left: rgba(255, 253, 249, 0.86);
  --hero-glow-right: rgba(204, 126, 150, 0.27);
}

.home-hero-carousel__track {
  display: flex;
  width: 100%;
  transition: transform 460ms cubic-bezier(0.22, 0.68, 0, 1);
  will-change: transform;
}

.home-hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
  min-height: 350px;
  overflow: hidden;
  background: transparent;
  isolation: isolate;
}

.home-hero-slide__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  width: min(100%, var(--page-max));
  min-height: 350px;
  margin: 0 auto;
  padding: 44px var(--gutter) 64px;
}

.home-hero-slide__content {
  position: relative;
  z-index: 2;
  max-width: 540px;
}

.home-hero-slide__eyebrow {
  margin-bottom: 12px;
  color: var(--hero-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.home-hero-slide__title {
  max-width: 11ch;
  color: #0a2540;
  font-size: clamp(2.25rem, 4.5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.home-hero-slide__title span {
  color: var(--hero-accent);
}

.home-hero-slide__copy {
  max-width: 42ch;
  margin-top: 14px;
  color: #334155;
  font-size: clamp(0.95rem, 1.35vw, 1.08rem);
  line-height: 1.6;
}

.home-hero-slide__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.home-hero-slide__button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.home-hero-slide__button:hover {
  transform: translateY(-1px);
}

.home-hero-slide__button:focus-visible,
.home-hero-carousel__arrow:focus-visible,
.home-hero-carousel__dot:focus-visible {
  outline: 3px solid #c9a227;
  outline-offset: 3px;
}

.home-hero-slide__button--primary {
  background: #0a2540;
  color: #fff;
}

.home-hero-slide__button--primary:hover {
  background: var(--hero-accent);
}

.home-hero-slide__button--primary svg {
  width: 17px;
  height: 17px;
}

.home-hero-slide__button--secondary {
  border-color: rgba(10, 37, 64, 0.2);
  background: rgba(255, 255, 255, 0.56);
  color: #0a2540;
}

.home-hero-slide__button--secondary:hover {
  background: #fff;
}

.home-hero-slide__media {
  position: absolute;
  top: 18%;
  right: max(var(--gutter), calc((100cqw - var(--page-max)) / 2 + var(--gutter)));
  bottom: 0;
  width: min(52%, 650px);
  overflow: hidden;
  border-radius: 20px;
}

.home-hero-slide__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.home-hero-slide__media--intro img {
  object-position: right center;
}

.home-hero-carousel__arrow {
  position: absolute;
  z-index: 4;
  bottom: 15px;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border: 1px solid rgba(10, 37, 64, 0.15);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.76);
  color: #0a2540;
  transition: background-color 180ms ease, color 180ms ease;
}

.home-hero-carousel__arrow:hover {
  background: #0a2540;
  color: #fff;
}

.home-hero-carousel__arrow svg {
  width: 19px;
  height: 19px;
}

.home-hero-carousel__arrow--previous {
  left: max(var(--gutter), calc((100cqw - var(--page-max)) / 2 + var(--gutter)));
}

.home-hero-carousel__arrow--next {
  right: max(var(--gutter), calc((100cqw - var(--page-max)) / 2 + var(--gutter)));
}

.home-hero-carousel__dots {
  position: absolute;
  z-index: 4;
  bottom: 29px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
}

.home-hero-carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: rgba(10, 37, 64, 0.28);
  transition: width 220ms ease, background-color 220ms ease;
}

.home-hero-carousel__dot.is-active {
  width: 24px;
  background: var(--hero-accent);
}

@media (max-width: 900px) {
  .home-hero-carousel {
    margin-top: -20px;
  }

  .home-hero-slide,
  .home-hero-slide__inner {
    min-height: 330px;
  }

  .home-hero-slide__inner {
    grid-template-columns: minmax(0, 1fr);
    padding: 36px var(--gutter) 68px;
  }

  .home-hero-slide__content {
    width: 58%;
  }

  .home-hero-slide__title {
    font-size: clamp(2rem, 5vw, 3rem);
  }

  .home-hero-slide__media {
    width: 60%;
  }
}

@media (max-width: 640px) {
  .browse-screen {
    gap: 14px;
  }

  .home-quick-links {
    margin-top: -17px;
  }

  .home-hero-carousel {
    margin-top: -14px;
  }

  .home-hero-slide,
  .home-hero-slide__inner {
    min-height: 390px;
  }

  .home-hero-slide__inner {
    display: flex;
    align-items: flex-end;
    padding: 0 18px 76px;
  }

  .home-hero-slide__content {
    width: 100%;
    max-width: none;
  }

  .home-hero-slide__eyebrow {
    margin-bottom: 8px;
    font-size: 0.68rem;
  }

  .home-hero-slide__title {
    max-width: 13ch;
    font-size: clamp(2rem, 8.5vw, 2.65rem);
  }

  .home-hero-slide__copy {
    max-width: 34ch;
    margin-top: 9px;
    font-size: 0.88rem;
  }

  .home-hero-slide__actions {
    gap: 8px;
    margin-top: 15px;
  }

  .home-hero-slide__button {
    min-height: 42px;
    padding: 0 13px;
    font-size: 0.78rem;
  }

  .home-hero-slide__media {
    top: auto;
    right: 0;
    width: 100%;
    bottom: 0;
    height: 44%;
  }

  .home-hero-slide__inner {
    align-items: flex-start;
    padding-top: 28px;
    padding-bottom: 220px;
  }

  .home-hero-slide__media img {
    object-position: center 42%;
  }

  .home-hero-slide__media--intro img {
    object-position: 70% center;
  }

  .home-hero-carousel__arrow {
    bottom: 14px;
    width: 36px;
    height: 36px;
  }

  .home-hero-carousel__arrow--previous {
    left: 14px;
  }

  .home-hero-carousel__arrow--next {
    right: 14px;
  }

  .home-hero-carousel__dots {
    bottom: 27px;
    gap: 6px;
  }

  .home-hero-carousel__dot {
    width: 7px;
    height: 7px;
  }

  .home-hero-carousel__dot.is-active {
    width: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .startup-animation {
    transition: none;
  }

  .home-hero-carousel,
  .home-hero-carousel__track,
  .home-hero-carousel__arrow,
  .home-hero-carousel__dot,
  .home-hero-slide,
  .home-hero-slide__button {
    transition: none;
  }
}

.home-hero-slide__inner {
  isolation: isolate;
}

.home-hero-slide__inner::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.76) 0%,
    rgba(255, 255, 255, 0.56) 34%,
    rgba(255, 255, 255, 0.24) 58%,
    rgba(255, 255, 255, 0) 100%
  );
  content: "";
  pointer-events: none;
}

.home-hero-slide__content {
  width: min(56%, 560px);
  padding: 22px 24px 24px 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
}

.home-hero-slide__media {
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  border-radius: 0;
}

.home-hero-slide__media img {
  object-position: center;
}

.home-hero-slide__media--intro img {
  object-position: right center;
}

@media (min-width: 901px) {
  .home-hero-slide,
  .home-hero-slide__inner {
    min-height: 310px;
  }

  .home-hero-slide__content {
    width: min(56%, 650px);
  }

  .home-hero-slide__title {
    max-width: 14ch;
    font-size: clamp(2.1rem, 3.4vw, 3.2rem);
  }

  .home-hero-slide__copy {
    margin-top: 10px;
  }

  .home-hero-slide__actions {
    margin-top: 18px;
  }
}

@media (max-width: 900px) {
  .home-hero-slide,
  .home-hero-slide__inner {
    min-height: 300px;
  }

  .home-hero-slide__content {
    width: 58%;
    padding-right: 18px;
  }
}

@media (max-width: 640px) {
  .home-hero-slide,
  .home-hero-slide__inner {
    min-height: 360px;
  }

  .home-hero-slide__inner {
    display: flex;
    align-items: center;
    padding: 20px 18px 58px;
  }

  .home-hero-slide__content {
    width: 60%;
    padding: 0;
  }

  .home-hero-slide__media {
    top: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: auto;
  }

  .home-hero-slide__media img,
  .home-hero-slide__media--intro img {
    object-position: right center;
  }
}

.home-hero-carousel {
  height: 390px;
  background: transparent;
}

.home-hero-carousel__track,
.home-hero-slide,
.home-hero-slide__inner {
  height: 100%;
  min-height: 0;
}

@media (max-width: 640px) {
  .home-hero-carousel {
    height: 380px;
  }

  .home-hero-slide__inner {
    padding-top: 20px;
    padding-bottom: 58px;
  }
}

.home-marketplace {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.home-marketplace__toolbar {
  display: flex;
  justify-content: flex-end;
}

.home-marketplace__sections {
  display: flex;
  flex-direction: column;
  gap: clamp(18px, 2vw, 24px);
  min-width: 0;
}

.home-discovery-section {
  min-width: 0;
}

.home-discovery-section__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.home-discovery-section__heading p {
  margin-bottom: 5px;
  color: var(--green-700);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-discovery-section__heading h2,
.home-fresh-banner h2,
.home-signature h2,
.home-category-prompt h2 {
  color: var(--ink-950);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.14;
}

.home-view-all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--green-700);
  font-size: 0.85rem;
  font-weight: 800;
}

.home-view-all svg,
.home-fresh-banner button svg,
.home-service-tile__text > span svg,
.home-category-prompt button svg {
  width: 17px;
  height: 17px;
  transition: transform 160ms ease;
}

.home-view-all:hover svg,
.home-fresh-banner button:hover svg,
.home-service-tile:hover .home-service-tile__text > span svg,
.home-category-prompt button:hover svg {
  transform: translateX(3px);
}

.home-product-track {
  display: flex;
  gap: 14px;
  min-width: 0;
  padding: 2px 2px 12px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.home-product-track > [role="listitem"] {
  flex: 0 0 clamp(174px, 20vw, 224px);
  min-width: 0;
  scroll-snap-align: start;
}

.home-admin-promo__link {
  position: relative;
  display: block;
  min-height: clamp(150px, 22vw, 270px);
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(120deg, #173d2b, #5c8b45);
  color: #fff;
  isolation: isolate;
}

.home-admin-promo__link::after {
  position: absolute;
  z-index: -1;
  background: linear-gradient(90deg, rgba(10, 37, 29, .75), rgba(10, 37, 29, .05));
  content: "";
  inset: 0;
}

.home-admin-promo__link img {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  inset: 0;
}

.home-admin-promo__title {
  position: absolute;
  left: clamp(20px, 5vw, 56px);
  bottom: clamp(20px, 4vw, 42px);
  max-width: min(70%, 560px);
  color: #fff;
  font-size: clamp(1.35rem, 3.2vw, 2.5rem);
  font-weight: 800;
  line-height: 1.12;
  text-wrap: balance;
}

.home-admin-promo__arrow {
  position: absolute;
  right: clamp(18px, 3vw, 36px);
  bottom: clamp(18px, 3vw, 36px);
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: #fff;
  color: var(--green-700);
}

.home-admin-promo__arrow svg {
  width: 18px;
  height: 18px;
}

.home-infinite-status {
  display: flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--green-700);
  font-size: .82rem;
  font-weight: 700;
  text-align: center;
}

.home-infinite-status p {
  margin: 0;
}

.home-infinite-sentinel {
  width: 100%;
  height: 1px;
}

.home-infinite-spinner {
  width: 19px;
  height: 19px;
  border: 2px solid rgba(46, 125, 50, .18);
  border-top-color: var(--green-700);
  border-radius: 50%;
  animation: home-infinite-spin .8s linear infinite;
}

.home-infinite-spinner--idle {
  width: 8px;
  height: 8px;
  border: 0;
  background: var(--green-500, #5a9c49);
  animation: none;
}

.home-infinite-retry {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(46, 125, 50, .24);
  border-radius: 999px;
  background: #fff;
  color: var(--green-700);
  font-weight: 800;
}

.home-infinite-end {
  color: var(--ink-600, #66716a);
  font-weight: 600;
}

@keyframes home-infinite-spin {
  to { transform: rotate(360deg); }
}

.home-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 360px;
  overflow: hidden;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(10, 37, 64, 0.045);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 125, 50, 0.25);
  box-shadow: 0 12px 26px rgba(10, 37, 64, 0.1);
}

.home-product-card__media {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 1 / 0.88;
  overflow: hidden;
  background: #f7f8f4;
}

.home-product-card__open {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 12px;
  border: 0;
  background: transparent;
  color: var(--ink-300);
}

.home-product-card__open img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-product-card__open svg {
  width: 38px;
  height: 38px;
}

.home-product-card__wishlist {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(10, 37, 64, 0.1);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-700);
}

.home-product-card__wishlist svg {
  width: 19px;
  height: 19px;
}

.home-product-card__wishlist:hover,
.home-product-card__wishlist.is-saved {
  border-color: #e8a9ad;
  color: #b42336;
}

.home-product-card__wishlist.is-saved svg {
  fill: currentColor;
}

.home-product-card__offer {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 5px 8px;
  border-radius: 999px;
  background: #e7f4e8;
  color: #24662a;
  font-size: 0.7rem;
  font-weight: 800;
}

.home-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px;
}

.home-product-card__category {
  overflow: hidden;
  max-width: 100%;
  color: var(--ink-500);
  font-size: 0.69rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-product-card__name {
  display: -webkit-box;
  min-height: 2.5em;
  overflow: hidden;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-950);
  font-size: 0.9rem;
  font-weight: 750;
  line-height: 1.25;
  text-align: left;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.home-product-card__rating {
  display: flex;
  align-items: center;
  gap: 4px;
  min-height: 15px;
  color: var(--ink-500);
  font-size: 0.7rem;
}

.home-product-card__rating svg {
  width: 13px;
  height: 13px;
  color: #c9a227;
}

.home-product-card__rating.is-empty {
  visibility: hidden;
}

.home-product-card__pricing {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 7px;
  min-height: 23px;
  margin-top: auto;
}

.home-product-card__pricing strong {
  color: var(--ink-950);
  font-size: 0.95rem;
}

.home-product-card__pricing del {
  color: var(--ink-400);
  font-size: 0.75rem;
}

.home-product-card__add {
  width: 100%;
  min-height: 38px;
  margin-top: 5px;
  border: 1px solid var(--navy, #0a2540);
  border-radius: 9px;
  background: var(--navy, #0a2540);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.home-product-card__add:hover,
.home-product-card__add.is-added {
  border-color: var(--green-700);
  background: var(--green-700);
}

.home-product-card__add.is-disabled,
.home-product-card__add:disabled {
  border-color: var(--line);
  background: #f1f2ef;
  color: var(--ink-500);
  cursor: not-allowed;
}

.home-fresh-banner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: stretch;
  min-height: 250px;
  overflow: hidden;
  border: 1px solid #deebd8;
  border-radius: 22px;
  background: #eef6e9;
}

.home-fresh-banner__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: clamp(22px, 4vw, 48px);
}

.home-fresh-banner__content > span,
.home-signature__intro > span,
.home-category-prompt > div > span {
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-fresh-banner h2 {
  max-width: 18ch;
}

.home-fresh-banner p {
  max-width: 46ch;
  color: #445c45;
  font-size: 0.9rem;
  line-height: 1.55;
}

.home-fresh-banner button,
.home-category-prompt button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  margin-top: 4px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: #0a2540;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.home-fresh-banner > .responsive-asset-image > img {
  width: 100%;
  height: 100%;
  min-height: 250px;
  object-fit: cover;
}

.home-signature {
  padding: clamp(20px, 3vw, 34px);
  overflow: hidden;
  border: 1px solid rgba(201, 162, 39, 0.4);
  border-radius: 22px;
  background: #0a2540;
  color: #fff;
}

.home-signature__intro > span {
  color: #e5c85f;
}

.home-signature h2 {
  margin-top: 7px;
  color: #fffdf7;
}

.home-signature__intro > p {
  margin-top: 8px;
  color: rgba(255, 253, 247, 0.74);
  font-size: 0.86rem;
}

.home-signature__tabs {
  display: flex;
  gap: 8px;
  margin: 22px 0 16px;
  padding-bottom: 12px;
  overflow-x: auto;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.home-signature__tabs button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 253, 247, 0.84);
  font-size: 0.8rem;
  font-weight: 750;
}

.home-signature__tabs button[aria-selected="true"] {
  border-color: #e5c85f;
  background: #e5c85f;
  color: #0a2540;
}

.home-signature__tabs button:focus-visible,
.home-product-card button:focus-visible,
.home-view-all:focus-visible,
.home-fresh-banner button:focus-visible,
.home-service-tile:focus-visible,
.home-category-tile:focus-visible,
.home-category-prompt button:focus-visible {
  outline: 3px solid #c9a227;
  outline-offset: 3px;
}

.home-signature__panel {
  min-height: 174px;
}

.home-signature__panel.is-updating {
  animation: homePanelEnter 220ms ease both;
}

.home-signature .home-product-track {
  padding-top: 4px;
}

.home-signature .home-product-card {
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--ink-950);
}

.home-signature__note {
  margin-bottom: 10px;
  color: rgba(255, 253, 247, 0.76);
  font-size: 0.82rem;
}

.home-signature__empty {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 140px;
  padding: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
}

.home-signature__empty > span {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.14);
  color: #e5c85f;
}

.home-signature__empty svg {
  width: 23px;
  height: 23px;
}

.home-signature__empty h3 {
  color: #fffdf7;
  font-size: 0.95rem;
}

.home-signature__empty p {
  margin-top: 5px;
  color: rgba(255, 253, 247, 0.7);
  font-size: 0.8rem;
  line-height: 1.5;
}

.home-service-highlights__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-service-tile {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  color: var(--ink-950);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-service-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.07);
}

.home-service-tile__image {
  display: grid;
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  place-items: center;
  overflow: hidden;
  border-radius: 13px;
  background: #f4f6ef;
  font-size: 1.55rem;
}

.home-service-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-service-tile__text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.home-service-tile__text small {
  color: var(--ink-500);
  font-size: 0.66rem;
  font-weight: 700;
}

.home-service-tile__text strong {
  overflow: hidden;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-service-tile__text > span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--green-700);
  font-size: 0.7rem;
  font-weight: 800;
}

.home-service-tile__text > span svg {
  width: 14px;
  height: 14px;
}

.home-category-discovery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 12px;
}

.home-category-tile {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  color: var(--ink-950);
  text-align: left;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.home-category-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 125, 50, 0.32);
  box-shadow: 0 8px 20px rgba(10, 37, 64, 0.07);
}

.home-category-tile__image {
  display: grid;
  width: 100%;
  aspect-ratio: 1.5 / 1;
  place-items: center;
  overflow: hidden;
  border-radius: 10px;
  background: #f6f7f2;
  color: var(--green-700);
}

.home-category-tile__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-category-tile__image svg {
  width: 30px;
  height: 30px;
}

.home-category-tile__name {
  overflow: hidden;
  max-width: 100%;
  font-size: 0.81rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-category-tile__count {
  color: var(--ink-500);
  font-size: 0.7rem;
}

.home-category-prompt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid #ece4ce;
  border-radius: 18px;
  background: #fffaf0;
}

.home-category-prompt h2 {
  margin-top: 5px;
}

.home-category-prompt p {
  margin-top: 7px;
  color: var(--ink-700);
  font-size: 0.85rem;
}

@keyframes homePanelEnter {
  from { opacity: 0.65; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .home-service-highlights__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-fresh-banner {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .home-marketplace,
  .home-marketplace__sections {
    gap: 14px;
  }

  .home-discovery-section__heading {
    align-items: center;
    margin-bottom: 12px;
  }

  .home-discovery-section__heading h2 {
    font-size: 1.28rem;
  }

  .home-discovery-section__heading p {
    font-size: 0.64rem;
  }

  .home-view-all {
    min-height: 36px;
    font-size: 0.75rem;
  }

  .home-product-track {
    gap: 10px;
    margin-right: calc(var(--gutter) * -1);
  }

  .home-product-track > [role="listitem"] {
    flex-basis: 174px;
  }

  .home-product-card {
    min-height: 336px;
    border-radius: 13px;
  }

  .home-product-card__media {
    aspect-ratio: 1 / 0.82;
  }

  .home-product-card__body {
    padding: 10px;
  }

  .home-fresh-banner {
    display: flex;
    min-height: 340px;
    align-items: flex-end;
    background: #eef6e9;
  }

  .home-fresh-banner > .responsive-asset-image > img {
    position: absolute;
    inset: 0 0 auto;
    height: 58%;
    min-height: 0;
    -webkit-mask-image: linear-gradient(180deg, #000 35%, rgba(0, 0, 0, 0.34) 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 35%, rgba(0, 0, 0, 0.34) 72%, transparent 100%);
  }

  .home-fresh-banner__content {
    padding: 24px 18px;
  }

  .home-fresh-banner h2 {
    max-width: 15ch;
    font-size: 1.45rem;
  }

  .home-fresh-banner p {
    font-size: 0.82rem;
  }

  .home-signature {
    padding: 20px 14px;
    border-radius: 18px;
  }

  .home-signature__tabs {
    gap: 6px;
    margin-top: 18px;
  }

  .home-signature__tabs button {
    min-height: 38px;
    padding: 0 11px;
    font-size: 0.72rem;
  }

  .home-service-highlights__grid {
    gap: 9px;
  }

  .home-service-tile {
    gap: 8px;
    padding: 10px 8px;
    border-radius: 13px;
  }

  .home-service-tile__image {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .home-service-tile__text strong {
    font-size: 0.76rem;
  }

  .home-service-tile__text > span {
    font-size: 0.64rem;
  }

  .home-category-discovery__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .home-category-prompt {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-product-card,
  .home-view-all svg,
  .home-fresh-banner button svg,
  .home-service-tile,
  .home-service-tile__text > span svg,
  .home-category-tile,
  .home-category-prompt button svg,
  .home-signature__panel,
  .home-signature__panel.is-updating {
    animation: none;
    transition: none;
  }
}

.home-hero-carousel {
  border-bottom: 1px solid rgba(10, 37, 64, 0.08);
  box-shadow: 0 18px 48px rgba(10, 37, 64, 0.08);
}

.home-hero-slide__media {
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 44px rgba(10, 37, 64, 0.13);
}

.home-hero-slide__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 37, 64, 0.1), transparent 38%, rgba(10, 37, 64, 0.04));
  content: "";
  pointer-events: none;
}

.home-hero-slide[aria-hidden="false"] .home-hero-slide__content {
  animation: homeHeroContentEnter 520ms cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.home-hero-slide[aria-hidden="false"] .home-hero-slide__media img {
  animation: homeHeroImageDrift 8s ease-in-out infinite alternate;
}

.home-hero-carousel__arrow {
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.12);
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.home-hero-carousel__arrow:hover {
  transform: scale(1.05);
  box-shadow: 0 7px 18px rgba(10, 37, 64, 0.18);
}

.browse-switcher {
  padding: 5px;
  border-color: rgba(10, 37, 64, 0.09);
  border-radius: 16px;
  background: #f0f2ed;
}

.browse-switcher__tab {
  min-height: 50px;
  border-radius: 12px;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.browse-switcher__tab:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.64);
  color: #0a2540;
}

.browse-switcher__tab.is-active {
  color: #0a2540;
  box-shadow: 0 3px 12px rgba(10, 37, 64, 0.1);
}

.home-discovery-section__heading {
  margin-bottom: 16px;
}

.home-discovery-section__heading h2 {
  letter-spacing: -0.045em;
}

.home-product-card {
  border-color: rgba(10, 37, 64, 0.09);
  box-shadow: 0 7px 22px rgba(10, 37, 64, 0.065), 0 1px 3px rgba(10, 37, 64, 0.035);
}

.home-product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: 0 18px 34px rgba(10, 37, 64, 0.13), 0 2px 6px rgba(10, 37, 64, 0.05);
}

.home-product-card__media {
  background:
    radial-gradient(ellipse at 50% 25%, #fff 0%, transparent 76%),
    #f6f7f2;
}

.home-product-card__open img {
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-product-card:hover .home-product-card__open img {
  transform: scale(1.045);
}

.home-service-tile,
.home-category-tile {
  border-color: rgba(10, 37, 64, 0.09);
  box-shadow: 0 5px 16px rgba(10, 37, 64, 0.035);
}

.home-service-tile:hover,
.home-category-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: 0 14px 28px rgba(10, 37, 64, 0.1);
}

.home-service-tile__image,
.home-category-tile__image {
  background-color: #f3f5ef;
}

.home-service-tile__image img,
.home-category-tile__image img {
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.home-service-tile:hover .home-service-tile__image img,
.home-category-tile:hover .home-category-tile__image img {
  transform: scale(1.055);
}

.browse-service-card {
  border-color: rgba(10, 37, 64, 0.1);
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.045);
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.browse-service-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 125, 50, 0.3);
  box-shadow: 0 14px 28px rgba(10, 37, 64, 0.1);
}

.browse-service-card:focus-visible,
.browse-category-card:focus-visible {
  outline: 3px solid rgba(201, 162, 39, 0.72);
  outline-offset: 3px;
}

.browse-service-card__media {
  border-radius: 12px;
  background: #f2f5ee;
}

.browse-service-card__media img {
  transition: transform 360ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.browse-service-card:hover .browse-service-card__media img {
  transform: scale(1.055);
}

.browse-category-grid {
  gap: 12px;
}

.browse-category-card {
  min-height: 122px;
  justify-content: center;
  padding: 14px 10px;
  border: 1px solid rgba(10, 37, 64, 0.09);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(10, 37, 64, 0.04);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.browse-category-card:hover {
  transform: translateY(-3px);
  border-color: rgba(46, 125, 50, 0.28);
  background: #fffefb;
  box-shadow: 0 12px 24px rgba(10, 37, 64, 0.085);
}

.browse-category-card__icon {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, #f0f6e8, #e1eed9);
  color: #0a2540;
  font-size: 1.65rem;
  transition: transform 180ms ease, background-color 180ms ease;
}

.browse-category-card:hover .browse-category-card__icon {
  transform: scale(1.05);
}

.browse-category-card__body strong {
  color: #0a2540;
  overflow-wrap: anywhere;
}

.home-loading__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.home-loading-card {
  display: flex;
  min-width: 0;
  min-height: 340px;
  flex-direction: column;
  gap: 11px;
  padding: 12px;
  border: 1px solid rgba(10, 37, 64, 0.08);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(10, 37, 64, 0.045);
}

.home-loading-card__image,
.home-loading-card__line,
.home-loading-card__button {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: linear-gradient(100deg, #f0f2ed 20%, #fafbf8 40%, #f0f2ed 60%);
  background-size: 220% 100%;
  animation: homeSkeletonShimmer 1.5s ease-in-out infinite;
}

.home-loading-card__image {
  aspect-ratio: 1 / 0.82;
  border-radius: 11px;
}

.home-loading-card__line {
  width: 100%;
  height: 12px;
}

.home-loading-card__line--short {
  width: 42%;
  height: 9px;
}

.home-loading-card__line--price {
  width: 34%;
  height: 17px;
  margin-top: auto;
}

.home-loading-card__button {
  height: 38px;
  margin-top: 3px;
  border-radius: 9px;
}

.bottom-nav {
  border-top-color: rgba(10, 37, 64, 0.1);
  box-shadow: 0 -7px 26px rgba(10, 37, 64, 0.09);
}

.bottom-nav__item.is-active .bottom-nav__bubble {
  transform: translateY(-10px) scale(1.04);
  background: #0a2540;
  box-shadow: 0 0 0 4px #fff, 0 8px 18px rgba(10, 37, 64, 0.25);
}

.bottom-nav__item.is-active .bottom-nav__bubble::after {
  animation: none;
  opacity: 0;
}

@keyframes homeHeroContentEnter {
  from { opacity: 0.7; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes homeHeroImageDrift {
  from { transform: scale(1); }
  to { transform: scale(1.035); }
}

@keyframes homeSkeletonShimmer {
  to { background-position: -220% 0; }
}

@media (max-width: 900px) {
  .home-loading__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .home-loading__grid {
    gap: 10px;
  }

  .home-loading-card {
    min-height: 300px;
    padding: 10px;
    border-radius: 13px;
  }

  .browse-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .browse-service-card {
    grid-template-columns: 58px minmax(0, 1fr) auto;
    gap: 10px;
    padding: 9px;
  }

  .browse-service-card__media {
    width: 58px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-hero-slide[aria-hidden="false"] .home-hero-slide__content,
  .home-hero-slide[aria-hidden="false"] .home-hero-slide__media img,
  .home-loading-card__image,
  .home-loading-card__line,
  .home-loading-card__button {
    animation: none;
  }

  .home-hero-carousel__arrow,
  .home-product-card__open img,
  .home-service-tile__image img,
  .home-category-tile__image img,
  .browse-service-card,
  .browse-service-card__media img,
  .browse-category-card,
  .browse-category-card__icon,
  .home-service-tile,
  .home-category-tile,
  .browse-switcher__tab {
    transition: none;
  }
}

.site-header {
  background: rgba(255, 253, 247, 0.98);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.04);
}

.site-header__inner {
  column-gap: clamp(14px, 2vw, 24px);
}

.brand__name,
.icon-btn,
.header-menu-item {
  color: var(--navy);
}

.search-field input {
  border-color: rgba(10, 37, 64, 0.14);
}

.browse-screen {
  gap: clamp(18px, 2.4vw, 28px);
}

.home-quick-links {
  padding-bottom: 8px;
}

.home-quick-link {
  min-height: 84px;
  justify-content: flex-start;
  color: var(--navy);
}

.home-quick-link__icon {
  width: 54px;
  height: 54px;
  border-color: rgba(10, 37, 64, 0.09);
  background: #f5f8f2;
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.home-quick-link:hover .home-quick-link__icon {
  transform: translateY(-2px);
  border-color: rgba(46, 125, 50, 0.32);
  background: #eef6e9;
}

.home-quick-link:focus-visible,
.home-category-tile:focus-visible,
.home-service-tile:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.home-hero-carousel {
  box-shadow: 0 8px 26px rgba(10, 37, 64, 0.055);
}

.home-hero-slide__media {
  box-shadow: 0 8px 22px rgba(10, 37, 64, 0.09);
}

.home-marketplace__sections {
  gap: clamp(24px, 3vw, 36px);
}

.home-discovery-section__heading {
  margin-bottom: 14px;
}

.home-discovery-section__heading h2,
.home-service-highlights .home-discovery-section__heading h2,
.home-category-discovery .home-discovery-section__heading h2 {
  color: var(--navy);
  letter-spacing: -0.035em;
}

.home-discovery-section__heading p {
  color: var(--green-700);
}

.home-product-track {
  gap: 14px;
  padding: 2px 2px 10px;
}

.home-product-track > [role="listitem"] {
  flex-basis: clamp(180px, 20vw, 224px);
}

.home-marketplace .home-product-card {
  min-height: 366px;
  border-color: rgba(10, 37, 64, 0.1);
  border-radius: 15px;
  box-shadow: 0 4px 14px rgba(10, 37, 64, 0.05);
}

.home-marketplace .home-product-card:hover {
  transform: translateY(-2px);
  border-color: rgba(46, 125, 50, 0.28);
  box-shadow: 0 9px 20px rgba(10, 37, 64, 0.085);
}

.home-marketplace .home-product-card__media {
  aspect-ratio: 1 / 0.9;
  background: #f7f8f4;
}

.home-marketplace .home-product-card__open img {
  object-fit: contain;
  transition: transform 180ms ease;
}

.home-marketplace .home-product-card:hover .home-product-card__open img {
  transform: scale(1.02);
}

.home-marketplace .home-product-card__body {
  gap: 8px;
  padding: 12px;
}

.home-marketplace .home-product-card__name,
.home-marketplace .home-product-card__pricing strong {
  color: var(--navy);
}

.home-marketplace .home-product-card__add {
  min-height: 42px;
  margin-top: auto;
  border-radius: 10px;
  background: var(--navy);
}

.home-marketplace .home-product-card__add:hover:not(:disabled),
.home-marketplace .home-product-card__add.is-added {
  border-color: var(--green-700);
  background: var(--green-700);
}

.home-product-card__offer {
  background: #fbf3d9;
  color: #755c12;
}

.home-product-card__rating svg {
  color: var(--gold);
}

.home-service-tile,
.home-category-tile {
  border-color: rgba(10, 37, 64, 0.1);
  box-shadow: 0 3px 12px rgba(10, 37, 64, 0.035);
}

.home-service-tile:hover,
.home-category-tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(10, 37, 64, 0.075);
}

.home-category-tile__image {
  aspect-ratio: 1.6 / 1;
}

@media (max-width: 900px) {
  .home-product-track > [role="listitem"] {
    flex-basis: clamp(184px, 27vw, 218px);
  }
}

@media (max-width: 600px) {
  .home-marketplace__sections {
    gap: 24px;
  }

  .home-product-track {
    gap: 10px;
  }

  .home-product-track > [role="listitem"] {
    flex-basis: clamp(164px, 46vw, 190px);
  }

  .home-marketplace .home-product-card {
    min-height: 342px;
  }

  .home-marketplace .home-product-card__media {
    aspect-ratio: 1 / 0.86;
  }

  .home-marketplace .home-product-card__body {
    padding: 10px;
  }

  .home-marketplace .home-product-card__add {
    min-height: 42px;
  }

  .home-service-tile,
  .home-category-tile {
    box-shadow: 0 2px 9px rgba(10, 37, 64, 0.035);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-quick-link__icon,
  .home-marketplace .home-product-card__open img {
    transition: none;
  }

  .home-quick-link:hover .home-quick-link__icon,
  .home-marketplace .home-product-card:hover .home-product-card__open img {
    transform: none;
  }
}
