.catalog-page .site-header {
  top: 0;
}

.catalog-section { padding: 110px 0 64px; }
.catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}
.catalog-heading h1 { max-width: 650px; }
.catalog-heading > p {
  display: none;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}
.catalog-tools {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}
.category-filter {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
  scrollbar-width: none;
}
.category-filter::-webkit-scrollbar { display: none; }
.filter-button {
  min-height: 42px;
  padding: 8px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: #fff;
  color: var(--body);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.filter-button.active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}
.search-box {
  min-height: 48px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
}
.search-box:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, .12);
}
.search-box svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: var(--muted);
  stroke-width: 2;
}
.search-box input {
  min-width: 0;
  width: 100%;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--heading);
  font: inherit;
}
.market-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.market-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.market-card:hover {
  border-color: rgba(22, 163, 74, .28);
  box-shadow: var(--shadow);
}
.market-image {
  width: 100%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  position: relative;
  padding: 0;
  border: 0;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}
.market-image.propolis { background: #f0fdf4; }
.market-image.supplements { background: #eff6ff; }
.market-image.skincare { background: #fff1f2; }
.market-image.haircare { background: #fdf4ff; }
.market-image.sweetener { background: #fffbeb; }
.market-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  transition: transform .22s ease;
}
.market-image:hover img,
.market-image:focus-visible img {
  transform: scale(1.02);
}
.market-image:focus-visible {
  outline: 3px solid rgba(22, 163, 74, .32);
  outline-offset: -3px;
}
.market-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  box-shadow: 0 2px 8px rgba(17, 24, 39, .08);
  font-size: 9px;
  font-weight: 700;
}
.market-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 12px;
}
.market-category {
  margin-bottom: 3px;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
}
.market-copy h3 {
  min-height: 35px;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 14px;
  line-height: 1.25;
}
.market-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 8px 0 2px;
}
.market-chips span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border: 1px solid rgba(22, 163, 74, .18);
  border-radius: 999px;
  background: #f0fdf4;
  color: var(--green-dark);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
}
.market-benefit {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0 8px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.market-benefits {
  display: grid;
  gap: 4px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  color: var(--body);
  font-size: 11px;
  line-height: 1.35;
}
.market-benefits li {
  position: relative;
  padding-left: 14px;
}
.market-benefits li:before {
  content: "";
  width: 5px;
  height: 5px;
  position: absolute;
  left: 0;
  top: .55em;
  border-radius: 50%;
  background: var(--green);
}
.market-price {
  margin-top: auto;
  color: var(--heading);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}
.market-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-top: 10px;
}
.market-order {
  min-height: 44px;
  box-shadow: 0 10px 22px rgba(22, 163, 74, .2);
}
.market-actions .btn {
  min-height: 40px;
  padding: 8px 7px;
  border-radius: 10px;
  font-size: 11px;
  text-align: center;
}
.detail-trigger {
  border-color: var(--green);
  background: #fff;
  color: var(--green-dark);
  cursor: pointer;
}
.market-ask {
  display: inline-flex;
  width: max-content;
  min-height: 34px;
  align-items: center;
  margin-top: 6px;
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 700;
}
.empty-state {
  padding: 64px 16px;
  text-align: center;
}
.empty-state > span {
  display: block;
  color: var(--green);
  font-size: 48px;
}
.empty-state h3 { margin: 12px 0 6px; }
.empty-state p { margin: 0 0 20px; }
.catalog-trust {
  padding: 32px 0;
  background: var(--surface);
}
.trust-strip {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}
.trust-strip div {
  min-width: 0;
  padding: 18px 14px;
  background: #fff;
}
.trust-strip strong,
.trust-strip span { display: block; }
.trust-strip strong {
  color: var(--heading);
  font-size: 12px;
}
.trust-strip span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.4;
}
.product-dialog {
  width: min(calc(100% - 20px), 1120px);
  max-height: calc(100dvh - 14px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(17, 24, 39, .2);
}
.product-dialog::backdrop {
  background: rgba(17, 24, 39, .6);
  backdrop-filter: blur(3px);
}
.dialog-close {
  width: 44px;
  height: 44px;
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--heading);
  font-size: 28px;
  cursor: pointer;
}
.dialog-grid { display: grid; }
.dialog-carousel {
  min-width: 0;
  padding: 0;
  background: #fff;
}
.dialog-carousel-viewport {
  height: min(82vw, 340px);
  min-height: 260px;
  position: relative;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #fff;
}
.dialog-carousel-track {
  height: 100%;
  display: flex;
  transition: transform .24s ease;
  will-change: transform;
}
.dialog-carousel-slide {
  min-width: 100%;
  height: 100%;
  margin: 0;
  position: relative;
}
.dialog-carousel-image-trigger {
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}
.dialog-carousel-image-trigger img {
  width: 100%;
  height: 100%;
  display: block;
  background: #f8faf7;
  object-fit: contain;
  object-position: center;
}
.dialog-carousel-image-trigger:focus-visible {
  outline: 3px solid rgba(22, 163, 74, .32);
  outline-offset: -3px;
}
.dialog-carousel-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  position: absolute;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  border: 1px solid rgba(22, 163, 74, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: var(--green-dark);
  box-shadow: 0 8px 22px rgba(17, 24, 39, .14);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
}
.dialog-carousel-button.previous { left: 10px; }
.dialog-carousel-button.next { right: 10px; }
.dialog-carousel-button:focus-visible,
.dialog-carousel-dot:focus-visible,
.dialog-carousel-tool:focus-visible {
  outline: 3px solid rgba(22, 163, 74, .32);
  outline-offset: 2px;
}
.dialog-carousel-tool {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 1;
  border: 1px solid rgba(22, 163, 74, .2);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  color: var(--green-dark);
  box-shadow: 0 10px 24px rgba(17, 24, 39, .16);
  cursor: zoom-in;
}
.dialog-carousel-tool svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.dialog-carousel-footer {
  display: grid;
  place-items: center;
  padding: 9px 0 11px;
}
.dialog-carousel-dots {
  display: flex;
  gap: 7px;
}
.dialog-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d1d5db;
  cursor: pointer;
}
.dialog-carousel-dot.active {
  width: 24px;
  border-radius: 999px;
  background: var(--green);
}
.dialog-image {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 34px;
  background: var(--green-soft);
}
.dialog-image.supplements { background: #eff6ff; }
.dialog-image.skincare { background: #fff1f2; }
.dialog-image.haircare { background: #fdf4ff; }
.dialog-image.sweetener { background: #fffbeb; }
.dialog-image img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}
.dialog-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 18px 26px;
}
.dialog-header {
  display: grid;
  gap: 8px;
}
.dialog-copy .pill {
  display: inline-flex;
  width: max-content;
}
.dialog-copy h2 {
  margin: 0;
  color: var(--heading);
  font-size: 24px;
  line-height: 1.14;
  letter-spacing: 0;
}
.dialog-chips {
  margin: 0;
}
.dialog-summary {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 8px;
}
.dialog-summary div {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(22, 163, 74, .16);
  border-radius: 8px;
  background: #f8fdf9;
}
.dialog-summary span {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .04em;
  line-height: 1;
  text-transform: uppercase;
}
.dialog-summary strong {
  color: var(--heading);
  font-size: 15px;
  line-height: 1.35;
}
.dialog-lead {
  margin: 0;
  color: var(--body);
  font-size: 15px;
  line-height: 1.65;
}
.dialog-copy h3 {
  margin: 0 0 8px;
  color: var(--heading);
  font-size: 15px;
  line-height: 1.2;
}
.dialog-sections {
  display: grid;
  gap: 0;
}
.dialog-section {
  padding: 16px 0;
  border-top: 1px solid rgba(17, 24, 39, .08);
}
.dialog-section p {
  margin: 0;
  color: var(--body);
  font-size: 14px;
  line-height: 1.65;
}
.dialog-section-warning {
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(217, 119, 6, .18);
  border-radius: 8px;
  background: #fffbeb;
}
.dialog-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.dialog-list li {
  position: relative;
  min-height: 22px;
  padding-left: 24px;
  color: var(--body);
  font-size: 14px;
  line-height: 1.5;
}
.dialog-list li:before {
  content: "";
  width: 8px;
  height: 8px;
  position: absolute;
  left: 4px;
  top: .48em;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(22, 163, 74, .12);
}
.dialog-proof {
  display: grid;
  gap: 4px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(22, 163, 74, .18);
  border-radius: 8px;
  background: #f0fdf4;
}
.dialog-proof strong {
  color: var(--green-deep);
  font-size: 13px;
}
.dialog-proof span {
  color: var(--body);
  font-size: 13px;
  line-height: 1.5;
}
.dialog-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}
.dialog-copy .btn {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}
.image-zoom-overlay {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
}
.image-zoom-overlay::backdrop {
  background: rgba(0, 0, 0, .9);
}
.image-zoom-shell {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 10px;
  padding: 16px;
  cursor: zoom-out;
}
.image-zoom-toolbar {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-self: center;
  gap: 6px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 12px 30px rgba(0, 0, 0, .24);
}
.image-zoom-toolbar button {
  min-width: 38px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111827;
  font-weight: 800;
  cursor: pointer;
}
.image-zoom-toolbar button:hover,
.image-zoom-toolbar button:focus-visible {
  background: #f0fdf4;
  color: var(--green-dark);
}
.image-zoom-stage {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  overflow: auto;
  overscroll-behavior: contain;
}
.image-zoom-overlay img {
  max-width: min(100%, 1180px);
  max-height: calc(100dvh - 96px);
  display: block;
  object-fit: contain;
  cursor: default;
}
.image-zoom-close {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  position: fixed;
  top: 12px;
  right: 12px;
  z-index: 1;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #111827;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.image-zoom-close:focus-visible {
  outline: 3px solid rgba(255, 255, 255, .44);
  outline-offset: 2px;
}
@media (min-width: 600px) {
  .catalog-heading > p { display: block; }
  .catalog-tools {
    grid-template-columns: 1fr 240px;
    align-items: center;
  }
  .market-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
  .market-copy { padding: 16px; }
  .market-category { font-size: 11px; }
  .market-copy h3 {
    min-height: 40px;
    font-size: 16px;
  }
  .market-chips span { font-size: 11px; }
  .market-benefit,
  .market-benefits,
  .market-ask { font-size: 12px; }
  .market-price { font-size: 15px; }
  .market-actions .btn { font-size: 12px; }
  .trust-strip { grid-template-columns: repeat(4, 1fr); }
  .trust-strip div { padding: 22px 18px; }
  .trust-strip strong { font-size: 13px; }
  .trust-strip span { font-size: 11px; }
  .dialog-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); }
  .dialog-carousel { align-self: start; }
  .dialog-carousel-viewport {
    height: min(66dvh, 640px);
    min-height: 520px;
  }
  .dialog-copy {
    gap: 18px;
    padding: 40px 36px;
  }
  .dialog-copy h2 { font-size: 30px; }
  .dialog-summary { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .dialog-image { aspect-ratio: auto; }
}

@media (min-width: 768px) {
  .catalog-section { padding: 124px 0 76px; }
  .market-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .market-image { padding: 0; }
  .market-badge {
    top: 12px;
    left: 12px;
    font-size: 10px;
  }
  .market-copy h3 { font-size: 17px; }
}

@media (max-width: 599px) {
  .market-card {
    border-radius: 12px;
  }

  .market-copy {
    padding: 16px;
  }

  .market-copy h3 {
    min-height: auto;
    font-size: 18px;
  }

  .market-benefit,
  .market-benefits {
    font-size: 13px;
  }

  .market-price {
    font-size: 15px;
  }

  .market-actions .btn {
    width: 100%;
    min-height: 44px;
    font-size: 13px;
  }

  .market-ask {
    width: max-content;
    max-width: 100%;
    min-height: 38px;
    font-size: 13px;
  }
}

@media (min-width: 1024px) {
  .market-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
  .market-card { transition: transform .2s ease, box-shadow .2s ease; }
  .market-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
  }
  .market-copy { padding: 18px; }
  .market-benefit { font-size: 13px; }
  .market-benefits { font-size: 12px; }
  .market-price { font-size: 16px; }
}
