/* ============================================================
   PRODUCT.CSS — Delade stilar för produktsidor
   Grusarmering.se
   ============================================================ */

/* ===== PRODUKT-HERO ===== */
.prod-hero {
  min-height: 80vh;
  padding-top: 72px;
  display: flex;
  align-items: flex-end;
  position: relative;
  overflow: hidden;
}

.prod-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.prod-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.prod-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(5,5,5,0.5) 0%,
    rgba(5,5,5,0.2) 30%,
    rgba(5,5,5,0.9) 100%);
}

.prod-hero-content {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px 80px;
  width: 100%;
}

.prod-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.prod-eyebrow::before {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, #4caf6e, transparent);
}

.prod-hero h1 {
  font-size: clamp(40px, 5vw, 72px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.35s forwards;
}

.prod-hero h1 .accent {
  font-family: 'Instrument Serif', serif;
  font-weight: 400;
  font-style: italic;
  color: #4caf6e;
}

.prod-hero-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.45);
  font-weight: 300;
  max-width: 520px;
  margin-bottom: 40px;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.5s forwards;
}

.prod-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.65s forwards;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 7px 14px;
  border-radius: 100px;
  backdrop-filter: blur(8px);
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4caf6e;
  flex-shrink: 0;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  font-weight: 400;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.breadcrumb a {
  color: rgba(255,255,255,0.2);
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: rgba(255,255,255,0.5);
}

.breadcrumb-sep {
  color: rgba(255,255,255,0.1);
  font-size: 10px;
}

/* ===== PRODUKT OVERVIEW ===== */
.prod-overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.prod-overview-text .subtitle {
  margin-top: 4px;
}

.prod-overview-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
}

.prod-overview-text p strong {
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}

.prod-overview-img {
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 30px 60px rgba(0,0,0,0.3);
  position: relative;
}

.prod-overview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prod-overview-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(76,175,110,0.08), transparent 50%);
}

/* ===== ANVÄNDNINGSOMRÅDEN ===== */
.uses-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.use-card {
  background: rgba(255,255,255,0.02);
  position: relative;
  overflow: hidden;
  transition: background 0.4s;
}

.use-card:hover {
  background: rgba(76,175,110,0.04);
}

.use-img {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}

.use-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.4s, transform 0.6s;
}

.use-card:hover .use-img img {
  opacity: 0.9;
  transform: scale(1.03);
}

.use-body {
  padding: 28px 28px 32px;
}

.use-num {
  font-family: 'Instrument Serif', serif;
  font-size: 32px;
  color: rgba(76,175,110,0.12);
  line-height: 1;
  margin-bottom: 12px;
  font-style: italic;
}

.use-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}

.use-card p {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  font-weight: 300;
}

/* ===== DETALJ NÄRBILD (CINEMATIC) ===== */
.detail-cinema {
  display: grid;
  grid-template-columns: 3fr 2fr;
  min-height: 600px;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.detail-img {
  overflow: hidden;
  position: relative;
}

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

.detail-text {
  background: #080808;
  padding: 72px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-left: 1px solid rgba(255,255,255,0.05);
}

.detail-text .section-label {
  margin-bottom: 20px;
}

.detail-text h2 {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.detail-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}

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

.detail-text p strong {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* ===== SPECS TABELL ===== */
.specs-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.specs-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.specs-table thead th {
  background: rgba(45,90,61,0.3);
  color: rgba(255,255,255,0.8);
  padding: 16px 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.specs-table tbody td {
  padding: 14px 20px;
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: rgba(255,255,255,0.01);
}

.specs-table tbody tr:last-child td {
  border-bottom: none;
}

.specs-table td:first-child {
  color: rgba(255,255,255,0.35);
  font-weight: 400;
  background: rgba(255,255,255,0.02);
  width: 45%;
}

.specs-table td:last-child {
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}

.specs-text p {
  font-size: 14px;
  color: rgba(255,255,255,0.4);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 16px;
}

.specs-text p strong {
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* ===== RELATERADE PRODUKTER ===== */
.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.rel-card {
  background: rgba(255,255,255,0.02);
  display: flex;
  flex-direction: column;
  transition: background 0.4s;
  overflow: hidden;
}

.rel-card:hover {
  background: rgba(76,175,110,0.03);
}

.rel-img {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.rel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.4s;
}

.rel-card:hover .rel-img img {
  opacity: 0.9;
}

.rel-body {
  padding: 28px 32px 32px;
}

.rel-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
}

.rel-name {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.rel-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 20px;
}

.rel-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.35);
  transition: color 0.2s;
}

.rel-link:hover {
  color: #4caf6e;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .prod-hero-content {
    padding: 0 24px 60px;
  }

  .prod-overview-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

  .detail-cinema {
    grid-template-columns: 1fr;
  }

  .detail-img {
    min-height: 380px;
  }

  .detail-text {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.05);
  }

  .specs-wrap {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 640px) {
  .prod-hero {
    min-height: 70vh;
  }

  .prod-hero-content {
    padding: 0 20px 48px;
  }

  .detail-text {
    padding: 40px 28px;
  }

  .prod-chips {
    gap: 8px;
  }

  .specs-table td,
  .specs-table th {
    display: block;
    width: 100%;
  }

  .specs-table td:first-child {
    padding-bottom: 2px;
    border-bottom: none;
  }
}
