/* Product detail — ecommerce PDP layout */

.product-detail-page {
  background: #f4f6f9;
}

.product-pdp-band {
  padding: 16px 0;
  background: #fff;
  border-bottom: 1px solid rgba(10, 30, 70, 0.08);
}

.product-pdp-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-soft);
}

.product-pdp-breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

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

.product-pdp-breadcrumb [aria-current="page"] {
  color: var(--text-soft);
}

.product-pdp-main {
  padding: clamp(28px, 4vw, 44px) 0 clamp(36px, 5vw, 56px);
}

.product-pdp-shell {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid rgba(10, 30, 70, 0.1);
  border-radius: 18px;
  background: #fff;
  box-shadow:
    0 24px 48px rgba(10, 30, 70, 0.06),
    0 2px 8px rgba(10, 30, 70, 0.04);
}

.product-pdp-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.product-pdp-gallery {
  display: grid;
  gap: 14px;
}

.product-pdp-media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(10, 30, 70, 0.08);
  border-radius: 16px;
  background:
    radial-gradient(120% 80% at 50% 100%, rgba(10, 30, 70, 0.05) 0%, transparent 55%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

.product-pdp-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(225, 31, 45, 0.06) 0%, transparent 58%);
  pointer-events: none;
}

.product-pdp-media img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  padding: clamp(28px, 5vw, 48px);
  object-fit: contain;
}

.product-pdp-media-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(10, 30, 70, 0.82);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-pdp-video-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(10, 30, 70, 0.1);
  border-radius: 14px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.product-pdp-video-link:hover {
  border-color: rgba(225, 31, 45, 0.28);
  box-shadow: 0 10px 24px rgba(10, 30, 70, 0.08);
}

.product-pdp-video-link strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  color: var(--navy);
}

.product-pdp-video-link span {
  display: block;
  font-size: 13px;
  color: var(--text-soft);
}

.product-pdp-video-link em {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--red);
}

.product-pdp-video-link em::before {
  content: "";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(225, 31, 45, 0.12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e11f2d'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 58% center;
  background-size: 12px 12px;
}

.product-pdp-panel {
  position: sticky;
  top: 96px;
}

.product-pdp-category {
  display: inline-flex;
  align-items: center;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  text-decoration: none;
}

.product-pdp-category:hover {
  color: var(--navy);
}

.product-pdp-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 3.6vw, 46px);
  line-height: 1.04;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: var(--navy);
}

.product-pdp-lead {
  margin: 0 0 20px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-soft);
}

.product-pdp-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.product-pdp-highlights li {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(10, 30, 70, 0.1);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
}

.product-pdp-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.product-pdp-spec {
  padding: 16px;
  border: 1px solid rgba(10, 30, 70, 0.08);
  border-radius: 14px;
  background: #fafbfc;
}

.product-pdp-spec-label {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(10, 30, 70, 0.48);
}

.product-pdp-spec-value {
  display: block;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.product-pdp-buybox {
  padding: 20px;
  border: 1px solid rgba(10, 30, 70, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.product-pdp-availability {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(10, 30, 70, 0.08);
}

.product-pdp-availability-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(217, 164, 32, 0.14);
  color: #9a7209;
  font-size: 18px;
  font-weight: 900;
}

.product-pdp-availability strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  color: var(--navy);
}

.product-pdp-availability p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-soft);
}

.product-pdp-actions {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.product-pdp-actions .btn-full {
  width: 100%;
  justify-content: center;
  min-height: 50px;
  font-size: 15px;
}

.product-pdp-trust {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-pdp-trust li {
  position: relative;
  padding-left: 18px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-soft);
}

.product-pdp-trust li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--red);
  font-weight: 900;
}

.product-pdp-details {
  padding: 0 0 clamp(40px, 5vw, 64px);
}

.product-pdp-details-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.product-pdp-detail-card {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(10, 30, 70, 0.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(10, 30, 70, 0.05);
}

.product-pdp-detail-card h2 {
  margin: 0 0 8px;
  font-size: clamp(22px, 2.4vw, 28px);
  letter-spacing: -0.03em;
  color: var(--navy);
}

.product-pdp-detail-card .product-pdp-detail-lead {
  margin: 0 0 18px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-soft);
}

.product-pdp-detail-card p {
  margin: 0;
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-soft);
}

.product-pdp-video-embed {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  margin-top: 4px;
  border-radius: 12px;
  border: 1px solid rgba(10, 30, 70, 0.1);
  background: #0a1228;
}

.product-pdp-video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.product-pdp-related {
  padding: 0 0 clamp(40px, 5vw, 64px);
}

.product-pdp-related-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.product-pdp-related-kicker {
  margin: 0 0 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

.product-pdp-related-head h2 {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 32px);
  letter-spacing: -0.03em;
  color: var(--navy);
}

.product-pdp-related-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid rgba(10, 30, 70, 0.22);
}

.product-pdp-related-link:hover {
  color: var(--red);
  border-bottom-color: rgba(225, 31, 45, 0.35);
}

.product-pdp-related-grid {
  margin-top: 0;
}

.product-spark-lab-band {
  padding: clamp(40px, 5vw, 56px) 0;
  border-top: 1px solid rgba(10, 30, 70, 0.08);
  background: #fff;
}

.product-spark-lab-shell {
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid rgba(10, 30, 70, 0.1);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.product-spark-lab-head h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 2.8vw, 32px);
  color: var(--navy);
}

.product-spark-lab-head p {
  margin: 0 0 20px;
  max-width: 62ch;
  color: var(--text-soft);
  line-height: 1.65;
}

.product-spark-lab-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.product-spark-lab-tag {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(10, 30, 70, 0.12);
  background: #fff;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

/* Bottom CTA — matches locations page .locations-cta card */
.product-detail-cta-band {
  padding: 0 0 clamp(48px, 6vw, 72px);
  background: transparent;
}

.product-detail-cta-band > .container {
  background: transparent;
}

.product-detail-bottom-cta {
  padding: 0;
  background: transparent;
  border: none;
}

.product-detail-cta-band .locations-cta {
  margin-top: 0;
}

.product-detail-cta-band .locations-cta__inner {
  position: relative;
  margin: 0 auto;
  max-width: 980px;
  width: 100%;
  padding: 40px clamp(24px, 4vw, 36px) 34px;
  border-radius: 12px;
  border: 1px solid rgba(217, 164, 32, 0.62);
  background:
    radial-gradient(ellipse 110% 70% at 50% -18%, rgba(217, 164, 32, 0.1) 0%, transparent 52%),
    linear-gradient(180deg, var(--navy-2) 0%, var(--navy) 100%);
  box-shadow:
    0 4px 0 rgba(10, 30, 70, 0.18),
    0 18px 44px rgba(10, 30, 70, 0.14);
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  overflow: hidden;
}

.product-detail-cta-band .locations-cta__title {
  margin: 0 auto 10px;
  max-width: 22ch;
  font-size: clamp(28px, 2.2vw, 42px);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.96);
}

.product-detail-cta-band .locations-cta__accent {
  color: rgba(255, 255, 255, 0.96);
}

.product-detail-cta-band .locations-cta__lead {
  margin: 0 auto 18px;
  max-width: 62ch;
  font-size: 18px;
  line-height: 1.75;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.product-detail-cta-band .locations-cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}

.product-detail-cta-band .locations-cta__actions .btn-primary {
  min-height: 52px;
  padding: 0 28px;
  font-weight: 900;
  box-shadow:
    0 14px 40px rgba(225, 31, 45, 0.32),
    0 8px 24px rgba(10, 30, 70, 0.22);
}

.product-detail-cta-band .locations-cta__actions .btn-primary:hover {
  box-shadow:
    0 18px 50px rgba(225, 31, 45, 0.38),
    0 10px 28px rgba(10, 30, 70, 0.26);
}

@media (max-width: 960px) {
  .product-pdp-grid,
  .product-pdp-details-grid {
    grid-template-columns: 1fr;
  }

  .product-pdp-panel {
    position: static;
  }
}

@media (max-width: 560px) {
  .product-pdp-spec-grid {
    grid-template-columns: 1fr;
  }

  .product-pdp-shell {
    padding: 16px;
    border-radius: 14px;
  }

  .product-detail-cta-band .locations-cta__inner {
    padding: 32px 20px 28px;
  }

  .product-detail-cta-band .locations-cta__title {
    font-size: clamp(24px, 6vw, 32px);
  }

  .product-detail-cta-band .locations-cta__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-detail-cta-band .locations-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Product category archive — /product_category/{slug}/ */
body.product-category-detail-page {
  background: #f4f6f9;
}

.product-category-archive-hero {
  padding: clamp(28px, 3.5vw, 48px) 0 clamp(24px, 3vw, 40px);
  background: #fff;
  border-bottom: 1px solid rgba(10, 30, 70, 0.08);
}

.product-category-archive-hero-inner {
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.product-category-archive-hero-grid {
  display: grid;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}

@media (min-width: 900px) {
  .product-category-archive-hero-grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.92fr);
  }
}

.product-category-archive-copy h1 {
  margin: 0 0 16px;
  max-width: 16ch;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--navy);
}

.product-category-archive-lead {
  max-width: 58ch;
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-soft);
}

.product-category-archive-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.product-category-archive-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
}

.product-category-archive-visual img {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  max-height: min(420px, 52vh);
  margin: 0 auto;
  object-fit: contain;
  border-radius: 0;
}

.product-category-archive-grid {
  padding: clamp(36px, 4.5vw, 56px) 0 clamp(28px, 3.5vw, 44px);
  background: #f4f6f9;
}

.product-category-archive-grid .product-pdp-related-head p {
  max-width: 62ch;
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-soft);
}

.product-category-grid-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 24px 16px;
  color: var(--text-soft);
}

@media (max-width: 899px) {
  .product-category-archive-copy h1 {
    max-width: none;
  }

  .product-category-archive-visual {
    order: -1;
  }
}
