.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.breadcrumb {
  padding: 2rem 0 1rem;
  font-size: 0.75rem;
  color: var(--tx3);
}

.breadcrumb a:hover {
  color: var(--red);
}

/* Product hero */
.p-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3rem;
}

.p-gallery {
  background: var(--black3);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 360px;
}

.p-gallery-main {
  flex: 1;
  display: grid;
  place-items: center;
  min-height: 280px;
  padding: 0.75rem;
  background: #f4f3ef;
  border-radius: calc(var(--r) - 4px);
}

.p-gallery-main img {
  max-height: 340px;
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.18));
}

.p-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.45rem;
}

.p-gallery-thumb {
  appearance: none;
  border: 2px solid var(--brd);
  border-radius: 8px;
  background: #f4f3ef;
  padding: 0.45rem;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.p-gallery-thumb:hover,
.p-gallery-thumb.active {
  border-color: var(--red);
  box-shadow: 0 0 0 1px rgba(227, 30, 36, 0.25);
}

.p-gallery-thumb img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  display: block;
}

.p-info .eyebrow {
  font-family: var(--m);
  font-size: 0.62rem;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
}

.p-info h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0.5rem 0;
  line-height: 1.1;
  color: #fff;
}

.p-info .lead {
  color: var(--tx2);
  font-size: 0.95rem;
  margin: 0.75rem 0 1.25rem;
  max-width: 32rem;
}

.p-price {
  font-size: 2rem;
  font-weight: 900;
  color: var(--red);
}

.p-price .sub {
  font-size: 0.85rem;
  color: var(--tx3);
  font-weight: 600;
}

.p-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin: 1rem 0;
}

.badge {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.55rem;
  border-radius: 999px;
  background: var(--black2);
  border: 1px solid var(--brd);
  color: var(--tx2);
}

.badge.red {
  background: var(--red-s);
  color: #ff6b6b;
  border-color: rgba(227, 30, 36, 0.3);
}

.badge.warn {
  background: var(--warn-bg);
  color: var(--warn);
  border-color: rgba(251, 191, 36, 0.3);
}

.compat-banner {
  margin: 1rem 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
}

.compat-banner.ok {
  background: rgba(74, 222, 128, 0.08);
  border: 1px solid rgba(74, 222, 128, 0.25);
  color: var(--grn);
}

.compat-banner.no {
  background: var(--warn-bg);
  border: 1px solid rgba(251, 191, 36, 0.3);
  color: var(--warn);
}

.p-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1.35rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-d);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--brd2);
  color: #fff;
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.1);
}

/* Feature blocks */
.p-section {
  padding: 3.5rem 0;
  border-top: 1px solid var(--brd);
}

.p-section.alt {
  background: var(--black2);
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding-left: calc(50vw - 50%);
  padding-right: calc(50vw - 50%);
}

.s-tag {
  font-family: var(--m);
  font-size: 0.62rem;
  color: var(--red);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.s-title {
  font-size: clamp(1.35rem, 2.5vw, 2rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin: 0.35rem 0 1rem;
  color: #fff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.feature-card {
  background: var(--black3);
  border: 1px solid var(--brd);
  border-radius: var(--r);
  padding: 1.25rem;
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: #fff;
}

.feature-card p {
  font-size: 0.82rem;
  color: var(--tx2);
  line-height: 1.55;
}

.feature-card .icon {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.split img {
  border-radius: var(--r);
  border: 1px solid var(--brd);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.spec-col h4 {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  margin-bottom: 0.65rem;
}

.spec-col ul {
  list-style: none;
  font-size: 0.85rem;
  color: var(--tx2);
}

.spec-col li {
  padding: 0.3rem 0;
  padding-left: 1rem;
  position: relative;
}

.spec-col li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--red);
}

.box-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.box-item {
  background: var(--black3);
  border: 1px solid var(--brd);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--tx2);
}

.box-item span {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 0.25rem;
}

.faq-item {
  border: 1px solid var(--brd);
  border-radius: 10px;
  background: var(--black3);
  margin-bottom: 0.5rem;
}

.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  list-style: none;
  color: #fff;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 1.15rem 1rem;
  font-size: 0.85rem;
  color: var(--tx2);
  line-height: 1.6;
}

.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.rel-card {
  border: 1px solid var(--brd);
  border-radius: var(--r);
  overflow: hidden;
  background: var(--black3);
  transition: box-shadow 0.2s, transform 0.2s;
}

.rel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--s2);
  border-color: var(--brd2);
}

.rel-card .img {
  background: var(--black2);
  padding: 1.25rem;
  display: grid;
  place-items: center;
  min-height: 120px;
}

.rel-card .img img {
  max-height: 80px;
  object-fit: contain;
}

.rel-card .body {
  padding: 1rem;
}

.rel-card h3 {
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
}

.rel-card .price {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--red);
  margin-top: 0.35rem;
}

@media (max-width: 900px) {
  .p-hero,
  .split,
  .feature-grid,
  .spec-grid,
  .related {
    grid-template-columns: 1fr;
  }

  .p-gallery-thumbs {
    grid-template-columns: repeat(5, minmax(52px, 1fr));
  }

  .p-gallery-thumb img {
    height: 48px;
  }

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