  body {
    min-height: 100vh;
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Optima','Didot','Playfair Display', serif;
    background-color: #FFF;
  }

  .site-header {
    background-color: #FFF;
    padding: 10px 8px;
    min-height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    line-height: 1;
  }

  header .logo {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 6px;        /* Harf aralarını açarak zarafet katar */
    text-transform: uppercase;  /* Hepsi büyük harf kalsın ama aralıklı olsun */
    color: #a80000;
    text-decoration: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }

  .header-icons {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    display: flex;
    gap: 12px;
  }

  .header-icons .icon-left,
  .header-icons .icon-right {
    display: flex;
    gap: 8px;
  }

  .header-icons a {
    font-size: 20px;
    color: #a80000;
    text-decoration: none;
  }

  .list-icon {
    display: none;
  }

  main {
    flex-grow: 1;
    width: 100%;
    max-width: 1800px;
    margin: 30px auto;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
  }

  .info-wrapper { display:none; } /* kullanılmıyor */

  .desc-box {
    flex: 1 1 300px;
    background-color: #FFF;
    border: 8px solid #a80000;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #a80000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: left;
  }

  /* ==== Görsel kolonu (image + dots birlikte) ==== */
  .image-col{
    display:flex;
    flex-direction:column;
    align-items:stretch;
  }

  /* ==== GÖRSEL KUTUSU + SLIDER ==== */
  .image-box {
    flex: 1 1 400px;
    position: relative;
    border: 8px solid #a80000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    overflow: hidden;
    background: #FFF;
  }

  .pg-viewport {
    overflow: hidden;
    width: 100%;
    display: block;
    aspect-ratio: 4 / 5;
    line-height:0
  }

  .pg-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 420ms ease;
    will-change: transform;
    touch-action: pan-y;
  }

  .pg-slide {
    flex: 0 0 100%;
    display: flex;
    align-items: stretch;
    justify-content: center;
    height: 100%;
  }

  .pg-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    background: transparent;
    vertical-align: middle;
  }

  .favori-icon {
    position: absolute; top: 12px; right: 12px;
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 50%; width: 40px; height: 40px;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 11;
  }
  .favori-icon.aktif { border: 6px solid #a80000; }
  .favori-icon i { color: #a80000; font-size: 18px; }

  .arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    font-size: 30px; background-color: #FFF; color: #a80000;
    width: 42px; height: 42px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    cursor: pointer; box-shadow: 0 2px 5px rgba(0,0,0,0.3);
    transition: transform 0.2s; z-index: 12; user-select: none;
  }
  .arrow:hover { transform: translateY(-50%) scale(1.15); }
  .arrow.left  { left: 8px; }
  .arrow.right { right: 8px; }

  .product-info {
    flex: 1 1 400px;
    background-color: #FFF;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 8px solid #a80000;
  }

  .product-info h2 { margin-top: 0; color: #a80000; }
  .product-info p  { margin: 10px 0; color: #a80000; }

  .add-to-cart {
    margin-top: 20px; padding: 12px; background-color: #a80000; color: white;
    font-size: 16px; border: none; border-radius: 6px; width: 100%; cursor: pointer;
  }
  .add-to-cart:hover { background-color: #a00000; }

  .kategori-menusu { display: none; }

  footer {
    background-color: #FFF; color: #a80000; text-align: center;
    padding: 14px; margin-top: 40px;
  }

  footer .social-icons {
    margin-top: 10px; display: flex; justify-content: center; gap: 15px;
  }

  .footer-links { margin-top: 20px; font-size: 18px; text-align: center; font-weight: bold; }
  .footer-links a { color: #a80000; text-decoration: none; margin: 0 5px; font-weight: bold; }
  .footer-links a:hover { text-decoration: underline; }

  footer .social-icons a { color: #a80000; font-size: 20px; transition: transform 0.3s, color 0.3s; }
  footer .social-icons a:hover { transform: scale(1.3); color: #a00000; } 

  /* ===== Masaüstü düzen ===== */
  html, body { 
    overflow-x: hidden; 
    margin: 0;
    padding: 0;
  }

  @media (min-width: 992px) {
    main {
      flex-direction: row;
      align-items: flex-start;
      justify-content: space-between;
      gap: 120px;
      max-width: 1500px;
      margin: 20px auto 0;
      padding: 0 100px;
      box-sizing: border-box;
    }

    .image-col {
      flex: 0 1 58%;
      max-width: 58%;
      display: flex;            
      justify-content: center; 
      align-items: stretch;   
    }

    .product-info {
      flex: 0 0 42%;
      max-width: 42%;
      height: 750px; 
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: flex-start;
      box-sizing: border-box;
      border: 2px solid #a80000;
      padding: 30px;
      background-color: #FFF;
    }

    .image-box {
      flex: 0 0 auto !important;
      width: 600px !important;     
      height: 750px !important;    
      margin: 0;
      box-sizing: border-box;
      padding: 0;
      border: 2px solid #a80000;
    }
  
    .pg-viewport,
    .pg-slide,
    .pg-slide img {
      width: 100% !important;
      height: 100% !important;
      object-fit: contain;
    }
  }

  /* ===== Mobil düzen ===== */
  @media (max-width: 768px) {

    .kategori-menusu { display: block; }

    main {
      flex-direction: column; padding: 10px; width: 100%; max-width: 100%;
      box-sizing: border-box; margin: 0px auto 0; gap: 0px;
    }

    .desc-box, .image-col, .product-info {
      width: 100% !important; max-width: 100% !important; box-sizing: border-box; margin: 0 auto; 
    }

    .image-box {
      order: 1;
      border-width: 2px;
      box-sizing: border-box;
      flex: 0 0 auto;
      padding: 0;
      position: relative;
    }

    .pg-dots {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      bottom: 10px;
      margin: 0;
      padding: 0;
      z-index: 20;
    }

    .image-col { 
      position: relative; 
    }

    .product-info { order: 3; border-width: 2px; margin-top: 12px;}
    .desc-box     { order: 2; height: auto; }

    .arrow { top: 50% !important; transform: translateY(-50%) !important; }
    .arrow.left { left: 6px; }
    .arrow.right{ right: 6px; }

    .arrow { 
      display: none !important;
    }

    .header-icons{
      width: 100%; left: 0; right: 0; top: 50%; transform: translateY(-50%);
      display: flex; justify-content: space-between; padding: 0 20px;
      position: absolute; box-sizing: border-box;
    }

    .icon-left, .icon-right { display: flex; gap: 10px; }
    .header-icons a { font-size: 20px; color: #a80000; text-decoration: none; }
    .list-icon { display: inline-block; }
    .kategori-menusu {
      display: block; position: fixed; top: 0; right: -65%; width: 65%; height: 100%;
      background-color: #FFF; box-shadow: -2px 0 10px rgba(0,0,0,0.3); z-index: 9999;
      transition: right 0.3s ease; padding: 20px; box-sizing: border-box;
    }
    .kategori-menusu .kapat-btn { position: absolute; top: 10px; right: 15px; font-size: 28px; font-weight: bold; color: #a80000; cursor: pointer; }
    .kategori-menusu.aktif { right: 0; }
    .kategori-menusu h3 { margin-top: 0; color: #a80000; font-size: 20px; }
    .kategori-menusu ul { list-style: none; padding: 0; margin-top: 15px; }
    .kategori-menusu ul li { margin-bottom: 10px; font-size: 16px; color: #a80000; cursor: pointer; }
    .kategori-menusu ul li a { text-decoration: none; color: #a80000; font-weight: 600; font-size: 17px; }
  }

  @media (prefers-reduced-motion: reduce) {
    .pg-track { transition: transform 1ms linear !important; }
  }

  /* --- Slider dots --- */
  .pg-dots{
    display:flex; gap:8px; justify-content:center; align-items:center;
    margin-top:10px; padding:6px 0;
  }
  .pg-dot{
    width:10px; height:10px; border-radius:999px;
    border:2px solid #a80000; background:transparent;
    cursor:pointer; display:inline-block;
  }
  .pg-dot.is-active{ background:#a80000; }
  .pg-dot:focus { outline: 2px solid #a80000; outline-offset: 2px; }

  /* =========================
     ✅ TRUST BADGES (grid)
     ========================= */
  .trust-badges{
    box-sizing:border-box;
    width:100%;
    max-width:1400px;
    font-family: 'Optima', 'Didot', 'Playfair Display', serif !important;
    margin:28px auto 0;
    padding:22px 10px;
    border-top:1px solid #d8bfa8;
    border-bottom:1px solid #d8bfa8;
    background:#FFF;
    display:grid;
    grid-template-columns:repeat(3,1fr); /* 6 badge için 3x2 düzen */
    gap:24px;
    text-align:center;
  }
  .tb-item{ display:flex; flex-direction:column; align-items:center; }

  .tb-btn{
    -webkit-appearance:none;
    appearance:none;
    border:0;
    background:transparent;
    cursor:pointer;
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:8px;
    padding:8px 6px;
    position:relative;
    outline:none;
    outline-offset:4px;
    -webkit-tap-highlight-color: transparent;
  }
  .tb-btn:active,
  .tb-btn:focus{ background: transparent; }
  .tb-btn:focus-visible{
    outline:2px solid #a80000;
    outline-offset:4px;
  }
  .tb-btn i{ font-size:32px;color:#a80000; }
  .tb-btn .tb-text{ font-size:16px; font-weight:600; color:#3a3a52; }

  @keyframes idle-bounce { 
    0%,100% { transform: translateY(0) }
    50%     { transform: translateY(-2px) }
  }
  .tb-btn i{ animation: idle-bounce 2.6s cubic-bezier(.25,.46,.45,.94) infinite; }
  @media (prefers-reduced-motion: reduce){ .tb-btn i{ animation:none } }

  .tb-panel{
    position: relative;
    overflow: hidden;
    max-height: 0;
    clip-path: inset(0 0 100% 0);
    transform-origin: top center;
    transform: scaleY(.98);
    opacity: 0;
    padding: 0 8px;
    color: #3a3a52;
    font-size: 14px;
    transition:
      max-height .70s ease-in-out,
      clip-path  .70s cubic-bezier(.22,.61,.36,1),
      transform  .70s cubic-bezier(.22,.61,.36,1),
      opacity    .40s ease,
      padding    .40s ease;
    will-change: clip-path, transform, opacity, max-height;
  }
  .tb-panel.is-open{
    max-height: 220px;
    clip-path: inset(0 0 0 0);
    transform: scaleY(1);
    opacity: 1;
    padding: 10px 8px;
  }
  .tb-panel::after{
    content: "";
    position: absolute;
    left: 8px; right: 8px; top: 0;
    height: 2px;
    background: #a80000;
    transform-origin: left center;
    transform: scaleX(0);
    transition: transform .70s cubic-bezier(.22,.61,.36,1);
    pointer-events: none;
  }
  .tb-panel.is-open::after{ transform: scaleX(1); }

  .tb-typed-line { display: inline-block; white-space: pre-wrap; }
  .tb-caret{
    display:inline-block;
    width:8px; height:1em;
    background:#a80000;
    margin-left:2px;
    opacity:.7;
    animation: caret-blink 1s steps(1,end) infinite;
  }
  @keyframes caret-blink { 50%{ opacity:0 } }
  @media (prefers-reduced-motion: reduce){
    .tb-panel{ transition: none; clip-path: inset(0 0 0 0); transform: none; opacity: 1; max-height: none; padding: 10px 8px; }
    .tb-panel::after{ display:none; }
    .tb-caret{ display:none; }
  }

  @keyframes drive { 0%{transform:translateX(0)} 50%{transform:translateX(36px)} 100%{transform:translateX(0)} }
  @keyframes dots { 0%,55%{opacity:0} 65%{opacity:1} 80%{opacity:.2} 100%{opacity:0} }
  .tb-btn.run-truck i{ animation: drive 1.6s ease-in-out; }
  .tb-btn .tb-dots{ position:absolute; right:24px; bottom:4px; font-weight:800; color:#a80000; opacity:0; }
  .tb-btn.run-truck .tb-dots{ animation: dots 1.6s ease-in-out; }

  @media (max-width: 480px){
    @keyframes drive { 0%{transform:translateX(0)} 50%{transform:translateX(24px)} 100%{transform:translateX(0)} }
  }

  @keyframes spin360 { from{transform:rotate(0)} to{transform:rotate(360deg)} }
  .tb-btn.run-rotate i{ animation: spin360 1.1s cubic-bezier(.35,.01,.23,1); }

  @keyframes insert { 0%{transform:translateX(0)} 55%{transform:translateX(24px)} 100%{transform:translateX(0)} }
  .tb-btn.run-card i{ animation: insert 1.2s ease-in-out; }
  .tb-btn .tb-slot{ position:absolute; width:36px; height:3px; background:#a80000; border-radius:2px; bottom:6px; left:50%; transform:translateX(-50%); }

  @keyframes ring {
    0%,100% { transform: rotate(0) }
    15% { transform: rotate(-18deg) }
    35% { transform: rotate(14deg) }
    55% { transform: rotate(-10deg) }
    75% { transform: rotate(6deg) }
  }
  @keyframes rays { from{opacity:.8; transform:scale(.8)} to{opacity:0; transform:scale(1.4)} }
  .tb-btn.run-bell i{
    animation: ring 1.4s ease-in-out;
    transform-origin: top center;
  }
  .tb-btn .tb-rays{ position:absolute; width:12px; height:12px; border:2px solid #a80000; border-radius:50%; top:2px; right:18px; opacity:0; }
  .tb-btn.run-bell .tb-rays{ animation: rays 1.0s ease-out; }
  .tb-btn:hover i{ filter: drop-shadow(0 1px 0 rgba(0,0,0,.05)); }
  
  /* Mobil & tablet: 3 sütun (toplam 6 badge = 3 + 3) */
@media (max-width: 992px){
  .trust-badges{
    grid-template-columns: repeat(3, 1fr); /* 👉 3 tane yanyana */
    gap: 16px;
  }
  .tb-btn i{ font-size: 28px; }
  .tb-btn .tb-text{ font-size: 15px; }
}

/* Çok küçük ekranlarda da yine 3 sütun kalsın */
@media (max-width: 420px){
  .trust-badges{
    grid-template-columns: repeat(3, 1fr); /* 👉 yine 3 sütun */
  }
}

  
  
  
  /* =============================
     Benzer Ürünler — Yatay Slider
     ============================= */
  :root{
    --bg-bordo:#a80000;
    --bg-border:#e6e1d3;
    --bg-krem:#FFF;
  }

  .bg-slider{ margin: 26px 0; position: relative; }
  .bg-slider__head h3{
    margin:0 0 10px 0;
    background-color: transparent !important;
    color: #a80000;
    font-weight: 500 !important;
    text-align:center;
    font-size: 1.25rem;
    font-weight: 800;
  }

  /* Viewport: yatay kaydırma + snap + mobilde yan boşluk */
  .bg-slider__viewport{
    background: transparent !important;
    overflow-x:auto; 
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    scroll-snap-type: x proximity; /* stabil snap */
    padding: 6px 12px 14px;
    touch-action: pan-x pan-y;
    cursor: grab;
    overscroll-behavior-x: contain;
  }
  .bg-slider__viewport:active{ cursor: grabbing; }
  .bg-slider__viewport::-webkit-scrollbar{ display:none; }

  /* Track ve kartlar */
  .bg-slider__track{
    display:flex; 
    gap:14px; 
    padding:0;
    margin:0;
  }

  /* Kart */
  .bg-card{
    flex: 0 0 calc(100% - 24px);   /* Mobil: 1 kart görünür */
    max-width: 420px;
    scroll-snap-align: center;
    background:transparent !important;
    border:none; 
    border-radius:12px;
    overflow:hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
  }
  .bg-card__thumb{ aspect-ratio:3/4; width:100%; background:transparent !important; }
  .bg-card__thumb img{ width:100%; height:100%; background: transparent !important; object-fit:cover; display:block; }

  .bg-card__body{
    padding:12px 14px;
    background:var(--bg-krem);
    text-align:center;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
  }
  .bg-card__title{
    font-size:1rem; font-weight:800; 
    margin:0 0 4px; line-height:1.3;
    color: #a80000;
  }
  .bg-card__price{
    color:#333;
    font-weight:800;
    text-decoration:none;
    font-size: 15px;           /* Okunabilir ama mütevazı boyut */
    font-weight: 400;          /* Yazıdan bir tık daha belirgin */
    letter-spacing: 1.5px;     /* Rakamların arasında hafif nefes payı */
    margin-bottom: 12px;
    display: block;            /* Konumu garanti altına al */
  }

  .bg-card a.bg-card__link{
    display:block; height:100%; text-decoration:none; color:inherit;
  }

  /* Masaüstünde 5 kart görünür */
  @media (min-width: 1200px){
    .bg-card{
      flex: 0 0 calc((100% - (4 * 14px)) / 5);
      max-width:none;
    }
  }

  /* Progress bar */
  .bg-slider__progress{
    height:4px; 
    background:#e9dcd0; 
    border-radius:999px; 
    overflow:hidden;
    margin: 6px 20px 0 20px;
  }
  .bg-slider__progress-fill{
    height:100%;
    width:100%;
    transform-origin: left center;
    transition: transform .15s linear;
    background:var(--bg-bordo);
    border-radius:999px;
    transform: scaleX(0); /* başlangıç */
  }

  /* Masaüstü ok butonları (sadece ≥992px göster) */
  .bg-nav{
    position:absolute; top:50%; transform:translateY(-50%);
    width:46px; height:46px; border-radius:999px;
    background:#fff; color:var(--bg-bordo);
    border:2px solid var(--bg-bordo);
    display:none; align-items:center; justify-content:center;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
    cursor:pointer; z-index:5;
  }
  .bg-nav:focus{ outline:2px solid #a80000; outline-offset:2px; }
  .bg-prev{ left:8px; }
  .bg-next{ right:8px; }

  @media (min-width: 992px){
    .bg-nav{ display:flex; }
  }
  
  /* Benzer ürünler başlığının arka planını tamamen şeffaf tut */
header.bg-slider__head,
header.bg-slider__head h3{
  background: transparent !important;
  box-shadow: none !important;
}

/* Kart ve içi şeffaf */
.bg-slider .bg-card,
.bg-slider .bg-card__thumb,
.bg-slider .bg-slider__viewport,
.bg-slider .bg-card__body{
  background: transparent !important;
  background-color: transparent !important;
}

/* Benzer ürünler: liste işaretçilerini KAPAT */
.bg-slider__track,
.bg-slider__track > li {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

/* Safari/WebKit’te nadiren beliren marker’ı da söndür */
.bg-slider__track > li::marker {
  content: '' !important;
}

/* Varsayılan: çizgi gizli olsun */
.tb-btn .tb-slot {
  display: none !important;
}
  
/* ✅ Ürün seçenekleri (renk / beden kutuları) */
.product-options {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-row {
  background: #ffffff;
  border: 2px solid #a80000;
  border-radius: 999px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.option-label {
  font-size: 11px;
  font-weight: 700;
  color: #a80000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 6px;
}

.option-label i {
  font-size: 14px;
}

/* Mobilde düzen */
@media (max-width: 768px) {
  .option-row {
    flex-direction: row;
    gap: 8px;
  }
}

/* ✅ Beden Rehberi butonu — açıklama kutusunda, güçlü buton görünümü */
.size-guide-trigger.size-guide-button {
  margin-top: 6px;
  width: 100%;
  padding: 10px 14px;
  border-radius: 999px;
  border: 2px dashed #a80000;
  background: #ffffff;
  color: #a80000;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.25s ease, color 0.25s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.size-guide-trigger.size-guide-button i {
  font-size: 14px;
}

.size-guide-trigger.size-guide-button:hover {
  background: #a80000;
  color: #FFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.18);
}

/* ✅ Custom dropdown genel yapı */
.bg-custom-select {
  position: relative;
  min-width: 140px;
}

/* === Varsayılan dropdown başlığı (Seçiniz yazısı) için stil === */
.bg-select-text {
  display: block;
  width: 100%;
  text-align: center; /* ✔️ Ortalar */
  color: #a80000;     /* ✔️ Bordo renk */
  font-weight: 700;   /* ✔️ Belirgin olsun */
  letter-spacing: 0.03em; /* opsiyonel, premium duruş */
}

.bg-select-toggle {
  border: none;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #3a3a52;
}

.bg-select-toggle i {
  font-size: 12px;
}

/* Açılan menü */
.bg-select-menu {
  position: absolute;
  left: 0;
  right: 0;
  top: 110%;
  background: #ffffff;
  border: 2px solid #a80000;
  border-radius: 10px;
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
  padding: 6px 0;
  max-height: 220px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
  z-index: 2000;
}

.bg-custom-select.is-open .bg-select-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.bg-select-menu button {
  width: 100%;
  padding: 8px 12px;
  border: none;
  background: transparent;
  text-align: left;
  font-size: 13px;
  color: #3a3a52;
  cursor: pointer;
}

.bg-select-menu button:hover {
  background: #FFF;
  color: #a80000;
}

@media (max-width: 768px) {
  .bg-custom-select {
    width: 100%;
  }
  .bg-select-menu {
    max-height: 200px;
  }
}

/* =========================
   ✅ SIZE GUIDE POPUP
   ========================= */

.size-guide-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  z-index: 10000;
}

.size-guide-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.size-guide-modal {
  background: #FFF;
  border-radius: 12px;
  max-width: 620px;
  width: 92%;
  max-height: 80vh;
  overflow-y: auto;
  padding: 20px 24px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.size-guide-overlay.is-active .size-guide-modal {
  transform: translateY(0) scale(1);
  opacity: 1;
}

.size-guide-close {
  border: none;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  color: #a80000;
  float: right;
}

.size-guide-close:hover {
  transform: scale(1.1);
}

.size-guide-content {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: #3a3a52;
}

.size-guide-content h2 {
  margin-top: 0;
  margin-bottom: 10px;
  color: #a80000;
  font-size: 18px;
}

.size-guide-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 13px;
}

.size-guide-content table th,
.size-guide-content table td {
  border: 1px solid #d8bfa8;
  padding: 6px 8px;
  text-align: center;
}

.size-guide-content table th {
  background: #f1e4d7;
  color: #a80000;
}

/* Scroll kilidi */
body.size-guide-open {
  overflow: hidden;
}

/* Mobilde modal biraz daha dolu dursun */
@media (max-width: 768px) {
  .size-guide-modal {
    width: 94%;
    padding: 18px;
  }
}
  
/* === Beden Rehberi Pop-up === */
.sg-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 2000;
}

.sg-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.sg-modal {
  position: relative;
  background: #ffffff;
  border-radius: 16px;
  max-width: 480px;
  width: 90%;
  padding: 18px 18px 16px;
  border: 3px solid #a80000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transform: translateY(10px) scale(0.97);
  transition: transform 0.25s ease;
}

.sg-backdrop.is-open .sg-modal {
  transform: translateY(0) scale(1);
}

.sg-modal h3 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #a80000;
  text-align: center;
}

.sg-content {
  font-size: 14px;
  line-height: 1.6;
  color: #3a3a52;
  max-height: 55vh;
  overflow-y: auto;
}

.sg-close {
  position: absolute;
  top: 8px;
  right: 12px;
  border: none;
  background: transparent;
  font-size: 22px;
  color: #a80000;
  cursor: pointer;
}

@media (max-width: 768px) {
  .sg-modal {
    width: 94%;
    max-width: 94%;
  }
}

  
