/* --- GENEL AYARLAR --- */
:root {
    --bg: #f9fafb;
    --text-dark: #111827;
    --text-light: #6b7280;
    --primary: #111;
    --border: #e5e7eb;
    --radius: 16px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text-dark);
    background: var(--bg);
    margin: 0;
    padding: 0;
}

img { display: block; width: 100%; height: auto; }
a { text-decoration: none !important; color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section { padding: 40px 0; }



.brand-box {
    width: 100%;
    height: 300px;
    background-image: url('https://images.unsplash.com/photo-1548036328-c9fa89d128fa?q=80&w=2069&auto=format&fit=crop'); 
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    padding-left: 1rem;
}

/* Kapağın üzerine hafif karartma (Yazı okunsun diye) */
.brand-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0) 60%);
}

.brand-identity {
    position: relative; /* Karartmanın üstüne çıkması için */
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    color: white;
}

.brand-circle-logo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid white;
    overflow: hidden;
    background: #fff;
}

.brand-circle-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-title h1 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.brand-title span {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 400;
}





/* --- HERO ALANI --- */
.hero {
    /* background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 40px 0; */
    width: 75%;
    background: #fff;
    padding: 30px 0;
    margin: -40px auto 0 auto;
    position: relative;
    z-index: 10;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border);
}

.hero__inner {
    /* display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px; */
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

/* .hero__brand { display: flex; align-items: center; gap: 20px; } */
.hero__brand {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    flex: 1;
}
.seller-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%; /* Yuvarlak */
    overflow: hidden;
    border: 4px solid #fff; /* Beyaz çerçeve */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    flex-shrink: 0;
}

.seller-avatar img { width: 100%; height: 100%; object-fit: cover; }

.brand-info {
    padding-top: 10px;
}

.name-title-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.seller-name {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0;
    color: #111;
}












.brand-logo {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    flex-shrink: 0;
}

.brand-logo img { width: 100%; height: 100%; object-fit: cover; }

.brand-name { font-size: 1.8rem; font-weight: 800; margin: 0 0 5px; }
.brand-tag { 
    /* color: var(--text-light); 
    margin: 0 0 10px;  */
    color: #555;
    font-size: 0.95rem;
    margin: 0 0 12px 0;
    max-width: 600px;
    line-height: 1.5;
}
.seller-stats-row {
    display: flex;
    gap: 20px;
    font-size: 0.9rem;
    color: #444;
    margin-bottom: 15px;
}
.seller-stats-row strong { color: #111; }
.action-buttons {
    display: flex;
    gap: 10px;
}

.btn-follow {
    background: #000;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}

.btn-follow:hover { background: #333; }

.btn-message {
    background: #f3f4f6;
    color: #111;
    border: none;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
}
.btn-message:hover { background: #e5e7eb; }

.badge-row.desktop-only {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    /* max-width: 300px; */
    /* justify-content: flex-end; */
}


.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
    font-size: 0.8rem;
    padding: 4px 10px;
    border-radius: 50px;
    background: #f3f4f6;
    color: var(--text-dark);
    font-weight: 500;
}

.hero__stats {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.hero__stats li { text-align: center; }
.hero__stats strong { display: block; font-size: 1.25rem; font-weight: 800; }
.hero__stats span { font-size: 0.9rem; color: var(--text-light); }

/* Hero Responsive */
@media (max-width: 768px) {
    .brand-identity{
        gap: 10px;
    }
    .brand-title span{
        font-size: 0.8rem;
    }
    /* .hero__inner { flex-direction: column; align-items: flex-start; } */
    .hero__stats { width: 100%; justify-content: space-around; background: #f9fafb; padding: 15px; border-radius: 12px; }

    .brand-box {
        height: 180px;
        padding-left: 20px;
    }
    
    .brand-circle-logo { width: auto; height: 70px; }
    .brand-title h1 { font-size: 1.5rem; }
    
    .hero__inner { flex-direction: column; gap: 20px; }
    
    .hero__brand { 
        flex-direction: column; /* Mobilde alt alta */
        align-items: center; 
        text-align: center;
        width: 100%;
    }
    
    .name-title-row {
        justify-content: center;
    }
    
    .seller-stats-row {
        justify-content: center;
    }
    
    .action-buttons {
        justify-content: center;
    }
    
    .badge-row.desktop-only {
        width: 100%;
        max-width: 100%;
    }
    .hero {
    width: 100%;
    padding: 30px 0;
    margin: 0 auto;
    position: relative;
    border-radius: 0;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.1);
}
}

/* --- KOLEKSİYONLAR --- */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}
.section-head h2 { font-size: 1.5rem; font-weight: 700; margin: 0; }
.link { color: var(--text-dark); font-weight: 600; font-size: 0.95rem; }

.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.collection-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    border: 1px solid var(--border);
}
.collection-card:hover { transform: translateY(-5px); }

.collection-card .media {
    height: 180px;
    background-size: cover;
    background-position: center;
}
.collection-card .info { padding: 15px; }

.collection-card h3 { font-size: 1.1rem; margin: 0 0 5px; font-weight: 700; }
.collection-card p { margin: 0; color: var(--text-light); font-size: 0.9rem; }

/* --- ÖNE ÇIKAN SLIDER (Scroll Snap) --- */
.featured-container {
    background: #fff;
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.featured-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.featured-header h3 { margin: 0; font-size: 1.3rem; }

.slider-controls { display: flex; gap: 10px; }
.slider-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: 0.2s;
}
.slider-btn:hover { background: #111; color: #fff; border-color: #111; }

.slider-wrapper { overflow: hidden; }

.featured-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory; /* Sihirli CSS Kodu */
    padding-bottom: 10px; /* Scrollbar için yer */
}

/* Scrollbarı Gizle */
.featured-track::-webkit-scrollbar { height: 6px; }
.featured-track::-webkit-scrollbar-thumb { background: #ddd; border-radius: 10px; }
.featured-track::-webkit-scrollbar-track { background: transparent; }

.featured-card {
    min-width: 260px; /* Kart genişliği */
    scroll-snap-align: start; /* Kartlar hizalansın */
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.3s;
}
.featured-card:hover { transform: translateY(-3px); }

.featured-card img { height: 180px; object-fit: cover; }
.featured-card .info { padding: 15px; }
.featured-card h4 { font-size: 1rem; margin: 0 0 5px; }
.featured-card .price { font-weight: 700; font-size: 1.1rem; display: block; margin-top: 5px; }

/* --- TEKLİ ÖNE ÇIKAN KUTUSU --- */
.featured-box {
    display: flex;
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}
.featured-image { flex: 1; }
.featured-image img { width: 100%; height: 100%; object-fit: cover; min-height: 300px; }

.featured-info {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.badge-premium {
    display: inline-block;
    background: #111; color: #fff;
    font-size: 0.75rem; padding: 4px 10px;
    border-radius: 4px; margin-bottom: 10px; width: fit-content;
}
.featured-info h4 { font-size: 1.8rem; margin: 0 0 15px; }
.featured-info p { color: var(--text-light); line-height: 1.6; margin-bottom: 20px; }

.price-row { display: flex; align-items: center; gap: 20px; }
.price-lg { font-size: 1.5rem; font-weight: 800; }
.btn-black {
    background: #111; color: #fff; border: none;
    padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer;
}

@media (max-width: 768px) {
    .featured-box { flex-direction: column; }
    .featured-image img { height: 250px; }
    .featured-info { padding: 25px; }
    .featured-info h4 { font-size: 1.4rem; }
}

/* --- ÜRÜNLER & FİLTRE --- */
.wrap-head { flex-wrap: wrap; gap: 15px; }
.controls { display: flex; flex-wrap: wrap; gap: 10px; width: 100%; justify-content: space-between; }
#searchInput {
    padding: 10px 15px; border: 1px solid var(--border);
    border-radius: 8px; flex: 1; min-width: 200px;
}

/* Filtre butonları mobilde yana kayar */
.filter-scroll { overflow-x: auto; padding-bottom: 5px; max-width: 100%; }
.filter-buttons { display: flex; gap: 8px; white-space: nowrap; }

.filter-btn {
    border: 1px solid var(--border); background: #fff;
    padding: 8px 16px; border-radius: 50px; cursor: pointer;
    font-size: 0.9rem; font-weight: 600; transition: 0.2s;
}
.filter-btn.active, .filter-btn:hover { background: #111; color: #fff; border-color: #111; }

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.product-card {
    background: #fff; border: 1px solid var(--border);
    border-radius: 12px; overflow: hidden; transition: 0.3s;
}
.product-media { display: block; height: 240px; background-size: cover; background-position: center; }
.product-body { padding: 15px; }
.product-title { font-size: 1rem; margin: 0 0 5px; }
.product-sub { font-size: 0.85rem; color: var(--text-light); margin: 0; }
.product-row { display: flex; justify-content: space-between; align-items: center; margin-top: 10px; }
.btn--ghost {
    background: #f3f4f6; border: none; width: 32px; height: 32px;
    border-radius: 6px; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.btn--ghost:hover { background: #e5e7eb; }

/* --- HİKAYE --- */
.brand-story { padding-bottom: 60px; }
.story-card {
    display: flex; background: #fff; border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--border);
}
.story-text { flex: 1; padding: 40px; }
.story-text h3 { margin-top: 0; }
.story-text blockquote {
    border-left: 3px solid #111; padding-left: 15px; font-style: italic; color: #555;
}
.story-image { flex: 1; min-height: 300px; }
.story-image img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 768px) {
    .story-card { flex-direction: column-reverse; }
    .story-image { height: 200px; }
    .story-text { padding: 25px; }
}



.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0.5rem 0;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #999;
  white-space: nowrap;
}

.badge-pill i {
  font-size: 12px;
}

/* Renkler */
.badge-blue {
  background: #0d8bff;
}

.badge-purple {
  background: #a855f7;
}

.badge-green {
  background: #16a34a;
}

.badge-orange {
  background: #f97316;
}

.badge-red {
  background: #ef4444;
}
