.trend-watch {
  position: relative;
  padding: 92px 0;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 4%, rgba(190, 153, 96, .2), transparent 27rem),
    linear-gradient(145deg, #241419 0%, #3d1728 48%, #5b203d 100%) !important;
  color: #fff;
}

.trend-watch::before {
  position: absolute;
  inset: 20px;
  border: 1px solid rgba(235, 208, 163, .16);
  pointer-events: none;
  content: "";
}

.trend-watch-shell {
  position: relative;
  z-index: 1;
}

.trend-watch-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, 310px);
  gap: 48px;
  align-items: end;
  margin-bottom: 34px;
}

.trend-watch-kicker,
.trend-watch-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e4c48f;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.trend-watch-kicker::before,
.trend-watch-eyebrow::before {
  width: 32px;
  height: 1px;
  background: currentColor;
  content: "";
}

.trend-watch-copy h2 {
  max-width: 810px;
  margin: 14px 0 16px;
  color: #fffdf9;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2.2rem, 4vw, 4.3rem);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.035em;
}

.trend-watch-copy p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 250, 245, .76);
  font-size: 1rem;
  line-height: 1.75;
}

.trend-watch-status {
  padding: 20px 22px;
  border: 1px solid rgba(228, 196, 143, .3);
  background: rgba(255, 250, 245, .07);
  backdrop-filter: blur(10px);
}

.trend-watch-status span,
.trend-watch-status small {
  display: block;
  color: rgba(255, 250, 245, .64);
  font-size: .72rem;
  line-height: 1.45;
}

.trend-watch-status span {
  margin-bottom: 6px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.trend-watch-status strong {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 1.03rem;
}

.trend-watch-controls {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 34px;
  padding: 18px;
  border: 1px solid rgba(228, 196, 143, .2);
  background: rgba(18, 8, 12, .24);
}

.trend-category-tabs {
  display: flex;
  flex: 1;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(228, 196, 143, .46) transparent;
}

.trend-category-tabs button,
.trend-size-switch button {
  appearance: none;
  flex: 0 0 auto;
  padding: 10px 14px;
  border: 1px solid rgba(255, 250, 245, .16);
  border-radius: 999px;
  background: transparent;
  color: rgba(255, 250, 245, .72);
  font: inherit;
  font-size: .78rem;
  font-weight: 800;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.trend-category-tabs button:hover,
.trend-size-switch button:hover {
  border-color: #e4c48f;
  color: #fff;
  transform: translateY(-1px);
}

.trend-category-tabs button.is-active,
.trend-size-switch button.is-active {
  border-color: #e4c48f;
  background: #e4c48f;
  color: #321724;
}

.trend-size-switch {
  display: flex;
  flex: 0 0 auto;
  gap: 7px;
  align-items: center;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 250, 245, .14);
}

.trend-size-switch span {
  margin-right: 2px;
  color: rgba(255, 250, 245, .55);
  font-size: .72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.trend-size-switch button {
  min-width: 62px;
  padding: 9px 12px;
}

.trend-watch-summary {
  display: flex;
  gap: 32px;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 22px;
}

.trend-watch-summary h3 {
  margin: 8px 0 0;
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  font-weight: 600;
}

.trend-watch-summary p {
  max-width: 520px;
  margin: 0;
  color: rgba(255, 250, 245, .66);
  font-size: .82rem;
  line-height: 1.6;
  text-align: right;
}

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

.trend-product-card {
  grid-column: span 2;
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(228, 196, 143, .2);
  background: #fffdf9;
  color: #2b2024;
  box-shadow: 0 24px 54px rgba(12, 5, 8, .22);
}

.trend-product-card.is-number-one {
  grid-column: span 3;
}

.trend-product-card:nth-child(2) {
  grid-column: span 3;
}

.trend-product-grid.is-size-1 .trend-product-card.is-number-one,
.trend-product-grid.is-size-3 .trend-product-card.is-number-one {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, .85fr);
}

.trend-product-grid.is-size-1 .trend-product-card.is-number-one .trend-product-media,
.trend-product-grid.is-size-3 .trend-product-card.is-number-one .trend-product-media {
  height: 100%;
  min-height: 410px;
  border-right: 1px solid #eee2d8;
  border-bottom: 0;
}

.trend-product-grid.is-size-1 .trend-product-card.is-number-one .trend-product-body,
.trend-product-grid.is-size-3 .trend-product-card.is-number-one .trend-product-body {
  display: flex;
  justify-content: center;
  flex-direction: column;
  padding: clamp(28px, 4vw, 54px);
}

.trend-product-grid.is-size-1 .trend-product-card.is-number-one .trend-product-body h4,
.trend-product-grid.is-size-3 .trend-product-card.is-number-one .trend-product-body h4 {
  font-size: clamp(1.55rem, 2.3vw, 2.25rem);
}

.trend-product-grid.is-size-3 .trend-product-card:nth-child(2),
.trend-product-grid.is-size-3 .trend-product-card:nth-child(3) {
  grid-column: span 3;
}

.trend-product-rank {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 66px;
  height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  background: #541e37;
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: 0 8px 20px rgba(47, 18, 31, .25);
}

.trend-product-card.is-number-one .trend-product-rank {
  background: linear-gradient(135deg, #a87834, #d5b476);
  color: #2f1a11;
}

.trend-product-media {
  display: flex;
  height: 230px;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid #eee2d8;
  background:
    radial-gradient(circle at 50% 45%, #fff 0, #fff 34%, transparent 35%),
    linear-gradient(150deg, #fffaf4, #f1e7dc);
}

.trend-product-card.is-number-one .trend-product-media {
  height: 282px;
}

.trend-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.trend-product-body {
  padding: 20px;
}

.trend-product-brand {
  display: block;
  margin-bottom: 7px;
  color: #9a6a2d;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.trend-product-body h4 {
  min-height: 2.8em;
  margin: 0 0 14px;
  color: #2c2025;
  font-size: 1rem;
  line-height: 1.4;
}

.trend-product-card.is-number-one .trend-product-body h4 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
}

.trend-product-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  min-height: 26px;
  margin-bottom: 14px;
}

.trend-product-signal {
  padding: 5px 8px;
  border: 1px solid #e5d8cc;
  border-radius: 999px;
  background: #fbf6f0;
  color: #6b5646;
  font-size: .66rem;
  font-weight: 800;
}

.trend-product-signal.is-price {
  border-color: #d4b57f;
  background: #fff4df;
  color: #6a461c;
}

.trend-product-offer {
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
  margin-top: 4px;
}

.trend-product-price small,
.trend-product-merchant {
  display: block;
  color: #8b7b72;
  font-size: .67rem;
  line-height: 1.35;
}

.trend-product-price strong {
  display: inline-block;
  margin-top: 2px;
  color: #552039;
  font-size: 1.45rem;
  line-height: 1;
}

.trend-product-old-price {
  margin-left: 7px;
  color: #9a8b83;
  font-size: .76rem;
  text-decoration: line-through;
}

.trend-product-cta {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid #552039;
  background: #552039;
  color: #fff;
  font-size: .74rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

.trend-product-cta:hover {
  border-color: #a87834;
  background: #a87834;
  color: #fff;
}

.trend-product-compare {
  display: block;
  margin-top: 14px;
  color: #6c4b5c;
  font-size: .72rem;
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(108, 75, 92, .28);
  text-underline-offset: 3px;
}

.trend-watch-footer {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(228, 196, 143, .2);
}

.trend-watch-footer p {
  max-width: 850px;
  margin: 0;
  color: rgba(255, 250, 245, .62);
  font-size: .75rem;
  line-height: 1.65;
}

.trend-watch-footer strong {
  color: #fff;
}

.trend-watch-footer a {
  flex: 0 0 auto;
  color: #e4c48f;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none;
}

.trend-loading-card {
  grid-column: span 2;
  height: 430px;
  border: 1px solid rgba(228, 196, 143, .2);
  background: linear-gradient(105deg, rgba(255,255,255,.05) 24%, rgba(255,255,255,.12) 42%, rgba(255,255,255,.05) 60%);
  background-size: 220% 100%;
  animation: trend-shimmer 1.35s infinite linear;
}

.trend-loading-card:first-child {
  grid-column: span 3;
}

.trend-loading-card:nth-child(2) {
  grid-column: span 3;
}

.trend-empty {
  grid-column: 1 / -1;
  padding: 44px 24px;
  border: 1px solid rgba(228, 196, 143, .24);
  color: rgba(255, 250, 245, .8);
  text-align: center;
}

.trend-empty a {
  display: inline-flex;
  margin-top: 16px;
  padding: 11px 16px;
  border: 1px solid #e4c48f;
  color: #e4c48f;
  font-weight: 800;
  text-decoration: none;
}

@keyframes trend-shimmer {
  to { background-position-x: -220%; }
}

@media (max-width: 980px) {
  .trend-watch-heading {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .trend-watch-status {
    max-width: 410px;
  }

  .trend-watch-controls {
    align-items: stretch;
    flex-direction: column;
  }

  .trend-size-switch {
    padding: 14px 0 0;
    border-top: 1px solid rgba(255, 250, 245, .14);
    border-left: 0;
  }

  .trend-product-card,
  .trend-product-card.is-number-one,
  .trend-product-card:nth-child(2) {
    grid-column: span 3;
  }

  .trend-product-grid.is-size-1 .trend-product-card.is-number-one,
  .trend-product-grid.is-size-3 .trend-product-card.is-number-one {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .9fr);
  }
}

@media (max-width: 680px) {
  .trend-watch {
    padding: 70px 0;
  }

  .trend-watch::before {
    inset: 10px;
  }

  .trend-watch-copy h2 {
    font-size: 2.25rem;
  }

  .trend-watch-controls {
    margin-right: -20px;
    margin-left: -20px;
    padding-right: 20px;
    padding-left: 20px;
    border-right: 0;
    border-left: 0;
  }

  .trend-size-switch {
    overflow-x: auto;
  }

  .trend-watch-summary {
    display: block;
  }

  .trend-watch-summary p {
    margin-top: 12px;
    text-align: left;
  }

  .trend-product-grid {
    display: block;
  }

  .trend-product-card,
  .trend-loading-card {
    margin-bottom: 14px;
  }

  .trend-product-grid.is-size-1 .trend-product-card.is-number-one,
  .trend-product-grid.is-size-3 .trend-product-card.is-number-one {
    display: block;
  }

  .trend-product-grid.is-size-1 .trend-product-card.is-number-one .trend-product-media,
  .trend-product-grid.is-size-3 .trend-product-card.is-number-one .trend-product-media {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid #eee2d8;
  }

  .trend-product-grid.is-size-1 .trend-product-card.is-number-one .trend-product-body,
  .trend-product-grid.is-size-3 .trend-product-card.is-number-one .trend-product-body {
    display: block;
    padding: 20px;
  }

  .trend-product-card.is-number-one .trend-product-media,
  .trend-product-media {
    height: 220px;
  }

  .trend-product-offer {
    align-items: stretch;
    flex-direction: column;
  }

  .trend-product-cta {
    width: 100%;
  }

  .trend-watch-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trend-loading-card {
    animation: none;
  }
}
