/* =========================================================
   ÜRÜN/MENÜ DETAY SAYFASI
   ========================================================= */

/* =========================================================
   1. HERO — sol kırmızı blok + sağ görsel
   ========================================================= */
.urun-hero {
  padding: 80px 100px;
  background: #f4f4f4;
}
@media (max-width: 1280px) { .urun-hero { padding: 72px 80px; } }
@media (max-width: 1024px) { .urun-hero { padding: 64px 60px; } }
@media (max-width: 768px)  { .urun-hero { padding: 56px 5%; } }
@media (max-width: 480px)  { .urun-hero { padding: 48px 20px; } }

.urun-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1400px;
  margin: 0 auto;
  align-items: stretch;
}

@media (max-width: 900px) {
  .urun-hero-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* --- Sol kırmızı blok --- */
.urun-info {
  background: #cd1018;
  color: #ffffff;
  border-radius: 0 0 0 80px;
  padding: 80px 72px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 580px;
}

@media (max-width: 1280px) { .urun-info { padding: 72px 60px; border-radius: 0 0 0 64px; } }
@media (max-width: 1024px) { .urun-info { padding: 60px 48px; border-radius: 0 0 0 56px; min-height: 520px; } }
@media (max-width: 900px)  { .urun-info { border-radius: 48px 48px 0 48px; min-height: 0; } }
@media (max-width: 480px)  { .urun-info { padding: 44px 32px; border-radius: 36px 36px 0 36px; } }

.urun-info-title {
  font-family: "Gilroy", Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin: 0 0 20px;
  max-width: 480px;
}

.urun-info-title .hero-italic {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.5px #ffffff;
}

.urun-info-price {
  font-family: "Gilroy", Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: #fec703;
  margin: 0 0 28px;
}

/* Açıklama alanı — CMS'ten HTML olarak gelen içerik
   (besin değerleri tablosu / liste burada olabilir) */
.urun-info-desc {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
}

.urun-info-desc p { margin: 0 0 14px; }
.urun-info-desc p:last-child { margin-bottom: 0; }

.urun-info-desc a {
  color: #fec703;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.urun-info-desc strong { color: #ffffff; }

/* CMS açıklamasında ul/li gelirse besin değerleri tarzı stil */
.urun-info-desc ul {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.urun-info-desc ul li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
}

.urun-info-desc ul li strong {
  color: #fec703;
  font-weight: 700;
  white-space: nowrap;
}

/* CMS açıklamasında table gelirse */
.urun-info-desc table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
}

.urun-info-desc table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.78);
}

.urun-info-desc table td:last-child {
  text-align: right;
  color: #fec703;
  font-weight: 700;
  white-space: nowrap;
}

/* --- Sağ görsel kartı --- */
.urun-visual {
  background-image: url("../images/menu-arka.jpg");
  background-size: cover;
  background-position: bottom center;
  background-repeat: no-repeat;
  border-radius: 0 80px 80px 0;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 50px;
  min-height: 580px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

@media (max-width: 1280px) { .urun-visual { border-radius: 0 64px 64px 0; padding: 0 40px; } }
@media (max-width: 1024px) { .urun-visual { border-radius: 0 56px 56px 0; padding: 0 32px; min-height: 520px; } }
@media (max-width: 900px)  { .urun-visual { border-radius: 0 48px 48px 48px; min-height: 380px; } }
@media (max-width: 480px)  { .urun-visual { border-radius: 0 36px 36px 36px; padding: 0 24px; min-height: 300px; } }

.urun-visual img {
  width: 100%;
  max-height: calc(100% + 100px);
  object-fit: contain;
  margin-top: -80px;
  filter: drop-shadow(0 24px 48px rgba(0, 0, 0, 0.18));
}

@media (max-width: 900px) {
  .urun-visual img { margin-top: 0; max-height: 100%; }
}

/* =========================================================
   2. MENÜDE NELER VAR — yan yana dikey kartlar (tıklanmaz)
   ========================================================= */
.menu-icindekiler {
  padding: 100px 100px;
  background: #f4f4f4;
}
@media (max-width: 1280px) { .menu-icindekiler { padding: 90px 80px; } }
@media (max-width: 1024px) { .menu-icindekiler { padding: 80px 60px; } }
@media (max-width: 768px)  { .menu-icindekiler { padding: 64px 5%; } }
@media (max-width: 480px)  { .menu-icindekiler { padding: 56px 20px; } }

.menu-icindekiler-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.menu-icindekiler-head {
  margin-bottom: 48px;
  max-width: 720px;
}

@media (max-width: 768px) { .menu-icindekiler-head { margin-bottom: 36px; } }

.menu-icindekiler-title {
  font-family: "Gilroy", Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.875rem, 3.75vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #000;
  margin: 0;
}
/*
.menu-icindekiler-title .italic-outline-dark {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.5px #000;
}
*/
.icindekiler-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  padding-top: 70px;
}

@media (max-width: 1200px) { .icindekiler-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px)  { .icindekiler-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 60px; } }
@media (max-width: 600px)  { .icindekiler-grid { grid-template-columns: repeat(2, 1fr); } }

.icindekiler-card {
  position: relative;
  background: #fec703;
  border-radius: 28px;
  padding: 80px 20px 26px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  cursor: default;
}

.icindekiler-card-image {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 140px;
  aspect-ratio: 1;
  background: transparent;
  z-index: 2;
}

.icindekiler-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

@media (max-width: 480px) {
  .icindekiler-card { padding: 70px 16px 18px; border-radius: 22px; }
  .icindekiler-card-image { top: -50px; max-width: 120px; }
  .icindekiler-card-title { font-size: 0.95rem; }
}
.icindekiler-card {
  position: relative;
  background: #fec703;
  border-radius: 28px;
  padding: 0 20px 26px;
  display: flex;
  min-height:120px;
  justify-content: flex-end;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  cursor: default;
}
.icindekiler-card-image {
  width: 75%;
  max-width: 160px;
  aspect-ratio: 1;
  margin-top: -35px;
  margin-bottom: 16px;
  background: transparent;
}

.icindekiler-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
}

.icindekiler-card-title {
  font-family: "Gilroy", Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -0.02em;
  color: #000;
  margin-top: 2rem;
  line-height: 1.25;
  text-align: center;
}

@media (max-width: 480px) {
  .icindekiler-card { padding: 0 16px 18px; border-radius: 22px; }
  .icindekiler-card-image { max-width: 130px; margin-top: -45px; }
  .icindekiler-card-title { font-size: 0.95rem; }
}

/* =========================================================
   3. BU KATEGORİDEKİ DİĞER ÜRÜNLER
   Yatay kart: sol metin + sağ görsel | sayfa scroll'una bağlı slider
   ========================================================= */
.related-pinned {
  position: relative;
  background: #f4f4f4;
}

.related-pinned-sticky {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 120px 0;
}

.related-pinned-head {
  max-width: 1400px;
  margin: 0 auto 40px;
  padding: 0 100px;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

@media (max-width: 1280px) { .related-pinned-head { padding: 0 80px; } }
@media (max-width: 1024px) { .related-pinned-head { padding: 0 60px; margin-bottom: 32px; } }
@media (max-width: 768px)  { .related-pinned-head { padding: 0 5%; } }

.related-pinned-title {
  font-family: "Gilroy", Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.875rem, 3.75vw, 3rem);
  line-height: 1;
  letter-spacing: -0.035em;
  color: #000;
  margin: 0;
  max-width: 560px;
}
/*
.related-pinned-title .italic-outline-dark {
  font-style: italic;
  color: transparent;
  -webkit-text-stroke: 1.5px #000;
}
*/
/* Sağ üst yuvarlak prev/next butonları */
.related-pinned-arrows {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.related-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.related-arrow--prev {
  background: rgba(0, 0, 0, 0.06);
  color: #000;
}

.related-arrow--prev:hover {
  background: rgba(0, 0, 0, 0.12);
}

.related-arrow--next {
  background: #cd1018;
  color: #ffffff;
}

.related-arrow--next:hover {
  background: #a50d13;
}

.related-arrow:active { transform: scale(0.94); }
.related-arrow svg { width: 22px; height: 22px; }

.related-pinned-viewport {
  width: 100%;
  overflow: hidden;
}

.related-pinned-track {
  display: flex;
  gap: 24px;
  padding: 0 100px;
  overflow-x: auto;
  scrollbar-width: none;
  will-change: transform;
}
.related-pinned-track::-webkit-scrollbar { display: none; }

@media (max-width: 1280px) { .related-pinned-track { padding: 0 80px; } }
@media (max-width: 1024px) { .related-pinned-track { padding: 0 60px; gap: 20px; } }

/* --- Yatay kart: sol metin + sağ görsel --- */
.related-card {
  flex: 0 0 780px;
  background: #ffffff;
  border-radius: 40px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  min-height: 420px;
}

@media (max-width: 1024px) {
  .related-card { flex: 0 0 680px; padding: 44px; border-radius: 36px; min-height: 380px; }
}

.related-card-body {
  display: flex;
  flex-direction: column;
}

.related-card-title {
  font-family: "Gilroy", Inter, Arial, sans-serif;
  font-weight: 800;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #000;
  margin: 0 0 18px;
}

.related-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.related-card-title a:hover { color: #cd1018; }

.related-card-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #525252;
  margin: 0 0 32px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-card-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 8px 8px 24px;
  background: transparent;
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
  color: #000;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 700;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
  margin-top: auto;
}

.related-card-link:hover {
  background: #cd1018;
  border-color: #cd1018;
  color: #ffffff;
}

.related-card-link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #cd1018;
  color: #ffffff;
  border-radius: 50%;
  flex-shrink: 0;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.related-card-link:hover .related-card-link-arrow {
  background: #ffffff;
  color: #cd1018;
  transform: translateX(3px);
}

.related-card-link-arrow svg { width: 16px; height: 16px; }

/* --- Yatay kartın sağ görseli --- */
.related-card-image {
  width: 100%;
  aspect-ratio: 1;
  background: #f4f4f4;
  border-radius: 28px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.related-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.14));
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.related-card:hover .related-card-image img {
  transform: scale(1.04);
}

/* --- Mobilde pinned scroll yerine normal swipe + kartlar dikey --- */
@media (max-width: 900px) {
  .related-pinned { height: auto !important; }
  .related-pinned-sticky {
    position: static;
    height: auto;
    padding: 64px 0;
  }
  .related-pinned-arrows { display: none; }
  .related-pinned-viewport {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .related-pinned-track {
    transform: none !important;
    padding: 0 5%;
    gap: 16px;
  }
  .related-card {
    flex: 0 0 82%;
    grid-template-columns: 1fr;
    padding: 32px 28px;
    min-height: 0;
    scroll-snap-align: start;
    border-radius: 28px;
  }
  .related-card-image { aspect-ratio: 1.2; border-radius: 20px; }
  .related-card-body { order: 2; margin-top: 24px; }
}
