/* =========================================================
   GreenLeaf İzmir — Design Tokens & Base Styles
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600&family=Karla:wght@400;500;600;700&display=swap');

:root {
  /* --- Color: İzmir ve yaşam (B) — deniz mavisi ağırlıklı, beyaz zemin --- */
  --gl-white:        #ffffff;
  --gl-mist:         #fafaf6;   /* sıcak açık zemin — hesap/form/seçili bölüm */
  --gl-forest:       #0b405b;   /* ana deniz mavisi — başlık, ana buton, aktif bağlantı */
  --gl-forest-dark:  #082c3f;   /* koyu zemin — header/footer arka planı */
  --gl-sea:          #185d78;   /* destek mavisi — hover, ikincil vurgu */
  --gl-turquoise:    #185d78;   /* hover/odak vurgusu (destek mavisiyle aynı) */
  --gl-turquoise-10: #e7f3f8;   /* açık deniz yüzeyi — kategori şeridi, seçili sekme */
  --gl-navy:         #0b405b;
  --gl-sand:         #eae4d8;   /* kum tonu — küçük görsel ayrıntılar */
  --gl-ink:          #243c46;   /* ana gövde metni */
  --gl-ink-soft:     #5e7179;   /* ikincil/yardım metni */
  --gl-line:         #dce6e8;   /* ince kenarlık */
  --gl-member:       #205340;   /* üye fiyatı/paket seçimi vurgusu — orman yeşili, hatadan ayrı */
  --gl-error:        #a52d32;   /* hata metni — üyelik/indirim vurgusuyla aynı renge yaslanmaz */

  /* --- Type --- */
  --font-display: 'Fraunces', 'Georgia', serif;
  --font-body: 'Karla', 'Segoe UI', sans-serif;

  /* --- Layout --- */
  --max-width: 1240px;
  --gutter: 24px;
  --radius-s: 4px;
  --radius-m: 10px;
  --header-h: 76px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--gl-ink);
  background: var(--gl-white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--gl-forest-dark);
  line-height: 1.15;
  margin: 0 0 0.5em;
  font-weight: 500;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--gl-ink-soft); max-width: 62ch; }

a { color: var(--gl-sea); text-decoration: none; }
a:hover { color: var(--gl-forest); }

img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

:focus-visible {
  outline: 2px solid var(--gl-turquoise);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

/* ---------------------------------------------------------
   Header / Navigation
   --------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1200;
  background: var(--gl-white);
  border-bottom: 1px solid var(--gl-line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  gap: 20px;
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--gl-forest-dark);
  white-space: nowrap;
}
.brand span { color: var(--gl-sea); }

.main-nav {
  display: flex;
  flex: 1;
  justify-content: center;
}

.header-search {
  display: flex;
  align-items: center;
  background: var(--gl-mist, #f4f7f4);
  border: 1px solid var(--gl-line);
  border-radius: 20px;
  padding: 4px 4px 4px 14px;
  flex: 0 1 220px;
}
.header-search input {
  border: none; background: transparent; outline: none;
  font-size: 0.85rem; width: 100%; color: var(--gl-ink);
}
.header-search button {
  border: none; background: none; cursor: pointer;
  font-size: 0.95rem; padding: 6px 10px; line-height: 1;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  display: inline-flex;
  align-items: center;
  color: var(--gl-ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  min-height: 44px;
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  color: var(--gl-forest);
  border-bottom-color: var(--gl-sea);
}

.nav-item-dropdown { position: relative; }
.nav-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  font-family: var(--font-body);
  color: var(--gl-ink);
  font-size: 0.95rem;
  font-weight: 500;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  min-height: 44px;
}
.nav-trigger:hover,
.nav-trigger.is-active,
.nav-trigger[aria-expanded="true"] {
  color: var(--gl-forest);
  border-bottom-color: var(--gl-sea);
}
.nav-caret { font-size: 0.7em; transition: transform 0.15s ease; }
.nav-trigger[aria-expanded="true"] .nav-caret { transform: rotate(180deg); }
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--gl-white);
  border: 1px solid var(--gl-line);
  border-radius: var(--radius-m);
  box-shadow: 0 12px 36px rgba(11, 64, 91, 0.12);
  list-style: none;
  margin: 0;
  padding: 8px;
  min-width: 220px;
  z-index: 1200;
}
.nav-dropdown[hidden] { display: none; }
.nav-dropdown li { margin: 0; }
.nav-dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 8px;
  color: var(--gl-ink);
  font-size: 0.92rem;
  white-space: nowrap;
}
.nav-dropdown a:hover,
.nav-dropdown a[aria-current="page"] {
  background: var(--gl-turquoise-10);
  color: var(--gl-forest);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-icon-link {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--gl-forest-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--gl-sea);
  color: var(--gl-white);
  font-size: 0.7rem;
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gl-forest-dark);
  margin: 5px 0;
}

/* --- Mobil menü çekmecesi (main-nav'dan ayrı, kendi elemanı) --- */
.mobile-nav {
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--gl-white);
  z-index: 1200;
  padding: 20px var(--gutter) 32px;
  overflow-y: auto;
  transform: translateY(-8px);
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.mobile-nav.is-open { opacity: 1; transform: translateY(0); }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav > ul > li { border-bottom: 1px solid var(--gl-line); }
.mobile-nav > ul > li > a {
  display: block;
  padding: 14px 4px;
  color: var(--gl-ink);
  font-weight: 500;
  min-height: 44px;
}
.mobile-nav > ul > li > a[aria-current="page"] { color: var(--gl-forest); font-weight: 700; }
.mobile-nav-group summary {
  padding: 14px 4px;
  color: var(--gl-ink);
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
}
.mobile-nav-group summary::-webkit-details-marker { display: none; }
.mobile-nav-group summary::after { content: "▾"; margin-left: auto; font-size: 0.8em; }
.mobile-nav-group details[open] summary::after { content: "▴"; }
.mobile-nav-group ul { padding: 0 0 10px 14px; }
.mobile-nav-group ul a { display: block; padding: 10px 4px; color: var(--gl-ink-soft); min-height: 44px; }
.mobile-nav-group ul a[aria-current="page"] { color: var(--gl-forest); font-weight: 600; }
body.gl-nav-open { overflow: hidden; }

@media (max-width: 920px) {
  .header-inner { flex-wrap: wrap; }
  .header-search { order: 3; flex-basis: 100%; margin-top: 6px; }
  .main-nav { display: none; }
  .nav-toggle { display: block; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.15rem; }
  .header-inner { gap: 8px; }
  .header-actions { gap: 10px; }
  .header-icon-link[data-gl-account-label] span,
  .header-icon-link[data-gl-account-label] {
    font-size: 0; /* metni gizle, sadece simgeyi göster */
  }
  .header-icon-link[data-gl-account-label]::before {
    content: "👤";
    font-size: 1.1rem;
  }
}

/* ---------------------------------------------------------
   Breadcrumb / page hero (skeleton placeholder)
   --------------------------------------------------------- */
.page-hero {
  background: var(--gl-mist);
  border-bottom: 1px solid var(--gl-line);
  padding: 40px 0;
}
.breadcrumb {
  font-size: 0.85rem;
  color: var(--gl-ink-soft);
  margin-bottom: 10px;
}
.breadcrumb a { color: var(--gl-ink-soft); }
.breadcrumb a:hover { color: var(--gl-forest); }

.page-hero h1 { margin-bottom: 6px; }
.page-hero .page-note {
  color: var(--gl-ink-soft);
  font-size: 0.95rem;
  max-width: 70ch;
}

main { min-height: 40vh; }

.placeholder-block {
  padding: 60px 0;
}
.placeholder-card {
  border: 1px dashed var(--gl-line);
  border-radius: var(--radius-m);
  background: var(--gl-mist);
  padding: 32px;
  color: var(--gl-ink-soft);
  font-size: 0.95rem;
}

/* ---------------------------------------------------------
   Buttons (shared component vocabulary)
   --------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn:focus-visible,
.btn-ghost:focus-visible { outline: 2px solid var(--gl-sea); outline-offset: 2px; }
.btn:disabled,
.btn-ghost:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
  background: var(--gl-forest);
  color: var(--gl-white);
}
.btn-primary:hover { background: var(--gl-forest-dark); color: var(--gl-white); }

.btn-member {
  background: var(--gl-member);
  color: var(--gl-white);
}
.btn-member:hover { background: #163d2f; color: var(--gl-white); }

.btn-outline {
  background: transparent;
  border-color: var(--gl-forest);
  color: var(--gl-forest);
}
.btn-outline:hover { background: var(--gl-forest); color: var(--gl-white); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--gl-forest);
  cursor: pointer;
  padding: 8px 4px;
  min-height: 44px;
  transition: background 0.15s ease, color 0.15s ease;
}
.btn-ghost:hover { color: var(--gl-sea); }

/* ---------------------------------------------------------
   Category accent colors (from catalog section dividers)
   --------------------------------------------------------- */
:root {
  --cat-1: #185d78; /* Çocuk Bakımı — destek mavisi */
  --cat-2: #0b405b; /* Ağız Bakımı — ana deniz mavisi */
  --cat-3: #205340; /* Saç Bakımı — orman yeşili */
  --cat-4: #2b6f8f; /* Duş & El Hijyeni — deniz mavisi */
  --cat-5: #5e7179; /* Cilt Bakımı — ikincil ton */
  --cat-6: #205340; /* Ev Bakımı & Temizlik — orman yeşili */
  --cat-7: #3d6a52; /* Günlük Yaşam — yeşil */
  --cat-8: #6b5a3f; /* Yardımcı Materyaller — sıcak kahve/toprak tonu */
}

/* ---------------------------------------------------------
   Category cards (Ana Sayfa / Kategoriler)
   --------------------------------------------------------- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.category-card {
  display: block;
  background: var(--gl-white);
  border: 1px solid var(--gl-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.category-card-media {
  aspect-ratio: 3 / 2;
  background-color: var(--gl-mist);
  background-size: cover;
  background-position: center;
}
.category-card-body { padding: 20px 22px 24px; }
.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(31, 74, 61, 0.1);
}
.category-card .cat-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  color: var(--gl-white);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 14px;
}
.category-card h3 {
  margin-bottom: 4px;
  font-size: 1.15rem;
}
.category-card .cat-tagline {
  color: var(--gl-ink-soft);
  font-size: 0.85rem;
  margin-bottom: 10px;
}
.category-card .cat-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gl-sea);
}

/* ---------------------------------------------------------
   Product cards
   --------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--gl-white);
  border: 1px solid var(--gl-line);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(31, 74, 61, 0.12);
}

.product-card .product-media {
  aspect-ratio: 1 / 1;
  background-color: var(--gl-mist);
  background-size: cover;
  background-position: center 30%;
  display: block;
  position: relative;
}
.product-card .product-media.gl-lazy-bg { transition: opacity 0.25s ease; opacity: 0.6; }
.product-card .product-media.gl-lazy-bg.is-loaded { opacity: 1; }
.product-card .product-code {
  position: absolute;
  top: 10px; left: 10px;
  background: rgba(255,255,255,0.9);
  color: var(--gl-ink-soft);
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}

.product-card .product-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card .product-brand {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--gl-sea);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.product-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--gl-ink);
  margin-bottom: 6px;
  line-height: 1.3;
}

.product-card .product-size {
  font-size: 0.78rem;
  color: var(--gl-ink-soft);
  margin-bottom: 10px;
}

.product-card .price-block {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px dashed var(--gl-line);
}

.price-retail {
  font-size: 0.82rem;
  color: var(--gl-ink-soft);
}
.price-retail .price-label { color: var(--gl-ink-soft); }
.price-retail .price-value {}

.price-member {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 2px;
}
.price-member .price-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gl-member);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.price-member .price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gl-member);
  font-family: var(--font-display);
}

.product-card .card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}
.product-card .card-actions .btn {
  flex: 1;
  padding: 9px 10px;
  font-size: 0.82rem;
}

.member-cta-strip {
  margin-top: 10px;
  font-size: 0.78rem;
  text-align: center;
}
.member-cta-strip a { font-weight: 700; }

/* ---------------------------------------------------------
   Category section headers within Tüm Ürünler
   --------------------------------------------------------- */
.category-section-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 48px 0 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gl-line);
}
.category-section-header:first-child { margin-top: 16px; }
.category-section-header h2 { margin: 0; }
.category-section-header .cat-count-pill {
  font-size: 0.78rem;
  color: var(--gl-white);
  background: var(--gl-forest);
  padding: 3px 10px;
  border-radius: 999px;
}

/* ---------------------------------------------------------
   Filter bar (Tüm Ürünler)
   --------------------------------------------------------- */
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 18px 0 6px;
}
.filter-chip {
  border: 1px solid var(--gl-line);
  background: var(--gl-white);
  color: var(--gl-ink);
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  cursor: pointer;
}
.filter-chip.is-active,
.filter-chip:hover {
  border-color: var(--gl-forest);
  color: var(--gl-forest);
  background: var(--gl-turquoise-10);
}

/* ---------------------------------------------------------
   Product detail page
   --------------------------------------------------------- */
.product-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  padding: 48px 0;
}
.product-detail .detail-media {
  aspect-ratio: 4/5;
  background-color: var(--gl-mist);
  background-size: cover;
  background-position: center 30%;
  border-radius: var(--radius-m);
}
.product-detail .detail-info .product-brand { font-size: 0.8rem; }
.product-detail .detail-info h1 { margin-bottom: 6px; }
.product-detail .detail-info .product-subtitle {
  color: var(--gl-ink-soft);
  margin-bottom: 18px;
}
.product-detail .price-block {
  border: none;
  background: var(--gl-mist);
  border-radius: var(--radius-m);
  padding: 18px 20px;
  margin: 18px 0;
}
.product-detail .price-member .price-value { font-size: 1.7rem; }
.product-detail .tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}
.tag-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gl-forest-dark);
  background: var(--gl-turquoise-10);
  padding: 5px 12px;
  border-radius: 999px;
}
.detail-section {
  margin-top: 22px;
}
.detail-section h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gl-sea);
  margin-bottom: 6px;
}
.detail-section p { max-width: none; }

@media (max-width: 860px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
}

.site-footer {
  background: var(--gl-forest-dark);
  color: #dcece6;
  margin-top: 80px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 56px 0 32px;
}
.footer-col h4 {
  color: var(--gl-white);
  font-size: 0.95rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 14px;
}
.footer-col p, .footer-col a {
  color: #b7cec5;
  font-size: 0.88rem;
}
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 8px; }
.footer-col a:hover { color: var(--gl-turquoise); }

.footer-brand {
  font-family: var(--font-display);
  color: var(--gl-white);
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.social-row { display: flex; gap: 14px; margin-top: 14px; }
.social-row a {
  width: 34px; height: 34px;
  border: 1px solid #33544a;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #dcece6;
  font-size: 0.8rem;
}
.social-row a:hover { border-color: var(--gl-turquoise); color: var(--gl-turquoise); }

.footer-bottom {
  border-top: 1px solid #2a463c;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #94ac9f;
}
.footer-bottom a { color: #94ac9f; }
.footer-bottom a:hover { color: var(--gl-turquoise); }

@media (max-width: 780px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Greenleaf ID modal (member price gate)
   --------------------------------------------------------- */
.gl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 51, 42, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}
.gl-modal-overlay.is-open { display: flex; }

.gl-modal {
  background: var(--gl-white);
  border-radius: var(--radius-m);
  padding: 32px 28px;
  max-width: 380px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}
.gl-modal h3 { margin-bottom: 8px; }
.gl-modal-note { font-size: 0.9rem; margin-bottom: 18px; }
.gl-modal label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gl-ink);
  margin-bottom: 6px;
}
.gl-modal input[type="text"] {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--gl-line);
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-size: 0.95rem;
}
.gl-modal input[type="text"]:focus-visible { outline: 2px solid var(--gl-turquoise); }
.gl-modal-alt {
  font-size: 0.82rem;
  text-align: center;
  margin: 16px 0 0;
}
.gl-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  color: var(--gl-ink-soft);
}

/* ---------------------------------------------------------
   Cart page
   --------------------------------------------------------- */
.gl-member-banner {
  background: var(--gl-turquoise-10);
  border: 1px solid var(--gl-turquoise);
  color: var(--gl-forest-dark);
  padding: 12px 16px;
  border-radius: var(--radius-s);
  font-size: 0.88rem;
  margin-bottom: 20px;
}
.gl-member-banner.is-member { background: #eaf6ec; border-color: var(--gl-sea); }
.gl-member-banner .btn-ghost {
  border: none;
  background: none;
  color: var(--gl-forest);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-size: inherit;
}

.cart-rows { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.cart-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  align-items: center;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid var(--gl-line);
  border-radius: var(--radius-s);
}
.cart-row-qty { display: flex; align-items: center; gap: 8px; }
.cart-row-qty button { padding: 4px 10px; }
.cart-row-price { font-weight: 700; color: var(--gl-forest-dark); white-space: nowrap; }

.cart-summary {
  background: var(--gl-mist);
  border-radius: var(--radius-m);
  padding: 20px 22px;
  max-width: 420px;
}
.cart-summary-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.92rem;
  padding: 6px 0;
}
.cart-summary-member span:last-child { color: var(--gl-member); font-weight: 700; }
.cart-summary-hint span:last-child { color: var(--gl-ink-soft); }
.cart-summary-total {
  border-top: 1px solid var(--gl-line);
  margin-top: 6px;
  padding-top: 12px;
  font-size: 1.05rem;
}

@media (max-width: 620px) {
  .cart-row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Forms (Üyelik Başvurusu ve benzerleri)
   --------------------------------------------------------- */
.gl-form { max-width: 640px; }
.gl-form fieldset {
  border: none;
  padding: 0;
  margin: 0 0 28px;
}
.gl-form legend {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--gl-forest-dark);
  margin-bottom: 14px;
  padding: 0;
}
.gl-field { margin-bottom: 18px; }
.gl-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gl-ink);
  margin-bottom: 6px;
}
.gl-field .gl-hint {
  display: block;
  font-weight: 400;
  color: var(--gl-ink-soft);
  font-size: 0.78rem;
  margin-top: 4px;
}
.gl-field input[type="text"],
.gl-field input[type="tel"],
.gl-field input[type="email"],
.gl-field input[type="password"],
.gl-field input[type="number"],
.gl-field input[type="date"],
.gl-field input[type="search"],
.gl-field select,
.gl-field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gl-line);
  border-radius: var(--radius-s);
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--gl-white);
  color: var(--gl-ink);
  min-height: 48px;
}
.gl-field textarea { min-height: 90px; resize: vertical; }
.gl-field input:focus-visible,
.gl-field select:focus-visible,
.gl-field textarea:focus-visible { outline: 2px solid var(--gl-sea); outline-offset: 1px; }
.gl-field input:disabled,
.gl-field select:disabled,
.gl-field textarea:disabled { background: var(--gl-mist); color: var(--gl-ink-soft); cursor: not-allowed; }
.gl-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px var(--gl-white) inset; }

/* Şifre göster/gizle sarmalayıcısı */
.gl-pw-wrap { position: relative; }
.gl-pw-wrap input[type="password"],
.gl-pw-wrap input[type="text"] { padding-right: 42px !important; }
.gl-pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
  min-width: 32px;
  min-height: 32px;
  line-height: 1;
}

/* Giriş Yap / Hesap Oluştur sekmeleri */
.gl-auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--gl-mist);
  border-radius: var(--radius-m);
  padding: 4px;
}
.gl-auth-tab {
  flex: 1;
  background: none;
  border: none;
  border-radius: 8px;
  padding: 11px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--gl-ink-soft);
  cursor: pointer;
  min-height: 44px;
}
.gl-auth-tab.is-active {
  background: var(--gl-white);
  color: var(--gl-forest);
  box-shadow: 0 2px 8px rgba(11, 64, 91, 0.1);
}

.gl-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 620px) {
  .gl-field-row { grid-template-columns: 1fr; }
}

.gl-secure-note {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  color: var(--gl-sea);
  background: var(--gl-turquoise-10);
  padding: 10px 14px;
  border-radius: var(--radius-s);
  margin-bottom: 20px;
}

.gl-checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.gl-checkbox-field input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.gl-checkbox-field label {
  font-size: 0.85rem;
  color: var(--gl-ink);
  font-weight: 400;
}
.gl-checkbox-field.optional label { color: var(--gl-ink-soft); }

.gl-success-panel {
  display: none;
  background: var(--gl-mist);
  border: 1px solid var(--gl-turquoise);
  border-radius: var(--radius-m);
  padding: 32px;
  text-align: center;
  max-width: 560px;
}
.gl-success-panel.is-visible { display: block; }
.gl-success-panel h3 { margin-bottom: 10px; }
.gl-success-panel p { max-width: none; margin: 0 auto 20px; }
.gl-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #25D366;
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 0.92rem;
}
.gl-whatsapp-btn:hover { background: #1ebc59; color: #fff; }
.gl-status-note {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--gl-ink-soft);
}

/* ---------------------------------------------------------
   Checkout steps + cart two-column layout
   --------------------------------------------------------- */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}
.checkout-steps .step {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gl-ink-soft);
  padding: 6px 4px;
}
.checkout-steps .step.is-active { color: var(--gl-forest); border-bottom: 2px solid var(--gl-turquoise); }
.checkout-steps .step.is-done { color: var(--gl-sea); }
.checkout-steps .step-sep { color: var(--gl-line); }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: start;
}
.cart-layout .cart-summary { position: sticky; top: calc(var(--header-h) + 20px); }

@media (max-width: 860px) {
  .cart-layout { grid-template-columns: 1fr; }
  .cart-layout .cart-summary { position: static; max-width: none; }
}

/* ---------------------------------------------------------
   Toast notification (e.g. "Ürün sepete eklendi")
   --------------------------------------------------------- */
.gl-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gl-forest-dark);
  color: var(--gl-white);
  padding: 14px 24px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  z-index: 1100;
  animation: gl-toast-in 0.2s ease;
}
@keyframes gl-toast-in {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ---------------------------------------------------------
   Membership packages (Üyelik Paketleri)
   --------------------------------------------------------- */
.package-section { margin-bottom: 36px; }
.package-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.package-card {
  border: 2px solid var(--gl-line);
  border-radius: var(--radius-m);
  padding: 0 0 20px;
  background: var(--gl-white);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.package-card .package-media {
  aspect-ratio: 1 / 1;
  background-color: var(--gl-white);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.package-card h3 { font-size: 1.05rem; margin: 16px 20px 6px; }
.package-card .package-pv {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gl-sea);
  text-transform: uppercase;
  margin: 0 20px 4px;
}
.package-card .package-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gl-forest-dark);
  margin: 0 20px 12px;
}
.package-card .package-contents {
  list-style: none;
  padding: 0;
  margin: 0 20px 18px;
  flex: 1;
}
.package-card .package-contents li {
  font-size: 0.82rem;
  color: var(--gl-ink-soft);
  padding: 4px 0;
  border-top: 1px dashed var(--gl-line);
}
.package-card .package-contents li:first-child { border-top: none; }
.package-card .gl-select-package { margin: 0 20px; width: calc(100% - 40px) !important; }
.package-card.is-selected {
  border-color: var(--gl-member);
  box-shadow: 0 8px 24px rgba(192, 67, 43, 0.12);
}
.package-card.is-selected .gl-select-package {
  background: var(--gl-member);
  border-color: var(--gl-member);
  color: var(--gl-white);
}
.gl-selected-package-note {
  margin-top: 16px;
  background: var(--gl-turquoise-10);
  border: 1px solid var(--gl-turquoise);
  border-radius: var(--radius-s);
  padding: 12px 16px;
  font-size: 0.88rem;
}
.gl-selected-package-note button {
  border: none; background: none; color: var(--gl-forest);
  font-weight: 700; text-decoration: underline; cursor: pointer; padding: 0; margin-left: 8px;
}

/* ---------------------------------------------------------
   Video embed (Üyelik Başvurusu tanıtım videosu)
   --------------------------------------------------------- */
.gl-video-embed {
  position: relative;
  display: block;
  width: 100%;
  max-width: 720px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-m);
  overflow: hidden;
  margin: 0 auto 36px;
  background: var(--gl-forest-dark) center/cover no-repeat;
  box-shadow: 0 12px 32px rgba(31, 74, 61, 0.15);
}
.gl-video-play {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.75);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: background 0.15s ease, transform 0.15s ease;
}
.gl-video-embed:hover .gl-video-play {
  background: #ff0000;
  transform: translate(-50%, -50%) scale(1.08);
}
.gl-video-embed-secondary {
  max-width: 340px;
  margin: 8px auto 36px;
}
.gl-video-embed-secondary .gl-video-play { width: 52px; height: 52px; font-size: 1.1rem; }
.gl-video-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(0deg, rgba(8,44,63,0.85), transparent);
  color: var(--gl-white);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 24px 12px 10px;
}

/* ---------------------------------------------------------
   Home page contact/location/social section
   --------------------------------------------------------- */
.contact-block {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: stretch;
}
.contact-info-col {
  background: var(--gl-mist);
  border-radius: var(--radius-m);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 0.98rem;
}
.contact-row .contact-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--gl-ink-soft);
}
.contact-row a { color: var(--gl-forest-dark); font-weight: 600; }
.contact-map-col { min-height: 220px; }
.contact-map-placeholder {
  height: 100%;
  min-height: 220px;
  background: var(--gl-mist);
  border: 1px dashed var(--gl-line);
  border-radius: var(--radius-m);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--gl-ink-soft);
  font-size: 0.9rem;
  padding: 20px;
}
@media (max-width: 700px) {
  .contact-block { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------
   Home hero + member highlight section
   --------------------------------------------------------- */
.hero-section {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 100px 0 80px;
  color: var(--gl-white);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(20,51,42,0.88) 0%, rgba(20,51,42,0.55) 55%, rgba(20,51,42,0.25) 100%);
}
.hero-content { position: relative; max-width: 640px; }
.hero-content h1 { color: var(--gl-white); }
.hero-lead { color: #e4efe9; font-size: 1.05rem; max-width: 56ch; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 20px 0 16px; }
.btn-on-dark { border-color: var(--gl-white); color: var(--gl-white); }
.btn-on-dark:hover { background: var(--gl-white); color: var(--gl-forest-dark); }
.hero-note { font-size: 0.82rem; color: #cfe3da; max-width: 56ch; margin: 0; }

.member-highlight-section {
  background: var(--gl-mist);
  padding: 56px 0;
  margin: 8px 0;
}
.member-highlight-section h2 { margin-bottom: 10px; }

@media (max-width: 700px) {
  .hero-section { padding: 70px 0 56px; }
}

/* ---------------------------------------------------------
   Ana sayfa — İzmir ve yaşam hero (B tasarım yönü)
   --------------------------------------------------------- */
.hero-izmir {
  display: flex;
  align-items: stretch;
  min-height: 600px;
  background: var(--gl-white);
}
.hero-izmir-text {
  flex: 0 0 42%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px clamp(24px, 5vw, 72px);
  max-width: 560px;
}
.hero-izmir-text h1 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.25rem, 4.4vw, 4.5rem);
  line-height: 1.1;
  color: var(--gl-forest);
  margin: 0 0 18px;
}
.hero-izmir-lead {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--gl-ink);
  margin: 0 0 24px;
}
.hero-izmir-text .hero-actions { margin: 0 0 20px; }
.hero-izmir-note { font-size: 0.82rem; color: var(--gl-ink-soft); max-width: 46ch; margin: 0; }
.hero-izmir-photo {
  flex: 1 1 58%;
  background-size: cover;
  background-position: center;
  border-top-left-radius: 80px;
}

@media (max-width: 900px) {
  .hero-izmir { flex-direction: column; min-height: 0; }
  .hero-izmir-text { flex: none; max-width: none; padding: 28px 20px 32px; order: 0; }
  .hero-izmir-photo { flex: none; height: 220px; border-top-left-radius: 40px; order: 1; }
}

.izmir-strip {
  background: var(--gl-turquoise-10);
  padding: 40px 0;
}
.izmir-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.izmir-strip-text h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.125rem);
  color: var(--gl-forest);
  margin: 0 0 6px;
}
.izmir-strip-text p { margin: 0; color: var(--gl-ink-soft); }
.izmir-strip-links { display: flex; gap: 14px; flex-wrap: wrap; }
.izmir-strip-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gl-white);
  border: 1px solid var(--gl-line);
  border-radius: var(--radius-m);
  padding: 14px 22px;
  font-weight: 600;
  color: var(--gl-forest);
  text-decoration: none;
  min-height: 44px;
}
.izmir-strip-link:hover, .izmir-strip-link:focus-visible {
  border-color: var(--gl-sea);
  color: var(--gl-sea);
}
@media (max-width: 700px) {
  .izmir-strip-inner { flex-direction: column; align-items: flex-start; }
  .izmir-strip-links { width: 100%; }
  .izmir-strip-link { flex: 1 1 auto; justify-content: center; }
}

/* ---------------------------------------------------------
   Hakkımızda — about blocks
   --------------------------------------------------------- */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
  padding: 56px 0;
  max-width: var(--max-width);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.about-block.reverse { direction: rtl; }
.about-block.reverse .about-copy { direction: ltr; }
.about-media {
  aspect-ratio: 4/3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-m);
  direction: ltr;
}
.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gl-sea);
  margin-bottom: 8px;
}
.about-points {
  list-style: none;
  padding: 0;
  margin: 16px 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 20px;
}
.about-points li {
  font-size: 0.9rem;
  color: var(--gl-ink);
  padding-left: 18px;
  position: relative;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gl-turquoise);
}
.about-legal {
  font-size: 0.78rem;
  color: var(--gl-ink-soft);
  border-top: 1px solid var(--gl-line);
  padding-top: 12px;
  margin-top: 16px;
}
@media (max-width: 820px) {
  .about-block, .about-block.reverse { grid-template-columns: 1fr; direction: ltr; }
}

/* ---------------------------------------------------------
   Crown Team page
   --------------------------------------------------------- */
.crown-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.crown-point {
  background: var(--gl-mist);
  border-radius: var(--radius-m);
  padding: 22px 20px;
}
.crown-point h4 {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--gl-forest-dark);
  margin-bottom: 6px;
}
.crown-point p { font-size: 0.88rem; margin: 0; }

/* ---------------------------------------------------------
   İletişim channel cards
   --------------------------------------------------------- */
.contact-channels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.contact-channel-card {
  background: var(--gl-mist);
  border-radius: var(--radius-m);
  padding: 24px 22px;
}
.contact-channel-card h3 { font-size: 1rem; margin-bottom: 8px; }
.contact-channel-card p { font-size: 0.92rem; margin-bottom: 14px; }

/* ---------------------------------------------------------
   Katalog — protected online viewer
   --------------------------------------------------------- */
.gl-catalog-viewer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 16, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1200;
  padding: 16px;
}
.gl-catalog-viewer-overlay.is-open { display: flex; }
.gl-catalog-viewer {
  width: 100%;
  max-width: 640px;
  height: 100%;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
}
.gl-catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #fff;
  padding: 4px 4px 12px;
  font-size: 0.85rem;
}
.gl-catalog-toolbar .gl-modal-close { color: #fff; font-size: 1.8rem; }
.gl-catalog-stage {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 0;
}
.gl-catalog-page-wrap {
  position: relative;
  flex: 1;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-s);
  background: #fff;
}
.gl-catalog-page-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}
.gl-catalog-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(31,74,61,0.16);
  font-size: 0.9rem;
  font-weight: 700;
  transform: rotate(-28deg);
  text-align: center;
  line-height: 3.4;
  pointer-events: none;
  overflow: hidden;
  white-space: pre-wrap;
  padding: 10%;
}
.gl-catalog-nav {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.15);
  color: #fff;
  font-size: 1.3rem;
  cursor: pointer;
}
.gl-catalog-nav:disabled { opacity: 0.3; cursor: default; }
.gl-catalog-nav:hover:not(:disabled) { background: rgba(255,255,255,0.3); }

/* ---------------------------------------------------------
   Storage-unavailable warning banner (file:// testing)
   --------------------------------------------------------- */
.gl-storage-warning {
  background: #7a2e1f;
  color: #fff;
  text-align: center;
  font-size: 0.82rem;
  padding: 10px 16px;
  position: sticky;
  top: 0;
  z-index: 200;
}

/* ---------------------------------------------------------
   Checkout — payment method + bank transfer details
   --------------------------------------------------------- */
.checkout-payment-layout { max-width: 640px; }
.payment-method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}
@media (max-width: 480px) {
  .payment-method-grid { grid-template-columns: 1fr; }
}
.payment-method-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 4px;
  border: 2px solid var(--gl-line);
  border-radius: var(--radius-m);
  padding: 16px 16px 14px;
  cursor: pointer;
  background: var(--gl-white);
}
.payment-method-card input[type="radio"] { position: absolute; top: 14px; right: 14px; }
.payment-method-card.is-active { border-color: var(--gl-forest); background: var(--gl-turquoise-10); }
.payment-method-card.is-disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--gl-mist);
}
.payment-method-title { font-weight: 700; font-size: 0.95rem; color: var(--gl-forest-dark); padding-right: 24px; }
.payment-method-desc { font-size: 0.8rem; color: var(--gl-ink-soft); }
.payment-method-badge {
  display: inline-block;
  width: fit-content;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: var(--gl-member);
  color: #fff;
  padding: 2px 8px;
  border-radius: 999px;
}

.bank-transfer-details {
  background: var(--gl-mist);
  border-radius: var(--radius-m);
  padding: 20px 22px;
}
.bank-transfer-details h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--gl-forest-dark);
  margin-bottom: 12px;
}
.bank-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}
.bank-iban {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Courier New', monospace;
  font-weight: 700;
  color: var(--gl-forest-dark);
  flex-wrap: wrap;
}
.bank-iban .btn-ghost {
  border: 1px solid var(--gl-forest);
  padding: 4px 12px;
  font-size: 0.78rem;
  font-family: var(--font-body);
  font-weight: 600;
}

.bank-account {
  border: 1px solid var(--gl-line);
  border-radius: 8px;
  padding: 12px 14px 2px;
  margin-bottom: 12px;
  background: var(--gl-white);
}
.bank-name strong { color: var(--gl-forest-dark); font-size: 0.95rem; }

/* ---------------------------------------------------------
   Crown Team hero (image background)
   --------------------------------------------------------- */
.crown-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  color: var(--gl-white);
  padding: 90px 0 70px;
}
.crown-hero .hero-lead { color: #e4efe9; }
@media (max-width: 700px) {
  .crown-hero { background-position: center right; padding: 64px 0 50px; }
}

/* ---------------------------------------------------------
   Printed catalog purchase card
   --------------------------------------------------------- */
.printed-catalog-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
  max-width: 760px;
}
.printed-catalog-media {
  aspect-ratio: 210/297;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-m);
  box-shadow: 0 14px 34px rgba(31,74,61,0.18);
}
.printed-catalog-specs {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
}
.printed-catalog-specs li {
  font-size: 0.88rem;
  color: var(--gl-ink-soft);
  padding: 3px 0;
}
.printed-catalog-price {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--gl-forest-dark);
  margin-bottom: 14px;
}
@media (max-width: 620px) {
  .printed-catalog-card { grid-template-columns: 1fr; }
  .printed-catalog-media { max-width: 220px; }
}

/* Tek fiyatlı ürünler (üye/perakende ayrımı olmayan, ör. basılı katalog) */
.price-single {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price-single .price-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gl-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.price-single .price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gl-forest-dark);
  font-family: var(--font-display);
}

/* ---------------------------------------------------------
   Footer trust/security badges (Visa, Mastercard, SSL, 3D Secure)
   --------------------------------------------------------- */
.footer-trust-row {
  padding: 20px 0;
  border-top: 1px solid #2a463c;
}
.footer-trust-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.pay-badge-img {
  display: inline-block;
  border-radius: 5px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
  background: #fff;
}
.security-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #cfe3da;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255,255,255,0.06);
  padding: 6px 12px;
  border-radius: 5px;
  border: 1px solid #33544a;
}

/* Gizlilik/KVKK sayfası güvenlik politikası kutuları */
.security-policy-badges {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  max-width: 760px;
}
.security-policy-item {
  background: var(--gl-mist);
  border-radius: var(--radius-m);
  padding: 20px;
}
.security-policy-item .security-badge {
  margin-bottom: 10px;
}
.security-policy-item p {
  font-size: 0.85rem;
  margin: 0;
}

/* Ödeme sayfasında güven rozetleri */
.checkout-trust-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px dashed var(--gl-line);
}
.checkout-trust-badges .pay-badge-img {
  border: 1px solid var(--gl-line);
}
.checkout-trust-badges .security-badge {
  color: var(--gl-forest-dark);
  background: var(--gl-turquoise-10);
  border-color: var(--gl-turquoise);
}

.footer-legal-note {
  padding: 4px 0 0;
}
.footer-legal-note p {
  font-size: 0.76rem;
  color: #94ac9f;
  margin: 0;
  max-width: 60ch;
}

.legal-doc { max-width: 760px; }
.legal-doc h2 { font-size: 1.15rem; margin-top: 28px; }
.legal-doc h3 { font-size: 1rem; margin-top: 18px; color: var(--gl-sea); }
.legal-doc p { font-size: 0.9rem; max-width: none; }
.legal-doc em { color: var(--gl-ink-soft); font-style: italic; }

.gl-radio-row { display: flex; gap: 20px; margin-top: 4px; }
.gl-radio-inline { display: flex; align-items: center; gap: 6px; font-weight: 400; font-size: 0.9rem; color: var(--gl-ink); }
.gl-radio-inline input { width: auto; margin: 0; }

.gl-id-input-group {
  display: flex;
  align-items: stretch;
}
.gl-id-prefix {
  display: flex;
  align-items: center;
  padding: 0 12px;
  background: var(--gl-mist);
  border: 1px solid var(--gl-line);
  border-right: none;
  border-radius: var(--radius-s) 0 0 var(--radius-s);
  font-weight: 700;
  color: var(--gl-forest-dark);
  font-size: 0.95rem;
}
.gl-id-input-group input {
  border-radius: 0 var(--radius-s) var(--radius-s) 0 !important;
}

/* Hesabım — Siparişlerim geçmiş kartları */
.order-history-card {
  border: 1px solid var(--gl-line);
  border-radius: var(--radius-m);
  margin-bottom: 16px;
  overflow: hidden;
  max-width: 520px;
}
.order-history-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--gl-mist);
  padding: 12px 16px;
}
.order-history-head .order-history-date {
  display: block;
  font-size: 0.78rem;
  color: var(--gl-ink-soft);
  font-weight: 400;
}
.order-history-head .status {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gl-sea);
}
.order-history-body { padding: 14px 16px; }
.order-history-meta {
  font-size: 0.78rem;
  color: var(--gl-ink-soft);
  margin-top: 10px;
}

/* Yasal İşletme Bilgileri ızgarası (İletişim sayfası) */
.legal-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px 28px;
  max-width: 900px;
}
.legal-info-grid p { margin: 2px 0 0; font-size: 0.92rem; }

/* Çerez politikası tablosu */
.legal-table-wrap {
  overflow-x: auto;
  margin: 14px 0 22px;
  -webkit-overflow-scrolling: touch;
}
.legal-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.legal-table th, .legal-table td {
  border: 1px solid var(--gl-line);
  padding: 8px 10px;
  text-align: left;
}
.legal-table th {
  background: var(--gl-mist);
  font-weight: 700;
}

/* ---------------------------------------------------------
   Çerez Tercihleri banner + panel
   --------------------------------------------------------- */
.gl-cookie-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: var(--gl-forest-dark);
  color: #dcece6;
  z-index: 1300;
  padding: 18px var(--gutter);
  box-shadow: 0 -6px 24px rgba(0,0,0,0.2);
}
.gl-cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.gl-cookie-text { max-width: 480px; }
.gl-cookie-text strong { color: #fff; }
.gl-cookie-text p { color: #b7cec5; font-size: 0.85rem; margin: 4px 0 0; }
.gl-cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.gl-cookie-actions .btn-outline { border-color: #fff; color: #fff; }
.gl-cookie-actions .btn-outline:hover { background: #fff; color: var(--gl-forest-dark); }

.gl-cookie-pref-row { margin-bottom: 16px; }
.gl-cookie-pref-row label { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.92rem; }
.gl-cookie-pref-row .gl-hint { margin: 4px 0 0 24px; }

#gl-cookie-prefs-link {
  color: #94ac9f;
  text-decoration: underline;
  cursor: pointer;
}
#gl-cookie-prefs-link:hover { color: var(--gl-turquoise); }

@media (max-width: 760px) {
  .gl-cookie-banner-inner { flex-direction: column; align-items: stretch; }
  .gl-cookie-actions { justify-content: stretch; }
  .gl-cookie-actions .btn { flex: 1; }
}

/* Konum haritası (İletişim sayfası) */
.gl-map-embed {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-width: 900px;
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(31,74,61,0.12);
}
@media (max-width: 600px) {
  .gl-map-embed { aspect-ratio: 4 / 3; }
}

/* Stokta yok rozeti (ürün görselinin üstünde) */
.stock-badge-out {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--gl-ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 999px;
}

/* ---------------------------------------------------------
   PWA — "Uygulamayı Yükle" banner'ı
   --------------------------------------------------------- */
.gl-pwa-banner {
  position: fixed;
  left: 16px; right: 16px; bottom: 16px;
  max-width: 480px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.18);
  z-index: 1250;
  padding: 14px 16px;
}
.gl-pwa-banner-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.gl-pwa-banner-inner img { border-radius: 8px; flex-shrink: 0; }
.gl-pwa-text { flex: 1; font-size: 0.86rem; color: var(--gl-ink); line-height: 1.3; }
.gl-pwa-banner-inner .btn { flex-shrink: 0; padding: 8px 14px; font-size: 0.85rem; }
.gl-pwa-close {
  background: none;
  border: none;
  font-size: 1.3rem;
  line-height: 1;
  color: var(--gl-ink-soft);
  cursor: pointer;
  padding: 0 2px;
  flex-shrink: 0;
}

/* ---------------------------------------------------------
   Karşılama kuşu widget'ı
   --------------------------------------------------------- */
.gl-bird-widget {
  position: fixed;
  right: 18px;
  bottom: 96px;
  z-index: 1200;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  flex-direction: row-reverse;
  animation: gl-bird-in 0.4s ease;
}
.gl-bird-widget.is-leaving {
  animation: gl-bird-out 0.25s ease forwards;
}
@keyframes gl-bird-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes gl-bird-out {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(20px); }
}
.gl-bird-video {
  width: 128px;
  height: 128px;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 50%;
  box-shadow: 0 8px 22px rgba(0,0,0,0.2);
  background: #eaf3ee;
}
.gl-bird-bubble {
  background: #fff;
  color: var(--gl-forest-dark);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 14px 14px 4px 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  max-width: 180px;
  cursor: pointer;
  margin-bottom: 18px;
  animation: gl-bird-in 0.3s ease;
}
.gl-bird-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--gl-line);
  color: var(--gl-ink-soft);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
@media (max-width: 480px) {
  .gl-bird-widget { right: 10px; bottom: 84px; }
  .gl-bird-video { width: 96px; height: 96px; }
  .gl-bird-bubble { max-width: 140px; font-size: 0.8rem; }
}

/* ---------------------------------------------------------
   Ürün yorum ve puanlama sistemi
   --------------------------------------------------------- */
.gl-star-row { display: inline-flex; gap: 1px; }
.gl-star { color: #d8dfd9; font-size: 0.95rem; line-height: 1; }
.gl-star.is-filled { color: #e0a800; }
.product-rating { align-items: center; gap: 6px; margin: 2px 0 4px; }
.product-rating .rating-count { font-size: 0.78rem; color: var(--gl-ink-soft); }
.product-rating-detail { margin: 8px 0 6px; }
.product-rating-detail .gl-star { font-size: 1.05rem; }

.gl-reviews-section { max-width: 720px; margin: 48px auto 0; padding: 0 20px 40px; }
.gl-reviews-section h2 { font-size: 1.3rem; margin-bottom: 16px; }
.gl-reviews-summary { margin-bottom: 20px; }
.gl-rating-big { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.gl-rating-big .gl-star { font-size: 1.3rem; }
.gl-rating-big strong { font-size: 1.2rem; }
.gl-rating-big span { color: var(--gl-ink-soft); font-size: 0.9rem; }

.gl-review-card { border-top: 1px solid var(--gl-line); padding: 16px 0; }
.gl-review-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 4px; }
.gl-review-date { margin-left: auto; font-size: 0.8rem; color: var(--gl-ink-soft); }
.gl-verified-badge { font-size: 0.72rem; color: #1f7a4d; background: #eaf7ef; padding: 2px 8px; border-radius: 10px; }
.gl-review-stars { margin-bottom: 6px; }
.gl-review-stars .gl-star { font-size: 0.95rem; }
.gl-review-text { margin: 0; color: var(--gl-ink); line-height: 1.55; white-space: pre-line; }

.gl-star-select { display: flex; gap: 4px; }
.gl-star-btn {
  background: none; border: none; cursor: pointer; padding: 2px;
  font-size: 1.6rem; color: #d8dfd9; line-height: 1;
}
.gl-star-btn.is-active { color: #e0a800; }

/* ---------------------------------------------------------
   Ürünler sayfası: arama + sıralama çubuğu
   --------------------------------------------------------- */
.urun-arama-bar {
  display: flex; gap: 10px; flex-wrap: wrap;
  margin: 18px 0 14px;
}
.urun-arama-bar input[type="search"] {
  flex: 1 1 240px;
  padding: 10px 14px;
  border: 1px solid var(--gl-line);
  border-radius: 8px;
  font-size: 0.9rem;
}
.urun-arama-bar select {
  padding: 10px 14px;
  border: 1px solid var(--gl-line);
  border-radius: 8px;
  font-size: 0.85rem;
  background: #fff;
  color: var(--gl-ink);
}
.gl-arama-sonuc-metni {
  font-size: 0.85rem;
  color: var(--gl-ink-soft);
  margin: 0 0 6px;
}

/* ---------------------------------------------------------
   Ödeme sayfası: kayıtlı adres özeti + fatura adresi seçeneği
   --------------------------------------------------------- */
.gl-adres-ozet {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  background: #f4faf7; border: 1px solid var(--gl-line); border-radius: 8px;
  padding: 12px 14px; font-size: 0.9rem; line-height: 1.5;
}
.gl-adres-ozet span { white-space: pre-line; }
.gl-adres-degistir-btn {
  flex-shrink: 0; background: none; border: none; color: var(--gl-forest-dark);
  font-weight: 600; font-size: 0.82rem; text-decoration: underline; cursor: pointer; padding: 0;
}
.gl-checkbox-label {
  display: flex; align-items: center; gap: 8px; font-size: 0.88rem; font-weight: 500; cursor: pointer;
}
.gl-checkbox-label input[type="checkbox"] { width: auto; margin: 0; }

/* ---------------------------------------------------------
   Şifre gücü göstergesi
   --------------------------------------------------------- */
.gl-pw-strength { margin-top: 8px; display: flex; align-items: center; gap: 10px; }
.gl-pw-strength-bar { flex: 1; height: 5px; background: var(--gl-line); border-radius: 999px; overflow: hidden; }
.gl-pw-strength-bar span { display: block; height: 100%; border-radius: 999px; transition: width 0.15s ease, background 0.15s ease; }
.gl-pw-strength-bar span.is-weak { width: 33%; background: var(--gl-error); }
.gl-pw-strength-bar span.is-medium { width: 66%; background: #b8860b; }
.gl-pw-strength-bar span.is-strong { width: 100%; background: var(--gl-member); }
.gl-pw-strength-label { font-size: 0.78rem; font-weight: 700; white-space: nowrap; }
.gl-pw-strength-label.is-weak { color: var(--gl-error); }
.gl-pw-strength-label.is-medium { color: #b8860b; }
.gl-pw-strength-label.is-strong { color: var(--gl-member); }

/* ---------------------------------------------------------
   Sosyal medya: gerçek WhatsApp / Instagram simgeleri
   --------------------------------------------------------- */
.gl-ico { width: 20px; height: 20px; flex: 0 0 auto; display: block; }
.social-row a.gl-social {
  width: 40px; height: 40px;
  border: 0;
  color: #fff;
  transition: transform .15s ease, box-shadow .15s ease;
}
.social-row a.gl-social .gl-ico { width: 21px; height: 21px; }
.social-row a.gl-social-wa { background: #25D366; }
.social-row a.gl-social-ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
.social-row a.gl-social:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 14px rgba(0,0,0,.25); }
.gl-whatsapp-btn { justify-content: center; gap: 10px; }
.gl-social-buttons { display: flex; flex-direction: column; gap: 10px; }
.gl-instagram-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  padding: 13px 24px;
  border-radius: var(--radius-s);
  font-weight: 700;
  font-size: 0.92rem;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}
.gl-instagram-btn:hover { color: #fff; filter: brightness(1.07); }

/* Dil seçici (bayraklı açılır menü) */
.lang-menu{position:relative;display:inline-block}
.lang-menu summary{list-style:none;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:0 8px;cursor:pointer;border-radius:8px;color:var(--gl-sea,#0b405b)}
.lang-menu summary::-webkit-details-marker{display:none}
.lang-menu summary:hover,.lang-menu[open] summary{background:rgba(11,64,91,.07)}
.lang-menu img{width:24px;height:16px;border-radius:2px;box-shadow:0 0 0 1px rgba(0,0,0,.18);display:block}
.lang-menu .lang-chev{transition:transform .15s}
.lang-menu[open] .lang-chev{transform:rotate(180deg)}
.lang-menu ul{position:absolute;right:0;top:100%;z-index:2147483000;margin:4px 0 0;padding:6px;list-style:none;min-width:160px;background:#fff;border:1px solid rgba(0,0,0,.12);border-radius:10px;box-shadow:0 8px 24px rgba(0,0,0,.14)}
.lang-menu li{margin:0;padding:0}
.lang-menu li a{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 10px;border-radius:7px;color:#1c2b33;text-decoration:none;font-weight:500;font-size:.95rem}
.lang-menu li a:hover{background:rgba(11,64,91,.08)}
.lang-menu li a[aria-current="true"]{font-weight:700;background:rgba(11,64,91,.06)}
.gl-lang-note{font-size:.9rem;opacity:.85}
.lang-menu summary{-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none;touch-action:manipulation}
.lang-menu summary:focus{outline:none}.lang-menu summary:focus-visible{outline:2px solid var(--gl-sea,#0b405b);outline-offset:2px}
/* Mobil/tablet: başlık sabit yükseklikte kırpılmasın, menü ekrana sabitlensin */
@media (max-width:920px){
  .header-inner{height:auto;min-height:var(--header-h);padding-top:8px;padding-bottom:8px}
  .header-actions{margin-left:auto}
  .lang-menu ul{position:fixed;left:auto;right:var(--lm-right,12px);top:var(--lm-top,110px);margin:0;max-width:calc(100vw - 24px)}
}
@media (max-width:480px){
  .lang-menu summary{padding:0 4px;gap:3px;min-height:40px}
  .lang-menu .lang-chev{width:10px;height:10px}
  .nav-toggle{padding-left:6px;padding-right:6px}
  .brand{font-size:1.02rem}
  .header-inner{gap:6px}
  .header-actions{gap:6px}
}
@media (max-width:480px){
  .header-actions a[href$="sepet.html"]{font-size:0;display:inline-flex;align-items:center;gap:4px}
  .header-actions a[href$="sepet.html"]::before{content:"🛒";font-size:1.1rem}
  .header-actions a[href$="sepet.html"] .cart-count{font-size:.75rem}
}

/* ---------------------------------------------------------
   Üye fiyatı görünürlüğü (Ekim 2026)
   Üye fiyatı yalnızca Greenleaf ID'si kabul edilmiş ziyaretçilere
   gösterilir (html.gl-uye sınıfı member.js tarafından eklenir).
   Diğer herkes Store sitesindeki gibi yalnızca perakende fiyatı görür.
   --------------------------------------------------------- */
.price-member { display: none !important; }
html.gl-uye .price-member { display: flex !important; }

html:not(.gl-uye) .price-retail {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-size: inherit;
}
html:not(.gl-uye) .price-retail .price-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gl-ink-soft);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
html:not(.gl-uye) .price-retail .price-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--gl-forest-dark);
  font-family: var(--font-display);
}
html:not(.gl-uye) .product-detail .price-retail .price-value { font-size: 1.7rem; }

/* Üye fiyatından bahseden açıklama notları yalnızca üyelere */
html:not(.gl-uye) [data-gl-uye-notu] { display: none; }
