body.v15 .category-subrail[data-category-previews] {
  align-items: stretch;
  gap: .75rem;
  margin-block: .5rem 1rem;
  scroll-padding-inline: .25rem;
}

body.v15 [data-category-previews] > .category-subchip {
  display: grid;
  grid-template-rows: auto minmax(2.65rem, 1fr);
  justify-items: stretch;
  flex: 0 0 clamp(10.5rem, 18vw, 14.25rem);
  gap: .5rem;
  padding: .58rem;
  min-block-size: 5.2rem;
  border: 1px solid #d9e4da;
  border-radius: .8rem;
  background: #fff;
  color: #21482f;
  text-align: start;
  text-decoration: none;
}

body.v15 [data-category-previews] > .category-subchip:hover,
body.v15 .category-bestseller:hover {
  border-color: #789681;
  background: #f4f8f3;
}

body.v15 .category-preview-media {
  display: grid;
  grid-template-columns: repeat(var(--category-preview-columns, 1), minmax(0, 1fr));
  gap: .25rem;
  block-size: clamp(3.5rem, 7vw, 5.35rem);
  overflow: hidden;
}

.category-preview-media[data-photo-count="2"] { --category-preview-columns: 2; }
.category-preview-media[data-photo-count="3"] { --category-preview-columns: 3; }

body.v15 [data-category-previews] > .category-subchip .category-preview-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  border: 1px solid #ebf0ea;
  border-radius: .4rem;
  background: #f4f6f3;
  object-fit: contain;
}

body.v15 .category-preview-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .45rem;
  padding-inline: .2rem .4rem;
  color: inherit;
  font-size: .9rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.category-preview-title:after {
  content: "";
  inline-size: .4rem;
  block-size: .4rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.category-subchip:not(:has(.category-preview-media)) .category-preview-title { grid-row: 1 / -1; }

body.v15 .category-bestsellers {
  margin-block: .5rem 1.25rem;
  padding: clamp(.85rem, 2vw, 1.25rem);
  border: 1px solid #dce7dc;
  border-radius: .9rem;
  background: #f3f7f2;
}

body.v15 .category-bestsellers h2 {
  margin: 0 0 .7rem;
  color: #214b31;
  font-size: clamp(1rem, 2vw, 1.25rem);
  line-height: 1.25;
}

body.v15 .category-bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(13.5rem, 100%), 1fr));
  gap: .55rem;
}

body.v15 .category-bestseller {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-inline-size: 0;
  min-block-size: 4rem;
  padding: .38rem .55rem;
  border: 1px solid #d9e4da;
  border-radius: .6rem;
  background: #fff;
  color: #23382b;
  text-decoration: none;
}

body.v15 .category-bestseller img {
  object-fit: contain;
  flex: 0 0 auto;
  inline-size: clamp(2.5rem, 5vw, 3.5rem);
  block-size: clamp(2.5rem, 5vw, 3.5rem);
  border-radius: .3rem;
  background: #f4f6f3;
}

body.v15 .category-bestseller strong {
  min-width: 0;
  font-size: .84rem;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

body.v15 [data-category-previews] .category-subchip:focus-visible,
body.v15 .category-bestseller:focus-visible {
  outline: 2px solid #2f6742 !important;
  outline-offset: 2px;
}
