/* =========================================================
   ÜRÜN GRUBU DETAY SAYFALARI — YENİ MODÜLER DOSYA
   Mevcut ürün kartı ve ürün grup selector'ları korunur.
   ========================================================= */

.ero-product-detail {
  background: #f7efe7;
  color: #2f1a17;
  padding-top: 20px;
}

.ero-product-detail__breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  padding-block: 14px 30px;
  color: #755d50;
  font-size: 13px;
  font-weight: 800;
}

.ero-product-detail__breadcrumb a:hover,
.ero-product-detail__breadcrumb a:focus-visible {
  color: #c5162e;
  text-decoration: underline;
}

.ero-product-detail__breadcrumb span[aria-current="page"] { color: #2f1a17; }

.ero-product-detail__hero { margin-bottom: clamp(60px, 8vw, 108px); }

/* Ürünler sayfasındaki çift sıra selector'ı detayı ters çevirmemeli. */
.ero-product-detail__hero.ero-product-group .ero-product-group__content { order: 1; }
.ero-product-detail__hero.ero-product-group .ero-product-group__visual { order: 2; }

.ero-product-detail__title {
  margin: 0 0 23px;
  color: #2f1a17;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-weight: 400;
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: .98;
  letter-spacing: -.055em;
}

.ero-product-detail__information {
  padding: clamp(65px, 9vw, 120px) 0;
  background: #fffaf4;
}

.ero-product-detail__information-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .65fr);
  align-items: start;
  gap: clamp(45px, 6vw, 100px);
}

.ero-product-detail__information-main {
  display: grid;
  gap: clamp(40px, 5vw, 65px);
}

.ero-product-detail__section h2,
.ero-product-detail__uses h2,
.ero-product-detail__related h2 {
  margin: 0 0 26px;
  color: #2f1a17;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: clamp(29px, 3.2vw, 44px);
  font-weight: 400;
  line-height: 1.16;
  letter-spacing: -.035em;
}

.ero-product-detail__section p {
  max-width: 760px;
  margin: 0 0 18px;
  color: #655149;
  font-size: 16px;
  line-height: 1.8;
}

.ero-product-detail__section p:last-child { margin-bottom: 0; }

.ero-product-detail__sidebar {
  padding: clamp(28px, 3.8vw, 48px);
  background: #fff0e7;
  border: 2px solid rgba(197,22,46,.18);
  border-radius: 36px 27px 35px 29px / 28px 37px 27px 36px;
}

.ero-product-detail__sidebar-eyebrow,
.ero-product-detail__eyebrow {
  margin: 0 0 13px;
  color: #b63a1f;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .14em;
}

.ero-product-detail__sidebar h2 {
  margin: 0 0 20px;
  color: #2f1a17;
  font-family: "Archivo Black", "Arial Black", sans-serif;
  font-size: clamp(24px, 2.3vw, 32px);
  font-weight: 400;
  line-height: 1.2;
}

.ero-product-detail__sidebar > p:not(.ero-product-detail__sidebar-eyebrow) {
  margin: 0;
  color: #655149;
  font-size: 15px;
  line-height: 1.75;
}

.ero-product-detail__sidebar a,
.ero-product-detail__related-heading > a {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 25px;
  color: #b82627;
  font-size: 14px;
  font-weight: 900;
}

.ero-product-detail__uses { padding: clamp(65px, 8vw, 105px) 0; }

.ero-product-detail__uses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 35px;
}

.ero-product-detail__use-card {
  min-width: 0;
  padding: clamp(27px, 3vw, 40px);
  background: #fffaf4;
  border: 1px solid rgba(197,22,46,.12);
  border-radius: 29px 34px 27px 32px / 34px 27px 32px 29px;
  box-shadow: 0 15px 35px rgba(61,32,21,.04);
}

.ero-product-detail__use-number {
  display: block;
  margin-bottom: 25px;
  color: #c5162e;
  font-size: 12px;
  font-weight: 900;
}

.ero-product-detail__use-card h3 {
  margin: 0 0 12px;
  color: #2f1a17;
  font-size: 20px;
  font-weight: 900;
}

.ero-product-detail__use-card p { margin: 0; color: #655149; font-size: 15px; line-height: 1.7; }

.ero-product-detail__related {
  padding: clamp(55px, 7vw, 95px) 0 clamp(80px, 9vw, 115px);
  background: #fffaf4;
}

.ero-product-detail__related-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 30px;
}

.ero-product-detail__related-heading h2 { margin-bottom: 0; }
.ero-product-detail__related-heading > a { white-space: nowrap; margin-top: 0; }

.ero-product-detail__related-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.ero-product-detail__related-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  min-width: 0;
  min-height: 220px;
  padding: 18px 12px;
  background: var(--group-soft);
  border: 1px solid color-mix(in srgb, var(--group-color) 25%, transparent);
  border-radius: 23px 30px 25px 29px / 31px 24px 29px 25px;
  transition: transform .2s ease;
  text-align: center;
}

.ero-product-detail__related-card:hover,
.ero-product-detail__related-card:focus-visible { transform: translateY(-5px); }

.ero-product-detail__related-card img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  margin-bottom: 15px;
  filter: drop-shadow(2px 6px 5px rgba(43,24,17,.12));
}

.ero-product-detail__related-card span:nth-of-type(1) {
  color: #2f1a17;
  font-size: 13px;
  font-weight: 900;
}

.ero-product-detail__related-card span:last-child { margin-top: 5px; color: var(--group-color); }

@media (max-width: 1000px) {
  .ero-product-detail__information-inner { grid-template-columns: 1fr; }
  .ero-product-detail__sidebar { max-width: 650px; }
  .ero-product-detail__related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
  .ero-product-detail { padding-top: 8px; }
  .ero-product-detail__breadcrumb { padding-bottom: 19px; }
  .ero-product-detail__uses-grid { grid-template-columns: 1fr; }
  .ero-product-detail__related-heading { align-items: start; flex-direction: column; }
  .ero-product-detail__related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ero-product-detail__related-card { min-height: 175px; }
  .ero-product-detail__related-card img { height: 100px; }
}

@media (max-width: 380px) {
  .ero-product-detail__title { font-size: 38px; }
  .ero-product-detail__related-grid { gap: 10px; }
}
