/* Scoped to .stylized-stage so illustrations cannot restyle site chrome. */
.tile-illust {
  display: block;
  filter: drop-shadow(0 1px 1px rgb(17 17 19 / 0.08)) drop-shadow(0 10px 18px rgb(17 17 19 / 0.12))
    drop-shadow(0 22px 36px rgb(17 17 19 / 0.08));
  overflow: visible;
  pointer-events: none;
  position: relative;
  width: 100%;
}
.tile-illust-tilt {
  height: 100%;
  overflow: visible;
  position: relative;
  transform-origin: center center;
  width: 100%;
}
.tile-illust .stylized-stage {
  box-shadow: none;
  left: 0;
  position: absolute;
  top: 0;
}

.stylized-stage {
  --stylized-white: #ffffff;
  --stylized-canvas: #f5f5f4;
  --stylized-hairline: #e7e5e4;
  --stylized-ink: #111113;
  --stylized-body: #45454a;
  --stylized-muted: #6e6e73;
  --stylized-amber: #eaa221;
  --stylized-field: #f5d090;
  --stylized-field-deep: #efc06a;
  --stylized-bone: #f3eee6;
  --stylized-skeleton: #e8e4dc;
  --stylized-radius-stage: 40px;
  --stylized-radius-card: 28px;
  --stylized-radius-tile: 16px;
  --stylized-font: "Switzer", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --stylized-shadow: 0 1px 2px rgb(17 17 19 / 0.06), 0 18px 40px -18px rgb(17 17 19 / 0.22);
  background: var(--stylized-field);
  border-radius: var(--stylized-radius-stage);
  box-shadow: var(--stylized-shadow);
  box-sizing: border-box;
  color: var(--stylized-ink);
  display: flex;
  flex-direction: column;
  font-family: var(--stylized-font);
  isolation: isolate;
  margin: 0;
  width: 560px;
  -webkit-font-smoothing: antialiased;
}

.stylized-stage *,
.stylized-stage *::before,
.stylized-stage *::after {
  box-sizing: border-box;
}

.stylized-stage img {
  display: block;
  max-width: 100%;
}

.stylized-stage.is-wide {
  width: 720px;
}

.stylized-stage.is-narrow {
  width: 420px;
}

.stylized-stage__cap {
  flex: 0 0 28px;
}

.stylized-card {
  background: var(--stylized-white);
  border-radius: var(--stylized-radius-card);
  margin: 0 14px;
  overflow: hidden;
  padding: 22px;
  position: relative;
}

.stylized-title {
  color: var(--stylized-ink);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 22px;
  text-align: center;
  text-wrap: balance;
}

.stylized-nav {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 16px 28px 20px;
  pointer-events: none;
}

.stylized-nav__btn {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--stylized-ink);
  display: inline-flex;
  height: 32px;
  justify-content: center;
  padding: 0;
  width: 32px;
}

.stylized-nav__btn svg {
  display: block;
}

.stylized-dots {
  display: flex;
  gap: 7px;
}

.stylized-dots span {
  background: rgb(17 17 19 / 0.22);
  border-radius: 999px;
  display: block;
  height: 7px;
  width: 7px;
}

.stylized-dots span.is-on {
  background: var(--stylized-ink);
}

.stylized-stars {
  color: var(--stylized-amber);
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}

.stylized-stars svg {
  display: block;
  flex: none;
}

.stylized-skeleton {
  background: var(--stylized-skeleton);
  border-radius: 999px;
  display: block;
  height: 8px;
}

.stylized-skeleton.is-sm {
  height: 6px;
}

.stylized-skeleton.is-lg {
  height: 10px;
}

.stylized-lines {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.stylized-verified {
  align-items: center;
  color: #1f4e79;
  display: inline-flex;
  gap: 4px;
}

.stylized-verified svg {
  display: block;
}

.stylized-play {
  background: rgb(255 255 255 / 0.92);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgb(17 17 19 / 0.18);
  display: grid;
  height: 40px;
  left: 50%;
  place-items: center;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
}

.stylized-count {
  align-items: center;
  background: rgb(17 17 19 / 0.62);
  border-radius: 8px;
  color: var(--stylized-white);
  display: inline-flex;
  font-size: 11px;
  font-weight: 600;
  gap: 4px;
  padding: 3px 7px;
  position: absolute;
  right: 8px;
  top: 8px;
}

.stylized-pill {
  align-items: center;
  background: var(--stylized-field);
  border: 0;
  border-radius: 999px;
  color: var(--stylized-ink);
  display: inline-flex;
  font-size: 12px;
  font-weight: 600;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
}

.stylized-pill.is-ghost {
  background: var(--stylized-white);
  border: 1px solid var(--stylized-hairline);
}

.stylized-avatar {
  background: var(--stylized-bone);
  border-radius: 999px;
  color: var(--stylized-body);
  display: grid;
  flex: none;
  font-size: 12px;
  font-weight: 600;
  height: 32px;
  overflow: hidden;
  place-items: center;
  width: 32px;
}

.stylized-avatar img {
  display: block;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.stylized-photo {
  background: var(--stylized-bone);
  overflow: hidden;
  position: relative;
}

.stylized-stage .stylized-photo img {
  height: 100%;
  inset: 0;
  max-height: none;
  max-width: none;
  object-fit: cover;
  object-position: center center;
  position: absolute;
  width: 100%;
}

.stylized-photo__meta {
  background: linear-gradient(
    to top,
    rgb(17 17 19 / 0.78) 0%,
    rgb(17 17 19 / 0.18) 55%,
    transparent 100%
  );
  bottom: 0;
  color: var(--stylized-white);
  display: flex;
  flex-direction: column;
  gap: 4px;
  left: 0;
  padding: 28px 10px 10px;
  position: absolute;
  right: 0;
}

.stylized-photo__name {
  font-size: 12px;
  font-weight: 600;
}

.stylized-photo__meta .stylized-verified svg circle {
  fill: #ffffff;
}

.stylized-photo__meta .stylized-verified svg path {
  stroke: #111113;
}

/* Reviews carousel / "new review widget" */

.stylized-summary {
  align-items: flex-start;
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr auto;
  margin-bottom: 18px;
}

.stylized-summary h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.stylized-summary__rating {
  align-items: center;
  color: var(--stylized-body);
  display: flex;
  flex-wrap: wrap;
  font-size: 13px;
  gap: 8px;
}

.stylized-summary__score {
  color: var(--stylized-ink);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stylized-summary__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 148px;
}

.stylized-card-row {
  display: flex;
  gap: 12px;
  margin-right: -22px;
  overflow: hidden;
}

.stylized-review-card {
  background: var(--stylized-white);
  border: 1px solid var(--stylized-hairline);
  border-radius: var(--stylized-radius-tile);
  display: flex;
  flex: none;
  flex-direction: column;
  overflow: hidden;
  width: 168px;
}

.stylized-review-card .stylized-photo {
  aspect-ratio: 4 / 3;
}

.stylized-review-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 12px;
}

/* Media carousel */

.stylized-media-row {
  display: flex;
  gap: 10px;
  margin-right: -22px;
  overflow: hidden;
}

.stylized-media-tile {
  border-radius: 14px;
  flex: none;
  overflow: hidden;
  width: 168px;
}

.stylized-media-tile.is-tall {
  width: 148px;
}

.stylized-media-tile .stylized-photo {
  aspect-ratio: 3 / 4;
  height: 100%;
}

/* All reviews grid — masonry, 3 columns, mixed card height */

.stylized-masonry {
  align-items: flex-start;
  display: flex;
  gap: 10px;
  height: 343px;
  isolation: isolate;
  mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
}

.stylized-masonry__col {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  min-width: 0;
}

.stylized-grid-card {
  border: 1px solid var(--stylized-hairline);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.stylized-grid-card__head {
  align-items: center;
  display: flex;
  gap: 8px;
}

.stylized-grid-card .stylized-photo {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  max-height: 96px;
}

.stylized-grid-card .stylized-pill {
  align-self: flex-start;
  font-size: 11px;
  min-height: 24px;
  padding: 0 8px;
}

.stylized-quote {
  background: linear-gradient(165deg, var(--stylized-field) 0%, #f8e4b4 58%, #f3eee6 100%);
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: space-between;
  padding: 14px 12px 12px;
  width: 100%;
}

.stylized-quote .stylized-skeleton {
  background: rgb(17 17 19 / 0.14);
}

.stylized-quote__title {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  text-wrap: balance;
}

.stylized-quote__foot {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stylized-quote__name {
  font-size: 12px;
  font-weight: 500;
}

/* All reviews list */

.stylized-all {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stylized-all .stylized-toolbar {
  margin-bottom: 0;
}

.stylized-all__split {
  column-gap: 36px;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
}

.stylized-bars {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 10px;
}

.stylized-bars__track {
  background: var(--stylized-hairline);
  border-radius: 999px;
  height: 5px;
  overflow: hidden;
}

.stylized-bars__fill {
  background: var(--stylized-amber);
  border-radius: inherit;
  height: 100%;
}

.stylized-toolbar {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.stylized-chip {
  background: var(--stylized-canvas);
  border: 1px solid var(--stylized-hairline);
  border-radius: 999px;
  color: var(--stylized-body);
  font-size: 11px;
  font-weight: 500;
  padding: 6px 10px;
}

.stylized-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stylized-list-item {
  display: grid;
  gap: 12px;
  grid-template-columns: 72px minmax(0, 1fr);
}

.stylized-list-item .stylized-photo {
  aspect-ratio: 1;
  border-radius: 12px;
}

.stylized-list-item__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  padding-top: 2px;
}

.stylized-list-item__meta {
  align-items: center;
  display: flex;
  gap: 8px;
}

/* Compact reviews */

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

.stylized-compact-card {
  border: 1px solid var(--stylized-hairline);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px;
}

.stylized-compact-card__head {
  align-items: center;
  display: flex;
  gap: 8px;
}

.stylized-compact-card__name {
  font-size: 13px;
  font-weight: 600;
}

/* Mini carousel */

.stylized-mini {
  align-items: center;
  border: 1px solid var(--stylized-hairline);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  grid-template-columns: 64px minmax(0, 1fr);
  padding: 10px;
}

.stylized-mini .stylized-photo {
  aspect-ratio: 1;
  border-radius: 10px;
}

.stylized-mini__copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.stylized-mini__head {
  align-items: center;
  display: flex;
  gap: 8px;
}

/* Testimonials */

.stylized-testimonial {
  background: var(--stylized-canvas);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 22px 20px 18px;
}

.stylized-quote-mark {
  color: var(--stylized-amber);
  font-size: 42px;
  font-weight: 600;
  line-height: 0.8;
}

.stylized-testimonial__foot {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.stylized-testimonial__who {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stylized-testimonial__name {
  font-size: 13px;
  font-weight: 600;
}

/* Featured review */

.stylized-featured {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stylized-featured .stylized-photo {
  aspect-ratio: 16 / 10;
  border-radius: 16px;
}

.stylized-featured__copy {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}

.stylized-featured__copy .stylized-lines {
  max-width: 280px;
}

.stylized-featured__who {
  align-items: center;
  display: flex;
  gap: 8px;
}

/* Showcase banner */

.stylized-showcase {
  border-radius: 16px;
  min-height: 168px;
  overflow: hidden;
  position: relative;
}

.stylized-showcase .stylized-photo {
  height: 100%;
  inset: 0;
  position: absolute;
}

.stylized-showcase__panel {
  background: linear-gradient(
    90deg,
    rgb(255 255 255 / 0.96) 0%,
    rgb(255 255 255 / 0.86) 42%,
    rgb(255 255 255 / 0.2) 72%,
    transparent 100%
  );
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  min-height: 168px;
  padding: 22px 24px;
  position: relative;
  z-index: 1;
}

.stylized-showcase__heading {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

/* Star rating badge */

.stylized-pdp {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.stylized-pdp__label {
  color: var(--stylized-muted);
  font-size: 11px;
  font-weight: 500;
}

.stylized-pdp__name {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stylized-badge-row {
  align-items: center;
  display: flex;
  gap: 8px;
}

.stylized-badge-row__count {
  color: var(--stylized-body);
  font-size: 14px;
}

.stylized-pdp__price {
  font-size: 16px;
  font-weight: 600;
}

.stylized-pdp__swatches {
  display: flex;
  gap: 8px;
  margin-top: 4px;
}

.stylized-swatch {
  background: var(--stylized-bone);
  border: 1px solid var(--stylized-hairline);
  border-radius: 8px;
  height: 28px;
  width: 28px;
}

.stylized-swatch.is-on {
  box-shadow:
    0 0 0 2px var(--stylized-white),
    0 0 0 3px var(--stylized-ink);
}

.stylized-cart {
  background: var(--stylized-ink);
  border: 0;
  border-radius: 999px;
  color: var(--stylized-white);
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
  padding: 12px 16px;
  text-align: center;
  width: 100%;
}

/* Review notifications */

.stylized-notify {
  min-height: 240px;
  position: relative;
}

.stylized-notify__scene {
  background: var(--stylized-white);
  border: 1px solid var(--stylized-hairline);
  border-radius: 16px;
  height: 240px;
  overflow: hidden;
}

.stylized-notify__bar {
  align-items: center;
  border-bottom: 1px solid var(--stylized-hairline);
  color: var(--stylized-muted);
  display: flex;
  font-size: 11px;
  font-weight: 600;
  height: 36px;
  justify-content: space-between;
  padding: 0 14px;
}

.stylized-notify__pdp {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr);
  height: calc(100% - 36px);
}

.stylized-notify__pdp picture {
  display: block;
  height: 100%;
  min-height: 0;
}

.stylized-notify__pdp img {
  height: 100%;
  object-fit: cover;
  object-position: center 82%;
  width: 100%;
}

.stylized-notify__buy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 10px 14px 0;
}

.stylized-notify__product {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.03em;
}

.stylized-notify__price {
  font-size: 14px;
  font-weight: 600;
}

.stylized-notify__buy .stylized-cart {
  margin-top: 8px;
  padding: 8px 14px;
  width: fit-content;
}

.stylized-toast {
  background: var(--stylized-white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgb(17 17 19 / 0.16);
  display: grid;
  gap: 10px;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 10px;
  position: absolute;
  width: min(280px, 78%);
}

.stylized-toast.is-front {
  bottom: 18px;
  right: 10px;
  z-index: 2;
}

.stylized-toast.is-back {
  bottom: 78px;
  opacity: 0.86;
  right: 28px;
  transform: scale(0.96);
  z-index: 1;
}

.stylized-toast .stylized-photo {
  aspect-ratio: 1;
  border-radius: 10px;
}

.stylized-toast__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  padding-top: 2px;
}

.stylized-toast__name {
  font-size: 12px;
  font-weight: 600;
}

/* Heading */

.stylized-heading {
  text-align: center;
}

.stylized-heading h3 {
  font-size: 30px;
  font-weight: 600;
  letter-spacing: -0.03em;
  margin: 0 0 6px;
  text-wrap: balance;
}

.stylized-heading p {
  color: var(--stylized-muted);
  font-size: 13px;
  margin: 0 0 20px;
}

.stylized-heading__ghost {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  opacity: 0.38;
  pointer-events: none;
}

.stylized-heading__ghost .stylized-photo {
  aspect-ratio: 4 / 3;
  border-radius: 12px;
}

/* Product summary */

.stylized-ai {
  border: 1px solid var(--stylized-hairline);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 16px;
}

.stylized-ai h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
}

.stylized-ai__note {
  color: var(--stylized-muted);
  font-size: 12px;
}

@media (max-width: 640px) {
  .stylized-all__split {
    grid-template-columns: 1fr;
    row-gap: 18px;
  }

  .stylized-summary {
    grid-template-columns: 1fr;
  }

  .stylized-compact {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .stylized-stage * {
    animation: none !important;
    transition: none !important;
  }
}
