/*
 * shop.css — Category / archive page only.
 * Pixel-matched to valentte-reed-diffusers.html reference.
 */

/* ── Page header ───────────────────────────────────────────────────────────── */
.shop-header {
  background: var(--cream);
  padding: 37px 40px;
}

.shop-header__title {
  font-family: var(--font-head);
  font-size: 44px;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--black);
  line-height: 1;
  margin-bottom: 12px;
}

.shop-header__summary {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
  max-width: 680px;
  margin: 0;
}

@media (max-width: 900px) {
  .shop-header { padding: 24px 16px 20px; }
  .shop-header__title { font-size: 32px; }
}

/* ── Image header ──────────────────────────────────────────────────────────── */
.shop-header--image {
  position: relative;
  display: flex;
  padding: 0;
  overflow: hidden;
}

/* Background <picture> fills the container; <img> fills it with object-fit */
.shop-header__bg-picture {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 0;
  display: block;
}

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

/* Heights */
.shop-header--hgt-small  { min-height: 200px; }
.shop-header--hgt-medium { min-height: 320px; }
.shop-header--hgt-large  { min-height: 480px; }

/* Vertical alignment */
.shop-header--valign-top    { align-items: flex-start; }
.shop-header--valign-middle { align-items: center; }
.shop-header--valign-bottom { align-items: flex-end; }

/* Overlay */
.shop-header__overlay {
  display: none;
}
.shop-header--image .shop-header__overlay {
  display: block;
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: var(--hdr-overlay, rgba(0, 0, 0, 0));
  z-index: 1;
}

/* Content layer sits above overlay */
.shop-header--image .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 40px;
}

/* Text alignment */
.shop-header--align-left   .container { text-align: left; }
.shop-header--align-center .container { text-align: center; }
.shop-header--align-right  .container { text-align: right; }

/* Title & subtitle on image header */
.shop-header--image .shop-header__title {
  color: var(--hdr-text-color, #ffffff);
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
  margin-bottom: 10px;
}

.shop-header__subtitle {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 300;
  color: var(--hdr-text-color, #ffffff);
  opacity: 0.9;
  line-height: 1.55;
  max-width: 600px;
  margin: 0;
}

.shop-header--align-center .shop-header__subtitle {
  margin-left: auto;
  margin-right: auto;
}
.shop-header--align-right .shop-header__subtitle {
  margin-left: auto;
}

@media (max-width: 900px) {
  /* Mobile image switching handled by <picture> <source media="(max-width: 900px)">.
     Apply all mobile-specific layout overrides via CSS custom properties set inline.
     .shop-header--image (2-class specificity) beats .shop-header--hgt-* (1-class). */
  .shop-header--image {
    min-height: var(--hdr-mobile-height, 220px);
    align-items: var(--hdr-mobile-valign, center);
  }
  .shop-header--image .container {
    padding: 24px 16px;
    text-align: var(--hdr-mobile-align, left);
  }
  .shop-header--image .shop-header__title {
    font-size: 28px;
    color: var(--hdr-mobile-text-color, var(--hdr-text-color, #ffffff));
  }
  .shop-header--image .shop-header__subtitle {
    font-size: 14px;
    color: var(--hdr-mobile-text-color, var(--hdr-text-color, #ffffff));
  }
}

/* ── Colour + text header ──────────────────────────────────────────────────── */
.shop-header--color {
  background: var(--hdr-color-bg, var(--cream));
  display: flex;
  align-items: center;
  padding: 0;
}

.shop-header--color .container {
  padding: 40px;
  width: 100%;
}

.shop-header--color .shop-header__title {
  color: var(--hdr-color-text, var(--black));
  margin-bottom: 10px;
}

.shop-header--color .shop-header__subtitle {
  color: var(--hdr-color-text, var(--black));
  opacity: 1; /* was .8 — faded off-black reads as grey; text is never grey */
}

@media (max-width: 900px) {
  .shop-header--color .container { padding: 24px 16px; }
  .shop-header--color .shop-header__title { font-size: 28px; }
  .shop-header--color .shop-header__subtitle { font-size: 14px; }
}

/* ── Benefit bar ───────────────────────────────────────────────────────────── */
.benefit-bar {
  display: flex;
  align-items: center;
  column-gap: 32px;
  row-gap: 8px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.benefit-bar__item {
  display: flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.benefit-bar__item svg {
  width: 16px;
  height: 16px;
  stroke: var(--grey1);
  fill: none;
  flex-shrink: 0;
}

.benefit-bar__item span {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 400;
  color: var(--text);
  letter-spacing: 0.02em;
}

@media (max-width: 900px) {
  .benefit-bar { gap: 16px; }
  .benefit-bar__item { white-space: normal; align-items: flex-start; }
  .benefit-bar__item span { font-size: 11px; line-height: 1.25; }
}

/* ── After-hero custom content ─────────────────────────────────────────────── */
.valentte-after-hero {
  padding: 24px 40px;
  max-width: var(--content-max, 1440px);
  margin: 0 auto;
}
.valentte-after-hero > :first-child { margin-top: 0; }
.valentte-after-hero > :last-child  { margin-bottom: 0; }
@media (max-width: 768px) {
  .valentte-after-hero { padding: 16px 16px; }
}

/* ── Filter bar ────────────────────────────────────────────────────────────── */
.filter-bar {
  background: var(--white);
  padding: 14px 40px;
  border-bottom: 1px solid var(--grey3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: nowrap;
}

@media (max-width: 900px) {
  .filter-bar { padding: 12px 16px; gap: 8px; }
}

.filter-bar__label {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text);
  margin-right: 4px;
  flex-shrink: 0;
}

/* Scrollable pill track with right-edge fade hint */
.filter-bar__scroll-wrap {
  position: relative;
  flex: 1;
  min-width: 0;
}

.filter-bar__scroll-wrap::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 56px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0) 0%, #fff 100%);
  pointer-events: none;
  z-index: 1;
}

.filter-bar__pills {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-right: 40px; /* space so last pill clears the fade gradient */
  scrollbar-width: none;       /* Firefox */
  -ms-overflow-style: none;    /* IE/Edge */
}

.filter-bar__pills::-webkit-scrollbar {
  display: none;
}

.filter-pill {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.03em;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--grey3);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  min-height: 40px;
  white-space: nowrap;
  flex-shrink: 0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  transition: background 0.18s, border-color 0.18s, color 0.18s;
}

.filter-pill:hover {
  background: #656565;
  border-color: #656565;
  color: var(--white);
  text-decoration: none;
}

.filter-pill.is-active {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

/* ── Product grid ──────────────────────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  row-gap: 48px;
  padding: 20px 40px;
  background: var(--white);
}

/* Each listitem wrapper must be a flex column so .product-card / .promo-tile
   stretch to fill the full grid-row height. Without this the promo tile
   collapses to its content height while the wrapper is taller. */
.products-grid > [role="listitem"] {
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07), 0 0 1px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.products-grid > [role="listitem"]:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.04);
}

.product-card,
.promo-tile {
  flex: 1;           /* fill the listitem wrapper height */
  min-height: 0;     /* prevent flex overflow */
}

ul.products.columns-2 .product-card,
ul.products.columns-1 .product-card {
    max-width: 345px;
}

@media (min-width: 601px) and (max-width: 900px) {
  .products-grid { grid-template-columns: repeat(3, 1fr); column-gap: 16px; row-gap: 36px; padding: 16px 20px; }
}

@media (max-width: 600px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: 28px; padding: 12px 0; }
}

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

/* Native WooCommerce [products] shortcode loop (e.g. manually-built scent
   pages using [products tag="..."]) — mirrors .products-grid above so any
   page using the shortcode directly still gets a proper responsive grid
   instead of each .product-card stacking full-width. */
ul.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 20px;
  row-gap: 48px;
  padding: 20px 40px;
  background: var(--white);
  list-style: none;
  margin: 0;
}

ul.products > .product-card {
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07), 0 0 1px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

ul.products > .product-card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1), 0 0 1px rgba(0, 0, 0, 0.04);
}

@media (min-width: 601px) and (max-width: 900px) {
  ul.products { grid-template-columns: repeat(3, 1fr); column-gap: 16px; row-gap: 36px; padding: 16px 20px; }
}

@media (max-width: 600px) {
  ul.products { grid-template-columns: repeat(2, 1fr); column-gap: 12px; row-gap: 28px; padding: 12px 0; }
}

@media (max-width: 315px) {
  ul.products { grid-template-columns: 1fr; }
}

/* ── Product card ──────────────────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  border-radius: 4px;
  overflow: hidden;
}

/* Image */
.product-card__image-wrap {
  position: relative;
  background: var(--white);
  overflow: hidden;
  display: block;
  text-decoration: none;
}
/* Fallback for browsers without aspect-ratio (Safari <15) */
@supports not (aspect-ratio: 1 / 1) {
  .product-card__image-wrap {
    padding-bottom: 100%;
    height: 0;
  }
}
@supports (aspect-ratio: 1 / 1) {
  .product-card__image-wrap {
    aspect-ratio: 1 / 1;
  }
}

.product-card__image-wrap img,
.product-card__image-wrap picture {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Primary image: scales on hover.
   will-change promotes the element to its own compositor layer so the
   scale transform doesn't repaint surrounding content. */
.product-card__img--main {
  position: relative;
  z-index: 1;
  transition: transform 0.5s ease;
  will-change: transform;
}

.product-card:hover .product-card__img--main {
  transform: scale(1.04);
}

/* Second (hover) image: fades in on top */
.product-card__img--hover {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 2;
  transition: opacity 0.4s ease;
}

.product-card:hover .product-card__img--hover {
  opacity: 1;
}

/* Badges */
.product-card__badges {
  position: absolute;
  top: 12px;
  left: 12px;
  width: fit-content;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  z-index: 1;
}

.product-card__badges--tr {
  left: auto;
  right: 12px;
  align-items: flex-end;
}

@media (max-width: 600px) {
  .product-card__badges { top: 8px; left: 8px; gap: 3px; }
  .product-card__badges--tr { right: 8px; }
  .product-card__badges .badge { font-size: 10px; padding: 4px 9px; letter-spacing: 0.08em; }
}

/* Body */
.product-card__body {
  padding: 18px 14px 6px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  position: relative;
}

.product-card__name {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 400;
  color: var(--black);
  line-height: 1.2;
  text-decoration: none;
  display: block;
}

.product-card__name:hover { text-decoration: none; }

.product-card__scent,
.product-card__scent-desc {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.4;
  font-style: normal;
}

.product-card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}

/* Stars override: larger stars + count in product cards */
.product-card__rating .stars { font-size: 16px; }
.product-card__rating .stars__count {
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  white-space: nowrap;
}

/* Narrow cards (mobile grids, carousel slides): the review count can be too
   long to fit on one line next to the stars — wrap instead of clipping,
   same fallback the PDP's own rating line uses (.pdp-reviews-link). */
@media (max-width: 768px) {
  .product-card__rating { flex-wrap: wrap; }
  .product-card__rating .stars__count { white-space: normal; }
}

.product-card__price {
  display: flex;
  align-items: baseline;
  gap: 7px;
  margin-top: 4px;
  flex-wrap: wrap;
}

.product-card__price del {
  font-size: 12px;
  color: var(--text);
  font-weight: 400;
}

.product-card__price .price-current {
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
}

.product-card__saving {
  font-size: 10px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--cream);
  padding: 2px 6px;
  border-radius: 3px;
}

/* CTA row */
.product-card__cta {
  padding: 8px 14px 14px;
  display: flex;
  flex-direction: row;
  gap: 7px;
  position: relative;
}

.product-card__cta .btn {
  flex: 1;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--btn-font-size-compact);
  letter-spacing: 0;
  text-transform: capitalize;
  min-height: var(--btn-h);
  padding: 8px 4px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--black);
  box-shadow: none;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  text-decoration: none;
  transition: background 0.18s, color 0.18s, border-color 0.18s;
}

/* Product cards keep their own black & white pair (not the orange Primary):
   Add to Cart = black with white text; View = outlined black. */
.product-card__cta .btn--primary {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.product-card__cta .btn--primary:hover {
  background: #3a3a3a;
  border-color: #3a3a3a;
  color: var(--white);
  text-decoration: none;
}

/* .btn--secondary: old class for the outlined "View" button — still present
   in pre-rendered promo-group HTML (valentte_promo_cache_*) until the cache
   rebuilds, so keep it outlined here rather than the new black Secondary. */
.product-card__cta .btn--accent,
.product-card__cta .btn--secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--black);
}

.product-card__cta .btn--accent:hover,
.product-card__cta .btn--secondary:hover {
  background: var(--black);
  color: var(--white);
  text-decoration: none;
}

/* Bundle: full-width single CTA */
.product-card__cta .btn--full {
  flex: none;
  width: 100%;
}

@media (max-width: 600px) {
  .product-card__body { padding: 20px 12px 8px; }
  .product-card__name { font-size: 17px; }
  .product-card__scent,
  .product-card__scent-desc { font-size: 12px; }
  .product-card__price span:not(.product-card__saving) { font-size: 16px; }
  .product-card__cta { padding: 8px 2px 0; gap: 8px; }
  /* Two buttons share a half-width card on phones — 16px labels would wrap */
  .product-card__cta .btn { font-size: 14px; }
}

@media (max-width: 400px) {
  .product-card__cta .btn { font-size: 12px; padding: 4px; }
}

/* ── Product card skeleton shimmer ────────────────────────────────────────── */
.product-card__skeleton {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 5;
  background: linear-gradient(
    90deg,
    #efefef 0%,
    #e4e4e4 40%,
    #efefef 80%
  );
  background-size: 300% 100%;
  animation: vt-shimmer 1.6s ease-in-out infinite;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

@keyframes vt-shimmer {
  0%   { background-position: 100% 50%; }
  100% { background-position:   0% 50%; }
}

/* ── Product card body skeleton ────────────────────────────────────────────── */
.product-card__body-skeleton {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2;
  background: #fff;
  padding: 18px 14px 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sk-line {
  display: block;
  border-radius: 4px;
  background: linear-gradient(90deg, #efefef 0%, #e4e4e4 40%, #efefef 80%);
  background-size: 300% 100%;
  animation: vt-shimmer 1.6s ease-in-out infinite;
}
.sk-line--name   { height: 15px; width: 80%; }
.sk-line--scent  { height: 12px; width: 58%; }
.sk-line--rating { height: 11px; width: 44%; }
.sk-line--price  { height: 14px; width: 32%; margin-top: 2px; }

@media (max-width: 600px) {
  .product-card__body-skeleton { padding: 20px 12px 0; }
}

/* ── Product card CTA skeleton ─────────────────────────────────────────────── */
.product-card__cta-skeleton {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  z-index: 2;
  background: #fff;
  padding: 8px 14px 14px;
  pointer-events: none;
  transition: opacity 0.28s ease;
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: center;
}
.sk-line--btn    { height: 38px; flex: 1; border-radius: 3px; }
.sk-line--btn-sm { flex: 0 0 38%; }

@media (max-width: 600px) {
  .product-card__cta-skeleton { padding: 8px 2px; }
}

/* ── Promo tile ────────────────────────────────────────────────────────────── */
.promo-tile {
  background: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
}

.promo-tile picture,
.promo-tile img {
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.promo-tile:hover picture img,
.promo-tile:hover > img {
  transform: scale(1.04);
}

/* Gradient overlay via pseudo-element (no extra div needed) */
.promo-tile::after {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0)   0%,
    rgba(0,0,0,0)   25%,
    rgba(0,0,0,0.6) 60%,
    rgba(0,0,0,0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Keep the separate overlay div harmless if still in template */
.promo-tile__overlay { display: none; }

.promo-tile__content {
  position: relative;
  z-index: 2;
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.promo-tile__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--white); /* on the dark promo image */
}

.promo-tile__title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
}

/* CTA inside promo tile */
.promo-tile .btn {
  margin-top: 20px;
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
  width: 100%;
  justify-content: center;
  padding: 0 var(--btn-pad-x);
  min-height: var(--btn-h);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: var(--btn-font-size);
  text-transform: capitalize;
  border-radius: var(--radius-btn);
  border: 1px solid var(--white);
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: background 0.18s, border-color 0.18s;
}

.promo-tile .btn:hover {
  background: var(--cream);
  border-color: var(--cream);
  text-decoration: none;
}

@media (max-width: 900px) {
  .promo-tile { min-height: 260px; }
  .promo-tile__title { font-size: 30px; }
}

/* ── Divider bar ───────────────────────────────────────────────────────────── */
.divider-bar {
  grid-column: 1 / -1;
  background: var(--grey1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  padding: 28px 40px;
  border-radius: 4px;
  margin: 16px 0;
  flex-wrap: wrap;
}

.divider-bar__item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.divider-bar__icon {
  width: 32px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.divider-bar__icon svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  fill: none;
  stroke-width: 1.5;
}

.divider-bar__text {
  font-family: var(--font-body);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .divider-bar { padding: 20px 16px; gap: 16px; justify-content: center; }
  .divider-bar__item { flex: 0 0 calc(50% - 8px); }
  .divider-bar__text { white-space: normal; }
}

/* ── Pagination ────────────────────────────────────────────────────────────── */
.shop-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 48px 40px;
  background: var(--white);
}

@media (max-width: 900px) {
  .shop-pagination { padding: 32px 20px; }
}

.page-numbers {
  font-family: var(--font-body);
  font-size: 14px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--grey3);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}

.page-numbers:hover {
  border-color: var(--grey1);
  color: var(--black);
  text-decoration: none;
}

.page-numbers.current {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.page-numbers.dots {
  border: none;
  background: transparent;
  width: auto;
}

/* ── Category page: Customer Reviews section ─────────────────────────────── */
.cat-reviews {
  padding: 60px 40px;
  border-top: 1px solid var(--grey3);
  max-width: var(--max-w);
  margin: 0 auto;
  box-sizing: border-box;
}
.cat-reviews__header {
  text-align: center;
  margin-bottom: 40px;
}
.cat-reviews__stars {
  font-size: 22px;
  color: #FFA222;
  display: block;
  margin-bottom: 6px;
}
.cat-reviews__title {
  font-family: 'Cormorant', serif;
  font-size: 36px;
  font-weight: 400;
  margin: 0 0 6px;
}
.cat-reviews__sub {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}
.cat-reviews__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-review-card {
  background: #faf9f7;
  border: 1px solid var(--grey3);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cat-review-card__stars {
  color: #FFA222;
  font-size: 15px;
}
.cat-review-card__text {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}
.cat-review-card__images {
  display: flex;
  gap: 6px;
}
.cat-review-card__images img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid var(--grey3);
}
.cat-review-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  color: var(--text);
  margin-top: auto;
  padding-top: 8px;
  border-top: 1px solid var(--grey3);
}
.cat-review-card__author { font-weight: 600; color: var(--text); }
.cat-review-card__sep    { color: var(--text); }
.cat-review-card__product { font-style: italic; }

@media (max-width: 1024px) {
  .cat-reviews__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .cat-reviews { padding: 40px 20px; }
  .cat-reviews__grid { grid-template-columns: 1fr; }
  .cat-reviews__title { font-size: 28px; }
}

/* ── Region restriction badge (.badge--unavailable) ────────────────────────── */
/* Warm amber — clearly informational, distinct from Bestseller (dark) and     */
/* Sold Out (red). Sits in the same top-left badge container as other badges.  */
.badge--unavailable {
  background: #fdf3e3;
  color: #7a5218;
  border: 1px solid #f0d49a;
}
