/* =========================================
   GLOBAL STYLES (style.css)
   ========================================= */

body {
    font-family: 'Quicksand', sans-serif;
    margin: 0;
    /* SADE BEYAZ ARKA PLAN */
    background-color: #F1ECDA;
    cursor: none;
    padding-top: 120px;
}
.cursor-dot {
    width: 8px;
    height: 8px;
    background-color: darkslategrey;
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%); /* Ortalamak için */
    border-radius: 50%;
    z-index: 9999; /* En üstte görünsün */
    pointer-events: none; /* Tıklamayı engellememesi için ŞART */
}

.cursor-outline {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(0, 0, 0, 0.5); /* Halka rengi */
    position: fixed;
    top: 0;
    left: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    z-index: 9998; /* Noktanın altında kalsın */
    pointer-events: none;
    /* Gecikmeli gelmesi için animasyon ekliyoruz */
    transition: transform 0.15s ease-out;
}

/* Linklerin üzerine gelince büyüme efekti (Opsiyonel) */
body.hovering .cursor-outline {
    transform: translate(-50%, -50%) scale(1.5);
    background-color: rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    padding: 0;
}

/* --- GLOBAL BUTTON STYLES --- */
.btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #333;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: none;
    text-align: center;
}

.btn:hover {
    background-color: #555;
}

.btn.secondary {
    background-color: #fff;
    color: #333;
    border: 2px solid #333;
}

.btn-small {
    display: inline-block;
    padding: 5px 10px;
    background-color: #ddd;
    border-radius: 50px;
    font-weight: bold;
}

/* ALERTS */
.alert {
    padding: 15px;
    margin: 20px;
    border-radius: 5px;
    border: 1px solid transparent;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

/* --- SABİT VE YARI SAYDAM HEADER --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    border: 1.5px solid rgba(255, 255, 255, 0.18);
    border-bottom: 1px solid rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(30px);
    box-shadow: 0 0px 30px rgba(227,228,237,0.37);
}

/* --- LOGO --- */
.logo a {
    color: #39E043;
    font-family: 'Quicksand', sans-serif;
    font-weight: 700;
    font-size: 28px;
    text-decoration: none;
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}
.logo-div {
    /* İki nokta (..) bir üst klasöre çık demektir */
    background-image: url('../images/logo.png');
    width: 100px;
    height: 100px;
}

.site-logo {
    height: 50px;
    width: auto;
    display: block;
}

/* --- SEARCH BAR --- */

/* --- HEADER YAPISI --- */
header {
    /* --- SABİTLEME VE KONUM --- */
    position: fixed;  /* Relative yerine Fixed: Artık ekrana yapışır */
    top: 0;
    left: 0;
    width: 100%;      /* Genişliği ekranı kaplasın */
    height: 80px;
    z-index: 1000;    /* Diğer her şeyin üstünde dursun */

    /* --- GÖRÜNÜM (SAYDAMLIK) --- */
    /* Sonundaki 0.9 saydamlık derecesidir (0 ile 1 arası) */
    background-color: rgba(255, 255, 255, 0.1);
    /* Buzlu cam efekti (Modern tarayıcılar için) */
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Altına hafif bir gölge */

    /* --- HİZALAMA (MEVCUT DÜZENİN) --- */
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    box-sizing: border-box; /* Padding ekleyince taşmayı önler */
}
/* --- LOGO (SOL) --- */
.logo {
    z-index: 2; /* Search bar üstüne binmesin diye */
}

/* --- NAV LİNKLERİ (SAĞDAKİ BUTONLAR) --- */
.nav-links {
    display: flex;
    gap: 15px; /* Butonlar arası boşluk */
    z-index: 2;
}

/* --- ARAMA ÇUBUĞU (TAM ORTADA ve BAĞIMSIZ) --- */
.search-bar {
    position: absolute; /* KİLİT NOKTA: Akıştan çıkardık */
    left: 50%;          /* Sayfanın ortasına getir */
    transform: translateX(-50%); /* Tam merkezlemek için ince ayar */
    z-index: 1;
}

/* --- ARAMA INPUT TASARIMI (Senin Kodların) --- */
.search-bar input.input {
    display: block;
    color: rgb(34, 34, 34);
    background: linear-gradient(142.99deg, rgba(217, 217, 217, 0.63) 15.53%, rgba(243, 243, 243, 0.63) 88.19%);
    box-shadow: 0px 12px 24px -1px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(7, 4, 14, 0);
    border-radius: 50px;
    height: 40px;
    box-sizing: border-box;
    margin: 0; /* Margin auto'yu kaldırdık çünkü zaten absolute ile ortaladık */
    padding: 0 15px;
    outline: none;
    text-align: center;
    width: 200px;
    transition: 0.5s;
    font-family: inherit;
}

/* Hover ve Focus Efektleri */
.search-bar input.input:hover {
    width: 240px;
}

.search-bar input.input:focus {
    width: 280px;
    background-color: #fff;
}



/* --- HEADER NAV LINKS --- */
/* --- GÜNCELLENMİŞ BUTON KODLARI (KÖŞELER YUVARLAK) --- */

.nav-links .btn {
    position: relative;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Yumuşak animasyon */
    border: 2px solid transparent; /* Çerçeve payı */
    overflow: hidden; /* Taşmaları gizle */
    z-index: 1;

    /* 🔥 YENİ EKLENEN SATIR: Köşeleri yuvarlatır */
    border-radius: 50px;
    /* Not: Daha az yuvarlak istersen 50px yerine 10px yazabilirsin */
}

.admin-btn {
    background-color: #333 !important;
    color: #fff !important;
}

.nav-links .btn:hover {
    background-color: #39E043 !important; /* Pulse Yeşili */
    color: #fff !important;               /* Yazı Beyaz */
    border-color: #39E043;                /* Çerçeve Yeşil */

    /* Hareket Efektleri */
    transform: translateY(-4px) scale(1.05); /* Yukarı kalk ve hafif büyü */
    box-shadow: 0 10px 25px rgba(57, 224, 67, 0.4); /* Arkaya yeşil ışık (Glow) */
}

.nav-links .btn:active {
    transform: translateY(-1px) scale(0.98); /* Tıklayınca hafifçe basılsın */
    box-shadow: 0 5px 10px rgba(57, 224, 67, 0.2);
}

/* MAIN CONTENT */
main {
    padding: 30px;
    min-height: 80vh;
}

/* --- HERO SLIDER --- */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-content {
    position: absolute;
    bottom: 50px;
    left: 50px;
    max-width: 500px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 20px;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0,0,0,0.5);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease 0.3s;
}

.slide.active .slide-content {
    transform: translateY(0);
    opacity: 1;
}

.slide-content h2 {
    font-size: 2.5rem;
    margin: 0 0 10px;
    color: #39E043;
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);

    /* 1. ARKA PLANI YUVARLAMA */
    width: 50px;   /* Genişlik ve Yükseklik eşit olmalı */
    height: 50px;
    border-radius: 50%; /* KUTUYU TAM DAİRE YAPAR */

    background-color: rgba(255, 255, 255, 0.9); /* Beyaz ve hafif saydam */
    border: none;
    cursor: pointer;
    z-index: 10;

    /* İçerik Ortalama (Oku merkeze almak için) */
    display: flex;
    align-items: center;
    justify-content: center;

    /* Efektler */
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;

    /* Eski yazı karakteri olan oku gizliyoruz, yerine yenisini çizeceğiz */
    font-size: 0;
}
.slider-btn::after {
    content: '';
    width: 12px;       /* Ok boyutu */
    height: 12px;

    /* Sadece iki kenara çizgi koyarak ok şekli oluşturuyoruz */
    border-right: 3px solid #333; /* Ok Rengi */
    border-bottom: 3px solid #333;

    /* İŞTE SİHİRLİ KOD: Okun uçlarını yuvarlatır */
    border-radius: 2px;
}

.slider-btn:hover {
    background: #39E043;
    color: #000;
}

.prev-btn {
    left: 20px;
}
.prev-btn::after {
    /* Oku sola çevir */
    transform: rotate(135deg);
    margin-left: 5px; /* Görsel olarak tam merkeze oturtmak için ufak ayar */
}

/* Sağ Buton Ayarları */
.next-btn {
    right: 20px;
}
.next-btn::after {
    /* Oku sağa çevir */
    transform: rotate(-45deg);
    margin-right: 5px; /* Görsel olarak tam merkeze oturtmak için ufak ayar */
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: none;
    transition: 0.3s;
}

.dot.active {
    background: #39E043;
    transform: scale(1.2);
}

/* ========================================= */
/* --- PRODUCT LIST & SIDEBAR (GÜNCELLENMİŞ) --- */
/* ========================================= */

.product-list-container {
    display: flex;
    gap: 30px;
    align-items: flex-start; /* Sidebar ve listenin üstten hizalanması için */
}

/* Sidebar */
.sidebar {
    width: 250px;
    flex-shrink: 0;
    padding: 25px;
    border-radius: 16px;
    position: sticky;
    top: 100px;
    z-index: 900;
    background-color: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.category-list > li {
    margin-bottom: 12px;
}

.category-list ul {
    margin-left: 15px;
    margin-top: 8px;
    color: #666;
    font-size: 0.95rem;
}

/* --- MODERN ÜRÜN KARTLARI --- */

.product-list {
    display: grid;
    /* Kartların ekran boyutuna göre otomatik sığması için */
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 25px;
    width: 100%;
}

.product-card {
    background: #ffffff;
    border-radius: 16px; /* Oval köşeler */
    padding: 15px;      /* İçerik kenara yapışmasın */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05); /* Hafif gölge */
    border: 1px solid rgba(0,0,0,0.05);
    transition: all 0.3s ease;

    /* İçeriği düzenlemek için Flexbox */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%; /* Tüm kartlar eşit boyda */
}

/* Kartın üzerine gelince (Hover) */
.product-card:hover {
    transform: translateY(-7px); /* Yukarı kalkma efekti */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: transparent;
}

/* Resim Alanı */
.product-image-placeholder {
    width: 100%;
    height: 200px; /* HTML'deki inline style ile uyumlu olsun diye */
    border-radius: 12px;
    overflow: hidden; /* Resim büyüyünce dışarı taşmasın */
    margin-bottom: 15px;
    background: #f8f8f8;
    position: relative;
}

/* Resmin kendisi */
.product-image-placeholder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* Yumuşak büyüme geçişi */
}

/* Karta gelince resim büyüsün */
.product-card:hover .product-image-placeholder img {
    transform: scale(1.1);
}

/* Ürün Başlığı (h3) */
.product-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0 0 10px 0;

    /* Uzun başlıkları 2 satırla sınırla ve ... koy */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px; /* Hizalama bozulmasın diye */
}

/* Fiyat */
.product-card .price {
    font-size: 18px;
    font-weight: 800;
    color: #151717;
    margin: 0 0 5px 0;
}

/* Puan */
.product-card .score {
    font-size: 13px;
    color: #777;
    margin: 0 0 15px 0;
    font-weight: 500;
}

/* Detay Butonu (Modernleştirildi) */
.product-card .btn {
    width: 100%; /* Buton kartı kaplasın */
    background-color: #f3f3f3;
    color: #333;
    font-weight: 600;
    border-radius: 10px;
    padding: 12px;
    transition: all 0.3s ease;
}

/* Butona gelince */
.product-card:hover .btn {
    background-color: #151717; /* Site temasına uygun siyah */
    color: #fff;
}


/* --- PRODUCT DETAIL --- */
.product-detail-container {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.product-detail-main {
    display: flex;
    gap: 30px;
    width: 100%;
}

.product-images-gallery {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.product-image-large {
    height: 300px;
    background: #eee;
    border: 2px solid #333;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image-large img {
    max-width: 100%;
    max-height: 100%;
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.product-thumbnails .thumbnail {
    width: 60px;
    height: 60px;
    border: 1px solid #333;
    border-radius: 5px;
    cursor: none;
    object-fit: cover;
}

.product-info {
    flex: 1;
}

.product-info h1 {
    margin-top: 0;
}

.add-to-cart-btn {
    display: inline-block;
    background-color: #333;
    color: #fff;
    padding: 15px 30px;
    font-size: 1.1em;
    border-radius: 10px;
    margin-top: 15px;
    cursor: none;
    transition: transform 0.1s ease-in-out;
}

.add-to-cart-btn:hover {
    transform: scale(1.05);
    background-color: #000;
}

.add-to-cart-btn:active {
    transform: scale(0.95);
}

/* COMMENTS */
.comments-section {
    margin-top: 30px;
    width: 100%;
    border-top: 2px solid #ddd;
    padding-top: 20px;
}

.comment {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 10px;
    background: #fff;
}

/* --- AUTH WRAPPER (LOGIN/SIGNUP) --- */
.auth-wrapper {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    min-height: 80vh;
}

.auth-container {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 500px;
}

.auth-box {
    width: 100%;
    background: transparent;
}

/* --- AUTH FORM (UIVERSE) --- */
.form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #ffffff;
    padding: 30px;
    width: 100%;
    border-radius: 20px;
    border: 1px solid #ddd;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.flex-column > label {
    color: #151717;
    font-weight: 600;
    font-size: 0.95rem;
    margin-left: 5px;
}

.inputForm {
    border: 1.5px solid #ecedec;
    border-radius: 10px;
    height: 50px;
    display: flex;
    align-items: center;
    padding-left: 10px;
    transition: 0.2s ease-in-out;
    background-color: #fff;
}

.inputForm svg {
    flex-shrink: 0;
}

.input {
    margin-left: 10px;
    border-radius: 10px;
    border: none;
    width: 100%;
    height: 100%;
    background: transparent;
    font-family: inherit;
}

.input:focus {
    outline: none;
}

.inputForm:focus-within {
    border: 1.5px solid #39E043;
}

.flex-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.flex-row > div > label {
    font-size: 14px;
    color: black;
    font-weight: 400;
    cursor: none;
}

.span {
    font-size: 14px;
    margin-left: 5px;
    color: #2d79f3;
    font-weight: 500;
    cursor: none;
}

.span:hover {
    text-decoration: underline;
}

.button-submit {
    margin: 20px 0 10px 0;
    background-color: #151717;
    border: none;
    color: white;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    height: 50px;
    width: 100%;
    cursor: none;
    transition: background 0.2s;
}

.button-submit:hover {
    background-color: #252727;
}

.p {
    text-align: center;
    color: black;
    font-size: 14px;
    margin: 5px 0;
}

.p.line {
    font-weight: bold;
    color: #777;
    margin: 15px 0;
}

.form .btn {
    margin-top: 10px;
    width: 100%;
    height: 50px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 500;
    gap: 10px;
    border: 1px solid #ededef;
    background-color: white;
    cursor: none;
    transition: 0.2s ease-in-out;
    color: #333;
}

.form .btn:hover {
    border: 1px solid #2d79f3;
    background-color: #f9f9f9;
}

/*--------------- profil css baslangıcı ------------*/
/* Tüm kutuların padding eklenince şişmesini ve taşmasını engeller (ÇOK ÖNEMLİ) */
* {
    box-sizing: border-box;
}

/* --- 1. ANA KAPSAYICI (Sadece hizalama görevi görecek) --- */
.profile-main-container {
    display: flex;
    justify-content: center; /* Ortala */
    align-items: flex-start; /* Üstten hizala */
    gap: 40px;               /* İki kutu arasındaki boşluk */
    flex-wrap: wrap;         /* Mobilde alt alta geçsin */
    padding: 40px 20px;      /* Sayfa kenar boşlukları */
    max-width: 1200px;       /* Çok geniş ekranlarda yayılmasın */
    margin: 0 auto;          /* Sayfada ortala */

    /* ESKİ GÖLGELER VE ARKA PLAN KALDIRILDI */
    background: transparent;
    box-shadow: none;
    border-radius: 0;
}

/* --- ORTAK KART STİLİ (Hem sol hem sağ kutu için) --- */
/* Bu stil 2. formdan alındı ve her ikisine de uygulanacak */
.profile-container,
.profile-card .modal {
    flex: 1;                 /* Mevcut alanı eşit paylaşsınlar */
    min-width: 350px;        /* Çok küçülmesinler */
    max-width: 500px;        /* Çok büyümesinler */

    /* --- UIVERSE MODERN STİLİ --- */
    background: #FFFFFF;
    /* Yumuşak katmanlı gölge efekti */
    box-shadow: 0px 187px 75px rgba(0, 0, 0, 0.01),
    0px 105px 63px rgba(0, 0, 0, 0.05),
    0px 47px 47px rgba(0, 0, 0, 0.09),
    0px 12px 26px rgba(0, 0, 0, 0.1);
    border-radius: 26px;     /* Oval köşeler */
    padding: 30px;           /* İç boşluk */
    height: fit-content;     /* İçerik kadar yükseklik */
}

/* Sağdaki kutunun dış sargısını temizleyelim ki içindeki .modal tam görünsün */
.profile-card {
    display: flex;
    justify-content: center;
    background: transparent;
    box-shadow: none;
    padding: 0;
}
.modal { width: 100%; } /* Modal bulunduğu alanı kaplasın */


/* --- BAŞLIKLAR --- */
.profile-container h2,
.profile-form-card h1 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    color: #333;
}

/* --- FORM İÇİ DÜZENLERİ --- */
.form-row, .split {
    display: flex;
    gap: 15px;
    width: 100%;
}
.form-group, .input_container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1; /* Yan yana olanlar eşit yer kaplasın */
    margin-bottom: 15px;
}

/* --- ETİKETLER (Labels) --- */
.form-group label, .input_label {
    font-size: 13px;
    color: #666;
    font-weight: 600;
    margin-left: 5px;
}

/* --- INPUT ALANLARI (Her iki form için ortak stil) --- */
.form-group input,
.form-group textarea,
.input_field {
    width: 100%;
    height: 45px; /* Standart yükseklik */
    padding: 10px 15px;
    border-radius: 12px; /* Daha modern oval köşeler */
    outline: none;

    /* Sağdaki formun gri arka plan stili */
    background-color: #F2F2F2;
    border: 2px solid transparent; /* Kenarlık için yer aç */

    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: none; /* Textarea boyutlandırmayı kapat */
}
/* Textarea biraz daha yüksek olsun */
.form-group textarea {
    height: 80px;
}

/* Inputlara tıklanınca (Focus) */
.form-group input:focus,
.form-group textarea:focus,
.input_field:focus {
    border-color: #000; /* Tıklanınca siyah kenarlık */
    background-color: #fff; /* Arka plan beyazlaşsın */
}


/* --- ORTAK BUTON STİLİ (Her iki buton da aynı olacak) --- */
.profile-detail-btn,
.purchase--btn {
    width: 100%;
    height: 55px;
    margin-top: 20px;

    /* Siyah modern buton stili */
    background: #000000;
    color: #ffffff;

    border-radius: 12px;
    border: 0;
    outline: none;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Butonların üzerine gelince */
.profile-detail-btn:hover,
.purchase--btn:hover {
    background-color: #333;
    transform: translateY(-2px); /* Hafif yukarı kalkma efekti */
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}


/* --- DİĞER YARDIMCI STİLLER --- */
/* Ayırıcı Çizgi (Sağ form için) */
.separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #8B8E98;
    margin: 10px 0 20px 0;
    font-size: 11px;
    font-weight: 600;
}
.separator .line {
    flex: 1;
    height: 1px;
    background-color: #e8e8e8;
    border: none;
}

/* Input number oklarını gizle */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
input[type=number] {
    -moz-appearance: textfield;
}
/*--------------------------  profil css sonu ----------------------------*/
.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 8px;
    border: 2px solid darkgrey;
    border-radius: 10px;
    box-sizing: border-box;
}

/* FOOTER */
footer {
    background-color: #0f0f0f; /* Orijinal Siyah/Koyu Gri Rengin */
    color: #ffffff;            /* Yazılar Beyaz */
    width: 100%;               /* Ekranı tam kapla */

    /* İçerik Düzeni */
    display: flex;
    flex-direction: column;
    align-items: center;       /* Her şeyi ortala */
    justify-content: center;

    /* Boşluk Ayarları */
    padding: 40px 0 20px 0;    /* Üstten 40px, Alttan 20px boşluk */
    margin-top: auto;          /* Sayfa kısaysa footer'ı en alta it */

    /* Yazı Tipi */
    font-family: 'Quicksand', sans-serif;
    box-sizing: border-box;    /* Padding taşmalarını önler */
}

/* 2. NEWSLETTER (ÜST KISIM) */
.newsletter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px; /* Alt kısımla arasına mesafe koy */
    width: 100%;
}

.newsletter-title {
    color: #4CAF50; /* Yeşil Başlık */
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 400px;
}

/* 3. AYIRICI ÇİZGİ (İsteğe Bağlı - Varsa Şık Durur) */
.footer-divider {
    width: 90%;
    height: 1px;
    background-color: #333; /* Çok silik gri çizgi */
    margin-bottom: 20px;
}

/* 4. ALT KISIM (LİNKLER VE İKONLAR - YAN YANA) */
.footer-bottom {
    display: flex;
    justify-content: space-between; /* Linkler Sola, İkonlar Sağa */
    align-items: center;
    width: 90%;          /* Kenarlardan biraz içeride dursun */
    max-width: 1400px;
    flex-wrap: wrap;     /* Mobilde alt alta geçsin */
    gap: 20px;
}

/* Sol Taraf: Linkler ve Telif */
.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.copyright {
    color: #777;
    margin-right: 10px;
    padding-right: 15px;
    border-right: 1px solid #333; /* Telif yazısının yanına çizgi */
    font-size: 0.9rem;
}

.footer-links a {
    color: #ccc;
    font-size: 0.95rem;
    transition: 0.3s;
}

.footer-links a:hover {
    color: #4CAF50; /* Üzerine gelince yeşil olsun */
}

/* Sağ Taraf: İkonlar Grubu */
.footer-icons {
    display: flex;
    align-items: center;
    gap: 25px; /* Ödeme ve Sosyal Medya arası boşluk */
}

/* Ödeme Kartları */
.payment-methods {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #fff; /* İkonlar net görünsün diye arkasına beyaz fon */
    padding: 5px 10px;
    border-radius: 4px;
}

.payment-methods img {
    height: 18px; /* Yükseklik sabitleme */
    width: auto;
    display: block;
}

/* Sosyal Medya */
.social-media {
    display: flex;
    align-items: center;
    gap: 15px;
}

.social-media img {
    height: 20px;
    width: 20px;
    filter: invert(1); /* Siyah ikonları beyaza çevirir */
    opacity: 0.8;
    transition: transform 0.2s;
}

.social-media img:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* LANDING */
.landing-page {
    text-align: center;
    padding: 50px;
    border: 2px solid #333;
    border-radius: 20px;
    margin: 50px auto;
    max-width: 600px;
    background: #fff;
}

/* ========================================= */
/* --- YENİ SEPET TASARIMI (UIVERSE) --- */
/* ========================================= */

.master-container {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 50px;
    align-items: start;
}

.master-container .card {
    width: 100%;

    /* --- CAM EFEKTİ (YENİ) --- */
    /* 1. Yarı Saydam Beyaz */
    background: rgba(255, 255, 255, 0.5);

    /* 2. Arkasını Buzla */
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px); /* Apple cihazlar için */

    /* 3. İnce Çerçeve ve Gölge */
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0px 10px 40px rgba(0, 0, 0, 0.05);
    border-color: dimgrey;
    /* Gölgeyi hafiflettik */
}

.master-container .title {
    width: 100%;
    height: 40px;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 20px;
    border-bottom: 1px solid #efeff3;
    font-weight: 700;
    font-size: 11px;
    color: #63656b;
    text-transform: uppercase;
}

/* CART LIST */
.master-container .cart {
    border-radius: 19px 19px 7px 7px;
    grid-column: 1/2;
    grid-row: span 2;
}

.master-container .cart .products {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.master-container .cart .products .product {
    display: grid;
    grid-template-columns: 60px 1fr 80px 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

.master-container .cart .products .product img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.master-container .cart .products .product span {
    font-size: 13px;
    font-weight: 600;
    color: #47484b;
    margin-bottom: 8px;
    display: block;
}

.master-container .cart .products .product p {
    font-size: 11px;
    font-weight: 600;
    color: #7a7c81;
}

/* MİKTAR BUTONLARI */
.master-container .cart .quantity {
    height: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    margin: auto;
    background-color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 7px;
    filter: drop-shadow(0px 1px 0px #efefef) drop-shadow(0px 1px 0.5px rgba(239, 239, 239, 0.5));
}

.master-container .cart .quantity label {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 2px;
    font-size: 15px;
    font-weight: 700;
    color: #47484b;
}

.master-container .cart .quantity a {
    width: 100%;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    outline: none;
    background-color: transparent;
    padding-bottom: 2px;
    cursor: none;
    color: #333;
}

.master-container .cart .quantity a:hover {
    background-color: #f5f5f5;
}

.master-container .card .small {
    font-size: 15px;
    margin: 0 0 auto auto;
    font-weight: bold;
}

.master-container .card .small sup {
    font-size: 10px;
}

/* COUPONS */
.master-container .coupons {
    border-radius: 7px;
    grid-column: 2/3;
}

.master-container .coupons form {
    display: grid;
    grid-template-columns: 1fr 80px;
    gap: 10px;
    padding: 10px;
}

.master-container .coupons form button {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    padding: 10px 18px;
    gap: 10px;
    width: 100%;
    height: 36px;
    background: linear-gradient(180deg, #4480FF 0%, #115DFC 50%, #0550ED 100%);
    box-shadow: 0px 0.5px 0.5px #EFEFEF, 0px 1px 0.5px rgba(239, 239, 239, 0.5);
    border-radius: 5px;
    border: 0;
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 15px;
    color: #ffffff;
    cursor: none;
}

/* CHECKOUT */
.master-container .checkout {
    border-radius: 9px 9px 19px 19px;
    grid-column: 2/3;
}

.master-container .checkout .details {
    display: grid;
    grid-template-columns: 3fr 1fr;
    padding: 10px;
    gap: 5px;
}

.master-container .checkout .details span {
    font-size: 13px;
    font-weight: 600;
}

.master-container .checkout .details span:nth-child(odd) {
    font-size: 11px;
    font-weight: 700;
    color: #707175;
    margin: auto auto auto 0;
}

.master-container .checkout .details span:nth-child(even) {
    font-size: 13px;
    font-weight: 600;
    color: #47484b;
    margin: auto 0 auto auto;
}

.master-container .checkout .checkout--footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px 10px 20px;
    background-color: #efeff3;
}

.master-container .price {
    position: relative;
    font-size: 22px;
    color: #2B2B2F;
    font-weight: 900;
}

.master-container .price sup {
    font-size: 13px;
}

.master-container .checkout .checkout-btn {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 150px;
    height: 36px;
    background: linear-gradient(180deg, #4480FF 0%, #115DFC 50%, #0550ED 100%);
    box-shadow: 0px 0.5px 0.5px #EFEFEF, 0px 1px 0.5px rgba(239, 239, 239, 0.5);
    border-radius: 7px;
    border: 0;
    outline: none;
    color: #ffffff;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.15, 0.83, 0.66, 1);
    cursor: none;
    text-decoration: none;
}

/* =========================================
   BUTTON & LOADER STYLES (style.css)
   ========================================= */

/* 1. Butonun Temel Yapısı */
.button-submit {
    position: relative; /* Spinner'ı ortalamak için referans */
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

/* 2. Loading Durumu (JavaScript tetiklediğinde) */
.button-submit.loading {
    pointer-events: none; /* Tıklamayı engelle */
    opacity: 0.8;         /* Hafif şeffaflaştır */
}

/* Loading anında yazıyı görünmez yap ama yer kaplamaya devam etsin (layout bozulmasın diye) */
.button-submit.loading .btn-text {
    visibility: hidden;
    opacity: 0;
}

/* 3. Spinner (Başlangıçta Gizli) */
.spinner {
    display: none; /* Varsayılan olarak gizli */
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    transform: translate(-50%, -50%); /* Tam merkeze oturt */
}

/* Loading sınıfı eklenince Spinner görünsün */
.button-submit.loading .spinner {
    display: inline-block;
}

/* 4. Spinner Bıçaklarının (Blades) Tasarımı */
.spinner-blade {
    position: absolute;
    left: 44.5%;
    top: 37%;
    width: 10%;
    height: 25%;
    border-radius: 50%/20%;
    background-color: #ffffff; /* Bıçak rengi (Beyaz) */
    transform-origin: center 150%; /* Dönme merkezi */
    animation: spinner-fade 1s linear infinite;
}

/* 5. Her bir bıçağın açısı ve gecikme süresi (12 Parça) */
.spinner-blade:nth-child(1)  { transform: rotate(0deg) translate(0, -150%); animation-delay: -1.000s; }
.spinner-blade:nth-child(2)  { transform: rotate(30deg) translate(0, -150%); animation-delay: -0.9167s; }
.spinner-blade:nth-child(3)  { transform: rotate(60deg) translate(0, -150%); animation-delay: -0.8333s; }
.spinner-blade:nth-child(4)  { transform: rotate(90deg) translate(0, -150%); animation-delay: -0.7500s; }
.spinner-blade:nth-child(5)  { transform: rotate(120deg) translate(0, -150%); animation-delay: -0.6667s; }
.spinner-blade:nth-child(6)  { transform: rotate(150deg) translate(0, -150%); animation-delay: -0.5833s; }
.spinner-blade:nth-child(7)  { transform: rotate(180deg) translate(0, -150%); animation-delay: -0.5000s; }
.spinner-blade:nth-child(8)  { transform: rotate(210deg) translate(0, -150%); animation-delay: -0.4167s; }
.spinner-blade:nth-child(9)  { transform: rotate(240deg) translate(0, -150%); animation-delay: -0.3333s; }
.spinner-blade:nth-child(10) { transform: rotate(270deg) translate(0, -150%); animation-delay: -0.2500s; }
.spinner-blade:nth-child(11) { transform: rotate(300deg) translate(0, -150%); animation-delay: -0.1667s; }
.spinner-blade:nth-child(12) { transform: rotate(330deg) translate(0, -150%); animation-delay: -0.0833s; }

/* 6. Animasyon Keyframe */
@keyframes spinner-fade {
    0% { opacity: 1; }
    100% { opacity: 0.25; }
}

/* ========================================= */
/* --- YENİ YILDIZ PUANLAMA STİLİ --- */
/* ========================================= */
.rating {
    display: inline-block;
    direction: ltr;
}

.rating input {
    display: none;
}

.rating label {
    float: right;
    cursor: none;
    color: #ccc;
    transition: color 0.3s;
    padding: 0 2px;
}

.rating label:before {
    content: '\2605';
    font-size: 30px;
}

.rating input:checked ~ label,
.rating label:hover,
.rating label:hover ~ label {
    color: #6f00ff;
    transition: color 0.3s;
}

/* NEWSLETTER */
.newsletter-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    width: 100%;
}

.newsletter-title {
    color: #00df82;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 500;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    width: 100%;
    max-width: 400px;
    height: 50px;
    margin: auto;
}

.newsletter-input {
    width: 100%;
    height: 100%;
    border: none;
    background: #fff;
    border-radius: 25px;
    padding: 0 50px 0 20px;
    font-size: 1rem;
    outline: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.newsletter-input:focus {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.4);
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #171717;
    color: #fff;
    cursor: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.newsletter-btn:hover {
    background: #2762f3;
    transform: scale(1.05);
}

.newsletter-btn span {
    font-size: 0.7rem;
    font-weight: bold;
    display: inline-block;
}

.newsletter-input:focus + .newsletter-btn,
.newsletter-input:valid + .newsletter-btn {
    background: #2762f3;
}

.newsletter-input:focus + .newsletter-btn:hover,
.newsletter-input:valid + .newsletter-btn:hover {
    background: #0c48db;
}

/* Select kutusunun kapsayıcısı */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper select {
    padding-right: 30px;
    background-color: #F2F2F2;
    border: 1px solid transparent;
    color: #333;
    font-weight: 600;
}

.select-wrapper select:focus {
    background-color: #fff;
    border-color: #000;
}

.select-arrow {
    position: absolute;
    top: 50%;
    right: 15px;
    transform: translateY(-50%);
    pointer-events: none;
}

/* --- BÜYÜTEÇ EFEKTİ STİLLERİ --- */
.main-image-box {
    position: relative;
    overflow: hidden; /* Resim büyüdüğünde kutudan taşmasın */
    cursor: zoom-in;  /* Fare imleci büyüteç şeklini alsın */
}

.main-image-box img {
    /* Zoom yaparken ve fareyi takip ederken pürüzsüz geçiş */
    transition: transform 0.1s ease-out;
    transform-origin: center center;
    width: 100%;
    height: auto;
    display: block;
}
/*---------------profile.html ye ait css kod blogu baslangici-----*/
/* --- PROFİL DASHBOARD GENEL YAPISI --- */
.dashboard-container {
    width: 95%;
    max-width: 1600px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.dashboard-row {
    display: flex;
    gap: 40px;
    align-items: stretch;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

/* --- KART TASARIMI (Ortak Özellikler) --- */
.dashboard-card {
    background: #fff;
    border-radius: 30px;
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    overflow: hidden;
    /* Varsayılan esneklik */
    flex: 1;
    min-width: 600px;
}

.dashboard-card.large-card {
    width: 100%;
    flex-basis: 100%;
    max-width: 100%;
    height: 600px; /* Sipariş geçmişi için sabit yükseklik */
}

.dashboard-card.min-h-550 {
    min-height: 550px;
}

/* --- KARTIN SOL TARAFI (GRİ ALAN) --- */
.card-sidebar {
    background: #f4f6f8;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-right: 1px solid #e0e0e0;
    padding: 30px;
    text-align: center;
}

.card-sidebar.w-30 { width: 30%; }
.card-sidebar.w-20 { width: 20%; }

.card-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

.card-title {
    margin: 0;
    color: #333;
    font-size: 2rem;
    line-height: 1.2;
}

.card-subtitle {
    margin-top: 15px;
    color: #666;
    font-size: 1rem;
}

/* --- KARTIN SAĞ TARAFI (İÇERİK ALANI) --- */
.card-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.card-content.w-70 { width: 70%; padding: 50px; }
.card-content.w-80 { width: 80%; padding: 40px; overflow-y: auto; height: 100%; }

/* --- FORM ELEMANLARI --- */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 20px; /* Tekli gruplar için varsayılan */
}
/* Form row içindeki grupların marginini sıfırlayalım */
.form-row .form-group { margin-bottom: 0; }

.form-label {
    display: block;
    font-size: 0.95em;
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fbfbfb;
    font-size: 1rem;
    box-sizing: border-box;
    transition: 0.3s;
    outline: none;
}

.form-input:focus {
    border-color: #333;
    background: #fff;
}

textarea.form-input {
    min-height: 80px;
    resize: vertical;
}

.btn-save {
    width: 100%;
    background: #222;
    color: #fff;
    padding: 16px;
    border-radius: 12px;
    font-weight: bold;
    cursor: pointer;
    border: none;
    font-size: 1.1rem;
    transition: background 0.3s;
}

.btn-save:hover {
    background: #000;
}

/* --- KART EKLEME ÖZEL --- */
.demo-warning {
    text-align: center;
    margin-bottom: 25px;
    font-size: 0.85em;
    color: #999;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.split-inputs {
    display: flex;
    gap: 20px;
}

/* --- SİPARİŞ GEÇMİŞİ LİSTESİ --- */
.order-card {
    border: 1px solid #eee;
    border-radius: 16px;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.order-header {
    background: #fff;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f9f9f9;
}

.order-date-badge {
    color: #777;
    font-size: 0.95em;
    margin-left: 15px;
    background: #f0f0f0;
    padding: 5px 10px;
    border-radius: 8px;
}

.order-total {
    font-weight: 800;
    font-size: 1.2rem;
}

.total-price {
    color: #39E043;
}

.order-body {
    padding-top: 80px;
    background: #fafafa;
}

.product-thumb {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid #eee;
}

.product-link {
    font-weight: 600;
    color: #444;
    text-decoration: none;
    font-size: 1rem;
}

/* Scrollbar Güzelleştirme (Opsiyonel) */
.card-content.w-80::-webkit-scrollbar {
    width: 8px;
}
.card-content.w-80::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}
.card-content.w-80::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}
.card-content.w-80::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}
/* --- KART TIKLAMA VE ODAKLANMA EFEKTLERİ --- */

/* 1. Önce kartın kendisine geçiş özelliği ve görünmez bir kenarlık ekleyelim */
.dashboard-card {
    /* Mevcut kodların duruyor, bunları ekle: */
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* Yumuşak geçiş */
    border: 2px solid transparent; /* Kenarlık yer kaplasın ama görünmesin (titremeyi önler) */
    position: relative; /* Z-index kullanımı için */
    z-index: 1;
}

/* 2. Kartın içine tıklandığında (Inputlara odaklanıldığında) olacaklar */
.dashboard-card:focus-within {
    border-color: #000; /* Kenarlık Siyah Olsun */
    transform: scale(1.02); /* Hafifçe Dışarı Büyüsün (%2 oranında) */
    box-shadow: 0 30px 60px rgba(0,0,0,0.15); /* Gölge derinleşsin */
    z-index: 10; /* Diğer kartların üzerine çıksın */
}

/* 3. Fare ile üzerine gelince (Hover) hafif bir ipucu verelim (Opsiyonel) */
.dashboard-card:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
    transform: translateY(-5px); /* Hafif yukarı kalksın */
}

/* Odaklanıldığında Hover çakışmasını önlemek için */
.dashboard-card:focus-within:hover {
    transform: scale(1.02); /* Odaklanma büyüklüğünü koru */
}
/*---------------profile.html ye ait css kod blogu bitisi-----*/
/*-----------------cart.html ye ait css kod blogu baslangıcı*/
/* --- SEPET SAYFASI (CART) DÜZENİ --- */
.cart-layout {
    display: flex;
    gap: 30px;
    align-items: flex-start; /* Yukarı hizalı */
}

/* Sol Taraf: Ürün Listesi */
.cart-left-section {
    flex: 2; /* 2 birim yer kaplasın */
    display: flex;
    flex-direction: column;
}

/* Sağ Taraf: Özet ve Ödeme */
.cart-right-section {
    flex: 1; /* 1 birim yer kaplasın */
    display: flex;
    flex-direction: column;
    gap: 30px; /* Kutular arası boşluk */
    position: sticky;
    top: 20px; /* Aşağı kaydırınca takip etsin */
}

/* --- SEPET KARTI TASARIMI --- */
.cart-header-simple {
    padding: 25px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header-title {
    font-size: 1.5rem;
    color: #333;
    margin: 0;
}

.cart-item {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #f9f9f9;
    transition: background 0.2s;
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item:hover {
    background-color: #fafafa;
}

.cart-img-box {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #eee;
    margin-right: 20px;
    flex-shrink: 0;
}

.cart-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-info {
    flex: 1;
}

.cart-product-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    display: block;
    margin-bottom: 5px;
}

.cart-category {
    font-size: 0.9em;
    color: #888;
    margin: 0;
}

.remove-btn {
    font-size: 0.85em;
    color: #ff4d4d;
    text-decoration: none;
    font-weight: 500;
    margin-top: 5px;
    display: inline-block;
    transition: 0.2s;
}

.remove-btn:hover {
    text-decoration: underline;
    color: #d63030;
}

/* Miktar Kontrolü */
.qty-control {
    display: flex;
    align-items: center;
    background: #f4f6f8;
    border-radius: 8px;
    padding: 5px;
    margin-right: 30px;
}

.qty-btn {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.2s;
}

.qty-btn:hover {
    background: #e0e0e0;
}

.qty-val {
    width: 30px;
    text-align: center;
    font-weight: bold;
    color: #333;
}

.item-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #333;
    min-width: 100px;
    text-align: right;
}

/* --- SAĞ TARAF KARTLARI (ÖZET/ÖDEME) --- */
.summary-card-header {
    background: #f4f6f8;
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.summary-title {
    margin: 0;
    font-size: 1.2rem;
    color: #333;
}

.summary-body {
    padding: 25px;
}

/* Select Box Güzelleştirme */
.custom-select-wrapper {
    position: relative;
}

.custom-select {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 0.95rem;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    outline: none;
    transition: 0.3s;
}

.custom-select:focus {
    border-color: #333;
}

.select-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Özet Satırları */
.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: #666;
    font-size: 1rem;
}

.summary-row.total {
    border-top: 1px solid #eee;
    padding-top: 15px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.summary-total-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #39E043;
}

.checkout-btn-large {
    width: 100%;
    background: #000;
    color: #fff;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: 0.3s;
}

.checkout-btn-large:hover {
    background: #333;
    transform: translateY(-2px);
}

.checkout-btn-large:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .cart-layout {
        flex-direction: column;
    }
    .cart-right-section {
        width: 100%;
        position: static;
    }
    .cart-item {
        flex-wrap: wrap;
        gap: 15px;
    }
    .item-price {
        margin-left: auto;
    }
}
/*-----------------cart.html ye ait css kod blogu bitisi*/

/* --- Admin & Profil Kart Tasarımı (Split Card Style) --- */

/* Genel Sayfa Arka Planı (Görseldeki bej tonu) */
.admin-wrapper {
    background-color: #f3efe0;
    min-height: 100vh;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.admin-header {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
}

.admin-header h2 { font-size: 2rem; margin-bottom: 5px; }
.admin-header p { color: #666; }

/* Kartların Konteynırı */
.admin-grid {
    display: flex;
    flex-direction: column; /* Kartları alt alta dizer */
    gap: 40px;
    width: 100%;
    max-width: 900px; /* Görseldeki gibi geniş durması için */
}

/* --- Split Card (Ana Kart Yapısı) --- */
.split-card {
    display: flex;
    background: #fff;
    border-radius: 25px;
    overflow: hidden; /* Köşelerin yuvarlak kalması için */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    min-height: 400px;
}

/* Sol Taraf (Sidebar) */
.card-sidebar {
    width: 35%;
    background-color: #f8f9fa; /* Hafif gri arka plan */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    border-right: 1px solid #eee;
}

.icon-circle {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    /* İsterseniz buraya bir background rengi verebilirsiniz */
}

.icon-circle img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* İkon rengini mor yapmak için filtre (Opsiyonel) */
    filter: invert(24%) sepia(58%) saturate(2225%) hue-rotate(246deg) brightness(85%) contrast(95%);
}

.card-sidebar h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 10px;
}

.card-sidebar p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Sağ Taraf (İçerik/Form) */
.card-content {
    width: 65%;
    padding: 40px 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-title {
    margin-bottom: 25px;
    color: #444;
    font-size: 1.2rem;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
    display: inline-block;
}

/* Form Elemanları */
.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-group-row {
    display: flex;
    gap: 20px;
}

.form-group-row .form-group {
    flex: 1;
}

.form-group label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 600;
    margin-bottom: 8px;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #f5f5f5; /* Giriş alanı gri tonu */
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.3s ease;
    color: #333;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    background-color: #fff;
    border-color: #ccc;
    outline: none;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.form-group small {
    margin-top: 5px;
    font-size: 0.75rem;
    color: #999;
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.file-input {
    background-color: #fff;
    border: 1px dashed #ccc;
    cursor: pointer;
}

/* Buton Tasarımı (Siyah) */
.action-btn {
    margin-top: 10px;
    width: 100%;
    background-color: #1a1a1a;
    color: #fff;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.action-btn:hover {
    background-color: #333;
}

/* Mesajlar */
.flash-messages-container {
    width: 100%;
    max-width: 900px;
    margin-bottom: 20px;
}
.alert {
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
}
.alert.success { background-color: #d4edda; color: #155724; }
.alert.danger { background-color: #f8d7da; color: #721c24; }
.alert.warning { background-color: #fff3cd; color: #856404; }

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .split-card {
        flex-direction: column;
    }
    .card-sidebar, .card-content {
        width: 100%;
    }
    .card-sidebar {
        padding: 30px 20px;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .card-content {
        padding: 30px 20px;
    }
    .form-group-row {
        flex-direction: column;
        gap: 0;
    }
}
/* --- LOGO ZORLAMA TAMİR KODU --- */
.logo a {
    display: inline-block !important; /* Linkin kutu gibi davranmasını sağlar */
    opacity: 1 !important;
    visibility: visible !important;
}

.logo img {
    display: block !important;
    height: 50px !important; /* Yüksekliği sabitler */
    width: auto !important;  /* Genişliği orantılı ayarlar */
    max-width: none !important; /* Sınırlamaları kaldırır */
    background-color: transparent !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 1001 !important; /* Her şeyin üstüne çıkarır */
}