:root{
  --brand:#0A74DA;
  --brand-weak:#EAF3FF;
  --line:#ddd;
  --muted:#777;
  --bg:#fff;
}

*{box-sizing:border-box}

body{
  margin:0;
  font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial;
  background:#fafafa;
  padding-bottom:80px;
  color:#222;
}

a{text-decoration:none;color:inherit}

.wrap{
  width:100%;
  max-width:1200px;
  margin:0 auto;
  padding:16px;
}

.breadcrumb{font-size:13px;color:var(--muted);margin-bottom:16px}
.breadcrumb a{color:var(--brand)}

.top{
  display:grid;
  grid-template-columns:320px minmax(0,1fr);
  gap:20px;
  margin-bottom:24px;
}

.gallery{min-width:0}

.gallery > #mainImage{
  display:block;
  width:100%;
  max-height:330px;
  object-fit:contain;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fff;
}

.thumbs{
  display:flex;
  gap:8px;
  margin-top:10px;
  flex-wrap:wrap;
  justify-content:center;
}

.thumbs img{
  width:60px;
  height:60px;
  object-fit:cover;
  border:1px solid #ccc;
  border-radius:8px;
  cursor:pointer;
}

.info{min-width:0}
.info h1{margin:0 0 10px;font-size:22px}
.info .meta{color:var(--muted);margin-bottom:10px}

.pricebox{
  margin:16px 0;
  padding:12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  font-size:16px;
  font-weight:600;
}

.summary{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(180px,1fr));
  gap:10px;
  font-size:13px;
}

.summary div{
  min-width:0;
  padding:10px;
  border:1px solid #eee;
  border-radius:8px;
  background:#fff;
  box-shadow:0 1px 3px rgba(0,0,0,.05);
}

.summary strong{display:block;font-size:12px;color:#555;margin-bottom:4px}
.summary span{font-size:14px;font-weight:600;color:var(--brand)}

.compare-btn,.compare-clear{
  margin-left:8px;
  padding:6px 12px;
  border:none;
  border-radius:4px;
  cursor:pointer;
}

.compare-btn{background:#fff;color:var(--brand);font-weight:bold}
.compare-clear{background:#333;color:#fff}

.compare-btn .compare-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:20px;
  height:20px;
  border-radius:50%;
  background:var(--brand);
  color:#fff;
  font-size:16px;
  font-weight:bold;
}

.compare-btn.active{color:#2e7d32;font-weight:600}
.compare-btn.active .compare-icon{background:#2e7d32}

.seo-content{
  margin-top:30px;
  padding:20px;
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  font-size:14px;
}

.seo-content h2,
.seo-content h3{
  margin-top:0;
  margin-bottom:10px;
  color:#222;
}

.seo-content h2{font-size:18px}
.seo-content h3{font-size:16px}
.seo-content p,.seo-content li{color:#555}

/* 1/3 + 2/3 fiyat yerleşimi */
.detail-price-grid{
  display:grid;
  grid-template-columns:minmax(280px,1fr) minmax(0,2fr);
  gap:20px;
  align-items:stretch;
  margin-top:30px;
}

.detail-price-grid > .seo-content{
  margin-top:0;
  min-width:0;
  width:100%;
}

.price-analysis-section,
.price-summary-section,
.price-history,
.offer-section{
  min-width:0;
}

.price-history-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
  margin:16px 0 0;
}

.price-history-table th,
.price-history-table td{
  border:1px solid #eee;
  padding:8px 10px;
  text-align:left;
}

.price-history-table th{background:#f7f7f7}

.offer-section{
  margin:0;
  padding:0;
  border-radius:12px;
  overflow:hidden;
}

.offer-section h2{
  margin:0;
  padding:14px 16px;
  background:#F8F4E0;
  font-size:18px;
  color:#222;
}

.offer-list{
  display:flex;
  flex-direction:column;
}

.offer-card{
  display:none;
  grid-template-columns:110px minmax(0,1fr) 150px 100px;
  gap:14px;
  align-items:center;
  padding:14px 16px;
  border-top:1px solid #eee;
  cursor:pointer;
}

.offer-card.is-visible{display:grid}
.offer-card:hover{background:#fafcff}

.offer-logo{min-width:0}
.offer-logo img{
  display:block;
  max-width:100px;
  max-height:36px;
  object-fit:contain;
}

.offer-name{min-width:0}
.offer-name strong{
  display:block;
  font-size:14px;
  color:#222;
  margin-bottom:4px;
  overflow-wrap:anywhere;
}

.offer-name span{
  display:block;
  font-size:12px;
  color:#666;
}

.offer-name em{
  display:inline-block;
  margin-top:5px;
  font-size:12px;
  color:#2e7d32;
  font-style:normal;
}

.offer-price{min-width:0}
.offer-price strong{
  display:block;
  font-size:18px;
  color:var(--brand);
  white-space:nowrap;
}

.offer-price span{
  display:block;
  font-size:12px;
  color:#666;
  margin-top:4px;
}

.offer-go{text-align:right}
.offer-go a{
  display:inline-block;
  padding:8px 12px;
  background:var(--brand);
  color:#fff;
  border-radius:6px;
  font-size:13px;
  font-weight:600;
  white-space:nowrap;
}

.offer-pagination{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:14px;
  padding:14px 16px;
  border-top:1px solid #eee;
  background:#fafafa;
}

.offer-pagination button{
  border:1px solid #ddd;
  background:#fff;
  color:#333;
  padding:7px 12px;
  border-radius:6px;
  cursor:pointer;
  font-size:13px;
}

.offer-pagination button:disabled{opacity:.45;cursor:not-allowed}
.offer-pagination span{font-size:13px;color:#555}

.best-price-badge{
  display:inline-flex !important;
  align-items:center;
  width:auto !important;
  max-width:max-content !important;
  margin:6px 0 8px !important;
  padding:4px 11px !important;
  border-radius:999px !important;
  background:#2e7d32 !important;
  color:#fff !important;
  font-size:12px !important;
  font-weight:700 !important;
  line-height:1.2 !important;
  font-style:normal !important;
}

/* Sol 1/3 kolondaki dört özet kartı alt alta */
.price-summary-inline{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  width:100%;
}

.price-summary-inline > div{
  min-width:0;
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:14px 16px;
  box-shadow:0 1px 3px rgba(0,0,0,.04);
}

.price-summary-inline strong{
  display:block;
  font-size:12px;
  color:#666;
  margin-bottom:5px;
}

.price-summary-inline span{
  display:block;
  font-size:15px;
  font-weight:700;
  color:var(--brand);
}

.price-summary-inline .up{color:#c0392b}
.price-summary-inline .down{color:#2e7d32}

.price-history-desc{
  font-size:14px;
  color:#555;
  margin-bottom:14px;
}

.price-history canvas{
  display:block;
  width:100% !important;
  max-width:100%;
}

.specs{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:20px;
  margin-top:30px;
}

.specs section{
  min-width:0;
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  box-shadow:0 1px 3px rgba(0,0,0,.05);
  padding:12px;
}

.specs h2{
  margin:0 0 10px;
  font-size:16px;
  color:#333;
  border-bottom:1px solid var(--brand-weak);
  padding-bottom:6px;
}

.specs table{width:100%;border-collapse:collapse;font-size:13px}
.specs td{padding:6px 8px;border-bottom:1px solid #f7f7f7}
.specs td:first-child{color:#555;width:40%}
.specs tr:nth-child(even) td{background:#fafafa}

.same-brand{margin:40px 0}
.same-brand h2{font-size:18px;margin-bottom:14px;color:#222}

.brand-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(160px,1fr));
  gap:14px;
}

.brand-card{
  min-width:0;
  background:#fff;
  border:1px solid #eee;
  border-radius:10px;
  padding:10px;
  text-decoration:none;
  transition:all .2s ease;
}

.brand-card:hover{
  border-color:var(--brand);
  transform:translateY(-2px);
  box-shadow:0 4px 10px rgba(0,0,0,.06);
}

.brand-thumb{
  height:140px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:8px;
}

.brand-thumb img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.brand-meta strong{display:block;font-size:13px;color:#111}
.brand-meta span{display:block;font-size:12px;color:#555;margin-top:2px}
.brand-meta em{display:block;margin-top:6px;font-size:13px;font-weight:600;color:var(--brand)}
/* İnceleme + Avantajlar: 1 / 1 */
.detail-review-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:20px;
  align-items:stretch;
  margin-top:30px;
}

.detail-review-grid > .seo-content{
  margin-top:0;
  min-width:0;
  width:100%;
  height:100%;
}

.detail-review-card{
  display:block;
}
@media(max-width:900px){
  .detail-price-grid{
    grid-template-columns:1fr;
  }

  .price-summary-inline{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .offer-card{
    grid-template-columns:90px minmax(0,1fr) 130px 90px;
  }
}

@media(max-width:768px){
  .top{grid-template-columns:1fr}

  .offer-card,
  .offer-card.is-visible{
    grid-template-columns:1fr;
    gap:8px;
  }

  .offer-go{text-align:left}
  .detail-review-grid{
    grid-template-columns:1fr;
  }
}

@media(max-width:520px){
  .wrap{padding:12px}

  .price-summary-inline{
    grid-template-columns:1fr;
  }

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