/* ============================================
   SAATLI FIRIN — Menu v2 Theme (Naci(RS) onayli koyu teal-yesil)

   MERCHANT_ID = 3595 (saatli-firin)
   Ana renk: #195458 (koyu teal-yesil)
   Layout MID'e gore otomatik yukler — themes/3595.css.
   Hex degistirmek icin :root degiskenlerini guncelle.
   ============================================ */

/* ===== ROOT DEGISKENLER (KOYU TEAL-YESIL) ===== */
:root {
    --brand-50:  #f0f5f5;
    --brand-100: #dce9ea;
    --brand-200: #b9d3d4;
    --brand-300: #95bcbf;
    --brand-400: #6ea5a9;
    --brand-500: #478e94;
    --brand-600: #2e7378;
    --brand-700: #195458;
    --brand-800: #144548;
    --brand-900: #0e3537;
    --taupe:     #a3837b;
    --accent:    #7f4a3b;
    --neutral:   #aca4a4;
}

/* ===== TIPOGRAFI ===== */
.font-display { font-family: 'Playfair Display', serif; }
.font-body    { font-family: 'Inter', sans-serif; }
body.v2-theme { font-family: 'Inter', sans-serif; }

/* ===== KATEGORI SCROLL (yatay, scrollbar gizli) ===== */
.category-scroll::-webkit-scrollbar { display: none; }
.category-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* ===== URUN KARTI ===== */
.product-card {
    transition: all 0.25s ease;
    border: 1px solid transparent;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(25,84,88,0.1);
    border-color: var(--brand-300);
}

/* ===== MEGA MENU (full-width panel, nav-relative) ===== */
.mega-menu-panel {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-4px);
    transition: all 0.25s ease;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 60;
    background: #fff;
    border-top: 1px solid #f3f4f6;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}
.mega-menu-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-cat-card {
    transition: all 0.2s ease;
    border-radius: 0.75rem;
}
.mega-cat-card:hover {
    background-color: var(--brand-50);
}
.mega-cat-img {
    width: 5rem;
    height: 5rem;
    border-radius: 0.75rem;
    object-fit: cover;
    background-color: #f8f5f2;
}

/* ===== SCROLL OK BUTONLARI ===== */
.scroll-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.95);
    border: 1px solid #e5e7eb;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.scroll-arrow:hover {
    background: var(--brand-50);
    border-color: var(--brand-300);
    color: var(--brand-700);
}
.scroll-arrow.left { left: 0; }
.scroll-arrow.right { right: 0; }
.scroll-arrow.hidden { display: none; }

/* Scroll fade gradients */
.scroll-fade-left,
.scroll-fade-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2.5rem;
    pointer-events: none;
    z-index: 5;
    transition: opacity 0.2s;
}
.scroll-fade-left {
    left: 0;
    background: linear-gradient(to right, #fff 30%, transparent);
}
.scroll-fade-right {
    right: 0;
    background: linear-gradient(to left, #fff 30%, transparent);
}
.scroll-fade-left.hidden,
.scroll-fade-right.hidden { opacity: 0; }

/* ===== HEADER STICKY ===== */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 50;
}

/* ===== PATTERN BACKGROUND (yesil tint) ===== */
.pattern-bg {
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23195458' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ===== HERO SLIDER (yesil overlay) ===== */
.hero-overlay {
    background: linear-gradient(135deg, rgba(25,84,88,0.92) 0%, rgba(14,53,55,0.85) 100%);
}

/* ===== SEPETE EKLE BUTON ===== */
.add-to-cart {
    transition: all 0.15s ease;
}
.add-to-cart:hover {
    transform: scale(1.05);
}

/* ===== HAMBURGER MENU OVERLAY ===== */
.hamburger-overlay { transition: opacity 0.3s ease; }
.hamburger-panel { transition: transform 0.3s ease; }
.hamburger-panel.closed { transform: translateX(-100%); }

/* ===== ARAMA OVERLAY ===== */
.search-overlay { transition: opacity 0.3s ease; }
.search-panel { transition: transform 0.3s ease; }
.search-panel.closed { transform: translateY(-100%); }

/* ===== URUN DETAY ===== */
.thumb-item { transition: all 0.2s ease; }
.thumb-item.active { border-color: var(--brand-700); }
.thumb-item:hover { border-color: var(--brand-300); }

.gramaj-btn { transition: all 0.15s ease; }
.gramaj-btn.active {
    background-color: var(--brand-700);
    color: white;
    border-color: var(--brand-700);
}
.gramaj-btn:not(.active):hover {
    border-color: var(--brand-700);
    color: var(--brand-700);
}

.main-image-container { overflow: hidden; }
.main-image-container img { transition: transform 0.4s ease; }
.main-image-container:hover img { transform: scale(1.05); }

/* ===== MIKTAR BUTONU ===== */
.qty-btn { transition: all 0.15s ease; }
.qty-btn:hover { background-color: var(--brand-700); color: white; }
.qty-btn:active { transform: scale(0.95); }

/* ===== TAB AKTIF ===== */
.tab-btn { transition: all 0.2s ease; }
.tab-btn.active { color: var(--brand-700); border-color: var(--brand-700); }

/* ===== AUTH SAYFASI ===== */
.auth-tab { transition: all 0.2s ease; }
.auth-tab.active {
    color: var(--brand-700);
    border-color: var(--brand-700);
    background-color: var(--brand-50);
}

.auth-input:focus {
    border-color: var(--brand-700);
    box-shadow: 0 0 0 3px rgba(25,84,88,0.1);
}

/* ===== PROFIL SIDEBAR ===== */
.sidebar-link { transition: all 0.15s ease; }
.sidebar-link.active {
    background-color: var(--brand-50);
    color: var(--brand-700);
    border-left-color: var(--brand-700);
    font-weight: 600;
}
.sidebar-link:hover:not(.active) { background-color: #f9fafb; }

/* ===== ADRES KARTI ===== */
.address-card { transition: all 0.2s ease; }
.address-card:hover { border-color: var(--brand-300); }

/* ===== SIPARIS KARTI ===== */
.order-card { transition: all 0.2s ease; cursor: pointer; }
.order-card:hover {
    border-color: var(--brand-300);
    box-shadow: 0 4px 16px rgba(25,84,88,0.08);
}

/* ===== CHECKOUT STEP ===== */
.step-item { transition: all 0.3s ease; }
.step-item.active .step-circle {
    background-color: var(--brand-700);
    color: white;
    border-color: var(--brand-700);
}
.step-item.done .step-circle {
    background-color: #16a34a;
    color: white;
    border-color: #16a34a;
}

/* ===== DELIVERY / PAYMENT KART ===== */
.delivery-card { transition: all 0.2s ease; cursor: pointer; }
.delivery-card:hover { border-color: var(--brand-300); }
.delivery-card.selected {
    border-color: var(--brand-700);
    background-color: var(--brand-50);
}

/* ===== ZAMAN SLOT ===== */
.time-slot { transition: all 0.15s ease; cursor: pointer; }
.time-slot:hover { border-color: var(--brand-300); }
.time-slot.selected {
    border-color: var(--brand-700);
    background-color: var(--brand-50);
    color: var(--brand-700);
    font-weight: 600;
}

/* ===== SEPET SATIR SILME ===== */
.cart-row { transition: all 0.3s ease; }
.cart-row.removing { opacity: 0; transform: translateX(30px); }

/* ===== MODAL OVERLAY ===== */
.modal-overlay { transition: opacity 0.3s; }
.modal-panel { transition: transform 0.3s, opacity 0.3s; }

/* ===== FILTRE SIDEBAR (mobil) ===== */
.filter-overlay { transition: opacity 0.3s; }
.filter-panel { transition: transform 0.3s; }

/* ===== RELATED PRODUCTS SCROLL ===== */
.related-scroll::-webkit-scrollbar { display: none; }
.related-scroll { -ms-overflow-style: none; scrollbar-width: none; }

/* ===== TOGGLE PASSWORD ===== */
.toggle-password { cursor: pointer; }

/* ===== STATIK SAYFA ICERIK STILI ===== */
.page-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
    margin-top: 2rem;
}
.page-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
}
.page-content p {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 1rem;
}
.page-content ul {
    list-style: disc;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}
.page-content ul li {
    color: #6b7280;
    font-size: 0.875rem;
    line-height: 1.75;
    margin-bottom: 0.25rem;
}
.page-content a {
    color: var(--brand-700);
    font-weight: 500;
    text-decoration: underline;
}
.page-content a:hover { color: var(--brand-900); }

/* ===== HERO SLIDER SLIDES ===== */
.slider-slide { transition: opacity 0.7s ease-in-out; }

/* ===== SAYFA SIDEBAR NAVIGASYON ===== */
.page-link { transition: all 0.15s ease; }
.page-link.active,
.page-link[class*="text-brand-700"] {
    color: var(--brand-700);
    font-weight: 600;
    border-left-color: var(--brand-700);
    background-color: var(--brand-50);
}

/* ===== CESNI CHECKBOX — checked state ===== */
label:has(input[type="checkbox"]:checked) {
    border-color: var(--brand-700) !important;
    background-color: var(--brand-50) !important;
}

/* ===== MOBIL CART BAR ===== */
.mobile-cart-bar {
    transition: transform 0.3s ease;
}

/* ===== PAGINATION ===== */
.pagination-btn { transition: all 0.15s ease; }
.pagination-btn:hover { border-color: var(--brand-300); color: var(--brand-700); }
