
.container{
  max-width:1200px;
  margin:auto;
  padding:40px 20px;
}

/* LAYOUT */
.product{
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:40px;
}

/* =========================
   GALERİ
========================= */

.gallery{
  position:sticky;
  top:20px;
    position:relative;

}

@media(max-width:900px){
  .gallery{
    position:static;
  }
}
.main-image{
  width:100%;
  aspect-ratio: 1 / 1; /* kare */
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.1);
  cursor:zoom-in;
}

  
@media(max-width:900px){

.main-image{
  width:100%;
  object-fit:cover;
  border-radius:16px;
  box-shadow:0 10px 30px rgba(0,0,0,.1);
  cursor:zoom-in;
}
}
/* THUMB */
.thumbs{
  display:flex;
  gap:10px;
  margin-top:12px;
}

.thumbs img{
  width:70px;
  height:70px;
  object-fit:cover;
  border-radius:10px;
  cursor:pointer;
  opacity:.6;
  transition:.2s;
  border:2px solid transparent;
}

.thumbs img:hover{
  opacity:1;
  border-color:#0a4b9e;
}

/* =========================
   ZOOM (MAGNIFIER)
========================= */

.zoom-lens{
  position:absolute;
  width:140px;
  height:140px;
  border-radius:50%;
  border:3px solid #0a4b9e;
  display:none;
  pointer-events:none;
  background-repeat:no-repeat;
  box-shadow:0 10px 20px rgba(0,0,0,.2);
}

/* =========================
   SAĞ PANEL
========================= */

.info{
  background:white;
  padding:25px;
  border-radius:16px;
  box-shadow:0 10px 25px rgba(0,0,0,.05);
}

.price{
  font-size:28px;
  font-weight:700;
  color:#e63946;
}

.old{
  text-decoration:line-through;
  color:#999;
}

.old-price{
  position:relative;
  color:#888;
}

.old-price::after{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:100%;
  height:2px;
  background:#e63946;
  transform:translateY(-50%);
}

/* BUTTON */
.btn{
  display:inline-block;
  padding:14px 20px;
  border-radius:30px;
  text-decoration:none;
  font-weight:600;
  margin-top:10px;
  
}

.buy{
  background:#0a4b9e;
  color:white;
}

.wp{
  background:#25D366;
  color:white;
}

/* MOBILE */
@media(max-width:900px){
  .product{
    grid-template-columns:1fr;
  }
}

/* =========================
   REVIEWS WRAPPER
========================= */

.reviews{
  margin-top:60px;

  /* 2'li grid layout */
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:20px;

  /* sayfaya ortalama */
  max-width:1100px;
  margin-left:auto;
  margin-right:auto;

  padding:0 20px;
}

/* BAŞLIK */
.reviews h3{
  grid-column:1 / -1;
  font-size:22px;
  font-weight:700;
  margin-bottom:10px;
  position:relative;
}

.reviews h3::after{
  content:"";
  width:60px;
  height:3px;
  background:#0a4b9e;
  position:absolute;
  left:0;
  bottom:-8px;
  border-radius:10px;
}

/* =========================
   REVIEW CARD
========================= */

.review{
  background:linear-gradient(135deg,#ffffff,#f9fbff);
  padding:20px;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.06);

  border:1px solid rgba(10,75,158,0.08);
  position:relative;

  transition:all .25s ease;

  /* full width (grid kontrol eder) */
  width:100%;
}

/* hover */
.review:hover{
  transform:translateY(-4px);
  box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

/* isim */
.review strong{
  font-size:15px;
  color:#222;
}

/* rating */
.review .rating{
  color:#f1c40f;
  margin:8px 0;
  font-size:16px;
  letter-spacing:1px;
}

/* yorum metni */
.review p{
  color:#555;
  line-height:1.5;
  font-size:14px;
}

/* doğrulama etiketi */
.review::before{
  content:"✔ Doğrulanmış Alım";
  position:absolute;
  top:15px;
  right:15px;
  font-size:11px;
  background:#eaf3ff;
  color:#0a4b9e;
  padding:4px 8px;
  border-radius:20px;
}

/* =========================
   RESPONSIVE
========================= */

@media(max-width:768px){
  .reviews{
    grid-template-columns:1fr;
  }
}
.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}

.trust-badges div {
  background: linear-gradient(135deg, #f5f7fa, #ffffff);
  padding: 15px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;

  display: flex;
  align-items: center;
  gap: 10px;

  box-shadow: 0 5px 15px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  cursor: default;
}

/* ikon */
.trust-badges div i {
  color: #0a4b9e;
  font-size: 18px;
}

/* hover efekti */
.trust-badges div:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  background: linear-gradient(135deg, #eaf3ff, #ffffff);
}


.whatsapp-btn {
  background: #25D366;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6); }
  70% { box-shadow: 0 0 0 15px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* RESPONSIVE */
@media(max-width: 900px){
    .product-detail {
        flex-direction: column;
    }
}



/* =========================
   INFO SMALL BOXES (GENEL)
========================= */

.saving,
.installment,
.shipping-box{
  margin-top:10px;
  padding:10px 12px;
  border-radius:10px;
  font-size:14px;
  font-weight:600;
}

/* =========================
   TASARRUF
========================= */

.saving{
  background:linear-gradient(135deg,#e8fff1,#ffffff);
  border:1px solid #b7f5cd;
  color:#1b7f3a;
}

/* =========================
   TAKSİT
========================= */

.installment{
  background:linear-gradient(135deg,#eef6ff,#ffffff);
  border:1px solid #cfe3ff;
  color:#0a4b9e;
}

/* =========================
   KARGO
========================= */

.shipping-box{
  background:linear-gradient(135deg,#fff8e6,#ffffff);
  border:1px solid #ffe2a8;
  color:#8a5a00;
}

/* =========================
   FEATURES GRID
========================= */

.features-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-top:15px;
}

/* FEATURE CARD */
.feature{
  background:#f7f9fc;
  border:1px solid rgba(10,75,158,0.08);
  padding:10px;
  border-radius:10px;
  font-size:13px;
  font-weight:500;
  display:flex;
  align-items:center;
  gap:8px;
  transition:all .2s ease;
}

/* hover */
.feature:hover{
  transform:translateY(-3px);
  background:#eef5ff;
  border-color:#0a4b9e33;
}





/* =========================
   BENZER ÜRÜNLER
========================= */

.related-products{
  max-width:1100px;
  margin:60px auto;
  padding:0 20px;
}

.related-products h3{
  font-size:22px;
  font-weight:700;
  margin-bottom:20px;
  position:relative;
}

.related-products h3::after{
  content:"";
  width:60px;
  height:3px;
  background:#0a4b9e;
  position:absolute;
  left:0;
  bottom:-8px;
  border-radius:10px;
}

/* GRID */
.related-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}

/* CARD */
.related-card{
  background:white;
  border-radius:14px;
  box-shadow:0 10px 25px rgba(0,0,0,0.05);
  padding:15px;
  text-align:center;
  transition:.25s;
  border:1px solid rgba(10,75,158,0.08);
}

.related-card:hover{
  transform:translateY(-5px);
  box-shadow:0 15px 35px rgba(0,0,0,0.12);
}

/* IMAGE */
.related-card img{
  width:100%;
  aspect-ratio: 1 / 1; /* kare */
  object-fit: cover;
  border-radius:10px;
}

/* TEXT */
.related-card h4{
  margin:10px 0 5px;
  font-size:15px;
}

.rp-price{
  display:block;
  color:#e63946;
  font-weight:700;
  margin-bottom:10px;
}

/* BUTTON */
.rp-btn{
  display:inline-block;
  padding:8px 18px;
  background:#0a4b9e;
  color:white;
  text-decoration:none;
  border-radius:20px;
  font-size:18px;
}

/* RESPONSIVE */
@media(max-width:1024px){
  .related-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:500px){
  .related-grid{
    grid-template-columns:1fr;
  }
}


@media(max-width:768px){
  .thumbs{
    overflow-x:auto;
    flex-wrap:nowrap;
    padding-bottom:5px;

    -webkit-overflow-scrolling:touch;
    scroll-behavior:smooth;
  }

  .thumbs::-webkit-scrollbar{
    display:none;
  }

  .thumbs img{
    flex:0 0 auto;
  }
}



@media(max-width:768px){
  .thumbs{
    scroll-snap-type:x mandatory;
  }

  .thumbs img{
    scroll-snap-align:start;
  }
}

.product-description {
  max-width: 900px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
  line-height: 1.7;
  color: #333;
}

.short-desc {
  background: #f5f7fa;
  padding: 20px;
  border-left: 4px solid #0077ff;
  margin-bottom: 25px;
}

.short-desc h2 {
  margin-top: 0;
  font-size: 20px;
}

.long-desc h2 {
  font-size: 24px;
  margin-bottom: 15px;
}

.long-desc section {
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.long-desc h3 {
  font-size: 18px;
  color: #0077ff;
  margin-bottom: 10px;
}

.long-desc ul {
  padding-left: 20px;
}

.long-desc ul li {
  margin-bottom: 6px;
}

.faq p {
  background: #fafafa;
  padding: 10px;
  border-radius: 6px;
  border: 1px solid #eee;
  margin-bottom: 10px;
}