/* ==========================================================================
   SERİK REÇELİM - Lüks Butik Gurme Tasarım Sistemi
   Sade, Hızlı, İştah Açıcı & %100 Mobil Uyumlu (Apple Standartlarında)
   ========================================================================== */

:root {
  --primary: #173827;            /* Zengin Çam & Zeytin Yeşili */
  --primary-hover: #10291c;
  --primary-light: #eaf2ed;
  --accent-gold: #c4892c;        /* Doğal Bal & Bakır Kazan Kehribarı */
  --accent-gold-light: #fdf7ee;
  --accent-gold-hover: #b07823;
  --dark-wood: #1e221f;          /* Doğal Koyu Gövde */
  --text-main: #242925;
  --text-muted: #5e6b60;
  --bg-page: #fbf9f5;           /* Sıcak Taş / Doğal Keten Zemin */
  --bg-card: #ffffff;
  --border-subtle: #ede5d8;
  --border-light: #f4eee4;
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-card: 0 4px 16px rgba(23, 56, 39, 0.05);
  --shadow-hover: 0 10px 28px rgba(23, 56, 39, 0.09);
  --shadow-modal: 0 -10px 40px rgba(0, 0, 0, 0.22);
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --whatsapp-color: #25d366;
  --whatsapp-hover: #1eb855;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-bottom: 40px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

/* ==========================================================================
   1. ÜST DUYURU & BİLGİ BARI
   ========================================================================== */
.top-announcement-bar {
  background: #11261b;
  color: #e3ede6;
  padding: 8px 0;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.announcement-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  color: #d1e2d6;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.announcement-pill i {
  color: var(--accent-gold);
  font-size: 0.95rem;
}

.top-quick-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.top-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.78rem;
  transition: opacity 0.2s;
}

.top-pill:hover {
  opacity: 0.85;
}

.top-pill-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #4ade80;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.top-pill-ig {
  background: rgba(225, 48, 108, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(225, 48, 108, 0.25);
}

/* ==========================================================================
   2. ANA HEADER / LOGO
   ========================================================================== */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 90;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-emblem {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #245239);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  box-shadow: 0 4px 12px rgba(23, 56, 39, 0.2);
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: 0.04em;
  line-height: 1.1;
  margin: 0;
}

.brand-tagline {
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
}

.btn-header-wa {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--whatsapp-color);
  color: #ffffff;
  padding: 9px 16px;
  border-radius: 25px;
  font-weight: 700;
  font-size: 0.88rem;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.28);
  transition: all 0.2s ease;
}

.btn-header-wa:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-1px);
  color: #ffffff;
}

/* ==========================================================================
   3. BUTİK GİRİŞ & GÜVEN BÖLÜMÜ (Aşırı Hantal Olmayan Ferah Hero)
   ========================================================================== */
.store-intro-section {
  padding: 24px 0 18px 0;
}

.intro-headline {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 20px auto;
}

.intro-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1px solid rgba(196, 137, 44, 0.25);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.intro-headline h2 {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 8px;
}

.intro-headline p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.trust-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

@media (min-width: 768px) {
  .trust-features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }
}

.trust-item {
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-card);
}

.trust-item i {
  font-size: 1.4rem;
  color: var(--accent-gold);
  flex-shrink: 0;
}

.trust-item strong {
  display: block;
  font-size: 0.84rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.2;
}

.trust-item span {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* ==========================================================================
   4. ARAMA VE KATEGORİ FİLTRELEME ALANI
   ========================================================================== */
.catalog-control-section {
  padding: 14px 0 10px 0;
  position: sticky;
  top: 71px;
  z-index: 85;
  background: var(--bg-page);
  border-bottom: 1px solid var(--border-light);
}

.search-box-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 12px;
}

.search-box-wrapper .search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 1.05rem;
  pointer-events: none;
}

.search-box-wrapper input {
  width: 100%;
  padding: 12px 42px 12px 44px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: 30px;
  color: var(--text-main);
  outline: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.search-box-wrapper input:focus {
  border-color: var(--primary);
  box-shadow: 0 4px 14px rgba(23, 56, 39, 0.12);
}

.search-clear-btn {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: #e2e8f0;
  border: none;
  color: #475569;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
}

/* Akıcı Yatay Kategori Çipleri */
.category-pills-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 8px 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.category-pills-bar::-webkit-scrollbar {
  display: none;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: 25px;
  cursor: pointer;
  white-space: nowrap;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
  flex-shrink: 0;
}

.cat-pill:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.cat-pill.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(23, 56, 39, 0.2);
}

.cat-pill .cat-badge {
  background: rgba(0, 0, 0, 0.07);
  padding: 1px 7px;
  border-radius: 12px;
  font-size: 0.74rem;
  font-weight: 700;
}

.cat-pill.active .cat-badge {
  background: rgba(255, 255, 255, 0.22);
  color: #ffffff;
}

.catalog-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.catalog-status-bar strong {
  color: var(--primary);
}

.quick-hint {
  display: none;
}

@media (min-width: 600px) {
  .quick-hint {
    display: inline-flex;
    align-items: center;
    gap: 4px;
  }
}

/* ==========================================================================
   5. ÜRÜN VİTRİNİ / KARTLAR (Lüks 2 Sütunlu Grid)
   ========================================================================== */
.products-grid-section {
  padding: 14px 0 40px 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

/* Tekil Ürün Kartı */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: var(--shadow-card);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease, border-color 0.2s;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(196, 137, 44, 0.4);
}

.product-card.is-sold-out {
  opacity: 0.78;
}

.product-card.is-sold-out:hover {
  transform: none;
  box-shadow: var(--shadow-card);
}

/* Görsel Kutusu */
.card-media-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  background: #faf7f2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .card-img {
  transform: scale(1.06);
}

/* Rozetler */
.card-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 3px 8px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.badge-special {
  background: var(--accent-gold);
  color: #ffffff;
}

.badge-sold {
  background: #475569;
  color: #ffffff;
}

.media-overlay-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(23, 56, 39, 0.85);
  color: #ffffff;
  padding: 3px 9px;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
}

.product-card:hover .media-overlay-hint {
  opacity: 1;
  transform: translateY(0);
}

/* Kart İçeriği */
.card-body {
  padding: 12px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.card-category {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent-gold);
  font-weight: 700;
  margin-bottom: 2px;
}

.card-title {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.3;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
}

.card-unit {
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.card-footer-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-top: 6px;
  border-top: 1px dashed var(--border-light);
}

.price-val {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
}

.btn-card-action {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-wa-direct {
  background: var(--whatsapp-color);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.25);
}

.btn-wa-direct:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.03);
  color: #ffffff;
}

.btn-disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
}

/* Arama Sonucu Yok Kutusu */
.no-results-card {
  text-align: center;
  background: #ffffff;
  border: 1px dashed var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 40px 20px;
  margin: 20px 0;
}

.no-results-icon {
  width: 56px;
  height: 56px;
  background: #f8fafc;
  color: var(--text-muted);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin: 0 auto 14px auto;
}

.no-results-card h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 6px;
}

.no-results-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto 18px auto;
}

.btn-reset-filter {
  background: var(--primary);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-reset-filter:hover {
  background: var(--primary-hover);
}

/* ==========================================================================
   6. DETAY PENCERESİ / BOTTOM SHEET MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(17, 24, 20, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: none;
  align-items: flex-end;
  justify-content: center;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-sheet-dialog {
  background: #ffffff;
  width: 100%;
  max-width: 540px;
  max-height: 88vh;
  border-radius: 24px 24px 0 0;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-modal);
  animation: slideUp 0.28s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 640px) {
  .modal-backdrop {
    align-items: center;
    padding: 20px;
  }
  .modal-sheet-dialog {
    border-radius: 20px;
    max-height: 85vh;
  }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.modal-drag-bar {
  width: 42px;
  height: 5px;
  background: #cbd5e1;
  border-radius: 3px;
  margin: 10px auto 4px auto;
}

.modal-close-icon {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #f1f5f9;
  border: none;
  color: #475569;
  font-size: 1.4rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

.modal-sheet-body {
  padding: 12px 20px 24px 20px;
}

.modal-media-frame {
  width: 100%;
  height: 250px;
  border-radius: var(--radius-sm);
  background: #faf7f2;
  overflow: hidden;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-main-info {
  margin-bottom: 16px;
}

.modal-cat-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  color: var(--accent-gold);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.modal-prod-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--primary);
  font-weight: 700;
  line-height: 1.25;
  margin: 4px 0 8px 0;
}

.modal-price-row {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.modal-price-val {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-unit-tag {
  background: var(--accent-gold-light);
  color: var(--accent-gold);
  border: 1px solid rgba(196, 137, 44, 0.25);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 10px;
  border-radius: 12px;
}

.modal-specs-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 22px;
}

.spec-tile {
  background: #faf7f2;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
}

.spec-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--primary);
  margin-bottom: 4px;
}

.spec-head i {
  color: var(--accent-gold);
  font-size: 0.95rem;
}

.spec-body {
  font-size: 0.85rem;
  color: var(--text-main);
  line-height: 1.45;
}

.modal-cta-wrapper {
  position: sticky;
  bottom: 0;
  background: #ffffff;
  padding-top: 8px;
}

.btn-modal-order {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--whatsapp-color);
  color: #ffffff;
  padding: 15px 20px;
  border-radius: 12px;
  font-size: 1.05rem;
  font-weight: 800;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.35);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-modal-order:hover {
  background: var(--whatsapp-hover);
  transform: translateY(-2px);
  color: #ffffff;
}

/* ==========================================================================
   7. YÜZEN WHATSAPP BUTONU (Sağ Alt Sabit)
   ========================================================================== */
.floating-wa-btn {
  position: fixed;
  bottom: 18px;
  right: 18px;
  z-index: 99;
  background: var(--whatsapp-color);
  color: #ffffff;
  padding: 11px 18px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 22px rgba(37, 211, 102, 0.45);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-wa-btn i {
  font-size: 1.3rem;
}

.floating-wa-btn:hover {
  background: var(--whatsapp-hover);
  transform: scale(1.05);
  color: #ffffff;
}

/* ==========================================================================
   8. FOOTER
   ========================================================================== */
.site-footer {
  background: #11261b;
  color: #d1ded5;
  padding: 40px 0 24px 0;
  margin-top: 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 28px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-logo i {
  color: var(--accent-gold);
}

.footer-desc {
  font-size: 0.86rem;
  line-height: 1.6;
  color: #9ab3a1;
  margin-bottom: 10px;
}

.footer-quote {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.footer-links h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 12px;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.86rem;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #a4bcad;
}

.footer-contact-list li i {
  color: var(--accent-gold);
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

.footer-social-link.wa-link {
  color: #4ade80;
}

.footer-social-link.ig-link {
  color: #fca5a5;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
  text-align: center;
  font-size: 0.78rem;
  color: #728c79;
}

@media (min-width: 640px) {
  .footer-bottom-bar {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-badges {
  display: flex;
  gap: 6px;
  color: #9ab3a1;
}
