/* ============================================================
   FTM BUTİK — Marka Tasarım Sistemi (2026)
   Bayan hedef kitle · Güven odaklı · Krem/Bej + Siyah + Altın
   Bu dosya tema CSS'inden SONRA yüklenir ve onu geçersiz kılar.
   ============================================================ */

/* ---------- 1. DESIGN TOKENS ---------- */
:root {
  /* Renkler — hero görselinden örneklenmiş marka paleti */
  --ftm-cream:      #f6f1ea;   /* geniş yüzeyler */
  --ftm-cream-2:    #efe7dc;   /* ikincil yüzey */
  --ftm-hero-bg:    #e3d5c8;   /* hero foto duvar rengi (dikişsiz kaynaşma) */
  --ftm-sand:       #d9c7b4;
  --ftm-tan:        #b3987b;   /* marka tan/altın */
  --ftm-gold:       #96754e;   /* koyu altın — hover/vurgu */
  --ftm-ink:        #211c17;   /* sıcak siyah (logo) */
  --ftm-ink-soft:   #55493d;
  --ftm-text:       #2e2820;
  --ftm-muted:      #8a7d6d;
  --ftm-white:      #ffffff;
  --ftm-line:       #eae2d7;
  --ftm-sale:       #b3413b;   /* indirim — zarif, sıcak kırmızı */
  --ftm-sale-bg:    #fbeeed;
  --ftm-new:        #96754e;   /* yeni ürün — altın */
  --ftm-success:    #55795f;   /* stok/başarı — adaçayı yeşili */
  --ftm-star:       #cfa96b;   /* yıldız puanı */

  /* Tipografi */
  --ftm-font-display: 'Playfair Display', Georgia, serif;
  --ftm-font-script:  'Great Vibes', cursive;
  --ftm-font-body:    'Jost', 'Helvetica Neue', Arial, sans-serif;

  /* Boşluk (8px grid) */
  --ftm-sp-1: .25rem; --ftm-sp-2: .5rem; --ftm-sp-3: .75rem;
  --ftm-sp-4: 1rem;   --ftm-sp-6: 1.5rem; --ftm-sp-8: 2rem;
  --ftm-sp-12: 3rem;  --ftm-sp-16: 4rem;

  /* Köşe & gölge */
  --ftm-radius-sm: 6px; --ftm-radius: 10px; --ftm-radius-lg: 16px; --ftm-radius-full: 999px;
  --ftm-shadow-sm: 0 1px 3px rgba(33,28,23,.06), 0 1px 2px rgba(33,28,23,.04);
  --ftm-shadow-md: 0 6px 16px rgba(33,28,23,.08), 0 2px 6px rgba(33,28,23,.05);
  --ftm-shadow-lg: 0 16px 40px rgba(33,28,23,.12), 0 6px 12px rgba(33,28,23,.06);

  /* Hareket */
  --ftm-ease: cubic-bezier(.4,0,.2,1);
  --ftm-ease-spring: cubic-bezier(.34,1.56,.64,1);
}

/* ---------- 2. GLOBAL ZEMİN & TİPOGRAFİ ---------- */
html body {
  font-family: var(--ftm-font-body);
  color: var(--ftm-text);
  background: var(--ftm-white);
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--ftm-sand); color: var(--ftm-ink); }

/* Kaydırma çubuğu — marka renkleri (profesyonel ince çubuk) */
html { scrollbar-color: var(--ftm-tan) var(--ftm-cream); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ftm-cream); }
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--ftm-tan), var(--ftm-gold));
  border-radius: var(--ftm-radius-full);
  border: 2px solid var(--ftm-cream);
}
::-webkit-scrollbar-thumb:hover { background: var(--ftm-gold); }

/* ---------- 3. HEADER AYRIŞTIRMA ----------
   Sorun: header-top ile ana header tek bant gibi görünüyordu.
   Çözüm: üst bant BEYAZ zemin + ince ayraç; ana bant beyaz + gölge. */
html body .header-compact .top-bar {
  background: var(--ftm-white) !important;
  border-bottom: 1px solid var(--ftm-line);
  min-height: 38px;
  padding: 0 var(--ftm-sp-6);
}
html body .header-compact .top-bar,
html body .header-compact .top-bar a,
html body .header-compact .top-bar .top-menu > ul > li > a,
html body .header-compact .top-bar .links-menu a {
  color: var(--ftm-ink-soft) !important;
  font-size: 13.5px;
  letter-spacing: .02em;
  font-weight: 400;
}
html body .header-compact .top-bar a:hover { color: var(--ftm-gold) !important; }

/* Kampanya metni üst menüden kaldırıldı — artık kendi duyuru barında (ftm_announce) */
html body .top-bar .top-menu-item-5 { display: none !important; }

html body .header-compact .mid-bar {
  background: var(--ftm-white) !important;
  box-shadow: 0 2px 12px rgba(33,28,23,.07);
  border-bottom: 1px solid var(--ftm-line);
  min-height: 72px;
  padding: 0 var(--ftm-sp-6);
}
/* header sarmalayıcısının kendi bej zemini de beyaza alındı (bant bütünlüğü) */
html body header.header-compact,
html body .header.header-compact,
html body .header.header-compact.header-sm {
  background: var(--ftm-white) !important;
}

/* Ana menü tipografisi */
html body .desktop-main-menu-wrapper .main-menu > ul > li > a,
html body .desktop-main-menu-wrapper a {
  font-family: var(--ftm-font-body);
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--ftm-ink) !important;
}
html body .desktop-main-menu-wrapper .main-menu > ul > li > a:hover { color: var(--ftm-gold) !important; }

/* Logo — ana dizindeki logo.png (şeffaf) ile değişim */
html body #logo img {
  content: url('/image/catalog/ftm/logo-ftm.png');
  width: auto !important;
  height: 52px !important;
  object-fit: contain;
}

/* Sepet & arama ikon alanı */
html body .header-cart-group .btn,
html body .desktop-cart-wrapper .cart-heading { color: var(--ftm-ink); }

/* ---------- 4. FTM HERO ---------- */
/* Eski slider anasayfada gizlenir (yerine ftm-hero gelir).
   Admin > OpencartVip > Modüller'den tamamen kapatılması önerilir. */
html.route-common-home .module-master_slider-242 { display: none !important; }

/* Anasayfa tekrar eden afiş blokları gizlendi (kullanıcı talebi) */
html.route-common-home .module-banners-251,
html.route-common-home .module-banners-262 { display: none !important; }
html.route-common-home .grid-row:has(.module-banners-251),
html.route-common-home .grid-row:has(.module-banners-262) { display: none !important; }

/* ---------- 4b. FTM DUYURU BARI (kampanya — adminden yönetilebilir) ---------- */
.ftm-announce {
  position: relative;
  background: linear-gradient(90deg, var(--ftm-ink) 0%, #33291d 55%, var(--ftm-gold) 160%);
  color: #f3ead9;
  text-align: center;
  padding: 10px 44px;
  font-size: 14px;
  letter-spacing: .05em;
  line-height: 1.5;
  z-index: 50;
}
.ftm-announce a { color: inherit; text-decoration: none; display: inline-flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.ftm-announce .ftm-announce-text { font-weight: 500; }
.ftm-announce .ftm-announce-code {
  display: inline-block;
  background: var(--ftm-sand);
  color: var(--ftm-ink);
  font-weight: 600;
  letter-spacing: .1em;
  border-radius: var(--ftm-radius-sm);
  padding: 2px 10px;
  border: 1px dashed var(--ftm-gold);
}
.ftm-announce-close {
  position: absolute; top: 50%; right: 10px; transform: translateY(-50%);
  background: none; border: none; color: #cbbfa8;
  font-size: 20px; line-height: 1; cursor: pointer; padding: 6px;
}
.ftm-announce-close:hover { color: #fff; }
.ftm-announce.is-hidden { display: none; }
@media (max-width: 48em) { .ftm-announce { font-size: 12.5px; padding: 8px 40px; } }

.ftm-hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 85% 10%, #d9c5ae 0%, transparent 55%),
    linear-gradient(105deg, #f1e9de 0%, #ecdfd0 45%, var(--ftm-hero-bg) 100%);
  overflow: hidden;
}
.ftm-hero-inner {
  max-width: 1360px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: stretch;
  padding: 0 clamp(1rem, 4vw, 3rem);
  min-height: clamp(480px, 58vw, 640px);
}
.ftm-hero-content {
  align-self: center;
  padding: clamp(2rem, 5vw, 4rem) 0;
  max-width: 560px;
  position: relative;
  z-index: 2;
}
.ftm-hero-brand { height: clamp(64px, 8vw, 96px); width: auto; margin-bottom: var(--ftm-sp-3); }
.ftm-hero-eyebrow {
  font-family: var(--ftm-font-body);
  font-size: clamp(.72rem, 1vw, .85rem);
  letter-spacing: .42em;
  color: var(--ftm-ink-soft);
  margin: 0 0 var(--ftm-sp-4);
  text-transform: uppercase;
}
.ftm-hero-title {
  font-family: var(--ftm-font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.08;
  color: var(--ftm-ink);
  margin: 0;
}
.ftm-hero-script {
  font-family: var(--ftm-font-script);
  font-size: clamp(1.9rem, 3.6vw, 2.9rem);
  line-height: 1.15;
  color: var(--ftm-gold);
  margin: .1em 0 0;
}
.ftm-hero-divider {
  display: flex; align-items: center; gap: var(--ftm-sp-3);
  margin: var(--ftm-sp-4) 0;
  color: var(--ftm-tan);
}
.ftm-hero-divider::before, .ftm-hero-divider::after {
  content: ''; height: 1px; width: 72px;
  background: linear-gradient(90deg, transparent, var(--ftm-tan));
}
.ftm-hero-divider::after { background: linear-gradient(90deg, var(--ftm-tan), transparent); }
.ftm-hero-text {
  font-size: clamp(.95rem, 1.4vw, 1.08rem);
  line-height: 1.65;
  color: var(--ftm-ink-soft);
  margin: 0 0 var(--ftm-sp-6);
  max-width: 40ch;
}
.ftm-hero-ctas { display: flex; flex-direction: column; gap: var(--ftm-sp-3); max-width: 360px; }
.ftm-btn {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: var(--ftm-sp-3);
  min-height: 52px;
  padding: .8em 1.4em;
  border-radius: var(--ftm-radius);
  font-family: var(--ftm-font-body);
  font-size: .95rem; font-weight: 500; letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: transform .2s var(--ftm-ease), box-shadow .25s var(--ftm-ease), background .2s var(--ftm-ease);
  will-change: transform;
}
.ftm-btn i { transition: transform .25s var(--ftm-ease); }
.ftm-btn:hover { transform: translateY(-2px); }
.ftm-btn:hover i { transform: translateX(4px); }
.ftm-btn:active { transform: translateY(0); }
.ftm-btn-dark { background: var(--ftm-ink); color: #fff !important; box-shadow: 0 6px 18px rgba(33,28,23,.28); }
.ftm-btn-dark:hover { background: #3a322a; color: #fff !important; }
.ftm-btn-tan { background: var(--ftm-tan); color: #fff !important; box-shadow: 0 6px 18px rgba(150,117,78,.30); }
.ftm-btn-tan:hover { background: var(--ftm-gold); color: #fff !important; }
.ftm-btn-ghost {
  background: rgba(255,255,255,.6);
  color: var(--ftm-ink) !important;
  border: 1px solid rgba(33,28,23,.25);
  backdrop-filter: blur(6px);
}
.ftm-btn-ghost:hover { background: #fff; border-color: var(--ftm-ink); }

.ftm-hero-media { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: flex-end; }
.ftm-hero-media img {
  width: 100%; height: 100%; max-height: 100%;
  object-fit: cover; object-position: 60% 18%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 18%);
}

/* Güven şeridi — Cialdini: güven sinyalleri ilk ekranda */
.ftm-hero-trust {
  position: relative; z-index: 2;
  background: rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(179,152,123,.30);
}
.ftm-hero-trust-inner {
  max-width: 1360px; margin-inline: auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding: var(--ftm-sp-4) clamp(1rem, 4vw, 3rem);
  gap: var(--ftm-sp-4);
}
.ftm-trust-item { display: flex; align-items: center; gap: var(--ftm-sp-3); justify-content: center; }
.ftm-trust-item i {
  font-size: 1.8rem; color: var(--ftm-gold);
  width: 56px; height: 56px; flex: 0 0 56px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--ftm-sand); border-radius: var(--ftm-radius-full);
  background: var(--ftm-cream);
}
.ftm-trust-item b { display: block; font-weight: 600; font-size: 1.05rem; letter-spacing: .04em; color: var(--ftm-ink); text-transform: uppercase; }
.ftm-trust-item span { font-size: .95rem; color: var(--ftm-ink-soft); }

/* Hero responsive */
@media (max-width: 62em) {
  .ftm-hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .ftm-hero-content { max-width: 100%; text-align: center; padding-bottom: var(--ftm-sp-6); }
  .ftm-hero-divider { justify-content: center; }
  .ftm-hero-text { margin-inline: auto; }
  .ftm-hero-ctas { margin-inline: auto; width: 100%; }
  /* mobilde model görseli gizli — hero kompakt: metin + CTA + güven şeridi */
  .ftm-hero-media { display: none; }
  .ftm-hero-trust-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 30em) {
  .ftm-trust-item { flex-direction: column; text-align: center; gap: var(--ftm-sp-2); }
}

/* Giriş animasyonları (JS .ftm-in ekler) */
[data-ftm-animate] { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ftm-ease), transform .7s var(--ftm-ease); }
[data-ftm-animate].ftm-in { opacity: 1; transform: none; }
[data-ftm-delay="1"] { transition-delay: .12s; }
[data-ftm-delay="2"] { transition-delay: .24s; }
[data-ftm-delay="3"] { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  [data-ftm-animate] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .ftm-btn, .ftm-btn i { transition: none !important; }
}

/* ---------- 5. ÜRÜN KARTLARI ---------- */
html body .product-thumb {
  background: var(--ftm-white);
  border: 1px solid var(--ftm-line);
  border-radius: var(--ftm-radius-lg);
  overflow: hidden;
  transition: transform .3s var(--ftm-ease), box-shadow .3s var(--ftm-ease);
  box-shadow: var(--ftm-shadow-sm);
}
html body .product-thumb:hover {
  transform: translateY(-4px);
  box-shadow: var(--ftm-shadow-lg);
  border-color: var(--ftm-sand);
}
html body .product-thumb .image { background: var(--ftm-cream); }
html body .product-thumb .caption { padding: var(--ftm-sp-3) var(--ftm-sp-4) var(--ftm-sp-4); }
html body .product-thumb .name a {
  font-family: var(--ftm-font-body);
  font-weight: 500; font-size: 1.05rem; letter-spacing: .01em;
  color: var(--ftm-text);
  line-height: 1.45;
}
html body .product-thumb .name a:hover { color: var(--ftm-gold); }

/* Fiyat — Von Restorff: fiyat net ve izole */
html body .product-thumb .price { font-family: var(--ftm-font-body); }
html body .product-thumb .price-new { color: var(--ftm-sale); font-weight: 600; font-size: 1.2rem; }
html body .product-thumb .price-old { color: var(--ftm-muted); font-size: .95rem; text-decoration: line-through; }
html body .product-thumb .price-normal { color: var(--ftm-ink); font-weight: 600; font-size: 1.2rem; }

/* Rozetler — psikoloji: kırmızı=aciliyet (indirim), altın=yenilik.
   Tema etiketi tam genişliğe yayıyordu (display:flex) → kelime genişliğinde pill'e çevrildi. */
html body .product-thumb .product-labels {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  top: 10px !important;
  left: 10px !important;
  right: auto !important;
  width: auto !important;
}
html body .product-label {
  display: inline-flex !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  justify-content: center !important;
  border-radius: var(--ftm-radius-full) !important;
  padding: 5px 14px !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: .06em;
  text-transform: uppercase;
  box-shadow: var(--ftm-shadow-sm);
}
html body .product-label.product-label-28,
html body .product-label.product-label-28 b { background: var(--ftm-sale) !important; color: #fff !important; }
html body .product-label.product-label-29,
html body .product-label.product-label-29 b { background: var(--ftm-new) !important; color: #fff !important; }
html body .product-label b { background: transparent !important; font-weight: 600; }

/* Yıldızlar */
html body .rating .fa-star { color: var(--ftm-star) !important; }
html body .rating .fa-star-o { color: #d8cdbd !important; }

/* Beden çipleri (ftm_sizes modülü) */
.ftm-sizes { display: flex; flex-wrap: wrap; gap: 6px; margin: var(--ftm-sp-2) 0 var(--ftm-sp-1); min-height: 30px; }
.ftm-size-chip {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 34px; height: 30px; padding: 0 9px;
  border: 1px solid var(--ftm-line);
  border-radius: var(--ftm-radius-sm);
  background: var(--ftm-cream);
  font-size: 13px; font-weight: 500; letter-spacing: .04em;
  color: var(--ftm-ink-soft);
}
.ftm-size-chip.is-out {
  color: #c2b7a8; background: transparent; text-decoration: line-through;
  border-style: dashed;
}
.ftm-sizes-label { font-size: 10.5px; color: var(--ftm-muted); letter-spacing: .08em; text-transform: uppercase; align-self: center; margin-right: 2px; }

/* Sepete Ekle — güçlü CTA: siyah zemin, altın hover */
html body .product-thumb .btn-cart,
html body .btn.btn-cart {
  background: var(--ftm-ink) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--ftm-radius) !important;
  font-weight: 500 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background .2s var(--ftm-ease), transform .15s var(--ftm-ease), box-shadow .2s var(--ftm-ease) !important;
}
html body .product-thumb .btn-cart:hover,
html body .btn.btn-cart:hover {
  background: var(--ftm-gold) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(150,117,78,.35) !important;
}
html body .btn-wishlist:hover, html body .btn-compare:hover { color: var(--ftm-sale) !important; }

/* Stok tükendi kartı */
html body .product-thumb.out-of-stock .image { opacity: .75; filter: grayscale(35%); }

/* Geri sayım — aciliyet (kıtlık prensibi) */
html body .product-thumb .countdown { background: rgba(33,28,23,.85); border-radius: var(--ftm-radius-sm); }

/* ---------- 6. GENEL BUTON / FORM / BAŞLIK ---------- */
html body .module-title, html body h3.title {
  font-family: var(--ftm-font-display);
  font-weight: 600; letter-spacing: .02em;
  color: var(--ftm-ink);
}
html body .btn-primary {
  background: var(--ftm-ink) !important; border-color: var(--ftm-ink) !important;
  border-radius: var(--ftm-radius) !important;
}
html body .btn-primary:hover { background: var(--ftm-gold) !important; border-color: var(--ftm-gold) !important; }
html body .form-control:focus {
  border-color: var(--ftm-tan) !important;
  box-shadow: 0 0 0 3px rgba(179,152,123,.18) !important;
}

/* Swiper / karusel kontrolleri — mavi oklar marka rengine çevrildi */
html body .swiper-pagination-bullet { background: var(--ftm-sand); opacity: 1; }
html body .swiper-pagination-bullet-active { background: var(--ftm-gold); }
html body .swiper-buttons .swiper-button-prev,
html body .swiper-buttons .swiper-button-next,
html body .swiper-button-prev,
html body .swiper-button-next {
  background: var(--ftm-ink) !important;
  background-color: var(--ftm-ink) !important;
  color: #fff !important;
  border-radius: var(--ftm-radius-full) !important;
  box-shadow: 0 4px 14px rgba(33,28,23,.28) !important;
  transition: background .2s var(--ftm-ease), transform .2s var(--ftm-ease) !important;
}
html body .swiper-button-prev:hover, html body .swiper-button-next:hover {
  background: var(--ftm-gold) !important;
  background-color: var(--ftm-gold) !important;
  transform: scale(1.06);
}
/* Ok simgesi: temanın SVG'si arka plan rengimizle kayboluyordu → net FontAwesome şevron */
html body .swiper-button-prev, html body .swiper-button-next {
  background-image: none !important;
  width: 42px !important; height: 42px !important;
  margin-top: -21px;
  display: flex !important; align-items: center; justify-content: center;
}
html body .swiper-button-prev::after, html body .swiper-button-next::after {
  font-family: FontAwesome !important;
  font-size: 20px !important;
  color: #fff !important;
  line-height: 1 !important;
  opacity: 1 !important;
}
html body .swiper-button-prev::after { content: "\f104" !important; margin-right: 2px; }
html body .swiper-button-next::after { content: "\f105" !important; margin-left: 2px; }
html body .swiper-button-prev::before, html body .swiper-button-next::before { display: none !important; }
html body .swiper-button-disabled { opacity: .35 !important; pointer-events: none; }

/* Swiper'ın "kaydırılacak slayt yok" gizlemesini display:flex kuralım ezmişti —
   kilitli/gizli oklar yine gizlensin (ölü buton görünümü düzeltmesi) */
html body .swiper-button-lock,
html body .swiper-button-hidden { display: none !important; }
/* her iki ok da pasifse çifti tamamen gizle (modern tarayıcı iyileştirmesi —
   bağımsız kural: desteklenmezse oklar yalnızca soluk görünür, zarar yok) */
html body .swiper-buttons:has(> .swiper-button-prev.swiper-button-disabled):has(> .swiper-button-next.swiper-button-disabled) {
  display: none !important;
}

/* ---------- 7. ÜRÜN DETAY SAYFASI ---------- */
html body .product-details .page-title, html body .product-info h1 {
  font-family: var(--ftm-font-display);
  font-weight: 600; color: var(--ftm-ink);
}

/* Başlık arkasındaki konfeti deseni kaldırıldı — markaya aykırıydı */
html body .page-title, html:not(.popup) body .page-title {
  background-image: none !important;
  background: transparent !important;
  font-family: var(--ftm-font-display) !important;
  letter-spacing: .02em;
  line-height: 1.25 !important;
}

/* "Hemen Al" — Sepete Ekle konseptiyle bütünlük: aynı form, altın renk */
html body .btn-extra, html body .extra-group .btn-extra {
  background: var(--ftm-gold) !important;
  color: #fff !important;
  border: none !important;
  border-radius: var(--ftm-radius) !important;
  font-weight: 500 !important;
  letter-spacing: .1em;
  text-transform: uppercase;
  min-height: 48px;
  display: inline-flex; align-items: center; justify-content: center;
  box-shadow: none !important;
  transition: background .2s var(--ftm-ease), transform .15s var(--ftm-ease) !important;
}
html body .btn-extra:hover {
  background: var(--ftm-tan) !important;
  transform: translateY(-1px);
}
html body .btn-extra .fa { color: #fff; }

/* WhatsApp sipariş — bar çakışması giderildi: sağda yüzen yuvarlak buton.
   Yalnız DIŞ sarmalayıcı (div.inova) konumlanır; iç öğeler statik doldurur. */
html body div.inova {
  display: block !important;
  position: fixed !important;
  left: auto !important; top: auto !important;
  right: 14px !important;
  bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
  margin: 0 !important; padding: 0 !important;
  width: 56px !important; height: 56px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  z-index: 9989 !important;
  box-shadow: 0 6px 20px rgba(8,206,27,.35), var(--ftm-shadow-md);
}
html body a.inova.whatsapp, html body .inova a.whatsapp {
  position: static !important;
  display: flex !important; align-items: center; justify-content: center;
  width: 100% !important; height: 100% !important;
  margin: 0 !important; padding: 0 !important;
  background: transparent !important;
  border: none !important; border-radius: 0 !important;
}
html body .inova .btn {
  background: transparent !important;
  border: none !important;
  width: 100% !important; height: 100% !important;
  display: flex !important; align-items: center; justify-content: center;
  padding: 0 !important; margin: 0 !important;
  font-size: 0 !important; /* "Whatsapp Sipariş" yazısı gizli — yalnız ikon */
  box-shadow: none !important;
}
html body .inova .fa {
  font-size: 26px !important;
  width: auto !important; height: auto !important;
  margin: 0 !important;
  color: #fff !important;
  border-radius: 0 !important;
}
/* olası halka/pulse sahte öğeleri tamamen kapat (dev elips hatası) */
html body .inova::before, html body .inova::after,
html body .inova a::before, html body .inova a::after,
html body .inova .btn::before, html body .inova .btn::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}

/* ---------- 13. ÜCRETSİZ KARGO ÇUBUĞU (#wg-fs) + YÜZEN BUTON DÜZENİ ---------- */
/* Kargo çubuğu görünürken yüzen butonlar (WhatsApp, AI ajan) yukarı kalkar */
:root { --ftm-float-lift: 0px; }
html.ftm-has-wgfs { --ftm-float-lift: 62px; }

html body .wg-fs.wg-fs-bottom, html body #wg-fs {
  position: fixed !important;
  left: 0 !important; right: 0 !important;
  bottom: 0;
  z-index: 9985 !important; /* yüzen butonların altında, içeriğin üstünde */
  background: var(--ftm-ink) !important;
  color: #f3ead9 !important;
  padding: 10px 44px 10px 16px !important;
  font-size: 13.5px;
  box-shadow: 0 -6px 20px rgba(33,28,23,.25);
}
html body .wg-fs .wg-fs-in { position: relative; max-width: 720px; margin-inline: auto; display: flex; flex-direction: column; gap: 6px; }
html body .wg-fs .wg-fs-msg { display: flex; align-items: center; gap: 8px; font-weight: 500; letter-spacing: .02em; }
html body .wg-fs .wg-fs-msg .fa { color: var(--ftm-sand); font-size: 16px; }
html body .wg-fs .wg-fs-bar {
  display: block; height: 6px;
  background: rgba(255,255,255,.18) !important;
  border-radius: var(--ftm-radius-full);
  overflow: hidden;
}
html body .wg-fs .wg-fs-fill {
  display: block; height: 100%;
  background: linear-gradient(90deg, var(--ftm-tan), var(--ftm-gold)) !important;
  border-radius: var(--ftm-radius-full);
  transition: width .6s var(--ftm-ease);
}
html body .wg-fs .wg-fs-close {
  position: absolute; top: 50%; right: -30px; transform: translateY(-50%);
  background: none; border: none;
  color: #cbbfa8; font-size: 22px; line-height: 1;
  padding: 6px; cursor: pointer;
}
html body .wg-fs .wg-fs-close:hover { color: #fff; }
html body .wg-fs.ftm-hidden { display: none !important; }

/* mobilde: alt navigasyonun / satın alma barının ÜSTÜNDE dursun */
@media (max-width: 62em) {
  html body .wg-fs.wg-fs-bottom, html body #wg-fs {
    bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }
  html.route-product-product:not(.popup) body .wg-fs.wg-fs-bottom,
  html.route-product-product:not(.popup) body #wg-fs {
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* Yüzen butonlar çubuğun üstüne kalkar (WhatsApp + wg-ai / wg-agent kök ID'li AI ajan) */
html body div.inova {
  bottom: calc(96px + var(--ftm-float-lift) + env(safe-area-inset-bottom, 0px)) !important;
  transition: bottom .3s var(--ftm-ease);
}
html body [id^="wg-ai"], html body [id^="wg-agent"], html body [id^="wg-chat"] {
  transition: transform .3s var(--ftm-ease);
}
html.ftm-has-wgfs body [id^="wg-ai"],
html.ftm-has-wgfs body [id^="wg-agent"],
html.ftm-has-wgfs body [id^="wg-chat"] {
  transform: translateY(calc(-1 * var(--ftm-float-lift)));
}

/* Mobil ürün detayı: tek alt bar — tabbar gizlenir, temanın satın alma barı kalır */
@media (max-width: 62em) {
  html.route-product-product:not(.popup) .ftm-tabbar { display: none !important; }
  html.route-product-product:not(.popup) body { padding-bottom: 0 !important; }
  html.route-product-product:not(.popup) .product-info .button-group-page {
    background: rgba(255,255,255,.97) !important;
    border-top: 1px solid var(--ftm-line) !important;
    box-shadow: 0 -8px 28px rgba(33,28,23,.12) !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)) !important;
  }
}
html body .product-info .price-group .product-price,
html body .product-info .price-group .price-new { color: var(--ftm-sale); font-weight: 700; }
html body .product-info .price-group .price-normal { color: var(--ftm-ink); font-weight: 700; }
/* Fiyat — büyük ve gösterişli (satın alma kararının odağı) */
html body .product-info .product-price-group { margin: 10px 0 6px; }
html body .product-info .price-group {
  display: flex !important;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 14px;
}
html body .product-info .product-price-new,
html body .product-info .product-price-new span {
  color: var(--ftm-sale) !important;
  font-weight: 700 !important;
  font-size: clamp(2rem, 3.2vw, 2.6rem) !important;
  line-height: 1.1 !important;
  letter-spacing: -.01em;
  font-family: var(--ftm-font-body);
}
html body .product-info .product-price-old,
html body .product-info .product-price-old span {
  color: var(--ftm-muted) !important;
  text-decoration: line-through;
  font-size: 1.25rem !important;
  font-weight: 400 !important;
}
/* indirimsiz üründe normal fiyat da büyük (siyah) */
html body .product-info .price-group .product-price,
html body .product-info .price-group .product-price span {
  color: var(--ftm-ink) !important;
  font-weight: 700 !important;
  font-size: clamp(2rem, 3.2vw, 2.6rem) !important;
  line-height: 1.1 !important;
}
/* İndirim oranı rozeti (JS hesaplar: %XX İNDİRİM) */
.ftm-discount-badge {
  align-self: center;
  background: var(--ftm-sale);
  color: #fff;
  border-radius: var(--ftm-radius-full);
  padding: 5px 14px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(179,65,59,.30);
  animation: ftm-badge-pop .4s var(--ftm-ease-spring);
}
@keyframes ftm-badge-pop { from { opacity: 0; transform: scale(.7); } to { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .ftm-discount-badge { animation: none; } }

/* "Bu Ürünün Diğer Renkleri" — turuncu seçim çizgisi altın oldu */
html body .pds a.preview.pds-current, html body .pds a.pds-current {
  border-bottom-color: var(--ftm-gold) !important;
}

html body #button-cart {
  min-height: 54px;
  font-size: 1rem !important;
  border-radius: var(--ftm-radius) !important;
  background: var(--ftm-ink) !important;
  letter-spacing: .12em; text-transform: uppercase;
  box-shadow: 0 8px 22px rgba(33,28,23,.25);
}
html body #button-cart:hover { background: var(--ftm-gold) !important; }

/* Opsiyon (beden/renk) alanı */
html body .product-options .control-label { font-weight: 600; color: var(--ftm-ink); letter-spacing: .04em; }

/* Güven şeridi (ürün detay) */
.ftm-pd-trust {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--ftm-sp-2) var(--ftm-sp-4);
  margin: var(--ftm-sp-4) 0 0;
  padding: var(--ftm-sp-4);
  background: var(--ftm-cream);
  border: 1px solid var(--ftm-line);
  border-radius: var(--ftm-radius-lg);
}
.ftm-pd-trust-item { display: flex; align-items: center; gap: var(--ftm-sp-2); font-size: .98rem; color: var(--ftm-ink-soft); }
.ftm-pd-trust-item i { color: var(--ftm-gold); font-size: 1.3rem; width: 26px; text-align: center; }
.ftm-pd-trust-item a { color: inherit; text-decoration: underline dotted; }
.ftm-pd-trust-item a:hover { color: var(--ftm-gold); }
@media (max-width: 30em) { .ftm-pd-trust { grid-template-columns: 1fr; } }

/* Ürün sekmeleri (Ürün Bilgisi / Yorumları) — eski mavi-gri pil yerine marka stili */
html body .tabs-container .nav-tabs {
  border-bottom: 1px solid var(--ftm-line) !important;
}
html body .tabs-container .nav-tabs > li > a {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  border-radius: 0 !important;
  color: var(--ftm-muted) !important;
  font-family: var(--ftm-font-body);
  font-weight: 500; font-size: 15px;
  letter-spacing: .04em;
  padding: 12px 18px !important;
  transition: color .2s var(--ftm-ease), border-color .2s var(--ftm-ease);
}
html body .tabs-container .nav-tabs > li > a:hover { color: var(--ftm-ink) !important; }
html body .tabs-container .nav-tabs > li.active > a {
  color: var(--ftm-ink) !important;
  border-bottom-color: var(--ftm-gold) !important;
  font-weight: 600;
}

/* "Soru Sorun" (btn-extra-93) — pembe yerine zarif hayalet buton */
html body .btn-extra.btn-extra-93 {
  background: transparent !important;
  color: var(--ftm-ink) !important;
  border: 1px solid var(--ftm-sand) !important;
  box-shadow: none !important;
}
html body .btn-extra.btn-extra-93:hover {
  background: var(--ftm-ink) !important;
  color: #fff !important;
  border-color: var(--ftm-ink) !important;
}
html body .btn-extra.btn-extra-93 .fa,
html body .btn-extra.btn-extra-93::before { color: inherit !important; }

/* Yorum linkleri — mavi yerine marka altını */
html body .review-links a { color: var(--ftm-gold) !important; cursor: pointer; }
html body .review-links a:hover { color: var(--ftm-ink) !important; }

/* Beden tablosu bağlantısı */
.ftm-size-guide { margin: var(--ftm-sp-2) 0; }
.ftm-size-guide a {
  font-size: .85rem; color: var(--ftm-gold); text-decoration: underline;
  display: inline-flex; align-items: center; gap: 6px;
}

/* ---------- 8. FOOTER — premium koyu zemin ---------- */
html body footer, html body footer.top-row {
  background: var(--ftm-ink) !important;
  color: #cfc4b6 !important;
}
html body footer a { color: #cfc4b6 !important; transition: color .2s var(--ftm-ease); }
html body footer a:hover { color: var(--ftm-sand) !important; }
html body footer .links-menu-title, html body footer .module-title,
html body footer h3, html body footer h4, html body footer .title {
  color: var(--ftm-sand) !important;
  font-family: var(--ftm-font-display);
  letter-spacing: .05em;
}
html body footer .newsletter .btn { background: var(--ftm-tan) !important; color: #fff !important; border: none; }
html body footer .newsletter .btn:hover { background: var(--ftm-gold) !important; }
html body footer .form-control { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.15); color: #fff; }

/* Footer iç konteynerlerin kendi (tan) zeminleri koyu zemini örtüyordu — şeffaflaştırıldı */
html body footer .grid-row, html body footer .grid-col, html body footer .grid-item,
html body footer .module, html body footer .module-body, html body footer .block-body,
html body footer .top-row, html body footer .mid-row, html body footer .bottom-row {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
}
html body footer { background: var(--ftm-ink) !important; }
html body footer, html body footer p, html body footer span, html body footer li { color: #cfc4b6; }

/* Footer'daki "SİTELOGOSU" placeholder görseli → krem FTM logosu */
html body footer img[src*="logom"] {
  content: url('/image/catalog/ftm/logo-ftm-cream.png');
  width: 168px !important; height: auto !important;
}

/* Ölü Google+ sosyal ikonu kaldırıldı (:has'siz — eski tarayıcıda kural düşmesin) */
html body .icons-menu a[title="Google"] { display: none !important; }

/* Türkiye'de kullanılmayan ödeme ikonları kaldırıldı (Visa + Mastercard kalır).
   NOT: ikonlar footer'ın DIŞINDA ayrı bottom bölgesinde (icons-menu-228) — global kapsam. */
html body .icons-menu a[title="Paypal"],
html body .icons-menu a[title="Amex"],
html body .icons-menu a[title="Discover"],
html body .icons-menu a[title="Stripe"] {
  display: none !important;
}

/* Footer iç sarmalayıcı (grid-rows) ten rengini koyu zemin üstünde bırakıyordu */
html body footer .grid-rows, html body footer .blocks-grid { background: transparent !important; background-color: transparent !important; }

/* ---------- 9. SAYFA GENELİ İNCE AYAR ---------- */
html body .breadcrumb { background: transparent; font-size: 13.5px; }
html body .breadcrumb a { color: var(--ftm-muted); }
html body .breadcrumb a:hover { color: var(--ftm-gold); }

/* Genel okunabilirlik — küçük kalan metinler büyütüldü */
html body .desktop-main-menu-wrapper .main-menu > ul > li > a { font-size: 15px; }
html body footer, html body footer a, html body footer li, html body footer p { font-size: 14.5px; line-height: 1.7; }
html body footer .links-menu-title, html body footer h3, html body footer h4, html body footer .title { font-size: 17px; }
html body .product-thumb .description { font-size: 13.5px; }
html body .product-thumb .btn-cart .btn-text { font-size: 13.5px; }
html body .product-options .control-label { font-size: 15px; }
html body .product-info .description, html body .product-details p { font-size: 15px; line-height: 1.7; }
html body .ftm-size-guide a { font-size: .95rem; }

/* İçerik başlıkları */
html body .module-products .module-title {
  text-align: center;
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  position: relative;
  padding-bottom: var(--ftm-sp-3);
}
html body .module-products .module-title::after {
  content: '';
  position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 56px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--ftm-gold), transparent);
}

/* Back-to-top */
html body .back-to-top, html body #back-top {
  background: var(--ftm-ink) !important; color: #fff !important;
  border-radius: var(--ftm-radius-full) !important;
}

/* Bildirim / popup ton uyumu */
html body .popup-note, html body .notification { border-color: var(--ftm-sand); }

/* ---------- 14. KATEGORİ SAYFASI: FİLTRE PANELİ + ALT KATEGORİ KARTLARI ---------- */
/* Filtre paneli — eski siyah blok/mavi buton görünümü marka temasına alındı */
html body .module-filter {
  background: var(--ftm-white);
  border: 1px solid var(--ftm-line);
  border-radius: var(--ftm-radius-lg);
  overflow: hidden;
  box-shadow: var(--ftm-shadow-sm);
}
html body .module-filter .module-title {
  font-family: var(--ftm-font-display) !important;
  font-size: 17px !important;
  font-weight: 600 !important;
  background: var(--ftm-cream) !important;
  color: var(--ftm-ink) !important;
  text-transform: none !important;
  padding: 14px 16px !important;
  margin: 0;
  display: flex; align-items: center; gap: 10px;
  border-bottom: 1px solid var(--ftm-line);
}
html body .module-filter .module-title > span { flex: 1; }
html body .reset-filter.btn {
  background: transparent !important;
  color: var(--ftm-gold) !important;
  border: 1px solid var(--ftm-sand) !important;
  border-radius: var(--ftm-radius-full) !important;
  font-family: var(--ftm-font-body) !important;
  font-size: 12px !important;
  padding: 3px 12px !important;
  min-height: 26px !important;
  transition: all .2s var(--ftm-ease);
}
html body .reset-filter.btn:hover { background: var(--ftm-gold) !important; color: #fff !important; box-shadow: none !important; }
html body .module-filter .panel { border: none !important; box-shadow: none !important; background: transparent !important; margin: 0 !important; }
html body .module-filter .panel-heading { background: transparent !important; border: none !important; padding: 12px 16px 4px !important; }
html body .module-filter .panel-title a {
  font-family: var(--ftm-font-body);
  font-weight: 600; font-size: 14px;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ftm-ink) !important;
  display: flex; align-items: center; justify-content: space-between;
}
html body .module-filter .panel-title .fa { color: var(--ftm-tan); transition: transform .2s var(--ftm-ease); }
html body .module-filter .panel-title a.collapsed .fa { transform: rotate(-90deg); }
html body .module-filter .panel-body { padding: 4px 16px 14px !important; }
html body .module-filter .filter-radio label,
html body .module-filter .filter-checkbox label {
  display: flex; align-items: center; gap: 10px;
  padding: 7px 0; margin: 0;
  font-size: 14.5px; font-weight: 400;
  color: var(--ftm-ink-soft); cursor: pointer;
  transition: color .15s var(--ftm-ease);
}
html body .module-filter label:hover { color: var(--ftm-ink); }
html body .module-filter input[type="radio"],
html body .module-filter input[type="checkbox"] {
  accent-color: var(--ftm-gold);
  width: 17px; height: 17px; margin: 0;
}
html body .module-filter .count-badge {
  margin-left: auto !important;
  background: var(--ftm-cream) !important;
  color: var(--ftm-muted) !important;
  border-radius: var(--ftm-radius-full) !important;
  padding: 1px 9px !important;
  font-size: 11.5px !important;
}

/* Fiyat aralığı slider'ı (ion-rangeSlider) — marka renkleri */
html body .irs-line { background: var(--ftm-line) !important; border: none !important; }
html body .irs-bar, html body .irs-bar-edge {
  background: linear-gradient(90deg, var(--ftm-tan), var(--ftm-gold)) !important;
  border: none !important;
}
html body .irs-slider {
  background: var(--ftm-ink) !important;
  border: 2px solid #fff !important;
  border-radius: 50% !important;
  box-shadow: var(--ftm-shadow-sm) !important;
}
html body .irs-from, html body .irs-to, html body .irs-single {
  background: var(--ftm-ink) !important;
  color: #fff !important;
  border-radius: var(--ftm-radius-sm) !important;
  font-family: var(--ftm-font-body);
}
html body .irs-min, html body .irs-max { background: var(--ftm-cream) !important; color: var(--ftm-muted) !important; }

/* Mobil filtre aç butonu (yeşildi) */
html body .mobile-filter-trigger.btn {
  background: var(--ftm-ink) !important;
  color: #fff !important;
  border-radius: var(--ftm-radius) !important;
  letter-spacing: .08em;
}
html body .mobile-filter-trigger.btn:hover { background: var(--ftm-gold) !important; }

/* Alt kategori kartları (refine-categories) — eski temanın mavi şeridi/mavi kutuları temizlendi.
   ÖNEMLİ: Swiper karusel modunda grid ZORLANMAZ (karuseli bozuyordu). */
html body .refine-categories {
  background: transparent !important;
  padding: 0 !important;
}
/* yalnız statik grid modunda (.refine-grid sınıfı temadan gelir; karusel modunda yok).
   :has() KULLANILMAZ — desteklemeyen tarayıcıda kural düşüyordu. */
html body .refine-categories.refine-grid .refine-items {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
  gap: 10px;
  margin: 0 !important;
}
/* KRİTİK: temanın yüzde-genişlik kuralı grid hücresine göre hesaplanıp
   kartları 1/8 inceliğe düşürüyordu — grid modunda genişliği hücre belirler */
html body .refine-categories.refine-grid .refine-item {
  width: auto !important;
  max-width: none !important;
}
html body .refine-categories .refine-item {
  background: var(--ftm-white);
  border: 1px solid var(--ftm-line);
  border-radius: var(--ftm-radius-lg);
  overflow: hidden;
  padding: 0 !important;
  transition: transform .25s var(--ftm-ease), box-shadow .25s var(--ftm-ease), border-color .25s var(--ftm-ease);
}
html body .refine-categories .refine-item:not(.swiper-slide) { margin: 0 !important; }
html body .refine-categories .refine-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--ftm-shadow-md);
  border-color: var(--ftm-sand);
}
/* temanın link kutusundaki mavi zemini kaldır */
html body .refine-categories .refine-item a,
html body.desktop .refine-item a:hover,
html body .desktop .refine-item a:hover {
  background: transparent !important;
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none !important;
  padding: 10px 6px !important;
  width: 100%;
}
/* görsel: doğal boyut (75x103) — büyütüp bulanıklaştırma yok */
html body .refine-categories .refine-item img {
  width: 75px; height: 103px;
  object-fit: cover;
  background: var(--ftm-cream);
  margin: 0 auto 8px;
  border-radius: var(--ftm-radius);
}
html body .refine-categories .refine-item .refine-name,
html body .refine-item .refine-name {
  font-family: var(--ftm-font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: .02em;
  text-transform: none !important;
  color: var(--ftm-ink) !important;
  text-align: center;
  line-height: 1.3;
}
html body .refine-categories .refine-item:hover .refine-name { color: var(--ftm-gold) !important; }
/* refine karusel okları da (temanın mavi daireleri) marka renginde */
html body .refine-categories .swiper-buttons div {
  background: var(--ftm-ink) !important;
  border-radius: 50% !important;
}
html body .refine-categories .swiper-buttons div:hover { background: var(--ftm-gold) !important; }

/* ---------- 10. FTM MODAL (Beden Tablosu) ---------- */
.ftm-modal {
  position: fixed; inset: 0; z-index: 9999;
  display: none;
  align-items: center; justify-content: center;
  background: rgba(33,28,23,.55);
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
  padding: var(--ftm-sp-4);
}
.ftm-modal.is-open { display: flex; }
.ftm-modal-box {
  background: var(--ftm-white);
  border-radius: var(--ftm-radius-lg);
  box-shadow: var(--ftm-shadow-lg);
  max-width: 480px; width: 100%;
  max-height: 85vh; overflow-y: auto;
  padding: var(--ftm-sp-6);
  position: relative;
  animation: ftm-modal-in .3s var(--ftm-ease-spring);
}
@keyframes ftm-modal-in { from { opacity: 0; transform: translateY(18px) scale(.98); } to { opacity: 1; transform: none; } }
.ftm-modal-box h3 { font-family: var(--ftm-font-display); color: var(--ftm-ink); margin-top: 0; }
.ftm-modal-close {
  position: absolute; top: 10px; right: 14px;
  background: none; border: none; font-size: 26px; line-height: 1;
  color: var(--ftm-muted); cursor: pointer;
}
.ftm-modal-close:hover { color: var(--ftm-ink); }
.ftm-size-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.ftm-size-table th, .ftm-size-table td {
  border: 1px solid var(--ftm-line);
  padding: 8px 10px; text-align: center;
}
.ftm-size-table th { background: var(--ftm-cream); color: var(--ftm-ink); font-weight: 600; letter-spacing: .04em; }
.ftm-size-table tr:nth-child(even) td { background: #faf7f2; }
.ftm-size-note { font-size: .8rem; color: var(--ftm-muted); margin: var(--ftm-sp-3) 0 0; }
@media (prefers-reduced-motion: reduce) { .ftm-modal-box { animation: none; } }

/* ---------- 11. MOBİL APP DENEYİMİ ---------- */
/* Alt navigasyon barı — native uygulama hissi (yalnız mobil/tablet) */
.ftm-tabbar {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 9990;
  background: rgba(255,255,255,.96);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--ftm-line);
  box-shadow: 0 -4px 20px rgba(33,28,23,.10);
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.ftm-tabbar-inner { display: grid; grid-template-columns: repeat(5, 1fr); }
.ftm-tab {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px;
  min-height: 58px;
  color: var(--ftm-ink-soft);
  text-decoration: none !important;
  font-size: 10.5px; font-weight: 500; letter-spacing: .03em;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  position: relative;
  transition: color .2s var(--ftm-ease);
}
.ftm-tab i { font-size: 21px; line-height: 1; transition: transform .2s var(--ftm-ease-spring); }
.ftm-tab:active i { transform: scale(.88); }
.ftm-tab.is-active { color: var(--ftm-gold); }
.ftm-tab.is-active::before {
  content: '';
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 32px; height: 3px; border-radius: 0 0 4px 4px;
  background: var(--ftm-gold);
}
.ftm-tab-badge {
  position: absolute; top: 6px; left: calc(50% + 6px);
  min-width: 17px; height: 17px; padding: 0 4px;
  border-radius: var(--ftm-radius-full);
  background: var(--ftm-sale); color: #fff;
  font-size: 10px; font-weight: 600; line-height: 17px; text-align: center;
}
.ftm-tab-badge:empty, .ftm-tab-badge[data-zero="1"] { display: none; }

@media (max-width: 62em) {
  .ftm-tabbar { display: block; }
  /* içerik alt bara girmesin */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important; }
  /* app hissi: üst yardımcı bant gizlenir (girişler alt barda) */
  html body .mobile-header .mobile-top-bar { display: none !important; }
  /* geri-yukarı butonu barın üstüne */
  html body .back-to-top, html body #back-top { bottom: calc(76px + env(safe-area-inset-bottom, 0px)) !important; }
  /* mobil header beyaz + gölge (app toolbar hissi) */
  html body .mobile-header { background: #fff !important; box-shadow: 0 2px 10px rgba(33,28,23,.08); }
  /* tıklama vurgusunu kapat, kaydırma yumuşat */
  html body a, html body button { -webkit-tap-highlight-color: transparent; }
}

/* PWA standalone modda durum çubuğu boşluğu */
@media (display-mode: standalone) {
  html body .mobile-header { padding-top: env(safe-area-inset-top, 0); }
}

/* ---------- 11b. MOBİL SIDEBAR MENÜ — ikonlu premium görünüm ----------
   Not: Tema admininden (OpencartVip > Menü öğesi > İkon/Görsel) atanan ikonlar
   otomatik kullanılır; atanmamışsa kategoriye özel varsayılan ikon gösterilir. */
html body .mobile-main-menu-container {
  background: linear-gradient(180deg, #efe4d6 0%, #f6f0e7 30%) !important;
}

/* Üst alan: FTM logosu + yuvarlak kapatma */
html body .mobile-main-menu-container .mobile-wrapper-header {
  position: relative;
  min-height: 96px;
  background:
    url('/image/catalog/ftm/logo-ftm.png') center center / auto 56px no-repeat,
    linear-gradient(180deg, #e9dccb, #efe4d6) !important;
  border: none !important;
}
html body .mobile-main-menu-container .mobile-wrapper-header > span {
  font-size: 0 !important; /* "Kategoriler" yazısı yerine logo */
}
html body .mobile-main-menu-container .mobile-wrapper-header .x {
  position: absolute; top: 14px; left: 14px; right: auto;
  width: 42px; height: 42px;
  background: var(--ftm-ink) !important;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--ftm-shadow-md);
}
html body .mobile-main-menu-container .mobile-wrapper-header .x::before,
html body .mobile-main-menu-container .mobile-wrapper-header .x::after {
  content: '';
  position: absolute; top: 50%; left: 50%;
  width: 16px; height: 2px;
  background: #fff;
}
html body .mobile-main-menu-container .mobile-wrapper-header .x::before { transform: translate(-50%,-50%) rotate(45deg); }
html body .mobile-main-menu-container .mobile-wrapper-header .x::after { transform: translate(-50%,-50%) rotate(-45deg); }

/* Menü satırları: yuvarlatılmış krem hap + ikon dairesi + şevron */
html body .mobile-main-menu-wrapper { padding: 10px 12px calc(24px + env(safe-area-inset-bottom, 0px)); }
html body .mobile-main-menu-wrapper .main-menu > .j-menu > li.menu-item {
  margin: 0 0 10px;
  border: none !important;
  background: transparent !important;
}
html body .mobile-main-menu-wrapper .main-menu > .j-menu > li.menu-item > a {
  display: flex !important; align-items: center; gap: 14px;
  min-height: 58px;
  padding: 8px 14px 8px 8px !important;
  background: #fbf6ee !important;
  border-radius: var(--ftm-radius-full) !important;
  box-shadow: 0 1px 3px rgba(33,28,23,.05);
  color: var(--ftm-ink) !important;
}
html body .mobile-main-menu-wrapper .main-menu > .j-menu > li.menu-item > a .links-text {
  font-size: 16.5px; font-weight: 500; letter-spacing: .01em;
  color: var(--ftm-ink);
  flex: 1;
}
/* İkon dairesi (varsayılan FA ikonlarla) */
html body .mobile-main-menu-wrapper .main-menu > .j-menu > li.menu-item > a::before {
  content: '\f290'; /* varsayılan: alışveriş çantası */
  font-family: FontAwesome;
  flex: 0 0 44px;
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eadbc6;
  border-radius: 50%;
  font-size: 19px;
  color: var(--ftm-ink);
}
/* Kategoriye özel ikonlar (link hedefine göre — mockup eşlemesi) */
html body .mobile-main-menu-wrapper .j-menu > li > a[href*="path=224"]::before { content: '\f006'; } /* Yeni Gelenler: yıldız */
html body .mobile-main-menu-wrapper .j-menu > li > a[href*="path=221"]::before { content: '\f27e'; } /* Takım */
html body .mobile-main-menu-wrapper .j-menu > li > a[href*="path=223"]::before { content: '\f2dc'; } /* Dış Giyim */
html body .mobile-main-menu-wrapper .j-menu > li > a[href*="path=226"]::before { content: '\f182'; } /* Elbiseler */
html body .mobile-main-menu-wrapper .j-menu > li > a[href*="path=227"]::before { content: '\f2c0'; } /* Üst Giyim */
html body .mobile-main-menu-wrapper .j-menu > li > a[href*="path=229"]::before { content: '\f21d'; } /* Alt Giyim */
html body .mobile-main-menu-wrapper .j-menu > li > a[href*="path=228"]::before { content: '\f06d'; } /* Çok Satanlar: alev */
html body .mobile-main-menu-wrapper .j-menu > li > a[href*="path=225"]::before { content: '\f02b'; } /* Fırsat Ürünleri: etiket */
/* Tema admininden ikon/görsel atanmışsa varsayılanı gizle, onunkini daireye al */
html body .mobile-main-menu-wrapper .j-menu > li > a:has(> .menu-icon)::before,
html body .mobile-main-menu-wrapper .j-menu > li > a:has(> img)::before,
html body .mobile-main-menu-wrapper .j-menu > li > a:has(.links-icon)::before { display: none; }
html body .mobile-main-menu-wrapper .j-menu > li > a > img,
html body .mobile-main-menu-wrapper .j-menu > li > a .menu-icon,
html body .mobile-main-menu-wrapper .j-menu > li > a .links-icon {
  flex: 0 0 44px; width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  background: #eadbc6; border-radius: 50%;
  object-fit: contain; padding: 9px;
  font-size: 19px; color: var(--ftm-ink);
}
/* Alt menü aç/kapat: + yerine şevron, açılınca döner */
html body .mobile-main-menu-wrapper .j-menu > li > a .open-menu {
  background: transparent !important;
  border: none !important;
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
}
html body .mobile-main-menu-wrapper .j-menu > li > a .open-menu .fa {
  transition: transform .25s var(--ftm-ease);
  color: var(--ftm-ink-soft);
  font-size: 16px;
}
html body .mobile-main-menu-wrapper .j-menu > li > a .open-menu .fa-plus::before,
html body .mobile-main-menu-wrapper .j-menu > li > a .open-menu .fa-minus::before { content: '\f105'; }
html body .mobile-main-menu-wrapper .j-menu > li > a .open-menu:not(.collapsed) .fa { transform: rotate(90deg); }
/* Alt menü içeriği (accordion) yumuşak zemin */
html body .mobile-main-menu-wrapper .j-menu > li .collapse,
html body .mobile-main-menu-wrapper .j-menu > li .collapsing {
  background: transparent !important;
  padding: 2px 6px 8px 20px;
}
html body .mobile-main-menu-wrapper .mega-menu-content { background: transparent !important; }

/* ---------- 12. SEPETE EKLE / OPSİYON POPUP'I — modern görünüm ---------- */
/* Popup bir iframe içinde tam sayfa render edilir (html.popup / html.popup-options) */
html.popup body { padding-bottom: 96px !important; background: #fff; }

/* Başlık */
html.popup .product-options .options-title {
  font-family: var(--ftm-font-display);
  font-size: 1.45rem; font-weight: 600;
  color: var(--ftm-ink);
  border-bottom: 1px solid var(--ftm-line);
  padding-bottom: 12px; margin-bottom: 20px;
}
html.popup .product-options .control-label {
  font-size: 1.02rem; font-weight: 600; color: var(--ftm-ink); letter-spacing: .03em;
}
html.popup .form-group.required .control-label::after { color: var(--ftm-sale); }

/* Push (radyo) opsiyonlar — Renk & Beden: marka çipleri (popup + ürün detay) */
html .product-options .push-option .radio { display: inline-block; margin: 4px 8px 4px 0; }
html .product-options .push-option .radio label { padding: 0; }
html .product-options .push-option .radio input[type=radio] { position: absolute; opacity: 0; }
html .product-options .push-option .option-value,
html.popup .product-options .push-option .option-value {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 64px; min-height: 44px; padding: 8px 18px;
  border: 1.5px solid var(--ftm-line);
  border-radius: var(--ftm-radius);
  background: var(--ftm-cream);
  color: var(--ftm-ink-soft);
  font-size: 15px; font-weight: 500;
  cursor: pointer;
  transition: all .18s var(--ftm-ease);
}
html .product-options .push-option .option-value:hover {
  border-color: var(--ftm-tan);
  transform: translateY(-1px);
}
html .product-options .push-option input:checked + .option-value,
html .product-options .push-option input:checked ~ .option-value {
  background: var(--ftm-ink);
  border-color: var(--ftm-ink);
  color: #fff;
  box-shadow: 0 4px 14px rgba(33,28,23,.25);
}

/* Select (Beden) */
html.popup .product-options select.form-control {
  min-height: 50px; font-size: 15px;
  border: 1.5px solid var(--ftm-line);
  border-radius: var(--ftm-radius);
  color: var(--ftm-ink);
  background-color: var(--ftm-cream);
}
html.popup .product-options select.form-control:focus {
  border-color: var(--ftm-tan);
  box-shadow: 0 0 0 3px rgba(179,152,123,.18) !important;
}

/* Alt sabit bar: stepper + Sepete Ekle — üst üste binme düzeltildi */
html.popup .product-info .product-details .button-group-page::before {
  content: '';
  position: absolute; left: 0; right: 0; top: -30px; height: 30px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.9));
  pointer-events: none;
}
html.popup .product-info .product-details .button-group-page {
  position: fixed; left: 0; right: 0; bottom: 0; width: 100% !important;
  background: rgba(255,255,255,.96) !important;
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border: none !important;
  border-top: 1px solid var(--ftm-line) !important;
  box-shadow: 0 -8px 28px rgba(33,28,23,.12) !important;
  padding: 14px 16px !important; margin: 0 !important;
  z-index: 1000;
}
html.popup .button-group-page .buttons-wrapper {
  display: flex !important; align-items: center; gap: 12px;
  width: 100%; margin: 0 !important; float: none !important;
}
html.popup .button-group-page .stepper-group {
  display: flex !important; align-items: center; gap: 12px;
  flex: 1 1 auto; float: none !important;
}
html.popup .button-group-page .stepper {
  flex: 0 0 auto; height: 48px !important; margin: 0 !important;
  border: 1.5px solid var(--ftm-line); border-radius: var(--ftm-radius);
  overflow: hidden; background: var(--ftm-cream);
}
html.popup .button-group-page .stepper input {
  height: 100% !important; border: none !important; background: transparent;
  font-size: 16px; font-weight: 600; color: var(--ftm-ink); text-align: center;
}
html.popup .button-group-page #button-cart,
html.popup .button-group-page .btn-cart {
  flex: 1 1 auto !important;
  min-height: 48px !important; height: 48px;
  margin: 0 !important;
  display: inline-flex !important; align-items: center; justify-content: center;
  box-shadow: none !important;
  font-size: 15px !important;
}
html.popup .button-group-page .wishlist-compare { display: none !important; }
html.popup .minimum { margin-bottom: 80px; }

/* Hızlı önizleme (quickview) — GENİŞLETİLDİ + buton hep görünür.
   iframe onload ile tam içerik boyuna uzuyordu; sabit yükseklik verildi →
   içerik iframe İÇİNDE kayar, alttaki sabit "Sepete Ekle" barı ilk açılışta görünür. */
html body .popup-wrapper.popup-quickview .popup-container {
  width: min(1200px, 96vw) !important;
  max-width: none !important;
}
html body .popup-wrapper.popup-quickview .popup-body {
  height: min(86vh, 940px) !important;
  max-height: 86vh !important;
}
html body .popup-wrapper.popup-quickview .popup-inner-body { height: 100% !important; }
html body .popup-wrapper.popup-quickview iframe { height: 100% !important; display: block; }

/* Opsiyon popup'ı: kompakt kalsın ama taşarsa içeride kaysın */
html body .popup-wrapper.popup-options .popup-body { max-height: 86vh !important; }
html body .popup-wrapper.popup-options .popup-container { width: min(640px, 94vw) !important; }

/* Popup kabuğu görsel cila */
html body .popup-wrapper .popup-container { border-radius: var(--ftm-radius-lg); overflow: hidden; box-shadow: var(--ftm-shadow-lg); }
html body .popup-wrapper .popup-bg { background: rgba(33,28,23,.55) !important; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

/* Popup dış kabuğu (ana sayfadaki mfp modal): kapatma butonu marka renginde */
html body .mfp-close, html body button.mfp-close, html body .popup-close {
  background: var(--ftm-ink) !important;
  color: #fff !important;
  border-radius: var(--ftm-radius-full) !important;
  opacity: 1 !important;
  transition: background .2s var(--ftm-ease) !important;
}
html body .mfp-close:hover, html body .popup-close:hover { background: var(--ftm-gold) !important; }
html body .mfp-content { border-radius: var(--ftm-radius-lg); overflow: hidden; }
html body .mfp-content > * { border-radius: var(--ftm-radius-lg); }
