:root {
  --forest-900: #304127;
  --forest-800: #405832;
  --forest-700: #567644;
  --forest-500: #7aa35a;
  --leaf-300: #bdd8a6;
  --leaf-200: #dceac8;
  --leaf-100: #eef6e5;
  --earth-700: #8b5e3c;
  --earth-500: #ba7a4f;
  --earth-300: #e5c29f;
  --cream-50: #fbf8f1;
  --cream-100: #f5f0e3;
  --mist-100: #f4f7ee;
  --mist-200: #e6eddc;
  --mist-300: #d3dcc6;
  --text-main: #2f3a24;
  --text-soft: #6a7554;
  --shadow: rgba(61, 72, 33, 0.08);
  --kb-header-height: 0px;
}

.preview-menu { display: contents; }
.preview-menu__item, .preview-menu__trigger { display: inline-block; border: 0; padding: 0; color: var(--text-soft); border-radius: 0; background: transparent; text-decoration: none; cursor: pointer; font: inherit; font-weight: 600; white-space: nowrap; }
.preview-menu__dropdown { position: relative; }
.preview-menu__trigger:hover, .preview-menu__trigger:focus-visible, .preview-menu__dropdown.is-open > .preview-menu__trigger { color: var(--forest-800); background: transparent; }
.preview-menu__children { position: absolute; z-index: 20; top: calc(100% + 6px); left: 0; display: none; min-width: 156px; padding: 12px; border: 1px solid var(--mist-200); border-radius: 12px; background: #fff; box-shadow: 0 12px 30px var(--shadow); }
.preview-menu__children::before { content: ""; position: absolute; top: -5px; left: 0; width: 100%; height: 5px; }
.preview-menu__dropdown:hover > .preview-menu__children, .preview-menu__dropdown.is-open > .preview-menu__children { display: block; }
.preview-menu__children > .preview-menu__item, .preview-menu__children > .preview-menu__dropdown { display: block; margin: 6px 0; }
.preview-menu__children > .preview-menu__item { width: 100%; padding: 10px 12px; border-radius: 8px; background: var(--mist-100); }
.preview-menu__children > .preview-menu__dropdown > .preview-menu__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 10px 12px; text-align: left; border-radius: 8px; background: var(--mist-100); }
.preview-menu__children > .preview-menu__item:hover, .preview-menu__children > .preview-menu__dropdown > .preview-menu__trigger:hover, .preview-menu__children > .preview-menu__dropdown.is-open > .preview-menu__trigger { color: var(--forest-900); background: var(--leaf-200); }
.preview-menu__children > .preview-menu__dropdown > .preview-menu__trigger::after { margin-left: 16px; color: var(--forest-700); content: ">"; }
.preview-menu__children .preview-menu__children { top: 0; left: calc(100% + 14px); }
.preview-menu__children .preview-menu__children::before { top: 0; left: -14px; width: 14px; height: 100%; }
.preview-design-block { width: 100%; min-width: 0; max-width: 100%; margin: 28px 0; overflow: hidden; }
.preview-design-block > * { min-width: 0; max-width: 100%; }
.website-design-video-preview { width: 100%; max-width: 100%; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: #000; }
.website-design-video-preview iframe { display: block; width: 100%; height: 100%; border: 0; }
.website-design-video-error { margin: 0; padding: 24px; border-radius: 16px; background: var(--mist-100); color: var(--text-soft); text-align: center; }
.preview-product-menu,
.preview-product-menu .owl-stage-outer { max-width: 100%; }
.preview-product-menu .owl-stage-outer { overflow: hidden; }
.preview-product-menu .owl-nav { margin-top: 14px; text-align: center; }
.preview-product-menu .owl-nav button.owl-prev,
.preview-product-menu .owl-nav button.owl-next { width: 32px; height: 32px; margin: 0 4px; border: 1px solid var(--mist-300); border-radius: 50%; background: #fff; color: var(--forest-800); font-size: 1.1rem; line-height: 1; }
.preview-product-menu .owl-nav button.owl-prev:hover,
.preview-product-menu .owl-nav button.owl-next:hover { background: var(--mist-100); }
.preview-product-menu .owl-dots { margin-top: 8px; text-align: center; }
.preview-product-menu .owl-dots .owl-dot { border: 0; background: transparent; }
.preview-product-menu .owl-dots .owl-dot span { display: block; width: 8px; height: 8px; margin: 4px; border-radius: 50%; background: var(--mist-300); }
.preview-product-menu .owl-dots .owl-dot.active span { background: var(--forest-700); }
.preview-design-card { overflow: hidden; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px var(--shadow); }
.preview-design-card img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.preview-design-card__description { padding: 12px 16px; }
.preview-design-card__description .ql-align-center { text-align: center; }
.preview-design-card__description .ql-align-right { text-align: right; }
.preview-design-card__description .ql-align-justify { text-align: justify; }
.preview-design-card__description li[data-list="bullet"] { position: relative; list-style: none; }
.preview-design-card__description li[data-list="bullet"]::before { position: absolute; left: -1.1em; content: "•"; }
.preview-design-card__description ol:has(> li[data-list="bullet"]) { padding-left: 1.5em; list-style: none; }
.preview-design-card__description p { margin-bottom: 0.35rem; }
.preview-design-grid { display: grid; gap: 20px; }
.preview-design-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.preview-design-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.preview-design-card,
.preview-banner-swiper,
.preview-banner-swiper .swiper-wrapper,
.preview-banner-swiper .swiper-slide { min-width: 0; max-width: 100%; }
.preview-banner-swiper { width: 100%; overflow: hidden; }
.preview-banner-swiper .swiper-slide,
.preview-banner-swiper .swiper-slide > a,
.preview-banner-swiper .swiper-slide > a > img,
.preview-banner-swiper .swiper-slide > img { display: block; width: 100%; max-width: 100%; height: auto; }
.preview-banner-swiper .swiper-slide > a { display: block; width: 100%; }
.preview-design-card a { color: inherit; text-decoration: none; }
.preview-design-card__description a { color: #06c; text-decoration: underline; }
@media (max-width: 767px) {
  .preview-design-grid--2, .preview-design-grid--3 { grid-template-columns: 1fr; }
  .preview-menu__dropdown { width: 100%; }
  .preview-menu__trigger { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 14px; text-align: left; }
  .preview-menu__children,
  .preview-menu__children .preview-menu__children { position: static; min-width: 0; width: 100%; padding: 0 0 0 14px; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
  .preview-menu__children::before { display: none; }
  .preview-menu__children > .preview-menu__item,
  .preview-menu__children > .preview-menu__dropdown { margin: 0; }
  .preview-menu__children > .preview-menu__item { padding: 10px 14px; }
  .preview-menu__children > .preview-menu__dropdown > .preview-menu__trigger { padding: 10px 14px; }
  .preview-menu__dropdown:hover > .preview-menu__children { display: none; }
  .preview-menu__dropdown.is-open > .preview-menu__children { display: block; }
}

.page-transition-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  place-items: center;
  background: rgba(251, 248, 241, 0.72);
  backdrop-filter: blur(3px);
}

.page-transition-overlay:not([hidden]) {
  display: grid;
}

.page-transition-overlay__panel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  max-width: min(90vw, 420px);
  padding: 16px 22px;
  border-radius: 999px;
  background: rgba(48, 65, 39, 0.96);
  color: #fff;
  box-shadow: 0 18px 48px rgba(61, 72, 33, 0.22);
  font-weight: 700;
}

.page-transition-overlay__spinner {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  border: 2px solid rgba(255, 255, 255, 0.36);
  border-top-color: #fff;
  border-radius: 50%;
  animation: page-transition-spin 0.72s linear infinite;
}

body.is-page-transitioning {
  cursor: progress;
}

body.is-page-transitioning a,
body.is-page-transitioning button,
body.is-page-transitioning [role="button"] {
  cursor: progress;
}

body.is-page-transitioning .is-navigating {
  opacity: 0.72;
  pointer-events: none;
}

@keyframes page-transition-spin {
  to {
    transform: rotate(360deg);
  }
}

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

.catalog-shell--product-index {
  width: min(1280px, 100%);
  margin-inline: auto;
  gap: 18px;
}

.catalog-shell--product-index .catalog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, auto);
  align-items: center;
  gap: 32px;
  min-height: 190px;
  padding: 32px;
  border: 1px solid rgba(86, 118, 68, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 12%, rgba(122, 163, 90, 0.12), transparent 28%),
    linear-gradient(135deg, #fbf8f1 0%, #f1f6e9 100%);
  box-shadow: 0 12px 32px rgba(61, 72, 33, 0.06);
}

.catalog-shell--product-index .catalog-hero::after {
  position: absolute;
  z-index: -1;
  right: -54px;
  bottom: -92px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(86, 118, 68, 0.08);
  border-radius: 50%;
  content: "";
}

.catalog-hero--compact .home-hero__content {
  display: grid;
  align-content: center;
  gap: 12px;
}

.catalog-hero--compact .home-hero__content h1 {
  margin: 0;
  color: var(--forest-900);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.15;
}

.catalog-hero--compact .catalog-hero__summary,
.catalog-panel__intro {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.catalog-hero__result {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 6px;
  justify-items: end;
  min-width: 220px;
  padding-left: 28px;
  border-left: 1px solid rgba(86, 118, 68, 0.16);
  text-align: right;
}

.catalog-hero__result span {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.catalog-hero__result strong {
  color: var(--forest-900);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.catalog-panel {
  padding: 26px;
  border: 1px solid rgba(122, 163, 90, 0.1);
  box-shadow: 0 10px 34px rgba(61, 72, 33, 0.05);
}

.catalog-panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.catalog-panel__header h2 {
  margin: 6px 0 8px;
  color: var(--forest-900);
  font-size: clamp(1.55rem, 2vw, 2rem);
}

.catalog-tabs--segmented {
  display: inline-flex;
  padding: 6px;
  border-radius: 999px;
  background: #eef4e8;
  border: 1px solid rgba(122, 163, 90, 0.14);
}

.catalog-tabs--segmented .catalog-tab {
  min-height: 42px;
  padding: 10px 18px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-weight: 700;
}

.catalog-tabs--segmented .catalog-tab.is-active {
  background: #fff;
  color: var(--forest-900);
  box-shadow: 0 6px 18px rgba(61, 72, 33, 0.08);
}

.catalog-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 18px;
  margin-bottom: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(250, 248, 241, 0.9) 0%, rgba(244, 248, 238, 0.92) 100%);
  border: 1px solid rgba(122, 163, 90, 0.1);
}

.catalog-controls__group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-controls__group strong {
  color: var(--forest-900);
}

.catalog-controls__label {
  color: var(--text-soft);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.catalog-controls__group--actions {
  margin-left: auto;
}

.catalog-sort {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.catalog-sort select {
  min-width: 196px;
  min-height: 44px;
  padding: 0 42px 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(122, 163, 90, 0.18);
  background: #fff;
  color: var(--forest-900);
}

.catalog-sort select:focus-visible,
.catalog-tab:focus-visible,
.catalog-primary-button:focus-visible,
.catalog-secondary-button:focus-visible,
.catalog-favorite-button:focus-visible,
.catalog-card:focus-visible,
.catalog-ai-fab:focus-visible,
.catalog-ai-drawer__close:focus-visible {
  outline: 3px solid rgba(122, 163, 90, 0.34);
  outline-offset: 2px;
}

.catalog-summary-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  color: var(--text-soft);
}

.catalog-summary-bar strong {
  color: var(--forest-900);
  font-size: 1.02rem;
}

.catalog-empty-state {
  padding: 32px 28px;
  text-align: center;
}

.catalog-empty-state .page-empty__actions {
  justify-content: center;
}

.catalog-ai-notice {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(86, 118, 68, 0.08);
  color: var(--forest-800);
  border: 1px solid rgba(122, 163, 90, 0.16);
}

.catalog-highlight {
  margin-bottom: 16px;
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(251, 248, 241, 0.78);
  border: 1px solid rgba(186, 122, 79, 0.1);
}

.product-category-panel {
  display: grid;
  gap: 16px;
}

.product-category-panel__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.product-category-panel__header h2 {
  margin-bottom: 0;
}

.product-category-tree {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-category-tree .product-category-tree {
  flex-basis: 100%;
  margin-top: 8px;
  padding-left: 18px;
  border-left: 2px solid rgba(122, 163, 90, 0.16);
}

.product-category-tree__item {
  display: flex;
  flex-wrap: wrap;
  min-width: 0;
}

.product-category-tree__link {
  display: inline-flex;
  max-width: 100%;
  padding: 8px 13px;
  overflow: hidden;
  color: var(--forest-800);
  font-size: 0.9rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(122, 163, 90, 0.08);
  border: 1px solid rgba(122, 163, 90, 0.16);
  border-radius: 999px;
}

.product-category-tree__link:hover,
.product-category-tree__link.is-active {
  color: #fff;
  background: var(--forest-800);
}

.catalog-inline-error {
  margin: 0;
  color: #9f3a20;
}

.catalog-inline-error--panel {
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(193, 92, 42, 0.08);
  border: 1px solid rgba(193, 92, 42, 0.16);
  border-radius: 12px;
}

.product-category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 100%;
  overflow: hidden;
}

.product-category-badges span,
.product-category-badges a {
  display: inline-block;
  max-width: 12rem;
  padding: 4px 8px;
  overflow: hidden;
  color: var(--forest-800);
  font-size: 0.75rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
  background: rgba(122, 163, 90, 0.1);
  border-radius: 999px;
}

.product-category-badges--detail {
  max-height: 5.5rem;
  overflow-y: auto;
}

.catalog-grid {
  gap: 22px;
}

.catalog-shell--product-index .catalog-card {
  cursor: pointer;
}

.catalog-shell--product-index .catalog-card:hover {
  transform: translateY(-4px);
}

.catalog-shell--product-index .catalog-card__image {
  overflow: hidden;
  border-radius: 24px 24px 0 0;
}

.catalog-shell--product-index .catalog-card__image img {
  object-fit: contain;
  padding: 0;
}

.catalog-shell--product-index .catalog-card__badge {
  top: 14px;
  left: 14px;
  z-index: 2;
  background: rgba(255, 252, 248, 0.96);
  color: var(--earth-700);
  border: 1px solid rgba(186, 122, 79, 0.14);
  box-shadow: none;
}

.catalog-card__badge--sale {
  background: rgba(193, 92, 42, 0.14);
  color: #b45309;
  border-color: rgba(193, 92, 42, 0.18);
}

.catalog-card__sponsored-row {
  display: flex;
  align-items: center;
  min-height: 24px;
}

.catalog-card__sponsored-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 9px;
  color: #3730a3;
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0.08em;
  background: #eef2ff;
  border: 1px solid #a5b4fc;
  border-radius: 5px;
}

.catalog-card__sponsored-label::before {
  width: 5px;
  height: 5px;
  content: "";
  background: #4f46e5;
  border-radius: 50%;
}

.catalog-favorite-button {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #94a38a;
  border: 1px solid rgba(122, 163, 90, 0.14);
  box-shadow: 0 10px 20px rgba(61, 72, 33, 0.08);
}

.catalog-favorite-button svg {
  width: 18px;
  height: 18px;
}

.catalog-favorite-button:hover {
  color: #c15c2a;
  background: #fff8f2;
  border-color: rgba(193, 92, 42, 0.24);
}

.catalog-favorite-button.is-favorite {
  color: #c15c2a;
  background: #fff1e6;
  border-color: rgba(193, 92, 42, 0.2);
}

.catalog-favorite-button.is-loading {
  opacity: 0.72;
  pointer-events: none;
}

.catalog-shell--product-index .catalog-card__body {
  padding: 18px 18px 20px;
}

.catalog-card__meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.catalog-card__brand {
  font-weight: 700;
}

.catalog-card__sku {
  color: #9aa48b;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-shell--product-index .catalog-card__title {
  color: var(--forest-900);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}

.catalog-shell--product-index .catalog-card__meta {
  justify-content: flex-start;
  align-self: start;
}

.catalog-card__shipping {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.catalog-card__shipping svg {
  width: 16px;
  height: 16px;
  color: var(--forest-700);
}

.catalog-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.catalog-card__price strong {
  color: var(--forest-900);
  font-size: 1.35rem;
  line-height: 1.1;
}

.catalog-card__price small {
  color: var(--text-soft);
  text-decoration: line-through;
}

.catalog-card__actions {
  margin-top: auto;
}

.catalog-shell--product-index .catalog-card__price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.catalog-shell--product-index .catalog-card__price strong {
  font-size: 1.4rem;
  line-height: 1.1;
}

.catalog-shell--product-index .catalog-card__price small {
  font-size: 0.9rem;
}

.catalog-shell--product-index .catalog-card__actions {
  margin-top: auto;
}

.catalog-primary-button--block {
  width: 100%;
  min-height: 48px;
  justify-content: center;
}

.catalog-primary-button,
.catalog-secondary-button,
.catalog-favorite-button,
.catalog-ai-fab,
.catalog-ai-drawer__close {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.catalog-primary-button:hover,
.catalog-secondary-button:hover,
.catalog-ai-fab:hover,
.catalog-ai-drawer__close:hover {
  transform: translateY(-1px);
}

.catalog-primary-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.catalog-primary-button--block:hover:not(:disabled) {
  box-shadow: 0 12px 22px rgba(61, 72, 33, 0.16);
}

.catalog-secondary-button.catalog-primary-button--block,
.catalog-secondary-button--strong {
  width: 100%;
  min-height: 48px;
}

.catalog-secondary-button--subtle.is-favorite,
.catalog-secondary-button.is-favorite {
  background: #fff1e6;
  border-color: rgba(193, 92, 42, 0.2);
  color: #c15c2a;
}

.member-cta {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
  padding: 32px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255, 244, 221, 0.9) 0%, rgba(255, 244, 221, 0) 28%),
    linear-gradient(135deg, #355a3a 0%, #567644 42%, #c98253 100%);
  color: #fffdf9;
  box-shadow: 0 24px 44px rgba(43, 45, 66, 0.16);
}

.member-cta::after {
  content: "";
  position: absolute;
  inset: auto -40px -60px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.member-cta__content,
.member-cta__panel {
  position: relative;
  z-index: 1;
}

.member-cta__content {
  display: grid;
  gap: 14px;
}

.member-cta__badge {
  display: inline-flex;
  width: fit-content;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.member-cta h2 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.08;
  color: inherit;
}

.member-cta p {
  margin: 0;
  max-width: 58ch;
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 253, 249, 0.88);
}

.member-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 6px;
}

.member-cta__primary,
.member-cta__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
}

.member-cta__primary {
  background: #fff7ef;
  color: #8a4c27;
  box-shadow: 0 12px 22px rgba(84, 44, 21, 0.16);
}

.member-cta__secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: #fffdf9;
}

.member-cta__primary:hover,
.member-cta__secondary:hover {
  transform: translateY(-2px);
}

.member-cta__panel {
  display: grid;
  gap: 12px;
  align-content: center;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
}

.member-cta__panel strong {
  font-size: 1.2rem;
  line-height: 1.4;
}

.member-cta__panel ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: rgba(255, 253, 249, 0.9);
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
}

.product-gallery-card,
.product-purchase-card,
.product-description-card {
  padding: 24px;
}

.product-gallery-card {
  display: grid;
  gap: 16px;
}

.product-gallery-card__primary {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(122, 163, 90, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(238, 246, 229, 0.92) 100%);
  display: grid;
  place-items: center;
  padding: 16px;
}

.product-gallery-card__primary img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-gallery-card__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-gallery-card__thumb {
  width: 72px;
  height: 72px;
  border: 1px solid rgba(122, 163, 90, 0.14);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  padding: 0;
}

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

.product-purchase-card {
  display: grid;
  gap: 18px;
  position: sticky;
  top: calc(var(--kb-header-height) + 16px);
}

.product-price-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(251, 248, 241, 0.96) 0%, rgba(244, 247, 238, 0.96) 100%);
  border: 1px solid rgba(122, 163, 90, 0.12);
}

.product-price-panel__row {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.product-price-panel__label {
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.product-price-panel__market {
  color: var(--text-soft);
  text-decoration: line-through;
}

.product-price-panel__sale,
.product-price-panel__member {
  color: #b45309;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
}

.product-price-panel__member {
  color: var(--forest-900);
  font-size: 1.1rem;
}

.product-purchase-card__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-variant-selector {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(122, 163, 90, 0.16);
  border-radius: 18px;
  background: rgba(244, 247, 238, 0.66);
}

.product-variant-selector__group {
  display: grid;
  gap: 8px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.product-variant-selector__group legend {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.88rem;
  font-weight: 700;
}

.product-variant-selector__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.product-variant-selector__value {
  cursor: pointer;
}

.product-variant-selector__value:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  text-decoration: line-through;
}

.product-variant-selector__status {
  min-height: 1.4em;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  font-weight: 700;
}

.product-variant-selector__status.is-error {
  color: #b45309;
}

.product-purchase-card__quantity {
  display: grid;
  gap: 8px;
}

.product-purchase-card__quantity input {
  max-width: 160px;
}

.product-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.product-tag-list__item.is-hidden {
  display: none;
}

.product-tag-list__toggle {
  border: 0;
  background: transparent;
  color: var(--forest-800);
  font-weight: 700;
  padding: 0;
}

.product-description-card {
  display: grid;
  gap: 20px;
}

.product-description-card__section {
  display: grid;
  gap: 12px;
}

.product-description-card__content {
  color: var(--text-main);
  line-height: 1.8;
}

.product-description-card__images {
  display: grid;
  gap: 18px;
}

.product-seo-content {
  border-top: 1px solid rgba(122, 163, 90, 0.18);
  padding-top: 16px;
  color: var(--text-main);
  overflow-wrap: anywhere;
}

.product-seo-content summary {
  cursor: pointer;
  font-weight: 600;
  line-height: 1.6;
  padding: 8px 0;
}

.product-seo-content summary:focus-visible {
  outline: 2px solid var(--forest-800);
  outline-offset: 4px;
  border-radius: 4px;
}

.product-seo-content__body {
  display: grid;
  gap: 20px;
  padding-top: 12px;
}

.product-seo-content__body h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.product-seo-content__text {
  white-space: pre-wrap;
  line-height: 1.8;
  margin: 8px 0 0;
}

.product-seo-content__faq + .product-seo-content__faq {
  border-top: 1px solid rgba(122, 163, 90, 0.12);
  margin-top: 12px;
  padding-top: 4px;
}

.product-description-card__images img {
  width: 100%;
  border-radius: 20px;
  border: 1px solid rgba(122, 163, 90, 0.12);
}

.shop-anchor-tabs {
  position: sticky;
  top: var(--kb-header-height);
  z-index: 1020;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0 16px;
  background: linear-gradient(180deg, rgba(245, 240, 227, 0.92) 0%, rgba(245, 240, 227, 0) 100%);
}

.shop-anchor-tabs a {
  flex: 0 0 auto;
}

.order-filter-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.order-filter-chip {
  border: 1px solid rgba(122, 163, 90, 0.14);
  background: #fff;
  cursor: pointer;
}

.order-filter-chip.is-active {
  background: var(--forest-900);
  color: #fff;
  border-color: var(--forest-900);
}

.profile-layout {
  display: grid;
  gap: 24px;
}

.profile-address-card {
  display: grid;
  gap: 16px;
}

.profile-address-list {
  display: grid;
  gap: 10px;
}

.profile-address-item {
  width: 100%;
  text-align: left;
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(86, 118, 68, 0.14);
  background: rgba(247, 249, 243, 0.92);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.profile-address-item:hover {
  transform: translateY(-1px);
  border-color: rgba(86, 118, 68, 0.28);
  box-shadow: 0 12px 24px rgba(43, 45, 66, 0.08);
}

.profile-address-item.is-selected {
  border-color: #567644;
  background: #f6f9f1;
  box-shadow: 0 14px 26px rgba(86, 118, 68, 0.12);
}

.profile-address-default {
  display: inline-flex;
  width: fit-content;
  padding: 4px 10px;
  border-radius: 999px;
  background: #fff3e5;
  color: #b96a3e;
  font-size: 0.78rem;
  font-weight: 800;
}

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

.profile-address-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-address-field--full {
  grid-column: 1 / -1;
}

.profile-address-field span {
  color: var(--forest-800);
  font-size: 0.86rem;
  font-weight: 700;
}

.profile-address-card__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.profile-address-card__inline-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.profile-address-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.profile-address-actions .catalog-secondary-button:disabled,
.profile-address-actions .catalog-primary-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.profile-address-status {
  margin: 0;
  min-height: 1.4em;
  color: var(--forest-800);
  font-size: 0.9rem;
}

.profile-address-status.is-error,
.profile-address-error {
  color: #b5542e;
  font-weight: 700;
}

.catalog-secondary-button--subtle {
  min-height: 40px;
  padding: 10px 14px;
  border-radius: 999px;
}

.catalog-ai-fab {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 70;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--forest-800) 0%, var(--forest-900) 100%);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 18px 36px rgba(61, 72, 33, 0.2);
}

.catalog-ai-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  justify-items: end;
  background: rgba(34, 44, 26, 0.18);
  padding: 24px;
}

.catalog-ai-drawer__panel {
  position: relative;
  width: min(420px, 100%);
  padding: 26px;
  border-radius: 28px;
  background: #fffdf8;
  border: 1px solid rgba(122, 163, 90, 0.12);
  box-shadow: 0 20px 60px rgba(61, 72, 33, 0.12);
}

.catalog-ai-drawer__panel h2 {
  margin: 6px 0 10px;
  color: var(--forest-900);
}

.catalog-ai-drawer__panel p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.catalog-ai-drawer__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.catalog-ai-drawer__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(122, 163, 90, 0.12);
  border-radius: 999px;
  background: #fff;
  color: var(--forest-900);
  font-size: 1.3rem;
  line-height: 1;
}

.page-product-index .kb-benefits {
  padding: 18px 0;
  background: linear-gradient(180deg, rgba(247, 249, 242, 0.9) 0%, rgba(250, 248, 241, 0.92) 100%);
  border-top: 1px solid rgba(122, 163, 90, 0.08);
  border-bottom: 1px solid rgba(122, 163, 90, 0.08);
}

.page-product-index .kb-benefits__grid {
  gap: 14px;
}

.page-product-index .kb-benefits__grid div {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: none;
}

.page-product-index .kb-footer {
  margin-top: 40px;
  background: #f7f5ef;
}

.page-product-index .kb-footer__grid {
  padding-top: 34px;
  padding-bottom: 26px;
}

.page-product-index .kb-footer__bottom {
  background: rgba(86, 118, 68, 0.06);
}

@media (max-width: 1180px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .catalog-shell--product-index .catalog-hero {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 180px;
    padding: 24px;
  }

  .catalog-hero__result {
    justify-items: start;
    width: 100%;
    min-width: 0;
    padding: 16px 0 0;
    border-top: 1px solid rgba(86, 118, 68, 0.16);
    border-left: 0;
    text-align: left;
  }

  .catalog-controls {
    padding: 14px;
  }

  .catalog-panel {
    padding: 22px;
  }
}

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

  .catalog-controls__group--actions {
    margin-left: 0;
    width: 100%;
  }

  .catalog-sort {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-sort select {
    width: 100%;
  }

  .catalog-tabs--segmented {
    width: 100%;
  }

  .catalog-tabs--segmented .catalog-tab {
    flex: 1;
    justify-content: center;
  }

  .catalog-ai-drawer {
    padding: 14px;
    align-items: end;
  }
}

@media (max-width: 560px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .catalog-shell--product-index .catalog-hero,
  .catalog-panel {
    border-radius: 24px;
  }

  .catalog-shell--product-index .catalog-hero {
    padding: 22px 20px;
  }

  .catalog-panel__header,
  .catalog-controls,
  .catalog-summary-bar {
    align-items: stretch;
  }

  .catalog-ai-fab {
    right: 16px;
    bottom: 16px;
  }
}

/* Home discovery shortcuts and 30-day best sellers. */
.home-discovery-panel {
  display: grid;
  gap: 12px;
  min-width: 0;
  margin-bottom: 8px;
  padding: 18px 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(86, 118, 68, 0.16);
  border-radius: 18px;
}

.home-discovery-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.home-discovery-panel__header h2 {
  margin: 0;
  color: var(--forest-900);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
}

.home-discovery-panel__all-categories {
  flex: 0 0 auto;
  color: var(--earth-700);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(139, 87, 52, 0.34);
  text-underline-offset: 4px;
}

.home-category-shortcuts,
.home-tag-strip__items {
  display: flex;
  min-width: 0;
}

.home-category-shortcuts {
  flex-wrap: wrap;
  gap: 10px;
}

.home-category-shortcut {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 10px 18px;
  color: var(--forest-800);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.2;
  background: rgba(247, 250, 242, 0.96);
  border: 1px solid rgba(86, 118, 68, 0.2);
  border-radius: 12px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.home-category-shortcut:hover {
  color: var(--forest-900);
  background: #eef5e7;
  border-color: rgba(65, 101, 46, 0.56);
}

.home-tag-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding-top: 10px;
  border-top: 1px solid rgba(86, 118, 68, 0.12);
}

.home-tag-strip__label {
  flex: 0 0 auto;
  color: var(--forest-900);
  font-size: 0.9rem;
  font-weight: 700;
}

.home-tag-strip__items {
  flex-wrap: wrap;
  gap: 8px;
}

.home-tag-strip__item {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 11px;
  color: var(--forest-800);
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  background: rgba(238, 246, 229, 0.82);
  border: 1px solid rgba(86, 118, 68, 0.16);
  border-radius: 999px;
  transition: color 0.18s ease, background-color 0.18s ease, border-color 0.18s ease;
}

.home-tag-strip__item:hover {
  color: var(--forest-900);
  background: #f8fbf4;
  border-color: rgba(65, 101, 46, 0.48);
}

.home-category-shortcut:focus-visible,
.home-tag-strip__item:focus-visible,
.home-discovery-panel__all-categories:focus-visible {
  outline: 3px solid rgba(65, 101, 46, 0.42);
  outline-offset: 3px;
}

.home-best-sellers__description {
  margin: 6px 0 0;
  color: var(--text-soft);
}

.home-best-sellers__message {
  margin: 0;
  padding: 18px 20px;
  color: var(--text-soft);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(86, 118, 68, 0.12);
  border-radius: 16px;
}

.home-best-sellers .catalog-card__rank {
  color: #fff;
  border: 0;
  letter-spacing: 0.04em;
  box-shadow: 0 8px 20px rgba(61, 72, 33, 0.18);
}

.home-best-sellers .catalog-card__rank--first {
  background: linear-gradient(135deg, #a96e08, #e5b94c);
}

.home-best-sellers .catalog-card__rank--second {
  background: linear-gradient(135deg, #647080, #a9b3bf);
}

.home-best-sellers .catalog-card__rank--third {
  background: linear-gradient(135deg, #8a4f2a, #c98252);
}

.home-best-sellers .catalog-card__rank--standard {
  color: var(--forest-800);
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(86, 118, 68, 0.2);
  box-shadow: none;
}

.home-best-sellers .catalog-card__brand {
  color: var(--forest-700);
  font-weight: 800;
}

.home-best-sellers .catalog-card__price strong {
  color: var(--earth-700);
}

.home-best-sellers .catalog-card__price small {
  color: #89927d;
}

.home-best-sellers .catalog-card__price--unavailable {
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 700;
}

.home-best-sellers .catalog-card.is-unavailable {
  border-color: rgba(126, 132, 119, 0.2);
}

.home-best-sellers .catalog-card.is-unavailable .catalog-card__image img {
  opacity: 0.68;
}

.home-best-sellers .catalog-card.is-unavailable .catalog-card__shipping,
.home-best-sellers .catalog-card.is-unavailable .catalog-card__sku {
  color: #7d8277;
}

@media (max-width: 768px) {
  .home-discovery-panel {
    gap: 12px;
    padding: 18px;
  }

  .home-category-shortcuts,
  .home-tag-strip__items {
    flex-wrap: nowrap;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
    touch-action: pan-x;
    -webkit-overflow-scrolling: touch;
  }

  .home-category-shortcuts::-webkit-scrollbar,
  .home-tag-strip__items::-webkit-scrollbar {
    display: none;
  }

  .home-category-shortcut,
  .home-tag-strip__item {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .home-tag-strip {
    align-items: flex-start;
  }

  .home-best-sellers .storefront-section__header {
    gap: 14px;
  }
}

@media (max-width: 560px) {
  .home-discovery-panel {
    padding: 16px;
    border-radius: 16px;
  }

  .home-discovery-panel__header {
    align-items: baseline;
  }

  .home-discovery-panel__all-categories {
    font-size: 0.88rem;
  }

  .home-category-shortcut {
    min-height: 44px;
    padding: 9px 16px;
  }

  .home-tag-strip {
    gap: 10px;
  }

  .home-best-sellers__message {
    padding: 15px 16px;
  }
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, rgba(122, 163, 90, 0.18), transparent 24%),
    radial-gradient(circle at top right, rgba(186, 122, 79, 0.1), transparent 22%),
    linear-gradient(180deg, #f8fbf3 0%, #eef4e7 100%);
  font-family: "Avenir Next", "Segoe UI", "Noto Sans TC", "PingFang TC", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
.form-select:focus {
  box-shadow: 0 0 0 0.2rem rgba(122, 163, 90, 0.18);
  border-color: var(--forest-700);
}

.site-body--auth {
  background:
    linear-gradient(90deg, rgba(232, 240, 222, 0.96) 0%, rgba(232, 240, 222, 0.96) 50%, rgba(251, 248, 241, 0.98) 50%, rgba(251, 248, 241, 0.98) 100%);
}

.kb-shell,
.kb-page {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
}

.kb-page {
  padding: 32px 0 48px;
}

.kb-page--wide {
  width: min(1380px, calc(100% - 24px));
}

.kb-section-kicker {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--earth-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.kb-card {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(86, 118, 68, 0.14);
  border-radius: 24px;
  box-shadow: 0 22px 52px var(--shadow);
}

.kb-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(122, 163, 90, 0.16);
}

.kb-topbar {
  background: var(--cream-100);
  color: var(--text-soft);
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(186, 122, 79, 0.14);
}

.kb-topbar__inner,
.kb-mainbar,
.kb-footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.kb-topbar__inner {
  padding: 8px 0;
}

.kb-topbar__links,
.kb-actions,
.kb-nav,
.kb-store-buttons,
.dashboard-summary,
.catalog-toolbar__chips,
.catalog-tabs,
.catalog-card__actions,
.page-empty__actions,
.detail-grid,
.summary-mini-grid,
.auth-links {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.kb-topbar__links a:hover,
.kb-nav a:hover {
  color: var(--forest-800);
}

.kb-topbar__links a,
.kb-nav a {
  white-space: nowrap;
}

.kb-mainbar {
  padding: 18px 0;
}

.kb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.kb-brand__mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.kb-brand__logo {
  object-fit: contain;
}

.kb-brand__text {
  display: grid;
  line-height: 1;
}

.kb-brand__text strong {
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--forest-900);
}

.kb-brand__text small {
  margin-top: 3px;
  color: var(--text-soft);
  letter-spacing: 0.28em;
  font-size: 0.68rem;
}

.kb-search {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  max-width: 700px;
}

.kb-search input,
.form-control,
.form-select,
.auth-form__input {
  min-height: 48px;
  border-radius: 14px;
  border: 1px solid var(--mist-300);
  background: var(--mist-100);
}

.kb-search input {
  padding: 0 16px;
}

.kb-search button,
.kb-action--primary,
.home-hero__button,
.catalog-primary-button,
.catalog-tab.is-active,
.checkout-submit,
.auth-submit,
.page-empty__actions .primary-link,
.status-card__link--primary {
  border: none;
  background: var(--forest-900);
  color: #fff;
}

.kb-search button,
.kb-action,
.home-hero__button,
.catalog-primary-button,
.catalog-secondary-button,
.catalog-chip,
.catalog-tab,
.pagination a,
.favorite-link,
.order-link,
.cart-link,
.cart-remove,
.auth-submit,
.status-card__link,
.dashboard-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.kb-search button:hover,
.kb-action:hover,
.home-hero__button:hover,
.catalog-primary-button:hover,
.catalog-secondary-button:hover,
.catalog-chip:hover,
.catalog-tab:hover,
.pagination a:hover,
.favorite-link:hover,
.order-link:hover,
.cart-link:hover,
.cart-remove:hover,
.auth-submit:hover,
.status-card__link:hover {
  transform: translateY(-1px);
}

.kb-action {
  background: var(--mist-100);
  border: 1px solid var(--mist-300);
  color: var(--forest-900);
}

.kb-action--primary {
  border: 1px solid var(--forest-900);
}

.kb-action--cart {
  gap: 10px;
}

.kb-badge {
  min-width: 24px;
  height: 24px;
  border-radius: 999px;
  padding: 0 7px;
  background: var(--earth-500);
  color: #fff;
  font-size: 0.76rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.kb-user-menu {
  position: relative;
}

.kb-user-menu__trigger {
  border: 1px solid var(--mist-300);
  background: #fffdf8;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
}

.kb-user-menu__panel {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 200px;
  padding: 12px;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(122, 163, 90, 0.16);
  box-shadow: 0 22px 44px rgba(61, 72, 33, 0.12);
  display: grid;
  gap: 8px;
}

.kb-user-menu__panel a,
.kb-user-menu__logout {
  border: none;
  background: var(--mist-100);
  border-radius: 12px;
  padding: 10px 12px;
  text-align: left;
  font-weight: 600;
}

.kb-user-menu__form {
  margin: 0;
}

.kb-user-menu__divider {
  height: 1px;
  margin: 4px 2px;
  background: rgba(86, 118, 68, 0.18);
}

.kb-nav-wrap {
  border-top: 1px solid rgba(122, 163, 90, 0.12);
  overflow: hidden;
}

.kb-nav {
  padding: 12px 0;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.kb-nav a {
  color: var(--text-soft);
  font-weight: 600;
  flex: 0 0 auto;
}

.kb-nav a.is-active {
  color: var(--earth-700);
}

.kb-app-banner {
  margin-top: 12px;
  background: linear-gradient(180deg, #f2f6ea 0%, #faf7ef 100%);
  border-top: 1px solid rgba(122, 163, 90, 0.12);
  border-bottom: 1px solid rgba(122, 163, 90, 0.12);
}

.kb-app-banner__inner {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 180px;
  gap: 24px;
  align-items: center;
  padding: 44px 0;
}

.kb-app-copy {
  text-align: center;
}

.kb-app-copy h2 {
  margin: 0 0 12px;
  font-size: clamp(1.8rem, 2vw, 2.5rem);
  color: var(--forest-900);
}

.kb-app-copy p {
  margin: 0 auto;
  max-width: 640px;
  color: var(--text-soft);
}

.kb-app-visual {
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  background:
    radial-gradient(circle at 30% 25%, rgba(122, 163, 90, 0.48), transparent 20%),
    radial-gradient(circle at 70% 70%, rgba(186, 122, 79, 0.34), transparent 18%),
    linear-gradient(135deg, #eef6e5 0%, #faf7ef 100%);
  position: relative;
}

.kb-app-visual::after {
  content: "";
  position: absolute;
  inset: 18%;
  border-radius: 22px;
  border: 2px dashed rgba(86, 118, 68, 0.18);
}

.kb-store-buttons span {
  min-width: 140px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--forest-900);
  color: #fff;
  font-weight: 700;
}

.kb-benefits {
  padding: 18px 0;
  background: #fff;
}

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

.kb-benefits__grid div {
  padding: 14px 16px;
  text-align: center;
  border: 1px solid var(--mist-200);
  border-radius: 14px;
  background: #fffdf8;
  color: var(--text-soft);
  font-size: 0.95rem;
  font-weight: 600;
}

.kb-footer {
  background: #fff;
}

.kb-footer__grid {
  padding: 34px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.kb-footer__column--brand {
  order: 1;
}

.kb-footer__column--company {
  order: 2;
}

.kb-footer__column--categories {
  order: 3;
}

.kb-footer__column--account {
  order: 4;
}

.kb-footer__grid h3 {
  margin: 0 0 14px;
  font-size: 1rem;
  color: var(--forest-900);
}

.kb-footer__grid a,
.kb-footer__grid p {
  display: block;
  margin: 0 0 10px;
  color: var(--text-soft);
}

.kb-footer__brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.kb-footer__brand img {
  width: 52px;
  height: auto;
  max-height: 52px;
  object-fit: contain;
  border-radius: 12px;
}

.kb-footer__social-links {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
}

.kb-footer__social-link {
  display: inline-flex !important;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  border: 1px solid var(--border-soft);
  border-radius: 50%;
  color: var(--forest-900) !important;
  background: var(--cream-100);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.kb-footer__social-link:hover,
.kb-footer__social-link:focus-visible {
  color: #fff !important;
  background: var(--forest-700);
  transform: translateY(-1px);
}

.kb-footer__social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.5;
}

.kb-footer__social-icon-fill {
  fill: var(--cream-100);
  stroke: none;
}

.kb-footer__social-icon-cutout {
  fill: var(--cream-100);
  stroke: none;
}

.kb-footer__social-fallback {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

.kb-footer__bottom {
  padding: 18px 0;
  background: var(--cream-100);
  color: var(--text-soft);
  font-size: 0.92rem;
}

.home-hero,
.dashboard-shell,
.catalog-shell,
.shop-shell,
.cart-shell,
.favorite-shell,
.coupon-shell,
.order-shell,
.status-shell {
  display: grid;
  gap: 24px;
}

.home-hero {
  grid-template-columns: 1.2fr 0.8fr;
  padding: 34px;
  overflow: hidden;
}

.home-hero__content h1 {
  margin: 0 0 14px;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.04;
  color: var(--forest-900);
}

.home-hero__content p {
  margin: 0 0 22px;
  max-width: 640px;
  color: var(--text-soft);
  font-size: 1.05rem;
}

.home-hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.summary-card,
.mini-card,
.catalog-highlight,
.dashboard-panel,
.cart-item,
.cart-sidebar-card,
.favorite-card,
.my-coupon-card,
.order-panel,
.status-card {
  background: #fff;
  border: 1px solid rgba(86, 118, 68, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 48px var(--shadow);
}

.summary-card {
  padding: 18px 20px;
}

.summary-card strong,
.mini-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
  color: var(--forest-900);
}

.home-hero__visual {
  min-height: 380px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 22% 18%, rgba(122, 163, 90, 0.36), transparent 18%),
    radial-gradient(circle at 72% 32%, rgba(186, 122, 79, 0.24), transparent 18%),
    linear-gradient(145deg, #f7fbf0 0%, #e7f0da 100%);
  position: relative;
}

.home-hero__visual::before,
.home-hero__visual::after {
  content: "";
  position: absolute;
  border-radius: 26px;
}

.home-hero__visual::before {
  inset: 52px 62px 120px 62px;
  background: #fff;
  box-shadow: 0 24px 44px rgba(61, 72, 33, 0.09);
}

.home-hero__visual::after {
  right: 34px;
  bottom: 34px;
  width: 140px;
  height: 180px;
  background: linear-gradient(180deg, var(--forest-700) 0%, var(--forest-900) 100%);
  box-shadow: 0 18px 38px rgba(64, 88, 50, 0.22);
}

.home-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
}

.catalog-highlight,
.dashboard-panel,
.order-panel,
.status-card {
  padding: 24px;
}

.catalog-toolbar,
.dashboard-panel__header,
.list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.catalog-chip,
.catalog-tab,
.dashboard-pill {
  background: var(--mist-100);
  border: 1px solid var(--mist-300);
  color: var(--forest-800);
}

.catalog-chip.is-active,
.dashboard-pill.is-active {
  background: #f7efe2;
  border-color: var(--earth-300);
  color: var(--earth-700);
}

.catalog-tab {
  border: 1px solid var(--mist-300);
}

.catalog-tab-panel[hidden] {
  display: none !important;
}

.catalog-hero {
  background:
    radial-gradient(circle at top left, rgba(122, 163, 90, 0.18), transparent 24%),
    radial-gradient(circle at 85% 18%, rgba(186, 122, 79, 0.16), transparent 20%),
    linear-gradient(135deg, #fbf8f1 0%, #f1f6e9 52%, #edf4e3 100%);
  border: 1px solid rgba(122, 163, 90, 0.18);
}

.catalog-hero .home-hero__content {
  position: relative;
  z-index: 1;
}

.catalog-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.catalog-hero__badges span {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(186, 122, 79, 0.18);
  color: var(--earth-700);
  font-weight: 700;
  font-size: 0.9rem;
}

.catalog-hero__visual {
  min-height: 410px;
  background:
    radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.8), transparent 20%),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.55), transparent 18%),
    linear-gradient(180deg, rgba(239, 246, 229, 0.95) 0%, rgba(224, 237, 210, 0.96) 100%);
  overflow: hidden;
}

.catalog-hero__visual::before {
  content: "";
  position: absolute;
  inset: auto 18px 18px 18px;
  height: 120px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 12% 30%, rgba(122, 163, 90, 0.48), transparent 18%),
    radial-gradient(circle at 45% 65%, rgba(86, 118, 68, 0.24), transparent 20%),
    linear-gradient(180deg, rgba(178, 207, 143, 0.9) 0%, rgba(128, 167, 94, 0.94) 100%);
}

.catalog-hero__panel {
  position: absolute;
  top: 42px;
  right: 34px;
  width: min(270px, 60%);
  padding: 22px 22px 20px;
  border-radius: 24px;
  background: rgba(255, 251, 243, 0.92);
  border: 1px solid rgba(186, 122, 79, 0.14);
  box-shadow: 0 18px 38px rgba(61, 72, 33, 0.08);
  z-index: 2;
}

.catalog-hero__eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--earth-700);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 800;
}

.catalog-hero__panel strong {
  display: block;
  margin-bottom: 10px;
  color: var(--forest-900);
  font-size: 1.4rem;
  line-height: 1.2;
}

.catalog-hero__panel p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.6;
}

.catalog-hero__produce {
  position: absolute;
  border-radius: 999px;
  filter: drop-shadow(0 20px 24px rgba(61, 72, 33, 0.14));
}

.catalog-hero__produce--leafy {
  left: 48px;
  bottom: 96px;
  width: 180px;
  height: 180px;
  background:
    radial-gradient(circle at 50% 46%, #7aa35a 0%, #6a954b 36%, #52753c 72%, transparent 73%),
    radial-gradient(circle at 32% 36%, rgba(238, 246, 229, 0.7) 0%, transparent 16%),
    radial-gradient(circle at 62% 68%, rgba(238, 246, 229, 0.45) 0%, transparent 14%);
}

.catalog-hero__produce--citrus {
  left: 188px;
  bottom: 138px;
  width: 118px;
  height: 118px;
  background:
    radial-gradient(circle at 50% 50%, #ebb061 0%, #d98c3b 58%, #b9692f 82%, transparent 83%),
    radial-gradient(circle at 38% 32%, rgba(255, 241, 216, 0.75) 0%, transparent 15%);
}

.catalog-hero__produce--avocado {
  left: 214px;
  bottom: 54px;
  width: 152px;
  height: 106px;
  border-radius: 58% 42% 55% 45% / 52% 56% 44% 48%;
  background:
    radial-gradient(circle at 62% 50%, #c8b26e 0%, #a98842 18%, transparent 19%),
    radial-gradient(circle at 50% 50%, #96bb68 0%, #6f9448 62%, #4b6633 82%);
  transform: rotate(-18deg);
}

.catalog-hero__stat {
  position: absolute;
  left: 34px;
  top: 34px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(122, 163, 90, 0.18);
  color: var(--text-soft);
  z-index: 2;
}

.catalog-hero__stat strong {
  display: block;
  margin-top: 4px;
  color: var(--forest-900);
  font-size: 1rem;
}

.catalog-grid,
.favorite-grid,
.dashboard-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.catalog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(86, 118, 68, 0.12);
  box-shadow: 0 14px 32px rgba(61, 72, 33, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.favorite-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(86, 118, 68, 0.12);
  box-shadow: 0 14px 32px rgba(61, 72, 33, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.catalog-card:hover,
.catalog-card:focus-within {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(61, 72, 33, 0.1);
  border-color: rgba(122, 163, 90, 0.24);
}

.catalog-card__image,
.favorite-card__image {
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(238, 246, 229, 0.92) 100%);
  position: relative;
  display: grid;
  place-items: center;
  padding: 12px;
}

.catalog-card__image img,
.favorite-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0;
}

.catalog-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #fff;
  color: var(--earth-700);
  font-size: 0.72rem;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(61, 72, 33, 0.08);
}

.catalog-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
  padding: 18px;
}

.favorite-card__body {
  padding: 18px;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto auto;
  gap: 10px;
}

.catalog-card__meta-top,
.catalog-card__meta,
.catalog-card__title,
.catalog-card__brand,
.catalog-card__sku {
  min-width: 0;
}

.catalog-card__brand {
  overflow: hidden;
  color: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.catalog-card__meta-top > :first-child {
  flex: 1 1 auto;
}

.catalog-card__meta-top > :last-child {
  flex: 0 1 auto;
}

.catalog-card__price strong,
.catalog-card__price small {
  white-space: nowrap;
}

.catalog-card__actions {
  width: 100%;
  margin-top: auto;
  padding-top: 4px;
}

.catalog-primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.64;
  transform: none;
}

.catalog-card__title,
.favorite-card__body h2 {
  margin: 0;
  min-height: 0;
  font-size: 1rem;
  line-height: 1.45;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.catalog-card__meta,
.favorite-card__meta,
.order-row,
.order-item-card,
.cart-summary-row,
.cart-item__header,
.cart-item__meta,
.cart-item__footer,
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.catalog-card__meta,
.favorite-card__meta,
.order-muted,
.cart-item__meta,
.catalog-feedback,
.page-empty p,
.status-card p,
.auth-copy p,
.auth-note,
.home-note,
.catalog-summary {
  color: var(--text-soft);
}

.storefront-hero,
.storefront-overview,
.storefront-feature-grid {
  margin-bottom: 24px;
}

.storefront-shell {
  display: grid;
  gap: 24px;
}

.storefront-section {
  display: grid;
  gap: 18px;
}

.storefront-section__header,
.storefront-section__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.storefront-section__header h2 {
  margin: 0 0 6px;
  color: var(--forest-900);
}

.storefront-hero {
  overflow: hidden;
  border-radius: 28px;
}

.storefront-carousel {
  position: relative;
}

.storefront-banner-link {
  display: block;
  background: #fff;
}

.storefront-banner-image {
  display: block;
  width: 100%;
  height: auto;
}

.storefront-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.storefront-promo-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 24px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.56), transparent 24%),
    linear-gradient(135deg, #eef6e3 0%, #fff8ee 100%);
  border: 1px solid rgba(86, 118, 68, 0.12);
  box-shadow: 0 18px 48px var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.storefront-promo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(61, 72, 33, 0.14);
}

.storefront-promo-card strong {
  font-size: 1.3rem;
  color: var(--forest-900);
}

.storefront-promo-card p {
  margin: 0;
  color: var(--text-soft);
}

.storefront-promo-card__badge,
.storefront-promo-card__action {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  border-radius: 999px;
  font-weight: 800;
}

.storefront-promo-card__badge {
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(86, 118, 68, 0.12);
  color: var(--earth-700);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.storefront-promo-card__action {
  color: var(--forest-800);
}

.storefront-slide {
  min-height: 520px;
  padding: 34px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.64), transparent 24%),
    linear-gradient(135deg, #f7fbef 0%, #edf6df 50%, #fff4e7 100%);
}

.storefront-slide__content {
  display: grid;
  gap: 18px;
}

.storefront-slide__content h1 {
  margin: 0;
  font-size: clamp(2.4rem, 4vw, 4.1rem);
  line-height: 1.02;
  color: var(--forest-900);
}

.storefront-slide__content p {
  margin: 0;
  max-width: 620px;
  color: var(--text-soft);
  font-size: 1.04rem;
}

.storefront-slide__actions,
.storefront-slide__chips,
.storefront-promo-metrics {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.storefront-slide__chips span {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(86, 118, 68, 0.12);
  color: var(--forest-800);
  font-weight: 700;
  font-size: 0.92rem;
}

.storefront-slide__visual {
  min-height: 430px;
  position: relative;
  border-radius: 32px;
  overflow: hidden;
  background:
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.84), transparent 18%),
    radial-gradient(circle at 78% 76%, rgba(186, 122, 79, 0.14), transparent 20%),
    linear-gradient(155deg, #eff8e2 0%, #dbecc2 100%);
}

.storefront-slide__visual--ocean {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.76), transparent 18%),
    radial-gradient(circle at 76% 72%, rgba(55, 126, 170, 0.14), transparent 20%),
    linear-gradient(155deg, #eef8f6 0%, #dceef0 56%, #f7f3e9 100%);
}

.storefront-slide__visual--warm {
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.8), transparent 18%),
    radial-gradient(circle at 80% 72%, rgba(217, 141, 84, 0.18), transparent 20%),
    linear-gradient(145deg, #fff8ee 0%, #f4ead6 54%, #ecf3df 100%);
}

.storefront-visual-card {
  position: absolute;
  z-index: 2;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(86, 118, 68, 0.12);
  box-shadow: 0 24px 44px rgba(61, 72, 33, 0.12);
}

.storefront-visual-card--featured {
  left: 34px;
  top: 34px;
  width: min(300px, calc(100% - 120px));
  padding: 24px;
}

.storefront-visual-card--featured span,
.storefront-visual-card--price small {
  display: block;
  margin-bottom: 8px;
  color: var(--earth-700);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.storefront-visual-card--featured strong,
.storefront-visual-card--price strong {
  display: block;
  color: var(--forest-900);
}

.storefront-visual-card--featured strong {
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.storefront-visual-card--featured p {
  margin: 0;
  color: var(--text-soft);
}

.storefront-visual-card--price {
  right: 30px;
  bottom: 34px;
  min-width: 152px;
  padding: 18px 20px;
  text-align: center;
}

.storefront-visual-card--price strong {
  font-size: 1.7rem;
}

.storefront-produce {
  position: absolute;
  border-radius: 50%;
  filter: drop-shadow(0 18px 28px rgba(61, 72, 33, 0.16));
}

.storefront-produce--melon {
  right: 96px;
  top: 94px;
  width: 170px;
  height: 170px;
  background: radial-gradient(circle at 34% 32%, #ffe9a6 0%, #ffd56f 34%, #efaa2f 70%, #c37f10 100%);
}

.storefront-produce--leaf {
  right: 220px;
  bottom: 82px;
  width: 154px;
  height: 110px;
  border-radius: 48% 52% 42% 58% / 60% 48% 52% 40%;
  transform: rotate(-16deg);
  background: linear-gradient(135deg, #84b861 0%, #4c8232 100%);
}

.storefront-produce--berry {
  right: 48px;
  bottom: 118px;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle at 32% 30%, #fbe4e8 0%, #ec7c92 26%, #cf4d67 72%, #a72f47 100%);
}

.storefront-produce--fish {
  right: 100px;
  top: 112px;
  width: 190px;
  height: 118px;
  border-radius: 58% 42% 56% 44% / 56% 52% 48% 44%;
  transform: rotate(-10deg);
  background: linear-gradient(135deg, #90d5dc 0%, #4ba1b6 60%, #2d6d84 100%);
}

.storefront-produce--ice {
  right: 246px;
  bottom: 80px;
  width: 120px;
  height: 120px;
  border-radius: 24px;
  transform: rotate(14deg);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.82) 0%, rgba(196, 231, 239, 0.92) 100%);
}

.storefront-produce--shell {
  right: 54px;
  bottom: 102px;
  width: 94px;
  height: 94px;
  border-radius: 54% 46% 60% 40% / 44% 58% 42% 56%;
  background: linear-gradient(135deg, #ffd9b7 0%, #f0a56c 100%);
}

.storefront-produce--box {
  right: 88px;
  top: 98px;
  width: 176px;
  height: 128px;
  border-radius: 26px;
  transform: rotate(-8deg);
  background: linear-gradient(135deg, #cf9a60 0%, #9f6d35 100%);
}

.storefront-produce--coin {
  right: 232px;
  bottom: 86px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle at 32% 30%, #fff5bf 0%, #ffd86a 54%, #dca227 100%);
}

.storefront-produce--spark {
  right: 54px;
  bottom: 116px;
  width: 94px;
  height: 94px;
  border-radius: 28px;
  transform: rotate(18deg);
  background: linear-gradient(135deg, #fff5ec 0%, #efbf8c 100%);
}

.storefront-carousel__indicators {
  right: auto;
  left: 34px;
  bottom: 20px;
  justify-content: flex-start;
  margin: 0;
}

.storefront-carousel__indicators [data-bs-target] {
  width: 34px;
  height: 6px;
  border: 0;
  border-radius: 999px;
  background-color: rgba(48, 65, 39, 0.24);
  opacity: 1;
}

.storefront-carousel__indicators .active {
  background-color: var(--forest-900);
}

.storefront-carousel__control {
  width: 56px;
  top: auto;
  bottom: 24px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(86, 118, 68, 0.12);
  opacity: 1;
}

.storefront-carousel__control.carousel-control-prev {
  left: auto;
  right: 98px;
}

.storefront-carousel__control.carousel-control-next {
  right: 34px;
}

.storefront-carousel__control .carousel-control-prev-icon,
.storefront-carousel__control .carousel-control-next-icon {
  filter: invert(18%) sepia(11%) saturate(1102%) hue-rotate(54deg) brightness(92%) contrast(89%);
}

.storefront-overview,
.storefront-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
}

.storefront-categories,
.storefront-promo-panel,
.storefront-feature-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(86, 118, 68, 0.14);
  box-shadow: 0 18px 48px var(--shadow);
}

.storefront-block__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.storefront-block__header h2,
.storefront-promo-panel h2,
.storefront-feature-card h2 {
  margin: 0;
  color: var(--forest-900);
}

.storefront-text-link {
  color: var(--earth-700);
  font-weight: 700;
}

.storefront-category-grid,
.storefront-campaign-list {
  display: grid;
  gap: 14px;
}

.storefront-category-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.storefront-category-card,
.storefront-campaign-item {
  position: relative;
  overflow: hidden;
  padding: 22px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.56), transparent 24%),
    linear-gradient(135deg, #eef6e3 0%, #fff8ee 100%);
  border: 1px solid rgba(86, 118, 68, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.storefront-category-card:hover,
.storefront-campaign-item:hover,
.storefront-mini-link:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(61, 72, 33, 0.12);
}

.storefront-category-card strong,
.storefront-campaign-item strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.12rem;
  color: var(--forest-900);
}

.storefront-category-card span,
.storefront-campaign-item p,
.storefront-promo-panel p {
  color: var(--text-soft);
  margin: 0;
}

.storefront-promo-panel {
  background:
    radial-gradient(circle at top left, rgba(122, 163, 90, 0.16), transparent 26%),
    linear-gradient(145deg, #fffdf8 0%, #f3f7eb 100%);
}

.storefront-feature-card--accent {
  background:
    radial-gradient(circle at top left, rgba(186, 122, 79, 0.14), transparent 20%),
    linear-gradient(145deg, #fff7ec 0%, #f6f4ea 100%);
}

.storefront-mini-link {
  min-width: 0;
  flex: 1 1 calc(50% - 12px);
  text-align: left;
}

.storefront-mini-link strong {
  font-size: 1.1rem;
}

.storefront-campaign-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.storefront-campaign-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--forest-800);
  font-weight: 800;
}

.catalog-card__price,
.favorite-card__price strong,
.cart-subtotal,
.order-money,
.status-card strong {
  color: var(--forest-900);
  font-weight: 800;
}

.catalog-card__price small,
.favorite-card__price span {
  color: #9ba488;
  text-decoration: line-through;
}

.catalog-secondary-button {
  background: var(--mist-100);
  border: 1px solid var(--mist-300);
  color: var(--forest-800);
}

.catalog-secondary-button.is-favorite {
  background: #f7efe2;
  border-color: var(--earth-300);
  color: var(--earth-700);
}

.dashboard-summary {
  justify-content: space-between;
}

.dashboard-summary .summary-card {
  flex: 1;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
}

.dashboard-table th,
.dashboard-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--mist-200);
  text-align: left;
  font-size: 0.95rem;
}

.dashboard-table th {
  color: var(--text-soft);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef5e7;
  color: var(--forest-700);
  font-weight: 700;
  font-size: 0.85rem;
}

.status-pill--success {
  background: #ecfdf5;
  color: #059669;
}

.status-pill--warning {
  background: #fbf0e4;
  color: var(--earth-700);
}

.status-pill--muted {
  background: var(--mist-100);
  color: var(--text-soft);
}

.cart-layout,
.order-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.cart-list,
.order-panels {
  display: grid;
  gap: 18px;
}

.cart-item {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 18px;
  padding: 18px;
}

.cart-item__image {
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(180deg, #f9fbf5 0%, #edf3e4 100%);
}

.cart-item__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 14px;
}

.cart-item__content {
  display: grid;
  gap: 14px;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cart-qty input {
  width: 88px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid var(--mist-300);
  border-radius: 12px;
  background: #fff;
}

.cart-sidebar-card {
  position: sticky;
  top: 110px;
  padding: 24px;
}

.checkout-readonly {
  display: grid;
  gap: 10px;
  padding: 16px;
  border-radius: 18px;
  background: var(--mist-100);
  border: 1px solid var(--mist-200);
}

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

.favorite-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.coupon-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(112px, 1fr));
  gap: 14px;
}

.coupon-center {
  display: grid;
  gap: 20px;
}

.coupon-center__header {
  display: grid;
  gap: 8px;
}

.coupon-center__header h1,
.coupon-center__header p {
  margin: 0;
}

.coupon-center__eyebrow {
  color: var(--earth-700);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.coupon-center__tabs {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 8px;
  border: 1px solid var(--mist-300);
  border-radius: 16px;
  background: #fff;
}

.coupon-center__tab {
  min-width: 0;
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 11px;
  color: var(--forest-800);
  font-weight: 900;
  text-decoration: none;
}

.coupon-center__tab:hover,
.coupon-center__tab:focus-visible {
  color: var(--forest-900);
  background: var(--mist-100);
}

.coupon-center__tab.is-active {
  color: #fff;
  background: var(--forest-900);
}

.coupon-center__content {
  min-width: 0;
  display: grid;
  gap: 20px;
}

.coupon-center__section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.coupon-center__section-heading h2 {
  margin: 4px 0 0;
}

.coupon-center__section-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.coupon-wallet-panel {
  display: grid;
  gap: 20px;
}

.coupon-wallet-filter-group {
  display: grid;
  gap: 9px;
  min-width: 0;
}

.coupon-wallet-filter-group__label {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.coupon-wallet-filters {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.coupon-wallet-filter {
  flex: 0 0 auto;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid var(--mist-300);
  border-radius: 999px;
  background: #fff;
  color: var(--forest-800);
  font-weight: 800;
  text-decoration: none;
}

.coupon-wallet-filter:hover,
.coupon-wallet-filter:focus-visible {
  border-color: var(--forest-700);
  color: var(--forest-900);
  box-shadow: 0 0 0 3px rgba(86, 118, 68, 0.14);
}

.coupon-wallet-filter.is-active {
  border-color: var(--forest-900);
  background: var(--forest-900);
  color: #fff;
}

.coupon-wallet-filter.is-active::before {
  content: "✓";
  margin-right: 7px;
  font-size: 0.82rem;
}

.coupon-wallet-card__discount {
  overflow-wrap: anywhere;
  font-size: clamp(1.55rem, 2.8vw, 2.35rem);
  font-weight: 900;
  line-height: 1.08;
}

.coupon-wallet-card__badges {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.coupon-panel {
  display: grid;
  gap: 22px;
}

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

.my-coupon-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  min-height: 246px;
  border: 1px solid rgba(86, 118, 68, 0.14);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px var(--shadow);
}

.my-coupon-card::before,
.my-coupon-card::after {
  content: "";
  position: absolute;
  left: 229px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--mist-100);
  z-index: 1;
}

.my-coupon-card::before {
  top: -11px;
}

.my-coupon-card::after {
  bottom: -11px;
}

.my-coupon-card__value {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 24px 26px;
  color: #fff;
  background: linear-gradient(145deg, var(--forest-700) 0%, var(--forest-900) 100%);
}

.coupon-status--invalid .my-coupon-card__value {
  background: linear-gradient(145deg, #8b8f7a 0%, #5f6653 100%);
}

.coupon-status--used .my-coupon-card__value {
  background: linear-gradient(145deg, var(--earth-500) 0%, var(--earth-700) 100%);
}

.my-coupon-card__value span {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.82rem;
  font-weight: 800;
}

.my-coupon-card__state,
.my-coupon-card__hint {
  padding: 7px 11px;
}

.my-coupon-card__amount-block {
  display: grid;
  gap: 8px;
}

.my-coupon-card__amount-line {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-wrap: wrap;
}

.my-coupon-card__amount-line strong {
  display: block;
  font-size: clamp(2.5rem, 4vw, 4rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.my-coupon-card__amount-line em {
  font-style: normal;
  font-size: 1.1rem;
  font-weight: 800;
  padding-bottom: 6px;
}

.my-coupon-card__amount-block p {
  margin: 0;
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.84);
}

.my-coupon-card__hint {
  background: rgba(255, 255, 255, 0.12);
}

.my-coupon-card__body {
  position: relative;
  padding: 24px 24px 24px 28px;
  display: grid;
  gap: 16px;
}

.my-coupon-card__body::before {
  content: "";
  position: absolute;
  inset: 18px auto 18px 0;
  border-left: 2px dashed rgba(86, 118, 68, 0.18);
}

.my-coupon-card__title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
}

.my-coupon-card__title-row h2 {
  margin: 0;
  color: var(--forest-900);
  font-size: 1.2rem;
  line-height: 1.35;
}

.my-coupon-card__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 249, 238, 0.96) 0%, rgba(244, 247, 238, 0.98) 100%);
  border: 1px solid rgba(86, 118, 68, 0.12);
}

.my-coupon-card__summary span {
  color: var(--text-soft);
  font-size: 0.82rem;
  font-weight: 700;
}

.my-coupon-card__summary strong {
  color: var(--forest-900);
  font-size: 0.95rem;
}

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

.coupon-detail-grid div {
  padding: 14px;
  border-radius: 14px;
  background: var(--mist-100);
  border: 1px solid var(--mist-200);
}

.coupon-detail-grid span,
.coupon-meta-line {
  color: var(--text-soft);
}

.coupon-detail-grid span {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  font-weight: 700;
}

.coupon-detail-grid strong {
  color: var(--forest-900);
  font-size: 0.96rem;
}

.coupon-meta-line {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

.coupon-meta-line span {
  padding: 7px 10px;
  border-radius: 999px;
  background: #fffaf2;
  border: 1px solid rgba(186, 122, 79, 0.14);
}

.coupon-empty {
  background: var(--mist-100);
  border: 1px solid var(--mist-200);
  box-shadow: none;
}

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

.mini-card {
  padding: 16px 18px;
}

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

.order-item-card {
  padding: 16px 18px;
  border-radius: 16px;
  background: var(--mist-100);
  border: 1px solid var(--mist-200);
}

.invoice-card {
  padding: 0;
  overflow: hidden;
}

.invoice-card__notice {
  padding: 14px 22px;
  background: var(--mist-100);
  border-bottom: 1px solid var(--mist-200);
  color: var(--forest-800);
  font-weight: 600;
}

.invoice-card__header {
  padding: 28px 22px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.invoice-card__header h1 {
  margin: 0 0 12px;
  color: var(--forest-900);
  font-size: 2rem;
}

.invoice-brand {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-align: right;
}

.invoice-brand strong {
  display: block;
  color: var(--forest-900);
}

.invoice-brand p {
  margin: 2px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.invoice-meta-grid {
  padding: 0 22px 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.invoice-meta-card,
.invoice-summary-box {
  padding: 18px 18px 16px;
  border-radius: 16px;
  background: #fbfcf8;
  border: 1px solid var(--mist-200);
}

.invoice-meta-card span,
.invoice-summary-box span,
.invoice-tracking span {
  display: block;
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.invoice-meta-card strong,
.invoice-summary-box strong,
.invoice-tracking strong {
  display: block;
  color: var(--forest-900);
  font-size: 1rem;
}

.invoice-meta-card small {
  display: block;
  margin-top: 6px;
  color: var(--text-soft);
  line-height: 1.5;
}

.invoice-table {
  width: calc(100% - 44px);
  margin: 0 22px;
  border-collapse: separate;
  border-spacing: 0;
}

.invoice-table thead th {
  padding: 14px 16px;
  background: var(--mist-100);
  color: var(--text-soft);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--mist-200);
}

.invoice-table tbody td {
  padding: 18px 16px;
  border-bottom: 1px solid var(--mist-200);
  color: var(--text-main);
  vertical-align: top;
}

.invoice-table__sub {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.invoice-shop-groups {
  padding: 0 22px;
  display: grid;
  gap: 18px;
}

.invoice-shop-group {
  border: 1px solid var(--mist-200);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(247, 249, 243, 0.98) 100%);
  box-shadow: 0 16px 34px rgba(43, 45, 66, 0.06);
  overflow: hidden;
}

.invoice-shop-group__header {
  padding: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  border-bottom: 1px solid var(--mist-200);
}

.invoice-shop-group__identity {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.invoice-shop-group__accent {
  flex: 0 0 6px;
  width: 6px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(180deg, #c98253 0%, #a76a42 100%);
}

.invoice-shop-group__info {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.invoice-shop-group__label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--earth-700);
}

.invoice-shop-group__title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
  color: var(--forest-900);
}

.invoice-shop-group__summary {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.invoice-shop-group__summary strong {
  color: var(--forest-900);
}

.invoice-shop-group__meta {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.invoice-shop-group__meta-label {
  font-size: 0.82rem;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.invoice-shop-group__meta-caption {
  margin: 0;
  font-size: 0.88rem;
  color: var(--earth-700);
  font-weight: 700;
}

.invoice-table--shop {
  width: 100%;
  margin: 0;
}

.invoice-summary-grid {
  padding: 22px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.invoice-summary-box--total {
  background: #fff7ef;
  border-color: rgba(186, 122, 79, 0.2);
}

.invoice-summary-box--total strong {
  color: #cf5a2e;
  font-size: 1.8rem;
}

.invoice-tracking,
.invoice-actions {
  padding: 0 22px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.invoice-tracking {
  padding-top: 4px;
}

.invoice-actions {
  border-top: 1px solid var(--mist-200);
  padding-top: 22px;
}

.page-empty,
.status-card {
  padding: 36px;
  text-align: center;
}

.page-empty h2,
.status-card h1 {
  margin: 0 0 12px;
}

.page-empty__actions,
.status-card__actions {
  justify-content: center;
  margin-top: 18px;
}

.catalog-feedback,
.favorite-feedback,
.cart-feedback {
  position: fixed;
  top: 96px;
  right: 24px;
  z-index: 90;
  padding: 14px 18px;
  border-radius: 16px;
  background: var(--forest-900);
  color: #fff;
  box-shadow: 0 16px 42px rgba(61, 72, 33, 0.18);
}

.catalog-feedback.is-error,
.favorite-feedback.is-error,
.cart-feedback.is-error {
  background: #b91c1c;
}

.auth-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.auth-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.auth-card {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(420px, 1fr);
  min-height: 720px;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(15, 23, 42, 0.12);
}

.auth-card.compact {
  min-height: 640px;
}

.auth-copy {
  padding: 56px;
  color: #fff;
  background:
    linear-gradient(rgba(64, 88, 50, 0.42), rgba(48, 65, 39, 0.56)),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.22), transparent 18%),
    linear-gradient(135deg, #d9e7ca 0%, #f8fbf3 35%, #ead9bf 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}

.auth-copy::after {
  content: "";
  position: absolute;
  inset: 38px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.auth-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
}

.auth-brand {
  position: absolute;
  top: 56px;
  left: 56px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #1f2937;
}

.auth-form {
  padding: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

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

.auth-field {
  display: grid;
  gap: 8px;
}

.auth-field label {
  font-weight: 700;
  color: var(--forest-800);
}

.auth-validation,
.auth-success {
  padding: 14px 16px;
  border-radius: 14px;
}

.auth-validation {
  background: #fff1f2;
  color: #be123c;
}

.auth-success {
  background: #ecfdf5;
  color: #047857;
}

.auth-tabline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 8px;
}

.auth-tabline span {
  padding-bottom: 10px;
  border-bottom: 2px solid var(--mist-200);
  color: #9ba488;
  font-weight: 700;
  text-align: center;
}

.auth-tabline span.is-active {
  color: var(--forest-900);
  border-color: var(--forest-700);
}

.auth-note {
  font-size: 0.92rem;
}

.pagination {
  margin: 8px 0 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.pagination a {
  background: #fff;
  border: 1px solid var(--mist-300);
  color: var(--forest-800);
  min-width: 46px;
}

.pagination a.active {
  background: var(--forest-900);
  color: #fff;
}

.pagination a.disabled {
  opacity: 0.45;
  pointer-events: none;
}

.product-chat-widget {
  position: fixed;
  right: 24px;
  bottom: 96px;
  width: min(480px, calc(100vw - 32px));
  height: min(720px, calc(100vh - 120px));
  height: min(720px, calc(100dvh - 120px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  z-index: 1080;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(86, 118, 68, 0.14);
  background: #fffdfa;
  box-shadow: 0 28px 72px rgba(48, 65, 39, 0.2);
  opacity: 1;
  transform: translateY(0) scale(1);
  transform-origin: bottom right;
  visibility: visible;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear;
}

.product-chat-widget.is-collapsed {
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(0.98);
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}

.chat-preparing-overlay {
  position: absolute;
  inset: 63px 0 0;
  z-index: 2;
  display: grid;
  place-content: center;
  gap: 12px;
  justify-items: center;
  padding: 24px;
  background: rgba(255, 253, 250, 0.9);
  color: var(--forest-900);
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
}

.chat-preparing-overlay[hidden] {
  display: none;
}

.chat-preparing-overlay__spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(86, 118, 68, 0.2);
  border-top-color: var(--leaf-600);
  border-radius: 50%;
  animation: chat-preparing-spin 0.8s linear infinite;
}

@keyframes chat-preparing-spin {
  to { transform: rotate(360deg); }
}

.chat-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 14px;
  border-bottom: 1px solid rgba(86, 118, 68, 0.12);
  background: rgba(255, 253, 250, 0.98);
}

.chat-widget-identity {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-widget-avatar,
.chat-welcome-state__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  background: linear-gradient(145deg, var(--forest-700), var(--forest-900));
  color: #fff;
  box-shadow: 0 8px 18px rgba(48, 65, 39, 0.18);
}

.chat-widget-avatar {
  width: 40px;
  height: 40px;
  border-radius: 13px;
}

.chat-widget-avatar svg,
.chat-welcome-state__icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.chat-widget-identity__text {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.chat-widget-identity__text strong {
  overflow: hidden;
  color: var(--forest-900);
  font-size: 0.98rem;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.chat-widget-status {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-soft);
  font-size: 0.76rem;
  line-height: 1.3;
  white-space: nowrap;
}

.chat-widget-status__dot {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #62a84b;
  box-shadow: 0 0 0 3px rgba(98, 168, 75, 0.12);
}

.chat-widget-header__actions {
  display: flex;
  align-items: center;
  gap: 5px;
}

.chat-widget-icon-button {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: var(--forest-800);
  transition: background-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.chat-widget-icon-button svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.chat-widget-icon-button:hover:not(:disabled) {
  background: var(--mist-100);
  color: var(--forest-900);
}

.chat-widget-icon-button:active:not(:disabled) {
  transform: scale(0.96);
}

.chat-widget-icon-button:disabled {
  cursor: wait;
  opacity: 0.46;
}

.chat-widget-body {
  min-height: 0;
  padding: 22px 18px 26px;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-color: rgba(86, 118, 68, 0.28) transparent;
  scrollbar-width: thin;
  background:
    radial-gradient(circle at 100% 0, rgba(220, 234, 200, 0.3), transparent 32%),
    var(--cream-50);
}

.chat-initializing {
  min-height: 100%;
  display: grid;
  place-items: center;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.chat-welcome-state {
  min-height: 100%;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 18px;
  padding: 24px 8px;
  text-align: center;
}

.chat-welcome-state__icon {
  width: 58px;
  height: 58px;
  border-radius: 19px;
}

.chat-welcome-state__icon svg {
  width: 29px;
  height: 29px;
}

.chat-welcome-state__copy {
  display: grid;
  gap: 8px;
  max-width: 350px;
}

.chat-welcome-state__copy h2,
.chat-welcome-state__copy p {
  margin: 0;
}

.chat-welcome-state__copy h2 {
  color: var(--forest-900);
  font-size: 1.25rem;
  line-height: 1.3;
}

.chat-welcome-state__copy p {
  color: var(--text-soft);
  font-size: 0.93rem;
  line-height: 1.7;
}

.chat-widget-prompts {
  width: min(100%, 370px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.chat-prompt {
  min-width: 0;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(86, 118, 68, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--forest-800);
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.3;
  box-shadow: 0 5px 14px rgba(61, 72, 33, 0.04);
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.chat-prompt:hover {
  border-color: rgba(86, 118, 68, 0.34);
  background: var(--leaf-100);
  transform: translateY(-1px);
}

.chat-row {
  min-width: 0;
  margin-bottom: 22px;
}

.chat-row:last-child {
  margin-bottom: 0;
}

.chat-row.assistant {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.chat-row.user {
  display: flex;
  justify-content: flex-end;
  padding-left: 48px;
}

.chat-avatar {
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: var(--forest-900);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.chat-message-content {
  min-width: 0;
}

.chat-message-name {
  margin: 0 0 5px;
  color: var(--forest-900);
  font-size: 0.8rem;
  font-weight: 800;
}

.chat-row.assistant .chat-bubble {
  min-width: 0;
  color: var(--text-main);
  font-size: 0.94rem;
  line-height: 1.68;
  overflow-wrap: anywhere;
}

.chat-bubble p {
  margin: 0;
}

.chat-row.user .chat-bubble {
  max-width: 88%;
  padding: 11px 14px;
  border: 1px solid rgba(86, 118, 68, 0.1);
  border-radius: 17px 17px 5px 17px;
  background: #e5f0d8;
  color: var(--forest-900);
  font-size: 0.94rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.chat-row.assistant .chat-bubble a {
  color: var(--forest-700);
  font-weight: 700;
  text-underline-offset: 2px;
}

.chat-loading {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.chat-typing {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.chat-typing span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #82966c;
  animation: chat-bounce 1.2s infinite ease-in-out;
}

.chat-typing span:nth-child(2) {
  animation-delay: 0.15s;
}

.chat-typing span:nth-child(3) {
  animation-delay: 0.3s;
}

.chat-recommendations {
  min-width: 0;
  margin-top: 16px;
  display: grid;
  gap: 9px;
}

.chat-recommendations__title {
  margin: 0;
  color: var(--forest-900);
  font-size: 0.88rem;
  font-weight: 800;
}

.chat-recommendation-grid {
  min-width: 0;
  display: flex;
  gap: 10px;
  padding: 2px 2px 10px;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(86, 118, 68, 0.28) transparent;
  scrollbar-width: thin;
  touch-action: pan-x pan-y;
}

.chat-recommendation-grid::-webkit-scrollbar {
  height: 6px;
}

.chat-recommendation-grid::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(86, 118, 68, 0.24);
}

.chat-recommendation-grid::-webkit-scrollbar-track {
  background: transparent;
}

.chat-recommendation-card {
  flex: 0 0 88%;
  max-width: 380px;
  min-width: 0;
  padding: 12px;
  border: 1px solid rgba(86, 118, 68, 0.14);
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 22px rgba(61, 72, 33, 0.07);
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  grid-auto-rows: min-content;
  align-content: start;
  gap: 7px 12px;
  scroll-snap-align: start;
}

.chat-recommendation-card__image {
  grid-column: 1;
  grid-row: 1 / span 5;
  width: 96px;
  height: 96px;
  border-radius: 11px;
  overflow: hidden;
  background: var(--mist-100);
}

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

.chat-recommendation-card__title {
  grid-column: 2;
  margin: 0;
  color: var(--forest-900);
  font-size: 0.9rem;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
}

.chat-recommendation-card__price {
  grid-column: 2;
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.chat-recommendation-card__price strong {
  color: var(--forest-700);
  font-size: 1.02rem;
  line-height: 1.2;
}

.chat-recommendation-card__price small {
  color: var(--text-soft);
  font-size: 0.76rem;
  text-decoration: line-through;
}

.chat-recommendation-card__tags {
  grid-column: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.chat-recommendation-card__tags span {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--leaf-100);
  color: var(--forest-800);
  font-size: 0.7rem;
  font-weight: 700;
}

.chat-recommendation-card__tags span:nth-child(n + 3) {
  display: none;
}

.product-stock-chip,
.product-code-chip,
.order-filter-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(86, 118, 68, 0.08);
  color: var(--forest-800);
  font-size: 0.78rem;
  font-weight: 700;
}

.chat-recommendation-card__actions {
  grid-column: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 2px;
}

.chat-recommendation-card__detail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 6px 8px;
  border-radius: 9px;
  color: var(--forest-800);
  font-size: 0.76rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.chat-recommendation-card__detail:hover {
  background: var(--mist-100);
  color: var(--forest-900);
}

.chat-recommendation-card__button {
  min-height: 32px;
  padding: 6px 10px;
  border: 0;
  border-radius: 9px;
  background: var(--forest-800);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.chat-recommendation-card__button:hover:not(:disabled) {
  background: var(--forest-900);
  transform: translateY(-1px);
}

.chat-recommendation-card__button:disabled {
  cursor: wait;
  opacity: 0.58;
}

.chat-recommendation-card__stock {
  display: none;
}

.chat-widget-composer {
  padding: 12px 16px 10px;
  border-top: 1px solid rgba(86, 118, 68, 0.12);
  background: rgba(255, 253, 250, 0.98);
}

.chat-composer-field {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  padding: 5px 5px 5px 14px;
  border: 1px solid var(--mist-300);
  border-radius: 22px;
  background: var(--mist-100);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.chat-composer-field:focus-within {
  border-color: var(--forest-500);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(122, 163, 90, 0.14);
}

.chat-composer-field textarea {
  min-width: 0;
  min-height: 40px;
  max-height: 96px;
  flex: 1 1 auto;
  padding: 9px 0 7px;
  overflow-y: auto;
  resize: none;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text-main);
  font: inherit;
  font-size: 0.9rem;
  line-height: 1.45;
}

.chat-composer-field textarea::placeholder {
  color: #7a8469;
}

.chat-composer-send {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--forest-800);
  color: #fff;
  transition: background-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.chat-composer-send:hover:not(:disabled) {
  background: var(--forest-900);
  transform: translateY(-1px);
}

.chat-composer-send:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.chat-composer-send__icon {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.chat-composer-send__spinner {
  display: none;
  width: 17px;
  height: 17px;
  border: 2px solid rgba(255, 255, 255, 0.38);
  border-top-color: #fff;
  border-radius: 50%;
  animation: chat-spin 0.72s linear infinite;
}

.chat-composer-send.is-loading .chat-composer-send__icon {
  display: none;
}

.chat-composer-send.is-loading .chat-composer-send__spinner {
  display: block;
}

.chat-widget-disclaimer {
  margin: 7px 4px 0;
  color: #7a8469;
  font-size: 0.68rem;
  line-height: 1.4;
  text-align: center;
}

.chat-launcher {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1070;
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 16px 8px 9px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--forest-700), var(--forest-900));
  color: #fff;
  font-weight: 800;
  box-shadow: 0 16px 38px rgba(48, 65, 39, 0.24);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.chat-launcher:hover {
  transform: translateY(-2px);
  box-shadow: 0 19px 42px rgba(48, 65, 39, 0.28);
}

.chat-launcher-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.14);
}

.chat-launcher-icon svg {
  width: 21px;
  height: 21px;
  fill: currentColor;
}

.chat-launcher-label {
  font-size: 0.9rem;
  white-space: nowrap;
}

.chat-widget-icon-button:focus-visible,
.chat-prompt:focus-visible,
.chat-recommendation-grid:focus-visible,
.chat-recommendation-card__detail:focus-visible,
.chat-recommendation-card__button:focus-visible,
.chat-composer-send:focus-visible,
.chat-launcher:focus-visible {
  outline: 3px solid rgba(122, 163, 90, 0.42);
  outline-offset: 2px;
}

.shop-grid,
.shop-banner-grid,
.shop-coupon-grid {
  display: grid;
  gap: 18px;
}

.shop-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.shop-shell--directory {
  width: min(1280px, 100%);
  margin-inline: auto;
  gap: 18px;
}

.shop-directory-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 32px;
  min-height: 190px;
  padding: 32px;
  border: 1px solid rgba(86, 118, 68, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 12%, rgba(122, 163, 90, 0.12), transparent 28%),
    linear-gradient(135deg, #fbf8f1 0%, #f1f6e9 100%);
  box-shadow: 0 12px 32px rgba(61, 72, 33, 0.06);
}

.shop-directory-hero::after {
  position: absolute;
  z-index: -1;
  right: -54px;
  bottom: -92px;
  width: 230px;
  height: 230px;
  border: 1px solid rgba(86, 118, 68, 0.08);
  border-radius: 50%;
  content: "";
}

.shop-directory-hero__content {
  display: grid;
  align-content: center;
  gap: 12px;
}

.shop-directory-hero__content h1 {
  max-width: 760px;
  margin: 0;
  color: var(--forest-900);
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.15;
  word-break: keep-all;
}

.shop-directory-hero__content p {
  max-width: 680px;
  margin: 0;
  color: var(--text-soft);
  line-height: 1.7;
}

.shop-directory-hero__count,
.shop-directory__count {
  margin: 0;
  color: var(--forest-800);
  font-weight: 800;
  white-space: nowrap;
}

.shop-directory-hero__count {
  padding-left: 28px;
  border-left: 1px solid rgba(86, 118, 68, 0.16);
  font-size: 1.05rem;
}

.shop-directory {
  display: grid;
  gap: 20px;
  padding-top: 14px;
}

.shop-directory__header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.shop-directory__header h2 {
  margin: 0 0 6px;
  color: var(--forest-900);
}

.shop-directory__header p {
  margin-bottom: 0;
}

.shop-directory__header > div > p {
  color: var(--text-soft);
}

.home-shop-grid,
.shop-directory__grid,
.shop-directory-skeleton {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: stretch;
  min-width: 0;
}

.home-shop-grid {
  gap: 16px;
}

.shop-directory__grid,
.shop-directory-skeleton {
  gap: 18px;
}

.store-card {
  position: relative;
  display: flex;
  height: 100%;
  min-width: 0;
  min-height: 260px;
  overflow: hidden;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(86, 118, 68, 0.14);
  border-radius: 17px;
  box-shadow: 0 7px 20px rgba(61, 72, 33, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.store-card:hover {
  border-color: rgba(86, 118, 68, 0.28);
  box-shadow: 0 10px 24px rgba(61, 72, 33, 0.09);
}

.store-card__visual {
  display: flex;
  min-height: 86px;
  align-items: center;
  justify-content: center;
  padding: 7px 16px;
  background: #f5f8f0;
  border-bottom: 1px solid rgba(86, 118, 68, 0.1);
}

.store-card__logo-link {
  display: grid;
  width: 72px;
  height: 72px;
  place-items: center;
  overflow: hidden;
  padding: 2px;
  color: var(--forest-800);
  background: #fff;
  border: 1px solid rgba(86, 118, 68, 0.16);
  border-radius: 14px;
}

.store-card__logo {
  display: block;
  width: 68px;
  height: 68px;
  object-fit: contain;
  object-position: center;
}

.store-card__logo-fallback {
  display: none;
  color: var(--forest-800);
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: 0.03em;
}

.store-card__logo-link.is-placeholder .store-card__logo-fallback {
  display: block;
}

.store-card__favorite {
  position: absolute;
  z-index: 4;
  top: 12px;
  right: 12px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(86, 118, 68, 0.18);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  color: var(--forest-800);
  box-shadow: 0 4px 12px rgba(61, 72, 33, 0.08);
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.store-card__favorite svg {
  width: 19px;
  height: 19px;
  fill: transparent;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.store-card__favorite:hover:not(:disabled) {
  border-color: rgba(86, 118, 68, 0.4);
}

.store-card__favorite.is-favorite {
  background: var(--forest-800);
  color: #fff;
}

.store-card__favorite.is-favorite svg {
  fill: currentColor;
}

.store-card__favorite:focus-visible,
.store-card__logo-link:focus-visible,
.store-card__name a:focus-visible,
.store-card__action:focus-visible {
  outline: 3px solid rgba(80, 130, 74, 0.35);
  outline-offset: 3px;
}

.store-card__favorite:disabled {
  cursor: wait;
  opacity: 0.68;
}

.store-card__favorite.is-loading svg {
  animation: shop-favorite-pulse 0.8s ease-in-out infinite alternate;
}

.store-card__body {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  padding: 18px;
}

.store-card__name {
  display: -webkit-box;
  overflow: hidden;
  min-height: 2.7em;
  margin: 0 0 8px;
  color: var(--forest-900);
  font-size: 1.08rem;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  word-break: break-word;
}

.store-card__name a {
  color: inherit;
}

.store-card__description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  word-break: break-word;
}

.store-card__action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  padding-top: 12px;
  color: var(--forest-800);
  font-weight: 800;
}

.store-card__action span[aria-hidden="true"] {
  display: inline-block;
  transition: transform 0.2s ease;
}

.store-card__action:hover span[aria-hidden="true"] {
  transform: translateX(2px);
}

.shop-directory-state {
  padding: 32px;
  border-radius: 18px;
  box-shadow: none;
}

.shop-directory-state p {
  color: var(--text-soft);
}

.shop-directory-skeleton {
  align-items: stretch;
}

.shop-directory-skeleton[hidden] {
  display: none;
}

.shop-skeleton-card {
  display: flex;
  min-height: 260px;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(86, 118, 68, 0.12);
  border-radius: 17px;
  background: #fff;
}

.shop-skeleton-card span {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, #edf1e8 25%, #f7f9f4 50%, #edf1e8 75%);
  background-size: 200% 100%;
  animation: shop-skeleton-shimmer 1.35s linear infinite;
}

.shop-skeleton-card__visual {
  display: grid;
  min-height: 86px;
  place-items: center;
  background: #f5f8f0;
  border-bottom: 1px solid rgba(86, 118, 68, 0.1);
}

.shop-skeleton-card__logo {
  width: 68px;
  height: 68px;
  border-radius: 14px;
}

.shop-skeleton-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 18px;
}

.shop-skeleton-card__title {
  width: 68%;
  height: 22px;
  margin-bottom: 14px;
}

.shop-skeleton-card__line {
  width: 100%;
  height: 13px;
  margin-bottom: 10px;
}

.shop-skeleton-card__line--short {
  width: 76%;
}

.shop-skeleton-card__action {
  width: 94px;
  height: 16px;
  margin-top: auto;
}

@keyframes shop-skeleton-shimmer {
  to { background-position: -200% 0; }
}

@keyframes shop-favorite-pulse {
  to { transform: scale(0.82); }
}

.shop-card {
  overflow: hidden;
}

.shop-card__media {
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(180deg, #f9fbf5 0%, #edf3e4 100%);
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.shop-detail-hero__image img,
.shop-banner-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.shop-card__body,
.shop-section-card,
.shop-coupon-card {
  padding: 22px;
}

.shop-card__eyebrow,
.shop-detail-hero__panel span {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--earth-700);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.shop-card__body h2,
.shop-coupon-card h3,
.shop-section-card h3 {
  margin: 0 0 10px;
  color: var(--forest-900);
}

.shop-card__body p,
.shop-section-card p,
.shop-coupon-card p {
  margin: 0;
  color: var(--text-soft);
}

.shop-card__description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  min-height: calc(1.6em * 4);
  line-height: 1.6;
  word-break: break-word;
}

.shop-card__footer,
.shop-detail-hero__actions,
.shop-coupon-card__top {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-card__footer {
  justify-content: space-between;
  margin-top: 18px;
}

.shop-detail-hero {
  overflow: hidden;
  position: relative;
}

.shop-banner-card__meta strong {
  display: block;
  margin-top: 8px;
  color: var(--forest-900);
}

.shop-banner-card__meta span {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.shop-detail-hero {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  aspect-ratio: 1920 / 720;
  min-height: 0;
  background: #dfe8d4;
  box-shadow: 0 22px 52px var(--shadow);
}

.shop-hero-carousel,
.shop-hero-carousel__inner,
.shop-hero-carousel__item {
  height: 100%;
}

.shop-hero-carousel__item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.28), transparent 55%),
    linear-gradient(135deg, #e8efde 0%, #f7f2e6 100%);
}

.shop-detail-intro {
  padding: 38px 32px;
  text-align: center;
  background:
    radial-gradient(circle at top left, rgba(122, 163, 90, 0.12), transparent 26%),
    radial-gradient(circle at top right, rgba(186, 122, 79, 0.12), transparent 20%),
    rgba(255, 255, 255, 0.95);
}

.shop-detail-intro h2,
.shop-detail-section__heading h2 {
  margin: 0;
  color: var(--forest-900);
}

.shop-detail-intro h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.shop-detail-intro p,
.shop-detail-section__heading p {
  margin: 14px auto 0;
  max-width: 760px;
  color: var(--text-soft);
  line-height: 1.8;
}

.shop-detail-section {
  padding: 30px;
}

.shop-detail-section__heading {
  text-align: center;
  margin-bottom: 24px;
}

.shop-hero-carousel__indicators {
  margin-bottom: 22px;
  gap: 8px;
  z-index: 3;
}

.shop-hero-carousel__indicators [data-bs-target] {
  width: 40px;
  height: 6px;
  border: none;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.44);
}

.shop-hero-carousel__indicators .active {
  background-color: #fff;
}

.shop-hero-carousel__control {
  width: 8%;
  opacity: 0.9;
}

.shop-section-card {
  background: #fff;
  border: 1px solid rgba(86, 118, 68, 0.14);
  border-radius: 22px;
  box-shadow: 0 18px 48px var(--shadow);
  display: grid;
  gap: 12px;
}

.shop-section-card--hint {
  align-items: start;
}

.shop-banner-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.shop-banner-card {
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(86, 118, 68, 0.14);
  box-shadow: 0 18px 48px var(--shadow);
}

.shop-banner-card img {
  aspect-ratio: 16 / 8;
}

.shop-banner-card__meta {
  padding: 16px 18px 18px;
}

.shop-coupon-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.shop-coupon-card {
  border: 1px solid rgba(86, 118, 68, 0.14);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 48px var(--shadow);
}

.shop-coupon-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 249, 238, 0.96) 0%, rgba(244, 247, 238, 0.98) 100%);
}

.shop-coupon-card::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: linear-gradient(180deg, var(--earth-500) 0%, var(--forest-700) 100%);
}

.shop-coupon-card__badge {
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--leaf-100);
  color: var(--forest-800);
  font-size: 0.82rem;
  font-weight: 700;
}

.shop-coupon-card__claim {
  margin-top: 8px;
  width: 100%;
}

.shop-coupon-card__claim.is-claimed,
.shop-coupon-card__claim:disabled {
  background: var(--mist-200);
  color: var(--text-soft);
  border: 1px solid var(--mist-300);
  cursor: default;
  box-shadow: none;
  transform: none;
}

/* Product category navigation */
.kb-mobile-nav-bar {
  display: none;
}

.kb-category-menu {
  position: relative;
  flex: 0 0 auto;
}

.kb-mobile-category-menu {
  display: none;
}

.kb-category-menu__trigger,
.kb-mobile-nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--forest-900);
  font-weight: 800;
  background: transparent;
  border: 0;
  border-radius: 10px;
}

.kb-category-menu__trigger:hover,
.kb-category-menu__trigger:focus-visible,
.kb-category-menu__trigger[aria-expanded="true"] {
  color: #fff;
  background: var(--forest-900);
  outline: 3px solid rgba(122, 163, 90, 0.24);
}

.kb-category-menu__panel {
  position: absolute;
  z-index: 1100;
  top: calc(100% + 12px);
  left: 0;
  width: min(900px, calc(100vw - 40px));
  padding: 24px;
  color: var(--text-main);
  background: #fffdf8;
  border: 1px solid rgba(86, 118, 68, 0.18);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(61, 72, 33, 0.18);
}

.kb-category-menu__panel::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
}

.kb-category-menu__heading,
.kb-category-menu__grid {
  display: flex;
  gap: 18px;
}

.kb-category-menu__heading {
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(86, 118, 68, 0.14);
}

.kb-category-menu__heading a,
.kb-category-menu__all {
  color: var(--earth-700);
  font-weight: 700;
}

.kb-category-menu__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 18px;
}

.kb-category-menu__group {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}

.kb-category-menu__group a {
  overflow: hidden;
  color: var(--text-soft);
  font-size: 0.9rem;
  text-overflow: ellipsis;
}

.kb-category-menu__group .kb-category-menu__root {
  color: var(--forest-900);
  font-size: 1rem;
  font-weight: 800;
}

.catalog-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px;
  color: var(--text-soft);
  white-space: nowrap;
  scrollbar-width: thin;
}

.catalog-breadcrumb > * + *::before {
  margin-right: 8px;
  color: rgba(61, 72, 33, 0.48);
  content: "›";
}

.catalog-breadcrumb a {
  color: var(--forest-800);
  font-weight: 700;
}

.product-primary-categories {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-width: 0;
  padding: 8px 2px 10px;
  border-bottom: 1px solid rgba(86, 118, 68, 0.12);
}

.product-primary-categories h2 {
  margin: 0;
  color: var(--forest-900);
  font-size: 1rem;
  white-space: nowrap;
}

.product-category-quick {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 3px 2px 8px;
  scrollbar-width: thin;
}

.catalog-applied-filters {
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: rgba(122, 163, 90, 0.07);
  border: 1px solid rgba(86, 118, 68, 0.13);
  border-radius: 13px;
}

.catalog-applied-filters > * {
  flex: 0 0 auto;
}

.catalog-applied-filters > a {
  padding: 7px 10px;
  color: var(--forest-800);
  font-size: 0.82rem;
  font-weight: 700;
  background: #fff;
  border-radius: 9px;
}

.catalog-applied-filters > .catalog-applied-filters__clear {
  color: var(--earth-700);
  background: transparent;
  text-decoration: underline;
}

.product-category-quick__link {
  flex: 0 0 auto;
  padding: 11px 16px;
  color: var(--forest-800);
  font-weight: 750;
  background: #fff;
  border: 1px solid rgba(86, 118, 68, 0.2);
  border-radius: 12px;
}

.product-category-quick__link:hover,
.product-category-quick__link:focus-visible,
.product-category-quick__link.is-active {
  color: #fff;
  background: var(--forest-900);
  outline: 3px solid rgba(122, 163, 90, 0.2);
}

.product-catalog-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}

.product-catalog-layout > *,
.catalog-tab-panel,
.catalog-summary-bar {
  min-width: 0;
}

.product-category-sidebar {
  position: sticky;
  top: calc(var(--kb-header-height, 0px) + 18px);
  display: grid;
  gap: 12px;
  padding: 20px;
}

.product-category-sidebar__header,
.product-category-drawer__header,
.product-category-drawer__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.product-category-sidebar__header h2,
.product-category-drawer__header h2 {
  margin: 0;
  font-size: 1.15rem;
}

.product-category-sidebar__header a {
  color: var(--earth-700);
  font-weight: 700;
}

.product-category-sidebar__all,
.product-category-tree__link {
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
  padding: 10px 12px;
  color: var(--forest-800);
  font-size: 0.9rem;
  font-weight: 700;
  background: rgba(122, 163, 90, 0.07);
  border: 1px solid transparent;
  border-radius: 10px;
}

.product-category-sidebar__all:hover,
.product-category-sidebar__all:focus-visible,
.product-category-sidebar__all.is-active,
.product-category-tree__link:hover,
.product-category-tree__link:focus-visible,
.product-category-tree__link.is-active {
  color: #fff;
  background: var(--forest-900);
  border-left: 4px solid var(--earth-500);
  outline: 2px solid rgba(122, 163, 90, 0.24);
}

.product-category-tree--accordion,
.product-category-tree--accordion .product-category-tree {
  display: grid;
  gap: 7px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-category-tree--accordion .product-category-tree {
  margin-top: 7px;
  padding-left: 14px;
  border-left: 2px solid rgba(86, 118, 68, 0.16);
}

.product-category-tree--accordion .product-category-tree__item {
  display: block;
  width: 100%;
}

.product-category-tree__branch summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 8px;
  color: var(--forest-900);
  font-weight: 800;
  cursor: pointer;
  border-radius: 9px;
}

.product-category-tree__branch summary:hover,
.product-category-tree__branch summary:focus-visible,
.product-category-tree__item.is-ancestor > .product-category-tree__branch > summary {
  background: rgba(122, 163, 90, 0.12);
  outline: none;
}

.product-category-tree__link--all {
  margin: 4px 0 7px;
}

.product-filter-mobile,
.product-category-drawer {
  display: none;
}

.product-taxonomy {
  display: grid;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(86, 118, 68, 0.14);
}

.product-taxonomy > strong {
  color: var(--text-soft);
  font-size: 0.82rem;
}

.product-category-path {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.product-category-path a {
  color: var(--forest-800);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(86, 118, 68, 0.28);
  text-underline-offset: 3px;
}

.related-products .catalog-card:focus-visible {
  outline: 3px solid rgba(86, 118, 68, 0.38);
  outline-offset: 3px;
}

.catalog-card__title a {
  color: inherit;
}

.storefront-category-error {
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 14px;
}

.kb-nav-wrap,
.kb-nav {
  overflow: visible;
}

@media (max-width: 1024px) {
  .product-catalog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .product-category-sidebar {
    display: none;
  }

  .product-filter-mobile {
    display: flex;
  }

  .product-category-drawer:not([hidden]) {
    position: fixed;
    z-index: 1500;
    inset: 0;
    display: block;
  }

  .product-category-drawer__backdrop {
    position: absolute;
    inset: 0;
    width: 100%;
    background: rgba(26, 34, 22, 0.54);
    border: 0;
  }

  .product-category-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    display: grid;
    align-content: start;
    gap: 14px;
    width: min(420px, 92vw);
    height: 100%;
    padding: 22px;
    overflow-y: auto;
    background: #fffdf8;
    box-shadow: -22px 0 50px rgba(31, 42, 25, 0.22);
  }

  .product-category-drawer__header > button {
    width: 42px;
    height: 42px;
    color: var(--forest-900);
    font-size: 1.5rem;
    background: var(--mist-100);
    border: 0;
    border-radius: 12px;
  }

  .product-category-drawer__actions {
    position: sticky;
    bottom: -22px;
    margin: 8px -22px -22px;
    padding: 16px 22px 22px;
    background: #fffdf8;
    border-top: 1px solid rgba(86, 118, 68, 0.14);
  }

  .product-category-drawer__hint {
    margin: 0;
    color: var(--text-soft);
    font-size: 0.85rem;
    font-weight: 700;
  }

  .product-category-drawer__filters {
    display: grid;
    gap: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(86, 118, 68, 0.14);
  }

  .product-category-drawer__filters label {
    display: grid;
    gap: 7px;
    color: var(--forest-900);
    font-weight: 750;
  }

  .product-category-drawer__filters input,
  .product-category-drawer__filters select {
    width: 100%;
    min-height: 44px;
    padding: 9px 11px;
    background: #fff;
    border: 1px solid rgba(86, 118, 68, 0.24);
    border-radius: 10px;
  }

  .product-category-drawer__current {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
  }

  .product-category-drawer__current strong {
    flex-basis: 100%;
  }

  .product-category-drawer__current span {
    padding: 6px 9px;
    color: var(--forest-800);
    font-size: 0.8rem;
    background: var(--mist-100);
    border-radius: 8px;
  }

  body.has-category-drawer {
    overflow: hidden;
  }
}

@media (max-width: 768px) {
  .product-primary-categories {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .product-primary-categories h2 {
    font-size: 0.92rem;
  }
}

@media (max-width: 768px) {
  .kb-mobile-nav-bar {
    display: flex;
    padding: 8px 0;
  }

  .kb-mobile-nav-trigger {
    width: 100%;
    justify-content: flex-start;
    background: var(--mist-100);
    border: 1px solid var(--mist-300);
  }

  .kb-nav {
    display: none;
    padding: 8px 0 14px;
    overflow: visible;
    flex-direction: column;
    align-items: stretch;
  }

  .kb-nav.is-open {
    display: flex;
  }

  .kb-nav > a,
  .kb-category-menu__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px 14px;
  }

  .kb-category-menu--desktop {
    display: none;
  }

  .kb-mobile-category-menu {
    display: grid;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(122, 163, 90, 0.07);
    border: 1px solid rgba(86, 118, 68, 0.14);
    border-radius: 12px;
  }

  .kb-mobile-category-menu__heading,
  .kb-mobile-category-menu__branch summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .kb-mobile-category-menu__heading {
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(86, 118, 68, 0.14);
  }

  .kb-mobile-category-menu__heading a {
    color: var(--earth-700);
    font-size: 0.85rem;
    font-weight: 700;
  }

  .kb-mobile-category-menu__branch summary {
    min-height: 44px;
    padding: 8px 4px;
    color: var(--forest-900);
    font-weight: 800;
    cursor: pointer;
  }

  .kb-mobile-category-menu__children {
    display: grid;
    gap: 4px;
    padding: 2px 0 10px 14px;
  }

  .kb-mobile-category-menu__children a {
    min-height: 42px;
    padding: 10px;
    color: var(--text-soft);
    border-radius: 9px;
  }

  .kb-mobile-category-menu__children a:hover,
  .kb-mobile-category-menu__children a:focus-visible {
    color: #fff;
    background: var(--forest-900);
  }

  .kb-mobile-category-menu__children .kb-mobile-category-menu__all {
    color: var(--forest-800);
    font-weight: 800;
  }

  .product-category-panel--quick {
    padding-inline: 14px;
  }

}

@keyframes chat-bounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.3; }
  40% { transform: translateY(-4px); opacity: 1; }
}

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

@media (max-width: 1199px) {
  .home-shop-grid,
  .shop-directory__grid,
  .shop-directory-skeleton {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1100px) {
  .catalog-grid,
  .favorite-grid,
  .dashboard-products,
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .home-grid,
  .storefront-overview,
  .storefront-feature-grid,
  .storefront-promo-grid,
  .kb-footer__grid,
  .kb-benefits__grid,
  .coupon-grid,
  .order-grid,
  .invoice-summary-grid,
  .shop-coupon-grid,
  .shop-banner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

@media (max-width: 920px) {
  .kb-mainbar,
  .home-hero,
  .storefront-slide,
  .my-coupon-card,
  .cart-layout,
  .order-detail-layout,
  .auth-card {
    grid-template-columns: 1fr;
    display: grid;
  }

  .kb-mainbar {
    gap: 16px;
  }

  .kb-search {
    max-width: none;
  }

  .kb-app-banner__inner,
  .kb-footer__grid {
    grid-template-columns: 1fr;
  }

  .cart-sidebar-card {
    position: static;
  }

  .product-detail-layout,
  .member-cta {
    grid-template-columns: 1fr;
  }

  .product-purchase-card {
    position: static;
  }

  .auth-copy,
  .auth-form {
    padding: 36px;
  }

  .invoice-meta-grid {
    grid-template-columns: 1fr;
  }

  .catalog-hero__panel {
    right: 22px;
    top: 24px;
    width: min(240px, 62%);
  }

  .storefront-slide__visual {
    min-height: 360px;
  }

  .storefront-banner-image {
    min-height: 320px;
    object-fit: cover;
    object-position: center;
  }

  .storefront-carousel__control {
    display: none;
  }

  .storefront-carousel__indicators {
    left: 24px;
  }

  .my-coupon-card::before,
  .my-coupon-card::after {
    display: none;
  }

  .my-coupon-card__body {
    padding: 22px;
  }

  .my-coupon-card__body::before {
    inset: 0 18px auto 18px;
    border-left: 0;
    border-top: 2px dashed rgba(86, 118, 68, 0.18);
  }
}

@media (max-width: 899px) {
  .home-shop-grid,
  .shop-directory__grid,
  .shop-directory-skeleton {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .kb-shell,
  .kb-page {
    width: min(100%, calc(100% - 20px));
  }

  .catalog-grid,
  .favorite-grid,
  .dashboard-products,
  .coupon-grid,
  .coupon-summary-grid,
  .coupon-detail-grid,
  .home-hero__stats,
  .home-grid,
  .storefront-category-grid,
  .storefront-promo-grid,
  .kb-benefits__grid,
  .order-grid,
  .auth-grid,
  .shop-grid,
  .shop-banner-grid,
  .shop-coupon-grid {
    grid-template-columns: 1fr;
  }

  .coupon-center__tabs {
    width: 100%;
    gap: 6px;
    padding: 6px;
  }

  .coupon-center__tab {
    min-height: 46px;
    padding-inline: 8px;
  }

  .coupon-center__section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .coupon-center__section-actions {
    justify-content: flex-start;
  }

  .coupon-wallet-filters {
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: thin;
    padding: 2px 2px 8px;
  }

  .coupon-wallet-filter {
    min-height: 40px;
    padding-inline: 16px;
  }

  .coupon-wallet-card__badges {
    justify-content: flex-start;
  }

  .cart-item {
    grid-template-columns: 1fr;
  }

  .shop-directory-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 26px 22px;
  }

  .shop-directory-hero::after {
    display: none;
  }

  .shop-directory-hero__count {
    padding: 14px 0 0;
    border-top: 1px solid rgba(86, 118, 68, 0.16);
    border-left: 0;
    white-space: normal;
  }

  .shop-directory__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .dashboard-summary,
  .catalog-toolbar,
  .list-header,
  .cart-item__header,
  .cart-item__meta,
  .cart-item__footer,
  .order-row,
  .order-item-card,
  .detail-row,
  .checkout-readonly-row,
  .kb-topbar__inner,
  .kb-mainbar,
  .kb-footer__bottom-inner,
  .invoice-card__header,
  .invoice-tracking,
  .invoice-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .kb-topbar__links {
    gap: 10px;
    overflow-x: auto;
    flex-wrap: nowrap;
    width: 100%;
  }

  .kb-nav {
    padding-bottom: 14px;
  }

  .catalog-card__sku {
    font-size: 0.74rem;
  }

  .invoice-table {
    width: 100%;
    margin: 0;
  }

  .invoice-shop-groups,
  .invoice-card__header,
  .invoice-meta-grid,
  .invoice-summary-grid,
  .invoice-card__notice,
  .invoice-tracking,
  .invoice-actions {
    padding-left: 16px;
    padding-right: 16px;
  }

  .storefront-slide {
    min-height: auto;
    padding: 22px;
  }

  .storefront-slide__content h1 {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .storefront-banner-image {
    min-height: 220px;
  }

  .storefront-slide__visual {
    min-height: 320px;
  }

  .storefront-visual-card--featured {
    width: min(260px, calc(100% - 78px));
    left: 22px;
    top: 22px;
    padding: 20px;
  }

  .storefront-visual-card--price {
    right: 22px;
    bottom: 22px;
  }

  .storefront-block__header,
  .storefront-campaign-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .invoice-shop-group__header,
  .invoice-shop-group__meta {
    align-items: flex-start;
    justify-items: start;
  }

  .catalog-hero__visual {
    min-height: 320px;
  }

  .catalog-hero__panel {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    margin: 22px 0 0;
  }

  .catalog-hero__produce--leafy {
    left: 18px;
    bottom: 74px;
    width: 140px;
    height: 140px;
  }

  .catalog-hero__produce--citrus {
    left: 118px;
    bottom: 124px;
    width: 92px;
    height: 92px;
  }

  .catalog-hero__produce--avocado {
    left: 140px;
    bottom: 52px;
    width: 122px;
    height: 86px;
  }

  .chat-launcher {
    right: 10px;
    bottom: 12px;
  }

  .shop-card__footer,
  .shop-detail-hero__actions,
  .shop-coupon-card__top {
    align-items: flex-start;
    flex-direction: column;
  }

  .shop-detail-hero,
  .shop-hero-carousel,
  .shop-hero-carousel__inner,
  .shop-hero-carousel__item {
    min-height: 0;
  }

  .shop-detail-hero {
    aspect-ratio: 16 / 9;
  }

  .shop-hero-carousel__item img {
    min-height: 0;
  }

  .shop-hero-carousel__control {
    width: 16%;
  }

  .shop-detail-section {
    padding: 22px 18px;
  }

  .shop-detail-intro {
    padding: 30px 22px;
  }

  .profile-address-grid {
    grid-template-columns: 1fr;
  }

  .product-gallery-card,
  .product-purchase-card,
  .product-description-card {
    padding: 20px;
  }
}

@media (max-width: 599px) {
  .home-shop-grid,
  .shop-directory__grid,
  .shop-directory-skeleton {
    grid-template-columns: minmax(0, 1fr);
  }

  .store-card,
  .shop-skeleton-card {
    display: grid;
    min-height: 148px;
    grid-template-columns: 88px minmax(0, 1fr);
  }

  .store-card__visual,
  .shop-skeleton-card__visual {
    min-height: 100%;
    padding: 12px 10px;
    border-right: 1px solid rgba(86, 118, 68, 0.1);
    border-bottom: 0;
  }

  .store-card__logo-link {
    width: 68px;
    height: 68px;
  }

  .store-card__logo {
    width: 64px;
    height: 64px;
  }

  .store-card__body,
  .shop-skeleton-card__body {
    padding: 15px 16px;
  }

  .store-card--favorite-enabled .store-card__body {
    padding-right: 50px;
  }

  .store-card__name {
    min-height: 0;
    font-size: 1rem;
  }

  .store-card__description {
    font-size: 0.86rem;
    line-height: 1.45;
  }

  .store-card__action {
    padding-top: 8px;
    font-size: 0.9rem;
  }

  .shop-skeleton-card__logo {
    width: 64px;
    height: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-card,
  .store-card__favorite,
  .store-card__action span {
    transition: none;
  }

  .shop-skeleton-card span,
  .store-card__favorite.is-loading svg {
    animation: none;
  }
}

.product-list-grid,
.related-product-grid,
.shop-product-grid {
  display: grid;
  gap: 22px;
  min-width: 0;
}

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

.related-product-grid,
.shop-product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.product-list-grid > *,
.related-product-grid > *,
.shop-product-grid > * {
  min-width: 0;
}

@media (min-width: 1200px) {
  .product-list-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .product-list-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .related-product-grid,
  .shop-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .related-product-grid,
  .shop-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .product-list-grid,
  .related-product-grid,
  .shop-product-grid {
    grid-template-columns: 1fr;
  }
}

.home-best-sellers.catalog-shell--product-index .catalog-card__rank {
  color: #fff;
  border: 0;
  box-shadow: 0 8px 20px rgba(61, 72, 33, 0.18);
}

.home-best-sellers.catalog-shell--product-index .catalog-card__rank--first {
  background: linear-gradient(135deg, #a96e08, #e5b94c);
}

.home-best-sellers.catalog-shell--product-index .catalog-card__rank--second {
  background: linear-gradient(135deg, #647080, #a9b3bf);
}

.home-best-sellers.catalog-shell--product-index .catalog-card__rank--third {
  background: linear-gradient(135deg, #8a4f2a, #c98252);
}

.home-best-sellers.catalog-shell--product-index .catalog-card__rank--standard {
  color: var(--forest-800);
  background: rgba(255, 252, 248, 0.96);
  border: 1px solid rgba(86, 118, 68, 0.2);
  box-shadow: none;
}

@media (max-width: 576px) {
  .product-chat-widget {
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    transform-origin: bottom center;
  }

  .chat-widget-header {
    padding: calc(12px + env(safe-area-inset-top, 0px)) 12px 12px;
  }

  .chat-widget-body {
    padding: 20px 14px 24px;
  }

  .chat-welcome-state {
    padding: 20px 4px;
  }

  .chat-recommendation-card {
    flex-basis: 92%;
    max-width: none;
  }

  .chat-widget-composer {
    padding: 10px 12px calc(9px + env(safe-area-inset-bottom, 0px));
  }

  .chat-launcher {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
}

@media (max-width: 380px) {
  .chat-widget-avatar {
    width: 36px;
    height: 36px;
  }

  .chat-widget-identity {
    gap: 8px;
  }

  .chat-widget-status {
    font-size: 0.7rem;
  }

  .chat-widget-prompts {
    grid-template-columns: 1fr;
  }

  .chat-recommendation-card {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .chat-recommendation-card__image {
    width: 84px;
    height: 84px;
  }

  .chat-recommendation-card__actions {
    grid-column: 1 / -1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-chat-widget,
  .chat-launcher,
  .chat-prompt,
  .chat-widget-icon-button,
  .chat-recommendation-card__button,
  .chat-composer-send {
    transition: none;
  }

  .chat-typing span,
  .chat-composer-send__spinner {
    animation: none;
  }
}
