.category-row,
.discover-grid,
.product-grid {
  display: grid;
}

.category-row {
  grid-auto-flow: column;
  grid-auto-columns: minmax(88px, 96px);
  align-items: start;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.category-row::-webkit-scrollbar {
  display: none;
}

.category-orb {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 10px;
  width: 92px;
  min-height: 122px;
  padding: 10px 10px 14px;
  border-radius: 24px;
  border: 1px solid rgba(15, 118, 70, 0.08);
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(31, 41, 55, 0.08);
  color: var(--text-soft);
  white-space: normal;
  scroll-snap-align: start;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.category-orb__icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff8f1;
  box-shadow: inset 0 0 0 1px rgba(20, 87, 54, 0.05);
}

.category-orb__image,
.discover-lane__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.category-orb__label {
  width: 100%;
  min-height: 30px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.01em;
  text-align: center;
  line-height: 1.28;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.category-orb:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 82, 0.18);
  box-shadow: 0 16px 28px rgba(31, 41, 55, 0.12);
}

.category-orb:focus-visible {
  outline: 2px solid rgba(249, 115, 82, 0.32);
  outline-offset: 3px;
}

.category-orb.is-active {
  border-color: rgba(15, 91, 52, 0.26);
  background: #ffffff;
  box-shadow:
    0 18px 32px rgba(15, 91, 52, 0.14),
    inset 0 0 0 1px rgba(255, 255, 255, 0.45);
  color: var(--brand-main-dark);
}

.category-orb.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 8px;
  width: 24px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0f7a45 0%, #f97352 100%);
  transform: translateX(-50%);
}

.category-orb.is-active .category-orb__label {
  color: var(--brand-main-dark);
}

.category-orb.is-active .category-orb__icon {
  box-shadow:
    inset 0 0 0 1px rgba(15, 91, 52, 0.1),
    0 12px 20px rgba(15, 91, 52, 0.12);
}

.category-orb__image--photo {
  object-fit: cover;
}

.subcategory-lane {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: max-content;
  align-items: center;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-top: 14px;
  padding: 2px 2px 6px;
}

.subcategory-lane::-webkit-scrollbar {
  display: none;
}

.subcategory-lane.is-hidden {
  display: none;
}

.subcategory-lane__chip {
  min-height: 44px;
  max-width: min(72vw, 220px);
  display: inline-grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, max-content);
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 70, 0.1);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(31, 41, 55, 0.08);
  color: var(--text-soft);
  font-weight: 800;
  scroll-snap-align: start;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.subcategory-lane__chip:hover {
  transform: translateY(-1px);
  border-color: rgba(249, 115, 82, 0.18);
  box-shadow: 0 14px 24px rgba(31, 41, 55, 0.11);
}

.subcategory-lane__chip:focus-visible {
  outline: 2px solid rgba(249, 115, 82, 0.32);
  outline-offset: 3px;
}

.subcategory-lane__chip.is-active {
  border-color: rgba(15, 91, 52, 0.28);
  background: #fff8f1;
  box-shadow:
    0 14px 26px rgba(15, 91, 52, 0.13),
    inset 0 0 0 1px rgba(255, 255, 255, 0.48);
  color: var(--brand-main-dark);
}

.subcategory-lane__label {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.subcategory-discovery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.subcategory-discovery.is-hidden {
  display: none;
}

.subcategory-card {
  position: relative;
  min-width: 0;
  aspect-ratio: 4 / 5;
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(20, 87, 54, 0.08);
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(31, 41, 36, 0.08);
  color: #ffffff;
  text-align: left;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.subcategory-card:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 82, 0.18);
  box-shadow: 0 16px 28px rgba(31, 41, 36, 0.12);
}

.subcategory-card.is-active {
  border-color: rgba(15, 91, 52, 0.42);
  box-shadow:
    0 16px 30px rgba(15, 91, 52, 0.18),
    inset 0 0 0 2px rgba(255, 255, 255, 0.54);
}

.subcategory-card.is-active::after {
  content: "";
  position: absolute;
  inset: 8px;
  z-index: 2;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 14px;
  pointer-events: none;
}

.subcategory-card:focus-visible {
  outline: 2px solid rgba(249, 115, 82, 0.32);
  outline-offset: 3px;
}

.subcategory-card::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 44%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.56) 100%);
  pointer-events: none;
}

.subcategory-card__media {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: linear-gradient(180deg, #fff5ec 0%, #ffe7d4 100%);
}

.subcategory-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.subcategory-card__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(77, 63, 51, 0.5);
}

.subcategory-card__label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: block;
  min-width: 0;
  overflow: hidden;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-overflow: ellipsis;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.34);
  white-space: nowrap;
}

.subcategory-card__label::after {
  content: " \2192";
  font-weight: 600;
}

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

.category-hub,
.category-subcategory-section,
.category-results-section {
  display: grid;
  gap: 12px;
}

.category-hub .section-header,
.category-subcategory-section .section-header,
.category-results-section .section-header {
  margin-bottom: 0;
}

.category-drill-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.category-drill-header h2 {
  min-width: 0;
}

.category-drill-back {
  cursor: pointer;
}

.category-subcategory-grid {
  margin-top: 0;
}

.discover-lane {
  min-width: 0;
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(20, 87, 54, 0.08);
  box-shadow: var(--shadow-float);
  text-align: left;
  display: grid;
  gap: 8px;
  align-content: start;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.discover-lane:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 82, 0.18);
  box-shadow: 0 18px 30px rgba(31, 41, 36, 0.12);
}

.discover-lane:focus-visible {
  outline: 2px solid rgba(249, 115, 82, 0.3);
  outline-offset: 3px;
}

.discover-lane.is-active {
  border-color: rgba(15, 91, 52, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #fff7ef 100%);
  box-shadow: 0 18px 30px rgba(15, 91, 52, 0.12);
}

.discover-lane__icon {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff8f1;
  box-shadow: inset 0 0 0 1px rgba(20, 87, 54, 0.05);
}

.discover-lane.is-active .discover-lane__icon {
  background: #fff2e3;
  box-shadow:
    inset 0 0 0 1px rgba(15, 91, 52, 0.08),
    0 10px 18px rgba(249, 115, 82, 0.08);
}

.discover-lane strong {
  font-size: 14px;
  line-height: 1.25;
}

.discover-lane small {
  color: var(--text-soft);
  font-size: 11px;
  line-height: 1.45;
}

.category-results-section__label {
  margin: -4px 0 2px;
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.category-empty-state {
  grid-column: 1 / -1;
  padding: 18px 14px;
  border-radius: 18px;
  border: 1px dashed rgba(249, 115, 82, 0.22);
  background: rgba(255, 249, 244, 0.88);
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.45;
  text-align: center;
}

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

.product-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(20, 87, 54, 0.08);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 28px rgba(31, 41, 36, 0.08);
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 0;
  min-width: 0;
}

.product-media {
  position: relative;
  aspect-ratio: 0.88;
  overflow: hidden;
  background: linear-gradient(180deg, #fff5ec 0%, #ffe7d4 100%);
  width: 100%;
  padding: 0;
  text-align: left;
  border-bottom: 1px solid rgba(20, 87, 54, 0.06);
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: rgba(77, 63, 51, 0.5);
}

.product-media__video-badge {
  position: absolute;
  left: 10px;
  bottom: 10px;
  z-index: 3;
  padding: 5px 8px;
  border-radius: 999px;
  background: rgba(18, 74, 47, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 8px 16px rgba(18, 74, 47, 0.16);
}

.product-share-placeholder {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 4;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 0, 0.24);
  background: rgba(255, 248, 241, 0.9);
  color: #b75b19;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 8px 18px rgba(93, 54, 22, 0.08);
  transition:
    transform 160ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}

.product-share-placeholder:hover {
  background: rgba(255, 243, 232, 0.96);
  border-color: rgba(255, 107, 0, 0.34);
  box-shadow: 0 10px 22px rgba(93, 54, 22, 0.12);
}

.product-share-placeholder:focus-visible {
  outline: 2px solid rgba(255, 107, 0, 0.34);
  outline-offset: 2px;
}

.product-share-placeholder:active {
  transform: scale(0.96);
}

.product-share-placeholder svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.delivery-badge {
  position: relative;
  min-height: 0;
  padding-left: 18px;
  background: transparent;
  color: var(--text-soft);
  font-size: 12px;
  font-weight: 700;
}

.product-body {
  padding: 14px;
  display: grid;
  gap: 9px;
  align-content: start;
}

.product-card__content {
  width: 100%;
  padding: 0;
  background: transparent;
  text-align: left;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.product-title {
  min-height: 38px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.32;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  color: var(--text-main);
}

.product-price-stack {
  display: block;
}

.product-price-stack__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 0;
  width: 100%;
}

.product-pricing-inline {
  display: inline-flex;
  align-items: baseline;
  gap: 7px;
  min-width: 0;
  flex-wrap: wrap;
}

.product-compare-price {
  color: var(--text-faint);
  font-size: 11px;
  font-weight: 600;
  text-decoration: line-through;
  text-decoration-thickness: 1px;
}

.product-price {
  font-size: 21px;
  line-height: 1;
  font-weight: 900;
  color: #124a2f;
}

.delivery-badge--inline {
  flex: 0 0 auto;
  min-height: 0;
  padding-left: 15px;
  font-size: 11px;
  color: var(--text-soft);
  white-space: nowrap;
}

.delivery-badge--inline::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 10px;
  height: 10px;
  border: 1.4px solid currentColor;
  border-radius: 999px;
  transform: translateY(-50%);
  box-sizing: border-box;
}

.delivery-badge--inline::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 50%;
  width: 3px;
  height: 3px;
  border-left: 1.3px solid currentColor;
  border-bottom: 1.3px solid currentColor;
  transform: translateY(-55%) rotate(45deg);
  transform-origin: left top;
  box-sizing: border-box;
}

.product-stock-row {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 18px;
}

.product-popularity {
  color: #8a5a23;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.25;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.action-button {
  min-height: 38px;
  padding: 0 12px;
  border-radius: 14px;
  font-size: 11px;
  font-weight: 800;
}

.action-button--soft {
  background: #ffffff;
  color: #145736;
  border: 1px solid rgba(20, 87, 54, 0.14);
}

.action-button--solid {
  background: #ff6b00;
  color: white;
}

.product-media:focus-visible,
.product-card__content:focus-visible {
  outline: 2px solid rgba(249, 115, 82, 0.28);
  outline-offset: -2px;
}

.cart-screen,
.cart-summary-card {
  display: grid;
  gap: 14px;
}

.cart-items {
  display: grid;
  gap: 12px;
}

.cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(255, 188, 148, 0.18);
}

.cart-item__media {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff0e4 0%, #ffe1cd 100%);
}

.cart-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: rgba(93, 68, 49, 0.55);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.cart-item__body,
.cart-item__meta {
  display: grid;
}

.cart-item__body {
  gap: 12px;
  min-width: 0;
}

.cart-item__meta {
  gap: 6px;
}

.cart-item__title {
  font-size: 15px;
  line-height: 1.35;
  font-weight: 700;
}

.cart-item__delivery {
  font-size: 12px;
  color: var(--text-soft);
}

.cart-item__price {
  font-size: 17px;
  font-weight: 800;
}

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

.cart-qty {
  display: inline-grid;
  grid-template-columns: repeat(3, auto);
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(255, 145, 102, 0.1);
}

.cart-qty__button {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-deep);
  font-size: 18px;
  font-weight: 800;
}

.cart-qty__button:disabled {
  opacity: 0.45;
}

.cart-qty--locked {
  grid-template-columns: auto;
  padding: 8px 12px;
  color: var(--text-soft);
  font-size: 13px;
  font-weight: 800;
}

.cart-qty__value {
  min-width: 18px;
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.cart-remove {
  color: var(--brand-deep);
  font-size: 12px;
  font-weight: 800;
}

.cart-summary__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 15px;
}

.cart-summary__row strong {
  font-size: 20px;
  font-weight: 800;
}

.cart-summary__note {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.cart-summary__actions {
  display: grid;
  gap: 10px;
}

.minimum-order-card {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 16px;
  overflow: hidden;
  border: 1px solid rgba(249, 115, 82, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255, 246, 235, 0.98) 0%, rgba(255, 255, 255, 0.94) 62%),
    rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 36px rgba(59, 36, 18, 0.07);
  display: grid;
  gap: 14px;
}

.minimum-order-card.is-complete {
  border-color: rgba(20, 87, 54, 0.16);
  background:
    linear-gradient(145deg, rgba(241, 252, 239, 0.98) 0%, rgba(255, 255, 255, 0.96) 64%),
    rgba(255, 255, 255, 0.9);
}

.minimum-order-card__header {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  justify-items: start;
  gap: 10px;
}

.minimum-order-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 13px;
  background: rgba(249, 115, 82, 0.13);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 15px;
  font-weight: 900;
}

.minimum-order-card.is-complete .minimum-order-card__icon {
  background: rgba(20, 87, 54, 0.11);
  color: #145736;
}

.minimum-order-card__copy {
  width: 100%;
  max-width: 100%;
  display: grid;
  gap: 4px;
  min-width: 0;
}

.minimum-order-card__copy strong,
.minimum-order-card__copy span,
.minimum-order-card__footer span,
.minimum-order-card__footer strong {
  max-width: 100%;
  min-width: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
}

.minimum-order-card__copy strong {
  display: block;
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
}

.minimum-order-card__copy span,
.minimum-order-card__footer {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.45;
}

.minimum-order-progress {
  width: 100%;
  min-width: 0;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(20, 87, 54, 0.08);
}

.minimum-order-progress__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff9b52 0%, #ff6b00 54%, #145736 100%);
  transition: width 360ms ease;
}

.minimum-order-card.is-complete .minimum-order-progress__fill {
  background: linear-gradient(90deg, #89c86b 0%, #145736 100%);
}

.minimum-order-card__footer {
  min-width: 0;
  display: grid;
  grid-template-columns: 1fr;
  justify-items: start;
  gap: 4px;
  font-weight: 800;
}

.minimum-order-card__footer strong {
  color: var(--text-main);
  font-size: 12px;
  font-weight: 900;
  white-space: normal;
}

.frequently-added-card {
  min-width: 0;
  padding: 14px 16px;
  border: 1px dashed rgba(20, 87, 54, 0.15);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.frequently-added-card__header {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.frequently-added-card__header strong {
  font-size: 14px;
  font-weight: 900;
}

.frequently-added-card__header span {
  color: var(--text-soft);
  font-size: 12px;
  line-height: 1.45;
  text-align: left;
}

.cart-empty {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(255, 188, 148, 0.18);
  text-align: center;
  display: grid;
  gap: 10px;
}

.cart-empty__icon {
  width: 44px;
  height: 44px;
  margin: 0 auto;
  border-radius: 16px;
  background: rgba(255, 145, 102, 0.12);
  color: var(--brand-deep);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 800;
}

.cart-empty p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.55;
}

.feed-message {
  display: grid;
  gap: 8px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 188, 148, 0.18);
  text-align: center;
}

.feed-message__icon {
  font-size: 28px;
}

.feed-message p {
  color: var(--text-soft);
  font-size: 13px;
  line-height: 1.5;
}

.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.skeleton-card {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(20, 87, 54, 0.08);
}

.skeleton-shimmer {
  position: relative;
  overflow: hidden;
  background: #f4e9de;
}

.skeleton-shimmer::after {
  content: "";
  position: absolute;
  inset: 0;
  transform: translateX(-100%);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.72), transparent);
  animation: shimmer 1.3s infinite;
}

.skeleton-media {
  aspect-ratio: 0.88;
}

.skeleton-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}

.skeleton-line {
  height: 12px;
  border-radius: 999px;
}

.skeleton-line.is-wide {
  width: 100%;
}

.skeleton-line.is-mid {
  width: 70%;
}

.skeleton-line.is-small {
  width: 46%;
}

.feed-sentinel {
  height: 1px;
}

@media (max-width: 370px) {
  .discover-lane {
    padding: 12px;
    border-radius: 18px;
  }

  .discover-lane__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
  }

  .category-results-section__label {
    font-size: 10px;
  }

  .category-row {
    grid-auto-columns: minmax(82px, 88px);
    gap: 10px;
  }

  .category-orb {
    width: 84px;
    min-height: 114px;
    padding: 9px 8px 12px;
    border-radius: 22px;
  }

  .category-orb__icon {
    width: 58px;
    height: 58px;
    border-radius: 18px;
  }

  .category-orb__label {
    min-height: 28px;
    font-size: 11px;
  }

  .subcategory-discovery {
    gap: 8px;
  }

  .subcategory-lane {
    gap: 8px;
    margin-top: 12px;
  }

  .subcategory-lane__chip {
    min-height: 42px;
    padding: 9px 12px;
  }

  .subcategory-lane__label {
    font-size: 12px;
  }

  .subcategory-card {
    border-radius: 16px;
  }

  .subcategory-card__label {
    left: 10px;
    right: 10px;
    bottom: 10px;
    font-size: 13px;
  }
}

@media (min-width: 768px) {
  .minimum-order-card {
    padding: 18px;
  }

  .minimum-order-card__header {
    grid-template-columns: auto minmax(0, 1fr);
    align-items: start;
    gap: 12px;
  }

  .minimum-order-card__footer {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .minimum-order-card__footer strong {
    white-space: nowrap;
  }

  .frequently-added-card__header {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .frequently-added-card__header span {
    text-align: right;
  }

  .category-results-section__label {
    font-size: 12px;
  }

  .category-row {
    grid-auto-columns: minmax(100px, 108px);
    gap: 16px;
  }

  .category-orb {
    width: 104px;
    min-height: 130px;
    padding: 12px 10px 14px;
    border-radius: 26px;
  }

  .category-orb__icon {
    width: 72px;
    height: 72px;
    border-radius: 22px;
  }

  .category-orb__label {
    min-height: 32px;
    font-size: 13px;
  }

  .subcategory-discovery {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 14px;
  }

  .subcategory-lane {
    gap: 12px;
    margin-top: 16px;
  }

  .subcategory-lane__chip {
    min-height: 46px;
    padding-inline: 16px;
  }

  .subcategory-card__label {
    left: 14px;
    right: 14px;
    bottom: 14px;
    font-size: 16px;
  }

  .product-grid {
    gap: 14px;
  }

  .product-body {
    padding: 16px;
  }

  .product-title {
    font-size: 15px;
  }

  .product-price {
    font-size: 24px;
  }

  .action-button {
    min-height: 42px;
  }

  .product-grid,
  .skeleton-grid {
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 14px;
  }

  .discover-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
}

@keyframes shimmer {
  100% {
    transform: translateX(100%);
  }
}
