/* =========================
   Egedeck Product Page Base
========================= */

.eg-container{
  max-width:1200px;
  margin:0 auto;
  padding:140px 15px 40px; /* üst padding artırıldı */
}

.eg-page-title{font-size:32px;font-weight:800;line-height:1.2;margin:0 0 8px;}
.eg-muted{opacity:.75}
.eg-section{margin-top:36px;}
.eg-kicker{font-size:13px;letter-spacing:.08em;text-transform:uppercase;opacity:.65;margin-bottom:8px}

/* =========================
   Product Hero Grid
========================= */
.eg-product-grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:22px;
  align-items:start;
}
@media (max-width: 992px){
  .eg-product-grid{grid-template-columns:1fr;}
}

/* =========================
   Gallery
========================= */
.eg-gallery-main{
  width:100%;
  height:520px;
  object-fit:cover;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background:#fafafa;
}
@media (max-width: 992px){
  .eg-gallery-main{height:360px;}
}

.eg-thumbs-wrap{
  margin-top:14px;
  display:flex;
  align-items:center;
  gap:10px;
}
.eg-thumbs{
  display:flex;
  gap:10px;
  overflow:hidden;
  scroll-behavior:smooth;
  flex:1;
}
.eg-thumb{
  flex:0 0 calc((100% - 30px)/4);
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
  display:block;
  opacity:.85;
  transition:.2s;
}
.eg-thumb img{
  width:100%;
  height:86px;
  object-fit:cover;
  display:block;
}
.eg-thumb:hover{opacity:1; transform:translateY(-1px);}
.eg-thumb.is-active{opacity:1; border-color: rgba(135,189,69,.65);}

.eg-thumb-arrow{
  width:40px;height:40px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.12);
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition:.2s;
}
.eg-thumb-arrow:hover{transform:scale(1.04);}

@media (max-width: 520px){
  .eg-thumb{flex:0 0 calc((100% - 20px)/3);}
  .eg-thumb img{height:78px;}
}

/* =========================
   Tabs
========================= */
.eg-tabs{
  border-top:1px solid rgba(0,0,0,.08);
  padding-top:18px;
}
.eg-tab-head{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:16px;
}
.eg-tab-btn{
  border:1px solid rgba(0,0,0,.10);
  background:#f7f7f7;
  padding:10px 14px;
  border-radius:14px;
  cursor:pointer;
  font-weight:700;
}
.eg-tab-btn.is-active{
  background:#fff;
  border-color: rgba(0,0,0,.16);
  box-shadow:0 8px 18px rgba(0,0,0,.05);
}

.eg-tab-panel{display:none;}
.eg-tab-panel.is-active{display:block;}

/* =========================
   Sizes Hero Image
========================= */
.eg-sizes-hero img{
  width:100%;
  max-height:460px;
  object-fit:contain;
  border-radius:16px;
  border:1px solid rgba(0,0,0,.08);
  background:#fafafa;
  display:block;
}

/* =========================
   Mobile Table Scroll + Table
========================= */
.eg-table-wrap{
  margin-top:16px;
  overflow:auto;
  border-radius:12px;
  -webkit-overflow-scrolling: touch;
  border:1px solid rgba(0,0,0,.08);
}

/* mobilde kaydırmayı hissettiren küçük ipucu */
.eg-table-wrap:after{
  content:"";
  display:block;
  height:0;
}

/* tablo */
.eg-table{width:100%;border-collapse:collapse;min-width:860px;}
.eg-table th,.eg-table td{
  padding:10px 14px;
  border-right:1px solid rgba(0,0,0,.08); /* dikey çizgi */
  white-space:nowrap;
  font-size:14px;
}
.eg-table th:last-child,.eg-table td:last-child{border-right:none;}
.eg-table thead th{
  font-weight:700;
  background:#fafafa;
  border-bottom:1px solid rgba(0,0,0,.12);
}
.eg-table tbody tr:not(:last-child) td{
  border-bottom:1px solid rgba(0,0,0,.06);
}

/* =========================
   COLORS TAB (circle palette)
========================= */
.eg-colors-title{
  font-size:28px;
  font-weight:800;
  margin:18px 0 12px;
}

.eg-colors-grid{
  display:grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap:22px;
  align-items:start;
  margin-top:10px;
}

@media(max-width:1200px){
  .eg-colors-grid{grid-template-columns: repeat(6, minmax(0, 1fr));}
}
@media(max-width:992px){
  .eg-colors-grid{grid-template-columns: repeat(4, minmax(0, 1fr));}
}
@media(max-width:520px){
  .eg-colors-grid{grid-template-columns: repeat(3, minmax(0, 1fr));}
}

.eg-color-swatch{
  width:110px;height:110px;
  border-radius:999px;
  border:1px solid rgba(0,0,0,.08);
  box-shadow:0 10px 20px rgba(0,0,0,.06);
  margin:0 auto;
}

.eg-color-name{
  text-align:center;
  margin-top:10px;
  font-size:13px;
  opacity:.75;
}
/* Force product hero grid (tema ezmesine karşı) */
.eg-product-hero .eg-product-grid{
  display: grid !important;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: 22px;
  align-items: start;
}

@media (max-width: 992px){
  .eg-product-hero .eg-product-grid{
    grid-template-columns: 1fr;
  }
}

/* tema kaynaklı taşmaları engeller */
.eg-product-hero .eg-gallery,
.eg-product-hero .eg-product-info{
  min-width: 0;
}
.eg-main-image {
  width: 100%;
  height: 420px;          /* SABİT yükseklik */
  background: #f5f5f5;    /* boşluklar için nötr zemin */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 6px;
}
.eg-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* ⭐ KRİTİK */
}
.eg-thumb img {
  width: 100%;
  height: 70px;
  object-fit: cover;
  border-radius: 4px;
}
/* ===== Material panel (şık görünüm) ===== */
.eg-material { margin-top: 14px; }

.eg-material-title{
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 8px;
}

.eg-material-lead{
  margin: 0 0 16px;
  opacity: .85;
  line-height: 1.75;
}

.eg-material-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.eg-material-card{
  border: 1px solid rgba(0,0,0,.08);
  background: #fff;
  border-radius: 14px;
  padding: 14px 14px;
}

.eg-material-card h4{
  font-size: 14px;
  font-weight: 800;
  margin: 0 0 6px;
}

.eg-material-card p{
  margin: 0;
  opacity: .8;
  line-height: 1.65;
  font-size: 14px;
}

.eg-material-note{
  margin-top: 14px;
  border: 1px dashed rgba(0,0,0,.18);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(0,0,0,.02);
  font-size: 13px;
  line-height: 1.6;
  opacity: .9;
}

@media (max-width: 992px){
  .eg-material-grid{ grid-template-columns: 1fr; }
}
/* ===== Material (düz yazı ama estetik) ===== */
.eg-material-prose{
  max-width: 980px;
  font-size: 16px;
  line-height: 1.85;
  letter-spacing: .01em;
  color: rgba(0,0,0,.82);
}

.eg-material-prose p{
  margin: 0 0 18px;
}

.eg-material-prose p:last-child{
  margin-bottom: 0;
}

@media (max-width: 992px){
  .eg-material-prose{
    font-size: 15px;
    line-height: 1.8;
  }
}
/* ===== Sizes çizim görselini küçült + sağa al ===== */
.eg-sizes-hero{
  display:flex;
  justify-content:flex-end;  /* sağa yasla */
  align-items:flex-start;
  margin-bottom: 14px;
}

.eg-sizes-hero a{
  display:block;
  width: 100%;
  max-width: 520px;          /* görsel kutusu genişliği (istediğin gibi değiştir) */
}

.eg-sizes-hero img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 12px;
  border:1px solid rgba(0,0,0,.08);
  background:#fff;
}
@media (max-width: 768px){
  .eg-sizes-hero{justify-content:center;}
  .eg-sizes-hero a{max-width: 100%;}
}
.eg-product-intro{
  margin-top: 6px;
}

.eg-product-intro p{
  font-family: "Playfair Display", "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.75;
  color: #2f2f2f;
  margin: 0;
  max-width: 520px;
}
.eg-product-intro{
  margin-bottom: 22px; /* ASIL BOŞLUK BURASI */
}

.eg-product-features{
  padding-left: 0;
  list-style: none;
}

.eg-product-features li{
  margin-bottom: 6px;
  font-size: 15px;
}
/* Colors – görseldeki gibi sadece daireler */
.eg-colors-grid--dots{
  display:flex;
  flex-wrap:wrap;
  gap:34px;              /* daireler arası boşluk */
  align-items:center;
  padding-top:18px;
}

.eg-color-dot{
  width:96px;            /* daire boyutu */
  height:96px;
  border-radius:999px;
  background: var(--c);
  display:inline-block;
  box-shadow: 0 2px 0 rgba(0,0,0,.06);
}

/* Hover: çok hafif büyüsün */
.eg-color-dot:hover{
  transform: scale(1.02);
  transition: .15s ease;
}

/* Mobilde daha küçük */
@media (max-width: 768px){
  .eg-colors-grid--dots{ gap:18px; }
  .eg-color-dot{ width:70px; height:70px; }
}
/* Colors (GFRC) – screenshot style dots */
.eg-colors-title{
  margin: 0 0 24px;
  font-size: 34px;
  font-weight: 400;
  letter-spacing: .02em;
}

.eg-colors-dots{
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 40px 44px;            /* satır / sütun boşluğu */
  align-items: center;
  padding: 6px 0 10px;
}

.eg-color-dot{
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: var(--c);
  display: inline-block;
}

/* 2. satırda 4 tane “solda kalsın” hissi için */
@media (max-width: 1200px){
  .eg-colors-dots{
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 28px;
  }
  .eg-color-dot{ width: 90px; height: 90px; }
}

@media (max-width: 768px){
  .eg-colors-dots{
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 22px;
  }
  .eg-color-dot{ width: 78px; height: 78px; }
}
.eg-spec-table-wrap{
  width:100%;
  overflow-x:auto;
}

.eg-spec-table{
  width:100%;
  border-collapse:collapse;
  font-family: Arial, Helvetica, sans-serif;
  font-size:16px;
  color:#111;
}

.eg-spec-table thead th{
  padding:12px 14px;
  text-align:center;
  font-weight:700;
  border-bottom:1.5px solid #666;
}

.eg-spec-table tbody td{
  padding:12px 14px;
  text-align:center;
  border-bottom:1px solid #8a8a8a;
}


/* Dikey çizgi yok */
.eg-spec-table th,
.eg-spec-table td{
  border-left:none;
  border-right:none;
}

/* Content hücresi ortada dursun */
.eg-spec-center{
  vertical-align:middle;
  font-weight:500;
}
.eg-spec-table tbody tr:last-child td{
  border-bottom:none;
}

.eg-spec-table td[rowspan]{
  border-bottom:none;
}
.eg-card a{
  display:block;
  text-decoration:none;
  color:inherit;
}

/* 1:1 sabit çerçeve */
.eg-thumb1x1{
  width:100%;
  aspect-ratio:1/1;
  background:#f4f4f4;
  border-radius:14px;
  overflow:hidden;
  margin-bottom:12px;

  display:flex;
  align-items:center;
  justify-content:center;
}

/* ürün TAM görünsün */
.eg-thumb1x1 img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  display:block;
}

/* kart başlığı */
.eg-card-title{
  font-weight:700;
  margin-top:2px;
}
