/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: calc(100vh - 76px);
  height: calc(100dvh - 76px);
  height: var(--kai-hero-viewport-height, calc(100dvh - 76px));
  min-height: 0;
  overflow: hidden;
  background: var(--dark);
  color: var(--on-dark);
}

.hero__slides,
.hero__slide {
  position: absolute;
  inset: 0;
}

.hero__slide {
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 680ms ease, visibility 680ms ease;
  visibility: hidden;
}

.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
  z-index: 1;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 1;
  filter: none;
  transform: scale(1.05);
  transition: transform 1200ms var(--ease), opacity 680ms ease;
}

.hero__bg--main {
  background-image: var(--kai-hero-bg-desktop, url("../images/hero.jpg"));
}

.hero__bg--project {
  background-image: var(--kai-hero-bg-desktop, url("../images/action-figures.png"));
  background-position: center;
}

.hero__slide.is-active .hero__bg {
  transform: scale(1.02);
}

.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 15, 18, 0.36) 0%, rgba(14, 15, 18, 0.16) 38%, rgba(14, 15, 18, 0) 72%),
    linear-gradient(180deg, rgba(14, 15, 18, 0.14) 0%, rgba(14, 15, 18, 0) 48%, rgba(14, 15, 18, 0.24) 100%);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(720px, calc(100% - 48px));
  margin-left: clamp(24px, 7vw, 96px);
  margin-right: auto;
  padding: 128px 0 90px;
}

.hero .eyebrow {
  color: var(--copper-bright);
}

.hero .eyebrow--product {
  align-items: center;
}

.eyebrow__gift {
  display: block;
  flex: 0 0 auto;
  width: 1em;
  height: 1em;
  border-radius: 2px;
  object-fit: cover;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.9rem, 8.2vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

.hero__lead {
  max-width: 56ch;
  margin: 26px 0 0;
  color: #dcd8d1;
  font-size: clamp(1.05rem, 1.6vw, 1.32rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

.hero__meta {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  margin-top: 52px;
  padding-top: 26px;
  border-top: 1px solid var(--on-dark-line);
  color: var(--on-dark-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero__meta span {
  min-width: 0;
  white-space: nowrap;
}

.hero__specs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 820px;
  margin: 32px 0 0;
}

.hero__specs div {
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-sm);
  background: rgba(255, 255, 255, 0.045);
  padding: 14px 16px;
}

.hero__specs dt {
  color: var(--copper-bright);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero__specs dd {
  margin: 5px 0 0;
  font-family: var(--font-display);
  font-size: 1.12rem;
  font-weight: 700;
}

.hero__inner--product {
  width: min(840px, calc(100% - 48px));
  padding-bottom: 96px;
}

.hero__bg--product {
  background-position: center;
}

.hero-product-cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  max-width: 760px;
  margin-top: 28px;
}

.hero-product-card {
  min-width: 0;
  min-height: 150px;
  border: 0;
  border-radius: 0;
  background: transparent;
  padding: 14px 14px 15px;
  backdrop-filter: none;
}

.hero-product-card__media {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 11px;
}

.hero-product-card__media img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.hero-product-card h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.25;
  font-weight: 800;
  overflow-wrap: anywhere;
  text-align: center;
}

.hero-product-card p {
  margin: 7px 0 0;
  color: #cfc8bd;
  font-size: 0.82rem;
  line-height: 1.45;
  overflow-wrap: anywhere;
  text-align: center;
}

.hero-product-ideal {
  max-width: 820px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--on-dark-line);
}

.hero-product-ideal__label {
  display: block;
  margin: 0 0 16px;
  padding: 0;
  background: transparent;
  color: var(--copper-bright);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-product-ideal__items {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 12px 30px;
  padding-top: 0;
  border-top: 0;
  color: var(--on-dark-muted);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-product-ideal__items span {
  flex: 0 0 auto;
  white-space: nowrap;
}

.hero-product-ideal__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 15px;
  border: 1px solid var(--on-dark-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  letter-spacing: 0;
  text-transform: none;
}

.hero__controls {
  position: absolute;
  left: 50%;
  bottom: 28px;
  z-index: 4;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.hero__controls button {
  width: 42px;
  height: 4px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  padding: 0;
  transition: background 220ms ease, width 220ms var(--ease);
}

.hero__controls button.is-active {
  width: 58px;
  background: var(--copper-bright);
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px 38px;
}

/* Editorial, not boxed: a hairline + a big copper number. */
.steps article {
  padding: 24px 0 0;
  border-top: 2px solid var(--line-strong);
  transition: border-color 300ms ease;
}

.steps article:hover {
  border-color: var(--copper);
}

.steps strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--copper);
  letter-spacing: -0.02em;
}

.steps h3 {
  margin: 16px 0 8px;
  font-size: 1.18rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
}

/* ---------- Get inspired by (editorial, image-led) ---------- */
.inspire-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.inspire-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  transition: border-color 240ms ease, box-shadow 320ms ease, transform 320ms var(--ease);
}

.inspire-card:hover {
  border-color: rgba(192, 116, 63, 0.32);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.inspire-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  touch-action: pan-y;
  overscroll-behavior: contain;
  user-select: none;
  /* Gradient = fallback shown while the photo loads or if the file is missing. */
  background-image: radial-gradient(120% 100% at 22% 0%, rgba(214, 141, 85, 0.28), transparent 58%),
    linear-gradient(155deg, #1c1e24, #0e0f12);
  background-size: cover;
  background-position: center;
}

.inspire-card__media img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms var(--ease), opacity 280ms ease;
  will-change: transform, opacity;
  -webkit-user-drag: none;
}

.inspire-card__media.is-swiping img {
  transition: none;
}

.inspire-card__media.is-animating img {
  transition: transform 340ms cubic-bezier(0.22, 0.61, 0.36, 1), opacity 280ms ease;
}

.inspire-media__ghost {
  opacity: 0;
  pointer-events: none;
}

.inspire-card:hover .inspire-card__media img {
  transform: scale(1.05);
}

.inspire-card:nth-child(2) .inspire-card__media {
  background-image: radial-gradient(120% 100% at 80% 10%, rgba(214, 141, 85, 0.24), transparent 60%),
    linear-gradient(155deg, #1a1c22, #0e0f12);
}

.inspire-card:nth-child(3) .inspire-card__media {
  background-image: radial-gradient(130% 110% at 50% 100%, rgba(192, 116, 63, 0.26), transparent 62%),
    linear-gradient(155deg, #1c1e24, #101116);
}

.inspire-card:nth-child(5) .inspire-card__media {
  background-image: radial-gradient(120% 100% at 10% 90%, rgba(214, 141, 85, 0.22), transparent 60%),
    linear-gradient(150deg, #1b1d23, #0e0f12);
}

.inspire-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 38%, rgba(14, 15, 18, 0.62));
  pointer-events: none;
}

.inspire-card__label {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 15px;
  z-index: 2;
  margin: 0;
  color: var(--on-dark);
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.inspire-card__body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  padding: 20px 22px 22px;
}

.inspire-card__body p {
  margin: 0;
  flex: 1;
  color: var(--muted);
}

.inspire-card__meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
}

.inspire-card__meta span {
  display: grid;
  gap: 3px;
  min-width: 0;
  border-left: 2px solid var(--copper);
  padding-left: 10px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
}

.inspire-card__meta small {
  color: var(--muted);
  font-family: var(--font);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.inspire-card__action {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  color: var(--copper-dark);
  font-size: 0.9rem;
  font-weight: 800;
  text-decoration: none;
  transition: color 180ms ease, transform 200ms var(--ease);
}

.inspire-card__action::after {
  content: "\2192";
  font-size: 1.05rem;
}

.inspire-card__action:hover {
  color: var(--copper);
  transform: translateX(3px);
}

/* CTA tile (no media) */
.inspire-card--cta {
  justify-content: center;
  gap: 14px;
  padding: 34px 30px;
  border-color: var(--copper);
  background-color: var(--dark);
  background-image: url("../images/texture.webp");
  background-position: center;
  background-size: cover;
  color: var(--on-dark);
}

.inspire-card--cta h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.inspire-card--cta p {
  margin: 0;
  color: var(--on-dark-muted);
}

.inspire-card__link {
  color: var(--copper-bright);
  font-weight: 600;
  transition: transform 200ms var(--ease);
}

.inspire-card--cta:hover .inspire-card__link {
  transform: translateX(4px);
}

/* ---------- Communities ---------- */
.communities {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 48px;
  align-items: center;
}

.communities__intro h2 {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.communities__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.communities__list li {
  transition: transform 220ms var(--ease);
}

.communities__list a {
  display: block;
  border: 1px solid var(--on-dark-line);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, 0.03);
  color: var(--on-dark);
  padding: 18px 22px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.communities__list li:hover {
  transform: translateX(5px);
}

.communities__list a:hover {
  border-color: var(--copper);
  background: rgba(192, 116, 63, 0.12);
  color: var(--copper-bright);
}

/* ---------- About ---------- */
.about {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: start;
}

.about__head h2 {
  margin: 0;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
}

.about__text p {
  margin: 0 0 18px;
  font-size: 1.18rem;
  color: var(--ink-soft);
}

.about__text p:last-child {
  margin-bottom: 0;
}

/* ---------- Reviews carousel ---------- */
.reviews-carousel {
  position: relative;
  margin-top: 20px;
  width: 100%;
  min-width: 0;
}

.reviews-clip {
  overflow: hidden;
  width: 100%;
  min-width: 0;
  /* Container query: cards size themselves relative to the clip, not the track */
  container-type: inline-size;
}

.reviews-track {
  display: flex;
  gap: 20px;
  align-items: stretch;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

/* Card width is set via CSS — JS reads it for step calculation */
.review-card {
  flex: 0 0 100cqi; /* mobile: 1 card = full clip width */
  width: 100cqi;
  background: var(--bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--copper);
  border-radius: var(--r-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 1px 8px rgba(22, 23, 26, 0.05);
  word-break: break-word;
  overflow-wrap: break-word;
}

@container (min-width: 560px) {
  .review-card {
    flex: 0 0 calc(50cqi - 10px);
    width: calc(50cqi - 10px);
  }
}

@container (min-width: 900px) {
  .review-card {
    flex: 0 0 calc(33.333cqi - 13.334px);
    width: calc(33.333cqi - 13.334px);
  }
}

.review-card__header {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--line);
}

.review-card__avatar--initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--copper);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  border: none;
}

.review-card__name {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}

.review-card__stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 0.95rem;
  line-height: 1;
}

.star--filled { color: var(--copper); }
.star--empty  { color: var(--line-strong); }

.review-card__text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0;
  flex: 1;
}

/* Project photo thumbnail */
.review-card__photo-btn {
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  cursor: pointer;
  padding: 0;
  background: none;
  align-self: flex-start;
  transition: opacity 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.review-card__photo-btn:hover {
  opacity: 0.85;
  transform: scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.14);
}

.review-card__photo-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Lightbox */
.review-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.review-lightbox[hidden] { display: none; }

.review-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 18, 0.88);
  cursor: pointer;
}

/* Frame wraps image + close button so × sits inside the image corner */
.review-lightbox__frame {
  position: relative;
  z-index: 1;
  display: inline-flex;
  max-width: min(90vw, 960px);
  border-radius: var(--r-lg);
  line-height: 0;
}

.review-lightbox__img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: var(--r-lg);
  display: block;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.review-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 15, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.review-lightbox__close:hover { background: rgba(14, 15, 18, 0.85); }

@media (max-width: 560px) {
  .review-lightbox__img {
    max-width: 96vw;
    border-radius: 10px;
  }
  .review-lightbox__frame {
    border-radius: 10px;
  }
}

/* ---------- Final CTA ---------- */
.final-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  text-align: center;
}

.final-cta h2 {
  margin: 0;
  font-size: clamp(2.3rem, 5.5vw, 4.4rem);
  line-height: 1.02;
}

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero__inner {
    width: min(var(--max), calc(100% - 48px));
    margin: 0 auto;
  }

  .hero__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 560px;
  }

  .communities,
  .about {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .communities__list li {
    display: flex;
    justify-content: center;
  }

  .communities__list a {
    display: block;
    width: min(280px, 100%);
    text-align: center;
  }

  .inspire-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .review-lightbox__img {
    max-width: 96vw;
    border-radius: 10px;
  }

  .hero {
    height: var(--kai-hero-viewport-height, calc(100svh - 76px));
    min-height: 0;
  }

  .hero__inner {
    width: min(var(--max), calc(100% - 32px));
    margin: 0 auto;
    min-height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    padding: 44px 0 92px;
  }

  .hero__slide {
    align-items: stretch;
  }

  .hero__bottom {
    margin-top: auto;
    padding-top: 28px;
  }

  .hero h1 {
    font-size: 2.9rem;
    line-height: 1;
  }

  .hero__lead {
    margin-top: 20px;
    font-size: 1.05rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 24px;
  }

  .hero__actions .btn {
    width: 100%;
    min-width: 0;
    padding-right: 12px;
    padding-left: 12px;
    text-align: center;
  }

  .hero__meta {
    margin-top: 22px;
    padding-top: 18px;
    gap: 8px;
    font-size: 0.66rem;
    letter-spacing: 0.1em;
  }

  .hero__specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
  }

  .hero__specs div {
    padding: 11px 12px;
  }

  .hero__specs dd {
    font-size: 0.98rem;
  }

  .hero__inner--product {
    padding: 44px 0 92px;
  }

  .hero__inner--product .hero__bottom {
    padding-top: 14px;
  }

  .hero__inner--product .hero__actions {
    margin-top: 16px;
  }

  .hero-product-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
  }

  .hero-product-card {
    min-height: 82px;
    padding: 5px 10px 6px;
    border: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .hero-product-card__media {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
  }

  .hero-product-card h2 {
    font-size: 0.78rem;
  }

  .hero-product-card p {
    margin-top: 5px;
    font-size: 0.74rem;
    line-height: 1.35;
  }

  .hero-product-ideal {
    margin-top: 10px;
    padding-top: 8px;
  }

  .hero-product-ideal__label {
    margin-bottom: 6px;
    padding: 0;
    background: transparent;
    font-size: 0.68rem;
  }

  .hero-product-ideal__items {
    justify-content: space-between;
    gap: 6px;
    padding-top: 0;
    font-size: 0.58rem;
    letter-spacing: 0.06em;
  }

  .hero-product-ideal__more {
    min-height: 30px;
    padding: 0 12px;
  }

  .hero__controls {
    bottom: 22px;
  }

  .hero__bg--main {
    background-image: var(--kai-hero-bg-mobile, var(--kai-hero-bg-desktop, url("../images/hero.jpg")));
  }

  .hero__bg--project {
    background-image: var(--kai-hero-bg-mobile, var(--kai-hero-bg-desktop, url("../images/action-figures.png")));
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .inspire-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 390px) {
  .hero__inner,
  .hero__inner--product {
    width: calc(100% - 28px);
    padding: 18px 0 60px;
  }

  .hero__bottom,
  .hero__inner--product .hero__bottom {
    padding-top: 10px;
  }

  .hero .eyebrow {
    gap: 7px;
    margin-bottom: 8px;
    font-size: 0.64rem;
    letter-spacing: 0.13em;
  }

  .hero .eyebrow::before {
    width: 18px;
  }

  .hero h1 {
    font-size: 2.2rem;
    line-height: 0.98;
  }

  .hero__lead {
    margin-top: 12px;
    font-size: 0.8rem;
    line-height: 1.35;
  }

  .hero__actions,
  .hero__inner--product .hero__actions {
    gap: 8px;
    margin-top: 10px;
  }

  .hero__actions .btn {
    min-height: 38px;
    padding: 7px 5px;
    font-size: 0.72rem;
    line-height: 1.18;
  }

  .hero__meta {
    gap: 4px;
    margin-top: 14px;
    padding-top: 10px;
    font-size: 0.54rem;
    letter-spacing: 0.06em;
  }

  .hero__specs {
    gap: 6px;
    margin-top: 9px;
  }

  .hero__specs div {
    padding: 6px 8px;
  }

  .hero__specs dt {
    font-size: 0.58rem;
    letter-spacing: 0.1em;
  }

  .hero__specs dd {
    margin-top: 3px;
    font-size: 0.74rem;
    line-height: 1.22;
  }

  .hero-product-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px 6px;
    margin-top: 6px;
  }

  .hero-product-card {
    min-height: 68px;
    padding: 2px 6px 3px;
  }

  .hero-product-card__media {
    width: 24px;
    height: 24px;
    margin-bottom: 2px;
  }

  .hero-product-card h2 {
    font-size: 0.62rem;
  }

  .hero-product-card p {
    margin-top: 2px;
    font-size: 0.58rem;
    line-height: 1.18;
  }

  .hero-product-ideal {
    margin-top: 7px;
    padding-top: 5px;
  }

  .hero-product-ideal__label {
    margin-bottom: 4px;
    font-size: 0.6rem;
  }

  .hero-product-ideal__items {
    justify-content: space-between;
    gap: 3px;
    padding-top: 0;
    font-size: 0.48rem;
    letter-spacing: 0.03em;
  }

  .hero-product-ideal__more {
    min-height: 24px;
    padding: 0 9px;
  }

  .hero__controls {
    bottom: 14px;
  }
}

/* ---------- Galeria dos cards de inspiração ---------- */
.inspire-media__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(14, 15, 18, 0.55);
  color: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 160ms ease;
}

.inspire-media__arrow[hidden] { display: none; }
.inspire-media__arrow--prev { left: 10px; }
.inspire-media__arrow--next { right: 10px; }
.inspire-media__arrow:hover { background: rgba(192, 116, 63, 0.85); }

.inspire-media__open {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: zoom-in;
}

.inspire-media__expand {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(14, 15, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1rem;
  opacity: 0;
  transition: opacity 200ms ease, background 160ms ease;
  backdrop-filter: blur(4px);
}

.inspire-card:hover .inspire-media__expand,
.inspire-media__open:focus-visible .inspire-media__expand { opacity: 1; }
.inspire-media__open:hover .inspire-media__expand { background: rgba(192, 116, 63, 0.85); }

/* Desktop: sem setas no card (lightbox); telemóvel: sem overlay de abrir (setas + swipe) */
@media (hover: hover) and (pointer: fine) {
  .inspire-media__arrow { display: none; }
}

@media (hover: none), (pointer: coarse) {
  .inspire-media__open { display: none; }
}

/* Lightbox da galeria de inspirações */
.inspire-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.inspire-lightbox[hidden] { display: none; }

.inspire-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(14, 15, 18, 0.9);
  cursor: pointer;
}

.inspire-lightbox__panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(92vw, 1000px);
}

.inspire-lightbox__stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.inspire-lightbox__img {
  max-width: min(88vw, 920px);
  max-height: 66vh;
  object-fit: contain;
  border-radius: var(--r-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
  display: block;
  will-change: transform, opacity;
}

.inspire-lightbox__close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(14, 15, 18, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 160ms ease;
  backdrop-filter: blur(4px);
}

.inspire-lightbox__close:hover { background: rgba(14, 15, 18, 0.85); }

.inspire-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(14, 15, 18, 0.55);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  transition: background 160ms ease;
}

.inspire-lightbox__arrow[hidden] { display: none; }
.inspire-lightbox__arrow--prev { left: 12px; }
.inspire-lightbox__arrow--next { right: 12px; }
.inspire-lightbox__arrow:hover { background: rgba(192, 116, 63, 0.85); }

.inspire-lightbox__title {
  margin: 0;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.inspire-lightbox__thumbs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 92vw;
}

.inspire-lightbox__thumbs[hidden] { display: none; }

.inspire-lightbox__thumbs button {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid transparent;
  padding: 0;
  background: none;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 160ms ease, border-color 160ms ease;
}

.inspire-lightbox__thumbs button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.inspire-lightbox__thumbs button:hover { opacity: 1; }

.inspire-lightbox__thumbs button.is-active {
  border-color: #c0743f;
  opacity: 1;
}

@media (max-width: 560px) {
  .inspire-lightbox { padding: 14px; }
  .inspire-lightbox__img { max-width: 94vw; border-radius: 10px; }
  .inspire-lightbox__thumbs button { width: 52px; height: 52px; }
}

/* ---------- Botão Traduzir nas avaliações ---------- */
.review-card__translate {
  align-self: flex-start;
  margin-top: -4px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #c0743f;
  text-decoration: none;
  transition: color 160ms ease;
}

.review-card__translate:hover,
.review-card__translate:focus-visible {
  color: #d68d55;
  text-decoration: underline;
}
