/* Configurator genel */
.configurator-container {
    max-width: 1000px;
    margin: 20px auto;
    padding: 22px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
    color: #222;
}
.config-row { margin-bottom:20px; }
.config-row label { display:block; font-weight:700; margin-bottom:8px; }

/* Renk grid - biraz daha büyük kutular */
.gp-color-grid { display:flex; flex-wrap:wrap; gap:14px; }
.gp-color-grid-large .gp-color-box { width:120px; height:120px; }
.gp-color { display:flex; flex-direction:column; align-items:center; cursor:pointer; width:130px; transition:transform .15s ease, box-shadow .15s ease; }
.gp-color input[type="radio"] { display:none; }
.gp-color-box { width:100px; height:100px; border-radius:8px; border:2px solid #ddd; margin-bottom:6px; display:block; flex-shrink:0; box-shadow:0 4px 10px rgba(0,0,0,0.04); transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease; }
.gp-color input:checked + .gp-color-box, .gp-color.selected .gp-color-box { outline:4px solid rgba(0,115,170,0.14); border-color:#005b99; transform: translateY(-4px); box-shadow:0 12px 30px rgba(0,115,170,0.08); }
.gp-color-label { font-size:13px; text-align:center; color:#222; margin-top:6px; word-break:break-word; }

/* Ölçü alanı + kapı görseli */
.gp-dim-wrap { display:flex; gap:18px; align-items:flex-start; }
.gp-dim-left { flex:1; }
.gp-dim-right { width:320px; text-align:center; }
.gp-dim-grid input { width:140px; padding:8px; margin-right:8px; border-radius:8px; border:1px solid #ccc; box-shadow:inset 0 1px 0 rgba(0,0,0,0.02); }
.door-img { width:300px; max-width:100%; height:auto; border-radius:8px; border:1px solid #eee; box-shadow:0 10px 24px rgba(0,0,0,0.06); }
.door-caption { font-size:12px; color:#555; margin-top:8px; }

/* Fiyat alanı */
.price-display { margin-top:12px; font-weight:800; font-size:20px; color:#005b99; word-wrap:break-word; }

/* === INFO Button – metinli versiyon (INFO) === */
.info-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #005b99;
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    margin-left: 8px;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: background .2s ease, transform .2s ease;
}

.info-btn:hover {
    background: #004b82;
    transform: translateY(-1px);
}

/* === INFO Popup === */
.info-popup {
    display: block;
    position: absolute;
    background: #005b99;
    color: #fff;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 13px;
    max-width: 300px;
    line-height: 1.35;
    z-index: 9999;
    box-shadow: 0 8px 30px rgba(0,0,0,0.18);
    pointer-events: none;
    word-break: break-word;
}

/* Add to cart buton kutusu */
#addToCartWrap { margin-top:14px; }
#addToCart { background:#005b99; color:#fff; border:none; padding:12px 18px; border-radius:8px; cursor:pointer; font-weight:700; box-shadow:0 8px 20px rgba(0,115,170,0.12); transition: transform .12s ease, box-shadow .12s ease; }
#addToCart:hover { transform: translateY(-3px); box-shadow:0 16px 36px rgba(0,115,170,0.16); }

/* Responsive: Mobilde column düzen (büyütülmüş kutular) */
@media (max-width: 768px){
    .gp-color, .gp-option { width:110px; } /* her bloğun toplam genişliği */
    .gp-color-box, .option-img { width:110px; height:110px; } /* kutuların kendisi */
    .gp-color-label { font-size:12px; } /* etiket yazısı biraz daha okunaklı */
    .gp-dim-wrap { flex-direction:column; }
    .gp-dim-right { width:100%; text-align:center; order:-1; margin-bottom:8px; }
    .door-img { width:260px; } /* istersen ölçü görselini de biraz büyüt */
}

/* Hover efektleri genel */
.gp-color:hover, .gp-option:hover { transform: translateY(-6px); }

/* küçük estetik notlar */
hr { border:none; border-top:1px solid #eee; margin:20px 0; }
.gp-dim-grid label {
    display: block;
    font-weight: 700;
    margin-bottom: 6px;
    font-size: 14px;
    color: #222;
}

.gp-dim-grid input {
    width: 140px;
    padding: 8px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-shadow: inset 0 1px 0 rgba(0,0,0,0.02);
}

/* === HERO SECTION === */
.hero-section {
    position: relative;
    background: url('https://insektenschutzonline.de/wp-content/uploads/2025/10/insk001.jpg') center/cover no-repeat;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    overflow: hidden;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 16px;
}
.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}
.hero-content p {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 28px;
    color: #e8e8e8;
}
.hero-btn {
    background: #005b99;
    color: #fff;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.3s ease;
}
.hero-btn:hover {
    background: #005f8a;
}

/* Mobil düzen */
@media (max-width: 768px) {
  .main-header {
      padding: 12px 16px;
  }
  .main-nav {
      display: none; /* mobil menü sonra eklenecek */
  }
  .site-header {
      background: rgba(0,115,170,0.95);
  }
  .hero-content h1 {
      font-size: 28px;
  }
  .hero-content p {
      font-size: 16px;
  }
  .hero-btn {
      padding: 12px 24px;
  }
}
/* === Hero tam ekran yüksekliğinde olsun === */
body.home .hero-section {
    height: 100vh !important;  /* Ekranın tamamını kapla */
    min-height: 100vh !important;
    overflow: hidden;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* === HEADER BEYAZLIK DÜZELTME === */
.site-header,
.transparent-header {
    background: transparent !important;
    box-shadow: none !important;
}

.main-header {
    background: transparent !important;
}

body.home .site-header {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
}

/* Rollladen seçenek kutusu vurgusu */
.gp-option.selected {
    border: 2px solid #005b99; /* vurgulu renk */
    border-radius: 6px;
    background-color: #e6f2f8;
}

/* input kutusunu gizleyip label kutusunu tıklanabilir yap */
.gp-option input[type="radio"] {
    display: none;
}
.gp-option {
    cursor: pointer;
    padding: 8px 12px;
    margin: 4px;
    display: inline-block;
    user-select: none;
}
.gp-option:hover {
    background-color: #f0f8ff;
}

/* Mesafe input row gizli varsayılan */
#shutterDistanceRow {
    display: none;
    margin-top: 8px;
}
#shutterDistanceRow input {
    width: 80px;
    padding: 4px 6px;
}
/* === Profil Tipleri Dinamik Durumlar === */

#profiltypen-options .gp-option {
  transition: all 0.3s ease;
}

#profiltypen-options .gp-option.disabled {
  opacity: 0.4;
  pointer-events: none;
  filter: grayscale(100%);
  transform: scale(0.97);
}

#profiltypen-options .gp-option.disabled img {
  filter: grayscale(100%) brightness(0.8);
}

#profiltypen-options .gp-option input[type="radio"]:disabled {
  cursor: not-allowed;
}
/* === Profil Typen - Görsel Boyutu (2x büyük) === */
.gp-profil-grid .profil-img {
    width: 300px !important;
    height: 300px !important;
    object-fit: cover;
    border-radius: 10px;
    border: 2px solid #ddd;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gp-profil-grid .gp-option {
    width: 320px !important;
}

.gp-profil-grid .gp-option:hover .profil-img {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.15);
}
/* Renk kutuları – arka plan JS ile boyandığı için CSS’ten özel renk verme yok */
.gp-color-box {
  background-image: none;
}
/* === Bodenschiene + Doppelflügel görsellerini büyüt, tam kare ve ortalı göster === */
.gp-boden-grid .gp-option,
.gp-option-grid.doppelfluegel-grid .gp-option {
    width: 220px !important;
    height: 220px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    box-shadow: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
}

.gp-boden-grid .option-img,
.gp-option-grid.doppelfluegel-grid .option-img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
}

/* Hover efekti */
.gp-boden-grid .gp-option:hover,
.gp-option-grid.doppelfluegel-grid .gp-option:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(0,0,0,0.15);
}

/* Etiketlerin hizası */
.gp-boden-grid .gp-color-label,
.gp-option-grid.doppelfluegel-grid .gp-color-label {
    font-size: 14px;
    margin-top: 8px;
    text-align: center;
    display: block;
}
/* === Öffnungsrichtung & Insektenschutznetz - Büyük Kutu Boyutu (Standart Stil) === */
body.single-product .configurator-container 
.gp-option-grid.oeffnungsrichtung-grid label.gp-option,
body.single-product .configurator-container 
.gp-option-grid.insektenschutznetz-grid label.gp-option {
    width: 200px !important;
    height: 200px !important;
    flex: 0 0 auto !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    transition: all .2s ease;
}

/* Görsel stili – beyaz zemin, gri kenar, gölgesiz */
body.single-product .configurator-container 
.gp-option-grid.oeffnungsrichtung-grid img.option-img,
body.single-product .configurator-container 
.gp-option-grid.insektenschutznetz-grid img.option-img {
    width: 200px !important;
    height: 200px !important;
    object-fit: contain !important;
    border-radius: 12px;
    border: 2px solid #ccc !important;
    background: #fff !important;
    box-shadow: none !important;
    transition: transform .2s ease, border-color .2s ease;
}

/* Hover efekti – sadece kenar rengi koyu mavi */
body.single-product .configurator-container 
.gp-option-grid.oeffnungsrichtung-grid label.gp-option:hover img.option-img,
body.single-product .configurator-container 
.gp-option-grid.insektenschutznetz-grid label.gp-option:hover img.option-img {
    transform: translateY(-4px);
    border-color: #005b99 !important;
    box-shadow: none !important;
}

/* Seçili efekt – güçlü koyu mavi çerçeve, gölgesiz */
body.single-product .configurator-container 
.gp-option-grid.oeffnungsrichtung-grid input:checked + img.option-img,
body.single-product .configurator-container 
.gp-option-grid.insektenschutznetz-grid input:checked + img.option-img {
    border-color: #005b99 !important;
    box-shadow: 0 0 0 3px rgba(0,91,153,0.6) !important;
    background: #fff !important;
    transform: translateY(-2px);
}

/* Mobil sürüm */
@media (max-width: 768px) {
    body.single-product .configurator-container 
    .gp-option-grid.oeffnungsrichtung-grid label.gp-option,
    body.single-product .configurator-container 
    .gp-option-grid.insektenschutznetz-grid label.gp-option {
        width: 120px !important;
        height: 120px !important;
    }

    body.single-product .configurator-container 
    .gp-option-grid.oeffnungsrichtung-grid img.option-img,
    body.single-product .configurator-container 
    .gp-option-grid.insektenschutznetz-grid img.option-img {
        width: 100px !important;
        height: 100px !important;
    }
}

/* === Rolladen vorhanden (Ja / Nein) kutu stili === */
body.single-product .configurator-container .gp-option-grid.rollladen-grid {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    flex-wrap: wrap;
}

body.single-product .configurator-container .gp-option-grid.rollladen-grid .gp-option {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px !important;
    height: 70px !important;
    border: 2px solid #ddd;
    border-radius: 10px;
    background: #fff;
    font-weight: 600;
    color: #222;
    cursor: pointer;
    box-shadow: none !important;
    transition: all 0.2s ease;
    user-select: none;
}

body.single-product .configurator-container .gp-option-grid.rollladen-grid .gp-option:hover {
    border-color: #005b99;
    box-shadow: 0 10px 24px rgba(0,115,170,0.15);
    transform: translateY(-4px);
}

body.single-product .configurator-container .gp-option-grid.rollladen-grid input[type="radio"] {
    display: none;
}

body.single-product .configurator-container .gp-option-grid.rollladen-grid input[type="radio"]:checked + span,
body.single-product .configurator-container .gp-option-grid.rollladen-grid .gp-option:has(input[type="radio"]:checked) {
    border-color: #005b99;
    background: #e6f3fa;
    color: #005b99;
    box-shadow: 0 0 0 4px rgba(0,115,170,0.15);
}
/* === Genel kenar boşlukları – sade ve dengeli === */
.site-content,
.content-area,
.inside-article,
.entry-content,
.page-content {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box;
}

/* === Mobilde biraz daralt === */
@media (max-width: 768px) {
    .site-content,
    .content-area,
    .inside-article,
    .entry-content,
    .page-content {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }
}
/* === Mobilde yatay kaymayı önle === */
html, body {
  overflow-x: hidden !important;
  width: 100%;
}

/* Flex layout güvenli genişlikler */
.configurator-layout {
  max-width: 100%;
  overflow: hidden;
}

/* Görsellerin ekrandan taşmasını önle */
.config-left img,
.config-right img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Mobilde elemanları tam genişlikte hizala */
@media (max-width: 768px) {
  .configurator-layout {
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .config-left, .config-right {
    width: 100% !important;
    max-width: 100% !important;
  }
}
/* === Ürün başlığı responsive düzeltme === */
.woocommerce div.product .product_title {
    font-size: clamp(22px, 3vw, 36px); /* otomatik boyutlanma */
    font-weight: 700;
    color: #222;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: break-word;
    white-space: normal;
    text-align: left;
    max-width: 100%;
}

/* Mobilde ortala ve biraz küçült */
@media (max-width: 768px) {
    .woocommerce div.product .product_title {
        text-align: center;
        font-size: 24px;
        padding: 0 8px;
    }
}
/* === Hero resmi tam genişlikte olsun === */
body.home .hero-section {
    width: 100vw; /* ekranın tamamını kapla */
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    padding: 0;
}

/* Hero içeriği (yazılar, buton) ortalı ve sol-sağda boşluklu kalsın */
body.home .hero-content {
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
}

/* === Diğer bölümler kenar boşluklu === */
body.home .site-content,
body.home .entry-content,
body.home .content-area,
body.home .inside-article {
    padding-left: 12px !important;
    padding-right: 12px !important;
    box-sizing: border-box;
}

/* Mobilde hero içeriği dengeli olsun */
@media (max-width: 768px) {
    body.home .hero-content {
        padding-left: 12px;
        padding-right: 12px;
    }
}
/* === Hero ortalama düzeni (modern flex yöntem) === */
body.home .hero-section {
    height: 100vh !important;
    min-height: 100vh !important;
    display: flex;
    align-items: center;       /* dikey ortalama */
    justify-content: center;   /* yatay ortalama */
    overflow: hidden;
    margin: 0;
    padding: 0;
}

/* Hero içeriği sabit ortada kalsın */
body.home .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    transform: none !important;
    top: auto !important;
}
/* === Ana sayfa: hero full-bleed iken soldaki beyaz boşluğu kaldır === */
/* 1) Hero'yu saran içerik kapsayıcılarında padding'i sıfırla */
body.home .inside-article,
body.home .entry-content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* 2) Hero'yu gerçekten viewport'a hizala (tam sol-sağ dayansın) */
body.home .hero-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);   /* = - (50vw - 50%) */
  margin-right: calc(50% - 50vw);
}

/* 3) Hero HARİCİNDE kalan içeriklere yeniden 12px yan padding ver */
body.home .entry-content > *:not(.hero-section) {
  padding-left: 12px;
  padding-right: 12px;
  box-sizing: border-box;
}

/* (Opsiyonel) Mobilde içerik padding'ini biraz küçült */
@media (max-width: 768px) {
  body.home .entry-content > *:not(.hero-section) {
    padding-left: 8px;
    padding-right: 8px;
  }
}
/* === HERO ALTINDAKİ BÖLÜMLER === */
.features-section, .steps-section {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 12px;
  text-align: center;
}

.features-section h2, .steps-section h2 {
  font-size: 32px;
  font-weight: 700;
  color: #222;
  margin-bottom: 40px;
  text-align: center; /* ✅ Başlığı ortalar */
}

/* --- Feature grid --- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  padding: 28px 18px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.08);
}
.feature-box img {
  height: 64px;
  margin-bottom: 16px;
}
.feature-box h3 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #005b99;
}

/* --- Steps section --- */
.steps-section {
  background: #f3f6f9;
  padding-top: 80px;
  padding-bottom: 80px;
}

/* GRID sistemi: 4 kutu yan yana */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  justify-items: stretch;
  align-items: stretch;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Step kutuları (eşit yükseklik) */
.step {
  display: flex;
  flex-direction: column;
  justify-content: flex-start; /* üst hizalama */
  background: #fff;
  border-radius: 14px;
  padding: 32px 22px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.05);
  transition: all .25s ease;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
  height: 100%;
  min-height: 320px; /* eşit yükseklik referansı */
}

.step:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,115,170,0.12);
}

/* Numara balonu */
.step-number {
  background: #005b99;
  color: #fff;
  font-weight: 700;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  line-height: 48px;
  font-size: 22px;
  margin-bottom: 14px;
  margin-left: auto;
  margin-right: auto;
}

/* Başlıklar */
.steps-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
}
.steps-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -10px;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #005b99;
  border-radius: 3px;
}

/* İç metin */
.step h3 {
  font-size: 20px;
  color: #005b99;
  font-weight: 600;
  margin-bottom: 10px;
}
.step p {
  color: #444;
  font-size: 16px;
  line-height: 1.5;
  flex-grow: 1; /* alt kısım esner */
  display: flex;
  align-items: flex-start;
  justify-content: center;
  text-align: center;
}

/* Tablet düzen: 2 sütun */
@media (max-width: 900px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Telefon düzeni: tek sütun */
@media (max-width: 480px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* Fade-up animasyonu */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.step {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.step.visible {
  animation: fadeUp 0.8s ease forwards;
}
/* === GÜNCELLENMİŞ TRUST + PRODUCT + CTA TASARIMI === */

/* --- Güven alanı (trust-section) --- */
.trust-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 60px 15px;
  border-top: 1px solid rgba(0,0,0,0.04);
  border-bottom: 1px solid rgba(0,0,0,0.04);
}
.trust-row {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}
.trust-badge {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transition: all .25s ease;
}
.trust-badge:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,115,170,0.12);
}
.trust-emoji {
  font-size: 26px;
}
.trust-text strong {
  display:block;
  font-size:16px;
  font-weight:700;
  color:#005b99;
}
.trust-text small {
  color:#444;
  font-size:14px;
}
/* === TRUST (GÜVEN) ALANINDA TÜM METİNLER KOYU YEŞİL === */
.trust-section h2,
.trust-section p,
.trust-section .trust-subtitle,
.trust-section .trust-text strong,
.trust-section .trust-text small,
.trust-section .trust-item h3,
.trust-section .trust-item p {
  color: #0b5e49 !important;
}


/* --- Ürün kartları --- */
.product-cards {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
  padding: 80px 15px;
  border-top: 1px solid rgba(0,0,0,0.04);
}
.product-cards h2 {
  text-align:center;
  font-size:34px;
  font-weight:700;
  color:#111;
  margin: 0 auto 50px auto;
  position:relative;
  display:block; /* 🔹 inline-block yerine block */
  width:100%;    /* 🔹 tam genişlik */
}
.product-cards h2::after {
  content:"";
  position:absolute;
  left:50%;
  bottom:-10px;
  transform:translateX(-50%);
  width:60px;
  height:3px;
  background:#005b99;
  border-radius:3px;
}
.product-grid {
  max-width:1200px;
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:28px;
}
.product-card {
  background:#fff;
  border-radius:16px;
  box-shadow:0 8px 28px rgba(0,0,0,0.05);
  border:1px solid rgba(0,0,0,0.04);
  text-align:center;
  padding:28px 18px 36px;
  transition:transform .25s ease, box-shadow .25s ease;
}
.product-card:hover {
  transform:translateY(-6px);
  box-shadow:0 16px 40px rgba(0,115,170,0.15);
}
.product-card h3 {
  color:#005b99;
  font-size:20px;
  font-weight:700;
  margin-bottom:10px;
}
.product-card p {
  color:#444;
  font-size:15px;
  line-height:1.5;
  margin-bottom:16px;
}
.pc-btn {
  background:#005b99;
  color:#fff;
  padding:10px 18px;
  border-radius:10px;
  font-weight:600;
  text-decoration:none;
  box-shadow:0 10px 24px rgba(0,115,170,0.15);
  transition:background .25s ease;
}
.pc-btn:hover {
  background:#005f8a;
}

/* --- CTA alanı --- */
.cta-section {
  background:linear-gradient(180deg, #e8f4fa 0%, #ffffff 100%);
  padding:100px 15px;
  text-align:center;
  border-top:1px solid rgba(0,0,0,0.05);
  border-bottom:1px solid rgba(0,0,0,0.05);
}
.cta-inner h2 {
  font-size:36px;
  color:#005b99;
  font-weight:800;
  margin-bottom:16px;
}
.cta-inner p {
  color:#444;
  font-size:16px;
  margin-bottom:24px;
}
.cta-actions {
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
}
.cta-btn {
  display:inline-block;
  border-radius:12px;
  padding:14px 24px;
  font-weight:700;
  text-decoration:none;
  transition:all .25s ease;
}
.cta-btn.primary {
  background:#005b99;
  color:#fff;
  box-shadow:0 10px 28px rgba(0,115,170,0.12);
}
.cta-btn.primary:hover { background:#005f8a; }
.cta-btn.ghost {
  border:2px solid #005b99;
  color:#005b99;
}
.cta-btn.ghost:hover {
  background:#e6f3fa;
}

/* === ÜRÜN / KULLANIM ALANI GÖRSELLERİ === */
.pc-door, .pc-window, .pc-roof {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  margin-bottom: 16px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* Her biri kendi görselini alsın */
.pc-door {
  background-image: url('/wp-content/themes/generatepress-child/assets/img/products/tuer.webp');
}
.pc-window {
  background-image: url('/wp-content/themes/generatepress-child/assets/img/products/fenster.webp');
}
.pc-roof {
  background-image: url('/wp-content/themes/generatepress-child/assets/img/products/dachfenster.webp');
}
/* === Ürün Görselleri Hover Efekti === */
.pc-door,
.pc-window,
.pc-roof {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Hover sırasında efekt */
.product-card:hover .pc-door,
.product-card:hover .pc-window,
.product-card:hover .pc-roof {
  transform: scale(1.05);
  box-shadow: 0 12px 36px rgba(0, 115, 170, 0.25);
}

/* === Ürün Butonları Hover Efekti === */
.pc-btn {
  background: #005b99;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(0,115,170,0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.pc-btn:hover {
  background: #005f8a;
  box-shadow: 0 14px 36px rgba(0,115,170,0.3);
  transform: translateY(-3px);
}
/* === CTA Butonları Hover Efekti === */
.cta-btn {
  display: inline-block;
  border-radius: 12px;
  padding: 14px 24px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Mavi (primary) buton */
.cta-btn.primary {
  background: #005b99;
  color: #fff;
  box-shadow: 0 10px 28px rgba(0,115,170,0.12);
}

/* Mavi buton hover */
.cta-btn.primary:hover {
  background: #005f8a;
  box-shadow: 0 14px 36px rgba(0,115,170,0.25);
  transform: translateY(-3px);
}

/* Beyaz (ghost) buton */
.cta-btn.ghost {
  border: 2px solid #005b99;
  color: #005b99;
  background: transparent;
}

/* Beyaz (ghost) hover */
.cta-btn.ghost:hover {
  background: #005b99;
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0,115,170,0.2);
}
/* === Güven Alanı (Trust Section) === */
.trust-section {
  background: #f8fafc;
  padding: 80px 0;
  text-align: center;
}

.trust-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #111;
  margin-bottom: 12px;
}

.trust-subtitle {
  color: #555;
  font-size: 16px;
  margin-bottom: 50px;
}

.trust-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.trust-item {
  flex: 0 1 220px;
  background: #fff;
  border-radius: 16px;
  padding: 28px 16px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transition: all 0.35s ease;
}
.trust-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(0,115,170,0.18);
}

.trust-item img {
  width: 120px;
  height: auto;
  margin-bottom: 14px;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.trust-item:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 6px 12px rgba(0,115,170,0.25));
}

.trust-item h3 {
  color: #005b99;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 18px;
}
.trust-item p {
  color: #444;
  font-size: 14px;
  line-height: 1.5;
}

/* Mobil uyum */
@media (max-width: 768px) {
  .trust-grid {
    flex-direction: column;
    align-items: center;
  }
  .trust-item {
    width: 80%;
  }
}
/* === PROFESSIONAL LEGAL FOOTER === */
.legal-footer {
  background: #c6ece0;
  color: #1a1a1a;
  width: 100%;
  position: relative;
  z-index: 1;
  padding: 60px 0 40px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.legal-footer a {
  color: #0b5e49;
  text-decoration: none;
  font-weight: 600;
}
.legal-footer a:hover {
  text-decoration: underline;
}

.legal-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
  align-items: flex-start;
}

.lf-col {
  flex: 1 1 260px;
  min-width: 260px;
}

/* Logo */
.lf-logo-wrap {
  text-align: left;
  margin-bottom: 12px;
}
.lf-logo-img {
  width: 180px;
  height: auto;
  display: inline-block;
}

/* Instagram */
.lf-instagram {
  display: inline-block;
  margin: 10px 0 14px;
}
.lf-instagram svg {
  width: 28px;
  height: 28px;
  fill: #0b5e49;
  transition: transform 0.2s ease, fill 0.2s ease;
  vertical-align: middle;
}
.lf-instagram:hover svg {
  transform: scale(1.15);
  fill: #057954;
}

/* USP */
.lf-usps {
  list-style: none;
  padding: 0;
  margin: 0 0 8px 0;
}
.lf-usps li {
  margin: 4px 0;
}
.lf-smallnote {
  font-size: 13px;
  color: #2f2f2f;
}

/* Başlıklar */
.lf-contact h3,
.lf-legal h3,
.lf-map h3 {
  color: #0b5e49;
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 12px 0;
  border-left: 4px solid #0b5e49;
  padding-left: 10px;
}

.lf-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.lf-links li {
  margin: 6px 0;
}

/* Harita (Kontakt altı) */
.lf-mapwrap {
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}
.lf-mapwrap iframe {
  display: block;
  width: 100%;
  height: 200px;
  border: 0;
}

/* Footer alt kısmı */
.legal-footer__bottom {
  margin-top: 36px;
  padding-top: 18px;
  text-align: center;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #222;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .legal-footer__inner {
    gap: 28px;
  }
}

@media (max-width: 768px) {
  .legal-footer__inner {
    flex-direction: column;
    text-align: center;
  }

  .lf-contact h3,
  .lf-legal h3,
  .lf-map h3 {
    border-left: none;
    padding-left: 0;
  }

  .lf-logo-wrap {
    text-align: center;
  }

  .lf-instagram {
    display: block;
    text-align: center;
  }

  .lf-mapwrap iframe {
    height: 220px;
  }
}
/* === BRAND REFRESH: Mavi -> Yeşil (#0b5e49) & Mint (#c5fce4) === */

/* Butonlar genel */
.hero-btn,
.pc-btn,
.cta-btn.primary,
.cta-btn.ghost,
button,
input[type="submit"],
a.button,
a.wp-block-button__link {
  background-color: #c5fce4 !important;
  color: #0b5e49 !important;
  border: 2px solid #0b5e49 !important;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.25s ease;
}

/* Hover durumları */
.hero-btn:hover,
.pc-btn:hover,
.cta-btn.primary:hover,
.cta-btn.ghost:hover,
button:hover,
a.button:hover,
a.wp-block-button__link:hover {
  background-color: #0b5e49 !important;
  color: #fff !important;
  border-color: #0b5e49 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(11, 94, 73, 0.25);
}

/* Vurgu renkleri (başlıklar, ikonlar, numaralar) */
.step-number,
.trust-text strong,
.step h3,
.product-card h3,
.cta-inner h2,
.features-section h2::after,
.steps-section h2::after {
  background: none !important;
  color: #0b5e49 !important;
}

.features-section h2::after,
.steps-section h2::after {
  background-color: #0b5e49 !important;
}

/* İnce mavi çizgiler -> yeşil */
.border-accent,
.cta-btn.ghost {
  border-color: #0b5e49 !important;
  color: #0b5e49 !important;
}

.cta-btn.ghost:hover {
  background: #0b5e49 !important;
  color: #fff !important;
}
/* === ÜRÜN KARTLARI BAŞLIĞINI ORTALA === */
.product-cards h2 {
  text-align: center !important;
  display: block;
  width: 100%;
  margin: 0 auto 40px auto !important;
  font-size: 32px;
  font-weight: 700;
  color: #0b5e49;
}
/* === FEATURES (Warum unsere Plissee...) ALANINDA KOYU YEŞİL RENK DÜZENİ === */
.features-section h2,
.features-section h3,
.features-section p {
  color: #0b5e49 !important;
}

/* İkonlar (SVG dosyaları) */
.features-section img {
  filter: brightness(0) saturate(100%) invert(23%) sepia(59%) saturate(458%) hue-rotate(108deg) brightness(93%) contrast(94%);
}

/* Kart kenarlıkları ve hover efektleri */
.feature-box {
  border: 1px solid rgba(11, 94, 73, 0.15);
  box-shadow: 0 8px 24px rgba(11, 94, 73, 0.08);
}

.feature-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(11, 94, 73, 0.18);
}
/* === FEATURES alanında ikon rengi mint yeşiline döndü === */
.features-section img {
  filter: brightness(0) saturate(100%) invert(79%) sepia(15%) saturate(738%) hue-rotate(93deg) brightness(101%) contrast(93%);
}

/* === KONFIGURATOR STEPS (4 kutu yan yana) === */
.configurator-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  padding: 80px 20px;
  text-align: center;
}

.configurator-section h2 {
  font-size: 34px;
  font-weight: 800;
  color: #0b5e49;
  margin-bottom: 50px;
}

.config-steps {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 🔹 4 kutu yan yana */
  gap: 28px;
}

.step-box {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.04);
  padding: 28px 20px 36px;
  text-align: center;
  transition: transform .25s ease, box-shadow .25s ease;
}

.step-box:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11,94,73,0.2);
}

.step-box img {
  width: 64px;
  height: 64px;
  margin-bottom: 18px;
}

.step-box h3 {
  color: #0b5e49;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-box p {
  color: #0b5e49;
  font-size: 15px;
  line-height: 1.5;
}

/* Mobilde 2x2 dizilim */
@media (max-width: 768px) {
  .config-steps {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Dar ekranlarda 1 kolon */
@media (max-width: 480px) {
  .config-steps {
    grid-template-columns: 1fr;
  }
}
/* === KONFIGURATOR BAŞLIĞI === */
.configurator-section h2,
.steps-section h2 {
  color: #0b5e49 !important;
  text-align: center;
  font-weight: 800;
}
/* === KONFIGURATOR ALANINDAKİ İKONLAR - AÇIK YEŞİL TON === */
.steps-section img,
.configurator-section img {
  filter: brightness(0) saturate(100%) invert(79%) sepia(15%) saturate(738%) hue-rotate(93deg) brightness(101%) contrast(93%);
  transition: filter 0.3s ease;
}

/* Hover efekti (biraz daha canlı yeşil parlasın) */
.steps-section img:hover,
.configurator-section img:hover {
  filter: brightness(0) saturate(100%) invert(85%) sepia(25%) saturate(850%) hue-rotate(95deg) brightness(108%) contrast(95%);
}
/* 🔒 TÜM "In den Warenkorb" butonlarını gizle (konfiguratör hariç) */
a.add_to_cart_button,
button.single_add_to_cart_button,
form.cart .button[name="add-to-cart"],
.woocommerce a.button.product_type_simple,
.woocommerce ul.products li.product .button,
.woocommerce-page ul.products li.product .button {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ✅ SADECE Konfigurator (ID: 408) sayfasındaki butonu görünür yap */
body.page-id-408 a.add_to_cart_button,
body.page-id-408 button.single_add_to_cart_button,
body.page-id-408 form.cart .button[name="add-to-cart"] {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}
/* 🔒 WooCommerce fiyatlarını her yerde gizle */
.woocommerce-Price-amount,
.price,
.amount {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
}

/* ✅ Sadece KONFIGURATOR (Ürün ID 408) sayfasında göster */
body.postid-408 .woocommerce-Price-amount,
body.postid-408 .price,
body.postid-408 .amount,
body.single-product.postid-408 .woocommerce-Price-amount,
body.single-product.postid-408 .price,
body.single-product.postid-408 .amount {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 🩹 Ek güvenlik: URL'de 'plissee-insektenschutzsystem' varsa fiyat göster */
body[class*="plissee-insektenschutzsystem"] .woocommerce-Price-amount,
body[class*="plissee-insektenschutzsystem"] .price,
body[class*="plissee-insektenschutzsystem"] .amount {
  display: inline !important;
  visibility: visible !important;
  opacity: 1 !important;
}
/* === Sepet sayfasında yazılar kenara değmesin === */
body.woocommerce-cart .site-content,
body.woocommerce-checkout .site-content {
  display: flex;
  justify-content: center;
}

body.woocommerce-cart .inside-article,
body.woocommerce-checkout .inside-article {
  width: 100%;
  max-width: 1200px;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* WooCommerce içerik alanını da hizala */
body.woocommerce-cart .woocommerce,
body.woocommerce-checkout .woocommerce {
  width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

/* Mobil için optimize */
@media (max-width: 768px) {
  body.woocommerce-cart .inside-article,
  body.woocommerce-checkout .inside-article {
    padding-left: 12px;
    padding-right: 12px;
  }
}
.profiltypen-warning {
  background: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
  padding: 14px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 18px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
/* === Checkout (Kasse) sayfası kenar boşluğu düzeltmesi === */
body.woocommerce-checkout .site-content,
body.woocommerce-checkout .inside-article {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* === Checkout Sayfası Düzenlemesi === */
body.woocommerce-checkout .wc-block-checkout {
  padding-left: 20px;
  padding-right: 20px;
  max-width: 1100px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Mobil cihazlarda biraz daha yumuşat */
@media (max-width: 768px) {
  body.woocommerce-checkout .wc-block-checkout {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* === 🔹 TÜM ALANLARDA STANDART, BELİRGİN MAVİ SEÇİM STİLİ === */

/* Kutuların normal hali: gri kenarlık, beyaz zemin */
.option-img,
.option-img-small {
  border: 2px solid #ccc !important;
  background: #fff !important;
  box-shadow: none !important;
  transition: all 0.2s ease;
  height: auto;
  max-width: 100%;
}

/* Seçili durumda: daha koyu, belirgin mavi çerçeve (her alanda aynı) */
.gp-option input[type="radio"]:checked + .option-img,
.gp-option input[type="radio"]:checked + .option-img-small,
.gp-typ input[type="radio"]:checked + .option-img-small {
  border: 3px solid #005b99 !important; /* daha koyu mavi, tek çerçeve */
  box-shadow: none !important;
  background: #fff !important;
  transform: translateY(-2px);
}

/* Hover sırasında da aynı tonda önizleme */
.gp-option:hover .option-img,
.gp-option:hover .option-img-small,
.gp-typ:hover .option-img-small {
  border-color: #005b99 !important;
}

/* Yazıların rengi sabit kalsın */
.gp-color-label,
.gp-option .gp-color-label,
.gp-typ .gp-color-label {
  color: #222 !important;
  font-weight: 500;
  text-align: center;
  margin-top: 8px;
  display: block;
}

/* === ROLLLADEN kutuları dahil tüm kutular için aynı mavi === */
.gp-option-grid.rollladen-grid .gp-option {
  border: 2px solid #ccc !important;
  background: #fff !important;
  box-shadow: none !important;
  color: #222;
  transition: all 0.2s ease;
}

.gp-option-grid.rollladen-grid .gp-option:hover {
  border-color: #005b99 !important;
}

.gp-option-grid.rollladen-grid .gp-option:has(input[type="radio"]:checked) {
  border: 3px solid #005b99 !important;
  box-shadow: none !important;
  background: #fff !important;
  color: #005b99 !important;
}

/* Hover ve focus renkleri de aynı tonda */
.gp-option input[type="radio"]:focus-visible + .option-img,
.gp-option input[type="radio"]:focus-visible + .option-img-small {
  border-color: #005b99 !important;
  box-shadow: 0 0 0 3px rgba(0,91,153,0.4) !important;
}

/* === Marka uyumlu yeşil hover & accent efekti === */

/* Product kartları */
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(11,94,73,0.25);
  border-color: rgba(11,94,73,0.8);
}

/* Feature kutuları */
.feature-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(11,94,73,0.20);
  border-color: rgba(11,94,73,0.8);
}

/* Trust alanı (referans kutuları) */
.trust-item:hover {
  box-shadow: 0 10px 20px rgba(11,94,73,0.20);
  border-color: rgba(11,94,73,0.8);
}

/* CTA butonları veya accent ikon hover’ları */
.btn-primary:hover,
.cta-button:hover,
.icon-accent:hover {
  background-color: rgba(11,94,73,0.95);
  box-shadow: 0 8px 18px rgba(11,94,73,0.35);
  border-color: rgba(11,94,73,1);
}

/* === 🎯 Sadece Üç Bölüm İçin Düzeltme === */

/* 1️⃣ Rahmentyp - Görseller çok büyük → küçültülmüş dengeli görünüm */
body.single-product .configurator-container .gp-typ-grid .gp-typ .option-img-small {
  width: 160px !important;
  height: 160px !important;
  object-fit: contain !important;
}

body.single-product .configurator-container .gp-typ-grid .gp-typ {
  flex: 0 1 180px !important;
  max-width: 180px !important;
}

/* 2️⃣ Plissee (ein-/zweiflügelig) - Yazılar alta hizalansın */
body.single-product .configurator-container .doppelfluegel-grid .gp-option {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

body.single-product .configurator-container .doppelfluegel-grid .gp-option .gp-color-label {
  display: block !important;
  margin-top: 8px !important;
  text-align: center !important;
  width: 100% !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #222 !important;
}

/* 3️⃣ Bodenschiene - Yazılar alta hizalansın */
body.single-product .configurator-container .gp-boden-grid .gp-option {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
}

body.single-product .configurator-container .gp-boden-grid .gp-option .gp-color-label {
  display: block !important;
  margin-top: 8px !important;
  text-align: center !important;
  width: 100% !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #222 !important;
}

/* === 🎯 Üç bölümün grid hizalamasını düzelt === */

/* 1️⃣ Rahmentyp */
body.single-product .configurator-container .gp-typ-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

/* 2️⃣ Plissee (ein-/zweiflügelig) */
body.single-product .configurator-container .doppelfluegel-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

/* 3️⃣ Bodenschiene */
body.single-product .configurator-container .gp-boden-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

/* === 🎯 Seçenek Kutularının Grid Hizalamasını Düzelt === */

/* 1️⃣ Öffnungsrichtung */
body.single-product .configurator-container .gp-option-grid.oeffnungsrichtung-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

/* 2️⃣ Insektenschutznetz */
body.single-product .configurator-container .gp-option-grid.insektenschutznetz-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

/* 3️⃣ Rollladen vorhanden? */
body.single-product .configurator-container .gp-option-grid.rollladen-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

/* 4️⃣ Farbe (Alu-Profil) */
body.single-product .configurator-container .gp-color-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

/* 5️⃣ Passende Profiltypen */
body.single-product .configurator-container .gp-option-grid.gp-profil-grid {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: center !important;
  align-items: flex-start !important;
  gap: 20px !important;
}

/* 6️⃣ Genel düzen için margin ayarı */
body.single-product .configurator-container .gp-option-grid,
body.single-product .configurator-container .gp-color-grid {
  margin: 10px auto !important;
  width: 100%;
  max-width: 1000px;
}

/* === 🎯 Görsel Boyut Dengeleme (Sadece 2 Bölüm İçin) === */

/* 1️⃣ Rahmentyp – kutular %30 büyütüldü */
body.single-product .configurator-container .gp-typ-grid .gp-typ {
  flex: 0 1 230px !important;
  max-width: 230px !important;
}

body.single-product .configurator-container .gp-typ-grid .gp-typ .option-img-small {
  width: 200px !important;
  height: 200px !important;
  object-fit: contain !important;
}

/* 2️⃣ Insektenschutznetz – kutular biraz küçültüldü (%20) */
body.single-product .configurator-container .gp-option-grid.insektenschutznetz-grid label.gp-option {
  width: 160px !important;
  height: auto !important;
}

/* === Insektenschutznetz – Görsel kenarlarındaki beyaz boşlukları kaldır === */
body.single-product .configurator-container 
.gp-option-grid.insektenschutznetz-grid label.gp-option {
  background: transparent !important;
  padding: 0 !important;
}

body.single-product .configurator-container 
.gp-option-grid.insektenschutznetz-grid img.option-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;  /* contain → cover */
  border-radius: 8px !important;
  display: block;
  background: transparent !important; /* kutu içi beyazı kaldır */
  margin: 0 !important;
}

/* Yazılar her iki bölümde de düzgün hizalı kalsın */
body.single-product .configurator-container .gp-typ-grid .gp-color-label,
body.single-product .configurator-container .gp-option-grid.insektenschutznetz-grid .gp-color-label {
  display: block !important;
  margin-top: 8px !important;
  text-align: center !important;
  width: 100% !important;
}
/* === Konfigurator – Pflichtfelder Fehlerstil === */
.configurator-container .field-error {
  border: 2px solid #c00 !important;
  box-shadow: 0 0 0 1px rgba(204,0,0,0.35);
}

.configurator-container #missingFieldsList {
  background: #fff4f4;
  border: 1px solid #c00;
  border-radius: 6px;
  padding: 8px 12px;
  margin-top: 10px;
  font-size: 14px;
}

.configurator-container #missingFieldsList ul {
  margin: 4px 0 0;
  padding-left: 18px;
}
.config-reset-btn {
    background: #888;
    color: #fff;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: 0.2s ease;
}

.config-reset-btn:hover {
    background: #666;
}
/* ================================
   Montagemethode – Minimal Stil
   (Insektenschutznetz ile aynı görünüm)
================================== */

/* Grid düzeni */
.montageart-grid {
    display: flex !important;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

/* HER BİR seçenek – büyük kutu yok */
.montageart-grid .gp-option {
    border: none !important;
    padding: 0 !important;
    background: none !important;
    box-shadow: none !important;
    text-align: center;
    cursor: pointer;
}

/* Küçük görseller */
.montageart-grid .option-img {
    width: 120px !important;
    height: auto !important;
    display: block;
    margin: 0 auto 6px auto;
    border-radius: 4px;
}

/* Yazılar */
.montageart-grid .gp-color-label {
    font-size: 13px;
    text-align: center;
    margin-top: 4px;
    display: block;
    line-height: 1.2;
}

/* Montagemethode seçili stil – diğer alanlarla tamamen aynı */
.montageart-grid input[type="radio"]:checked + img.option-img {
    border: 3px solid #005b99 !important;
    box-shadow: none !important;
    background: #fff !important;
    transform: translateY(-2px);
}

/* Hover sırasında aynı renk */
.montageart-grid .gp-option:hover img.option-img {
    border-color: #005b99 !important;
}

/* Einflügelig pasifken gri görünmesi için */
.gp-option.disabled {
    opacity: 0.45;
    pointer-events: none;
    filter: grayscale(100%);
}
