/* =========================================================
   Theme Base
========================================================= */
:root{
  --primary:#c62828;
  --primary-600:#b71c1c;
  --accent:#ffb300;
  --bg:#0e0b0b;
  --text:#111;
}

body{
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:#fff; color:#111;
}

.navbar{
  background:linear-gradient(90deg,#0e0b0b,#1a0f0f);
}
.navbar .nav-link, .navbar-brand, .navbar .btn{ color:#f7f7f7 !important; }
.navbar .btn-outline-light{ border-color:#ffb300; color:#ffb300 !important; }

.hero{
  background:linear-gradient(135deg,var(--primary),var(--accent));
  color:#fff; padding:48px 0; border-bottom:4px solid var(--primary-600);
}

.footer{ background:#0e0e0e; color:#ccc; padding:24px 0; margin-top:48px; }

.price{ font-weight:700; color:#b71c1c; }
.badge-amber{ background:#ffca28; color:#111; }
.category-badge{
  background:#f7f7f7; border:1px solid #eee;
  border-radius:999px; padding:.25rem .6rem; margin:.15rem; display:inline-block;
}

/* =========================================================
   Hero Slider
========================================================= */
.hero-wrap { margin-top: 0; }
.hero-slider{
  position:relative; overflow:hidden; border-radius:12px;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  height: clamp(260px, 40vw, 520px); background:#111;
}
.hero-slider .slides{ display:flex; height:100%; transition:transform 600ms ease; will-change:transform; }
.hero-slider .slide{ min-width:100%; height:100%; position:relative; }
.hero-slider .slide picture, .hero-slider .slide img{
  width:100%; height:100%; object-fit:cover; display:block;
}
/* kırmızı/kehribar overlay */
.hero-slider .slide::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(120deg, rgba(198,40,40,.45), rgba(255,179,0,.25) 55%, rgba(0,0,0,.20));
}
.hero-slider .caption{
  position:absolute; inset:auto 0 8% 0; color:#fff; text-align:left;
  padding:0 5%; max-width:900px; z-index:2;
  text-shadow:0 2px 12px rgba(0,0,0,.35);
}
.hero-slider .caption h2{ font-size:clamp(22px,4vw,46px); margin:0 0 .25em; font-weight:800; }
.hero-slider .caption p{ font-size:clamp(14px,2vw,18px); opacity:.95; margin-bottom:1em; }

.btn-amber{
  background:linear-gradient(135deg,#ffb300,#ffcc66);
  color:#201a00; border:0; padding:.6rem 1.2rem; border-radius:8px; font-weight:700;
}
.btn-amber:hover{ filter:brightness(.95); }

/* Dots */
.hero-slider .dots{
  position:absolute; left:50%; transform:translateX(-50%);
  bottom:14px; display:flex; gap:8px; z-index:3;
}
.hero-slider .dots button{
  width:10px; height:10px; border-radius:50%; border:0;
  background:rgba(255,255,255,.5); cursor:pointer;
}
.hero-slider .dots button.active{ background:#ffb300; }

/* Arrows */
.hero-slider .nav{
  position:absolute; top:50%; transform:translateY(-50%); z-index:3;
  width:44px; height:44px; border-radius:50%; border:0; cursor:pointer;
  background:rgba(0,0,0,.35); color:#fff; font-size:28px; line-height:44px;
  display:grid; place-items:center; transition:background .2s;
}
.hero-slider .nav:hover{ background:rgba(0,0,0,.55); }
.hero-slider .nav.prev{ left:12px; }
.hero-slider .nav.next{ right:12px; }

@media (max-width: 768px){
  .hero-slider{ height:clamp(220px,55vw,380px); border-radius:0; }
  .hero-slider .caption{ inset:auto 5% 6% 5%; }
}

/* =========================================================
   Promo Cards (kampanya blokları)
========================================================= */
.promo-card{ position:relative; display:block; border-radius:12px; overflow:hidden; }
.promo-card img{
  width:100%; height:220px; object-fit:cover; display:block; transition:transform .5s;
}
.promo-card:hover img{ transform:scale(1.04); }
.promo-caption{
  position:absolute; inset:auto 0 0 0; padding:14px 16px; color:#fff;
  background:linear-gradient(180deg, transparent, rgba(0,0,0,.55));
}
.promo-caption h5{ margin:0 0 4px; font-weight:800; }
.promo-caption p{ margin:0; opacity:.9; }

/* =========================================================
   Product Cards
========================================================= */
.card{ background:#fff; border:1px solid #eee; border-radius:12px; }
.card.card-product{ border-radius:12px; overflow:hidden; transition:transform .15s ease, box-shadow .15s ease; }
.card.card-product:hover{ transform:translateY(-2px); box-shadow:0 6px 24px rgba(0,0,0,.08); }

.card-product .thumb{ position:relative; display:block; aspect-ratio:1/1; overflow:hidden; }
.card-product .thumb img{
  width:100%; height:100%; object-fit:cover; transition:transform .4s; display:block;
}
.card-product .thumb:hover img{ transform:scale(1.05); }
.card-product .badge-amber{
  position:absolute; left:10px; top:10px; background:#ffb300; color:#201a00;
  padding:4px 8px; border-radius:6px; font-size:12px; font-weight:700;
}
.card-product .title{ font-weight:700; margin:12px 0 6px; }
.card-product .price{ display:flex; gap:8px; align-items:baseline; }
.card-product .price .new{ font-weight:800; }
.card-product .price .old{ color:#888; text-decoration:line-through; }

/* Desktop için alternatif sabit yükseklik */
@media (min-width: 992px){
  .card-product .thumb{ height:220px; aspect-ratio:auto; }
  .card-product .thumb img{ height:100%; }
}
@media (max-width: 991.98px){
  .card-product .thumb{ height:180px; }
}

/* =========================================================
   Layout Utilities
========================================================= */
.container{ width:100%; margin:0 auto; padding:0 16px; }
@media (min-width: 576px){ .container{ max-width:540px; } }
@media (min-width: 768px){ .container{ max-width:720px; } }
@media (min-width: 992px){ .container{ max-width:960px; } }
@media (min-width: 1200px){ .container{ max-width:1140px; } }

.my-4 { margin-top:1.5rem; margin-bottom:1.5rem; }
.mt-3 { margin-top:1rem; }
.mb-0 { margin-bottom:0; } .mb-2{ margin-bottom:.5rem; }
.d-flex{ display:flex; } .justify-content-between{ justify-content:space-between; }
.align-items-center{ align-items:center; }

.btn{ display:inline-block; padding:.6rem 1rem; border-radius:8px; border:1px solid transparent;
      cursor:pointer; text-decoration:none; text-align:center; font-weight:700; }
.btn-block{ display:block; width:100%; }
.btn-sm{ padding:.45rem .75rem; font-size:.9rem; border-radius:6px; }
.btn-primary{ background:#c62828; border-color:#c62828; color:#fff; }
.btn-primary:hover{ filter:brightness(.95); }
.btn-outline-secondary{ background:#fff; border-color:#b0b0b0; color:#333; }
.btn-outline-secondary:hover{ background:#f5f5f5; }
.btn-light{ background:#f6f6f6; color:#222; border-color:#eee; }

.alert{ padding:1rem 1.25rem; border-radius:10px; }
.alert-light{ background:#f7f7f7; color:#333; }

/* =========================================================
   Grids
========================================================= */
.grid-promos{ display:grid; grid-template-columns:repeat(1,1fr); gap:12px; }
@media (min-width:768px){ .grid-promos{ grid-template-columns:repeat(3,1fr); } }

.grid-products{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; }
@media (min-width:576px){ .grid-products{ grid-template-columns:repeat(3,1fr); } }
@media (min-width:992px){ .grid-products{ grid-template-columns:repeat(4,1fr); } }

/* =========================================================
   Video Embed (16:9)
========================================================= */
.embed-16x9{
  position:relative; padding-bottom:56.25%;
  height:0; overflow:hidden; background:#000;
  border:1px solid #eee; border-radius:8px; width:100%;
}
/* Her koşulda görünür ve konteynırı doldursun */
.embed-16x9 iframe, .embed-16x9 video{
  position:absolute; inset:0; width:100%; height:100%; display:block;
}
/* Ürün sayfasındaki ana görsel alanında video varsa tam genişlik olsun */
.pd-main > .embed-16x9{ width:100%; }

/* (İsteğe bağlı) kare alan zorlamasını kaldırmak için:
.pd-main{ display:block; aspect-ratio:auto; }
*/

/* =========================================================
   Kehribar Şeritli Başlıklar
========================================================= */
.amber-title{
  position:relative; display:inline-block;
  padding-bottom:.5rem; margin-bottom:.75rem; font-weight:700;
}
.amber-title::after{
  content:""; position:absolute; left:0; bottom:0;
  width:88px; height:4px; border-radius:999px;
  background:linear-gradient(90deg,#e2c28a,#b37a1f);
  box-shadow:0 0 0 1px rgba(0,0,0,.04) inset;
}
/* Ortalanmış varyant */
.amber-title.center{ display:block; text-align:center; }
.amber-title.center::after{ left:50%; transform:translateX(-50%); }

/* Kehribar arkaplanlı vurgu etiketi */
.amber-highlight{
  background:linear-gradient(90deg,#e2c28a,#b37a1f);
  color:#120c0c; display:inline; padding:.2rem .6rem; border-radius:.35rem;
  box-decoration-break:clone; -webkit-box-decoration-break:clone;
}
/* Ortalamak için yardımcı */
.amber-center{ display:inline-block; margin-inline:auto; }

.page-content{
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.7;
  color: #374151; /* koyu gri */
}

/* Paragraflar */
.page-content p{
  margin-bottom: 0.9rem;
}

/* Alt başlıklar */
.page-content h2{
  font-size: 1.4rem;
  margin: 1.8rem 0 0.8rem;
  font-weight: 600;
}
.page-content h3{
  font-size: 1.2rem;
  margin: 1.4rem 0 0.6rem;
  font-weight: 600;
}

/* Listeler */
.page-content ul,
.page-content ol{
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.page-content li + li{
  margin-top: .25rem;
}

/* Alıntı */
.page-content blockquote{
  border-left: 3px solid #3b82f6;
  padding-left: .9rem;
  margin: 1.4rem 0;
  color: #4b5563;
  font-style: italic;
}

/* Görseller */
.page-content img{
  max-width: 100%;
  height: auto;
  border-radius: .5rem;
  margin: 1.2rem 0;
}
.btn-fav-toggle{
  border-radius: 999px;
  border: 1px solid #e0e0e0;
  background: #fff;
  color: #444;
  padding: 6px 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all .18s ease;
}
.btn-fav-toggle .fav-icon{
  width: 24px;
  height: 24px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f7f7f7;
}
.btn-fav-toggle .fav-icon i{
  font-size: 14px;
}
.btn-fav-toggle:hover{
  border-color: #ffb3c0;
  background: #fff5f7;
}
.btn-fav-toggle.is-active{
  border-color: #e53935;
  background: #ffebee;
  color: #b71c1c;
}
.btn-fav-toggle.is-active .fav-icon{
  background: #e53935;
  color: #fff;
}
.btn-fav-toggle.is-active .fav-text{
  font-weight: 600;
}
