/* ==========================================================================
   Koza Tasarım - PREMIUM E-COMMERCE AESTHETIC (SKILL.MD APPLIED)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    /* Premium Color Palette */
    --c-primary: #5A1919;
    /* Derin Bordo/Şarap - Lüks hissi */
    --c-bg: #FAF6F0;
    /* Çok açık kırık kemik/krem */
    --c-surface: #FFFFFF;
    --c-text-dark: #2A2424;
    --c-text-light: #807676;
    --c-accent: #C58B54;
    /* Ham ahşap dokunuşu */
    --c-border: rgba(90, 25, 25, 0.08);

    /* Typography */
    --font-heading: 'DM Serif Display', serif;
    /* Editoryal ve Zanaatkar */
    --font-body: 'Outfit', sans-serif;

    /* Spacing & Layout */
    --space-section: 8rem;
    --radius-sm: 8px;
    --radius-lg: 24px;
    --shadow-premium: 0 20px 40px rgba(90, 25, 25, 0.05);
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --c-dark: #1a1210;
    /* Footer koyu zemin */
}

/* 1. RESET & BASE */
* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--c-bg);
    color: var(--c-text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    /* Serif fontlar ince daha lüks durur */
    color: var(--c-primary);
    margin-top: 0;
}

a {
    color: var(--c-text-dark);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--c-accent);
}

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

/* 2. REFINED HEADER
/* ── SITE HEADER (Sticky, Zarif) ─────────────────────────────────────────── */
.site-header {
    background-color: var(--c-surface);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 var(--c-border);
}

/* ── TOP BAR — Kayan Marquee ─────────────────────────────────────────────── */
@keyframes topbar-scroll {
    0%   { transform: translateX(0); }
    100% { transform: translateX(var(--marquee-offset, -50%)); }
}

.header-topbar {
    background: var(--c-primary);
    color: rgba(255, 255, 255, 0.9);
    overflow: hidden;
    padding: 0;
    height: 34px;
    display: flex;
    align-items: center;
}

.topbar-marquee {
    width: 100%;
    overflow: hidden;
}

.topbar-track {
    display: flex;
    align-items: center;
    width: max-content;
    will-change: transform;
}

.topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    white-space: nowrap;
    padding: 0 2rem;
    flex-shrink: 0;
}

.topbar-sep {
    color: var(--c-accent);
    font-size: 0.6rem;
    opacity: 0.7;
    flex-shrink: 0;
}

/* ── ANA HEADER (Simetrik 3 sütun: Sol | Logo | Sağ) ─────────────────────── */
.header-main {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    /* Sol | Orta | Sağ — TAM ORTALI */
    align-items: center;
    padding: 0 5%;
    height: 72px;
    /* Kompakt ama nefes alan yükseklik */
    max-width: 100%;
}

/* Sol alan */
.header-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Orta: Logo */
.site-branding {
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-title {
    margin: 0;
    font-size: 0;
    /* <h1> mevcut WP şablonlarında, boyutu sıfırladık */
}

.site-title-link,
.site-title a {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: -1px;
    color: var(--c-primary) !important;
    line-height: 1;
}

.site-title-link:hover,
.site-title a:hover {
    color: var(--c-accent) !important;
}

/* Özel logo varsa boyutlandır */
.site-branding .custom-logo {
    height: 60px;
    width: auto;
    max-width: 160px;
    object-fit: contain;
}

/* Mobil: Logo boyutunu küçült, taşmayı önle */
@media (max-width: 480px) {
    .site-branding .custom-logo {
        height: 44px;
        max-width: 120px;
    }

    .site-branding a {
        display: flex;
        align-items: center;
        max-width: 120px;
        overflow: hidden;
    }

    .header-main {
        padding: 0 2%;
        height: 60px;
        grid-template-columns: 44px 1fr 44px;
    }

    .header-right {
        gap: 0;
    }

    .hdr-icon-btn {
        width: 36px;
        height: 36px;
    }
}

/* Sağ alan */
.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
}

/* İkon butonları (Arama, Kalp, Sepet) */
.hdr-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--c-text-dark);
    transition: background 0.2s, color 0.2s;
    position: relative;
    text-decoration: none;
}

.hdr-icon-btn:hover {
    background: rgba(90, 25, 25, 0.06);
    color: var(--c-primary);
}

.mobile-menu-toggle {
    display: none;
}

/* Sepet adet rozeti */
.cart-count-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: var(--c-accent);
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    min-width: 16px;
    height: 16px;
    padding: 0 3px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    line-height: 1;
}

/* ── KATEGORİ MENÜ ŞERIDI ────────────────────────────────────────────────── */
.header-nav {
    border-top: 1px solid var(--c-border);
}

.main-navigation ul {
    list-style: none;
    margin: 0 auto;
    padding: 0 5%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    /* gap sıfır — padding ile aralık verdik */
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap;
}

.main-navigation ul::-webkit-scrollbar {
    display: none;
}

.main-navigation li {
    flex-shrink: 0;
}

/* Her kategori linki */
.main-navigation a {
    display: block;
    padding: 0.85rem 1.4rem;
    /* Yatay padding ile doğal aralık */
    font-size: 0.78rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.8px;
    color: var(--c-text-light);
    white-space: nowrap;
    position: relative;
    transition: color 0.2s;
}

.main-navigation a:hover {
    color: var(--c-primary);
}

/* Alt çizgi hover efekti */
.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 8px;
    left: 1.4rem;
    right: 1.4rem;
    height: 2px;
    background: var(--c-primary);
    transform: scaleX(0);
    transition: transform 0.25s ease;
}

.main-navigation a:hover::after {
    transform: scaleX(1);
}

/* Aktif (current) item */
.main-navigation .current-menu-item>a,
.main-navigation .current-menu-ancestor>a {
    color: var(--c-primary);
    font-weight: 600;
}

.main-navigation .current-menu-item>a::after {
    transform: scaleX(1);
    background: var(--c-accent);
}






/* 3. HERO SLIDER
   ===================================================================== */
/* ══════════════════════════════════════════════════════════
   HERO SLIDER — Full Bleed Kampanya Görseli
   ══════════════════════════════════════════════════════════ */
.hero-slider {
    position: relative;
    width: 100%;
    height: clamp(400px, 58vh, 640px);
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.9s ease;
    pointer-events: none;
}

.slide--active {
    opacity: 1;
    pointer-events: auto;
}

/* Tam ekran arka plan görseli */
.slide__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.slide__fullbg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
    display: block;
}

/* Gradient overlay — okunabilirlik için sol taraf karartılır */
.slide__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        100deg,
        rgba(15, 8, 5, 0.72) 0%,
        rgba(15, 8, 5, 0.45) 50%,
        rgba(15, 8, 5, 0.08) 100%
    );
}

/* Renk fallback'te de okunabilirlik */
.slide__bg ~ .slide__overlay {
    background: linear-gradient(
        100deg,
        rgba(0,0,0,0.35) 0%,
        rgba(0,0,0,0.1) 100%
    );
}

/* İçerik: tek kolon, solda */
.slide__content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    height: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 6%;
}

.slide__text {
    color: #fff;
    max-width: 560px;
}

.slide__tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 1.25rem;
    padding: .3rem .9rem;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    background: rgba(255,255,255,.08);
}

.slide__title {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 4.5vw, 4.2rem);
    font-weight: 400;
    line-height: 1.05;
    margin: 0 0 1.25rem;
    color: #fff;
    letter-spacing: -0.5px;
}

.slide__title em {
    font-style: italic;
    color: var(--c-accent);
}

.slide__desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    max-width: 420px;
    margin-bottom: 2rem;
}

.slide__btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .85rem 2rem;
    background: #fff;
    color: var(--c-primary) !important;
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
    text-decoration: none;
    transition: background .25s, color .25s, transform .2s;
}

.slide__btn:hover {
    background: var(--c-accent);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Ok butonları — hero'dan kaldırıldı */
.slider-arrow {
    display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.25s;
    backdrop-filter: blur(6px);
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.28);
}

.slider-arrow--prev { left: 1.5rem; }
.slider-arrow--next { right: 1.5rem; }

/* Nokta indikatörleri */
.slider-dots {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.dot--active {
    background: #fff;
    width: 28px;
    border-radius: 4px;
}

/* 4. ÖZELLİKLER ŞERİDİ
   ===================================================================== */
.features-strip {
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
}

.features-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1.2rem 0;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--c-text-dark);
    letter-spacing: 0.3px;
}

.feature-item svg {
    color: var(--c-accent);
    flex-shrink: 0;
}

/* 5. ANASAYFA ÜRÜNLER
   ===================================================================== */
.home-products {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 5% 6rem;
}

/* Öne Çıkan & İndirimli — her ikisinde de sabit 4 kolon */
.home-products .woocommerce ul.products,
.home-sale .woocommerce ul.products {
    grid-template-columns: repeat(4, 1fr) !important;
}

/* ── İNDİRİMLİ ÜRÜNLER BÖLÜMÜ ─────────────────────────────────────── */
.home-sale {
    background: linear-gradient(160deg, #fdf6ee 0%, #f9efe2 100%);
    border-top: 1px solid rgba(90,25,25,.08);
    border-bottom: 1px solid rgba(90,25,25,.08);
    padding: 5rem 0 6rem;
}

.home-sale__inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

.home-sale__title-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.home-sale__badge {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, var(--c-primary) 0%, #a83232 100%);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(90,25,25,.25);
}

/* ── SALE CAROUSEL ──────────────────────────────────────────────── */
.sale-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.sale-carousel__viewport {
    overflow: hidden;
    width: 100%;
    /* Kartların üst/alt gölgesinin kesilmemesi için */
    padding: 0.5rem 0 1.5rem;
    margin: -0.5rem 0 -1.5rem;
}

/* Pist: flex satırı, transition ile kayar.
   WooCommerce ul.products'ın grid'ini ezip flex yapıyoruz */
.sale-carousel__track {
    display: flex !important;
    grid-template-columns: unset !important;
    flex-wrap: nowrap !important;
    gap: 1.5rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    transition: transform .45s cubic-bezier(.16, 1, .3, 1);
    will-change: transform;
}

/* Her kart: masaüstünde 4'te 1 genişlik */
.sale-carousel__track.products li.product {
    flex: 0 0 calc(25% - 1.125rem) !important;
    width: calc(25% - 1.125rem) !important;
    min-width: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* Ok butonları */
.sale-carousel__btn {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid rgba(90,25,25,.18);
    background: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--c-primary);
    box-shadow: 0 2px 8px rgba(90,25,25,.08);
    transition: background .2s, border-color .2s, color .2s, box-shadow .2s;
}

.sale-carousel__btn:hover:not(:disabled) {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: #fff;
    box-shadow: 0 4px 18px rgba(90,25,25,.22);
}

.sale-carousel__btn:disabled {
    opacity: .3;
    cursor: not-allowed;
    box-shadow: none;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--c-primary);
    font-weight: 400;
    margin: 0;
}

.section-link {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--c-accent);
}

.section-link:hover {
    color: var(--c-primary);
}

/* ══ KATEGORİLER GRID ══════════════════════════════════════════════════ */
.home-categories {
    background: var(--c-bg);
    padding: 6rem 5% 3rem;
    border-top: 1px solid var(--c-border);
}

.home-categories .section-header {
    max-width: 1400px;
    margin: 0 auto 3rem;
}

/* ══ KATEGORİLER GRİD — Explicit Yerleşim ══
   3 sütun × 3 satır, sabit yükseklikler:
   ┌─────────────────┬──────────┐
   │  Ahşap Puzzle   │  Mobilya │  row 1 (220px)
   │  (2 sütun ×     ├──────────┤
   │   2 satır)      │Oyuncaklar│  row 2 (220px)
   ├────────┬────────┤ (2 satır)│
   │Ev Deko.│Anne/Çoc│          │  row 3 (220px)
   └────────┴────────┴──────────┘
*/
.categories-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, 220px);
    gap: 1.25rem;
}

.cat-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #e8e0d4;
    cursor: pointer;
    display: block;
    text-decoration: none;
    /* aspect-ratio kaldırıldı — satır yükseklikleri grid'i yönetiyor */
}

/* 1. Ahşap Puzzle — Sol büyük blok (2 sütun × 2 satır) */
.cat-card:nth-child(1) {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

/* 2. Doğal Ahşap Mobilya — Sağ üst (küçük) */
.cat-card:nth-child(2) {
    grid-column: 3;
    grid-row: 1;
}

/* 3. Ev Dekorasyon — Sol alt */
.cat-card:nth-child(3) {
    grid-column: 1;
    grid-row: 3;
}

/* 4. Anne & Çocuk — Orta alt */
.cat-card:nth-child(4) {
    grid-column: 2;
    grid-row: 3;
}

/* 5. Ahşap Oyuncaklar — Sağ uzun kart (Mobilya'nın hemen altından başlar) */
.cat-card:nth-child(5) {
    grid-column: 3;
    grid-row: 2 / 4;
    /* satır 2'den başla, satır 4'e kadar uzan */
}


.cat-card__bg {
    position: absolute;
    inset: 0;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.cat-card:hover .cat-card__bg {
    transform: scale(1.06);
}

.cat-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(20, 10, 5, 0.72) 100%);
    transition: opacity 0.3s;
}

.cat-card:hover .cat-card__overlay {
    opacity: 0.9;
}

.cat-card__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1.75rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.cat-card__name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: #fff;
    font-weight: 400;
    line-height: 1.1;
}

.cat-card:nth-child(1) .cat-card__name {
    font-size: 1.8rem;
}

.cat-card__count {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.3rem;
}

.cat-card__arrow {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background 0.25s, border-color 0.25s;
    flex-shrink: 0;
}

.cat-card:hover .cat-card__arrow {
    background: var(--c-accent);
    border-color: var(--c-accent);
}

/* ══ MARKA HİKAYESİ ════════════════════════════════════════════════════ */
.home-story {
    background: var(--c-bg);
    padding: 3rem 5% 6rem;
}

.story-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 320px;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    background: #faf6f0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
}

.story-image {
    position: relative;
    overflow: hidden;
    min-height: 280px;
}

/* İki görselli otomatik geçiş */
@keyframes story-fade-in {
    0%, 45%  { opacity: 1; }
    55%, 95% { opacity: 0; }
    100%     { opacity: 1; }
}

.story-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.story-img--1 {
    animation: story-fade-in 9s ease-in-out infinite;
}

.story-img--2 {
    animation: story-fade-in 9s ease-in-out infinite 4.5s;
}

.story-image:hover .story-img {
    transform: scale(1.04);
}

.story-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 280px;
    background: linear-gradient(145deg, #C58B54, #8B5E3C 50%, #5A1919);
    display: flex;
    align-items: center;
    justify-content: center;
}

.story-image-placeholder span {
    font-family: var(--font-heading);
    font-size: 6rem;
    color: rgba(255, 255, 255, 0.1);
    letter-spacing: -4px;
}

.story-content {
    padding: 2.5rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1rem;
}

.story-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-accent);
}

.story-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.8rem);
    color: var(--c-primary);
    font-weight: 400;
    line-height: 1.1;
    margin: 0;
}

.story-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--c-text-light);
    max-width: 480px;
}

.story-stats {
    display: flex;
    gap: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--c-border);
}

.stat-item strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--c-primary);
    font-weight: 400;
    line-height: 1;
}

.stat-item span {
    font-size: 0.78rem;
    color: var(--c-text-light);
    letter-spacing: 0.5px;
}

.story-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--c-primary);
    border-bottom: 1.5px solid var(--c-primary);
    padding-bottom: 3px;
    transition: color 0.2s, border-color 0.2s;
    align-self: flex-start;
}

.story-btn:hover {
    color: var(--c-accent);
    border-color: var(--c-accent);
}

/* ══ MÜŞTERİ YORUMLARI ═════════════════════════════════════════════════ */
.home-testimonials {
    padding: 7rem 5%;
    background: var(--c-surface);
}

.home-testimonials .inner-wrap {
    max-width: 1400px;
    margin: 0 auto;
}

.home-testimonials .section-header {
    justify-content: center;
    text-align: center;
    margin-bottom: 4rem;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 6px;
    padding: 2rem 2.25rem;
    border: 1px solid var(--c-border);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: box-shadow 0.3s, transform 0.3s;
}

.testimonial-card:hover {
    box-shadow: 0 12px 40px rgba(90, 25, 25, 0.08);
    transform: translateY(-4px);
}

.testimonial-stars {
    color: var(--c-accent);
    font-size: 1rem;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--c-text-light);
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--c-border);
}

.testimonial-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--c-accent), var(--c-primary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--c-text-dark);
    line-height: 1.2;
}

.testimonial-location {
    font-size: 0.75rem;
    color: var(--c-text-light);
}

/* ══ NEWSLETTER ════════════════════════════════════════════════════════ */
.home-newsletter {
    background: var(--c-primary);
    padding: 7rem 5%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.home-newsletter::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -10%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.025);
    pointer-events: none;
}

.home-newsletter::after {
    content: '';
    position: absolute;
    bottom: -40%;
    right: -5%;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    pointer-events: none;
}

.newsletter-inner {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.newsletter-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--c-accent);
    margin-bottom: 1rem;
    display: block;
}

.newsletter-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    color: #fff;
    font-weight: 400;
    margin: 0 0 0.75rem;
    line-height: 1.1;
}

.newsletter-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.newsletter-form {
    display: flex;
    max-width: 440px;
    margin: 0 auto;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}

.newsletter-input {
    flex: 1;
    padding: 1rem 1.25rem;
    border: none;
    outline: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--c-text-dark);
    background: #fff;
}

.newsletter-input::placeholder {
    color: #a0998f;
}

.newsletter-btn {
    padding: 1rem 1.5rem;
    background: var(--c-accent);
    color: #fff;
    border: none;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}

.newsletter-btn:hover {
    opacity: 0.88;
}

.newsletter-note {
    margin-top: 1rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.35);
}

/* 6. PREMIUM PAGE LAYOUTS
   ===================================================================== */
.site-main {
    min-height: 50vh;
    padding-bottom: var(--space-section);
}

.front-page-main {
    padding-bottom: 0;
}


/* ── GELİŞMİŞ FOOTER ──────────────────────────────────────────────────── */
.site-footer {
    background-color: #100c0a;
    color: #c8c0b8;
    padding: 0;
}

.footer-top {
    padding: 5.5rem 5% 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.4fr;
    gap: 3.5rem;
}

/* Marka kolonu */
.footer-logo {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #FAF6F0;
    text-decoration: none;
    margin-bottom: 1.25rem;
    letter-spacing: -1px;
}

.footer-logo img {
    height: 55px;
    /* Ortalama uygun boy */
    width: auto;
    object-fit: contain;
}

.footer-brand p {
    color: #8a8078;
    font-size: 0.92rem;
    line-height: 1.8;
    max-width: 280px;
    margin-bottom: 1.5rem;
}

/* Sosyal medya */
.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a09890;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-link:hover {
    background: var(--c-accent);
    color: #fff;
    border-color: var(--c-accent);
}

/* Widget kolonlar */
.footer-widget h4 {
    color: #FAF6F0;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    margin-bottom: 1.75rem;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-widget li {
    margin-bottom: 0.85rem;
}

.footer-widget a {
    color: #8a8078;
    font-size: 0.9rem;
    font-weight: 300;
    transition: color 0.2s, padding-left 0.2s;
}

.footer-widget a:hover {
    color: #FAF6F0;
    padding-left: 4px;
}

/* İletişim kolonu */
.contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: #8a8078;
    font-size: 0.88rem;
    margin-bottom: 1rem !important;
}

.contact-list svg {
    flex-shrink: 0;
    margin-top: 2px;
    color: var(--c-accent);
}

.contact-list a,
.contact-list span {
    color: #8a8078;
    transition: color 0.2s;
}

.contact-list a:hover {
    color: #FAF6F0;
}

/* Footer alt çubuk */
.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.75rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: #5a5450;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-payment {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.payment-label {
    font-size: 0.75rem;
    color: #5a5450;
    white-space: nowrap;
}

.payment-icons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pay-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    border-radius: 4px;
    opacity: 0.9;
    transition: opacity 0.2s, transform 0.2s;
    user-select: none;
}

.pay-icon:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.pay-icon svg {
    display: block;
}

/* 3D Secure & SSL özel boyutlandırma (çünkü text ile birlikte) */
.pay-icon--3d,
.pay-icon--ssl {
    opacity: 0.85;
}



/* 6. RESPONSIVE PERFECTION
   ===================================================================== */
@media (max-width: 992px) {
    .header-main {
        padding: 0 3%;
        height: 64px;
    }

    .hero-editorial {
        grid-template-columns: 1fr;
        padding-top: 3rem;
        gap: 3rem;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

    .hero-desc {
        margin: 0 auto 3rem auto;
    }

    .hero-image-wrapper {
        height: 500px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-social {
        justify-content: center;
    }

    .contact-list li {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

@media (max-width: 768px) {
    :root {
        --space-section: 4rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .main-navigation ul {
        justify-content: flex-start;
        padding: 0 1.5rem;
    }

    /* Ürün bölümleri mobil: 2 kolon */
    .home-products .woocommerce ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
    }

    .home-products {
        padding: 3rem 4% 4rem;
    }

    .home-sale {
        padding: 3rem 0 4rem;
    }

    .home-sale__title-wrap {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    /* Carousel mobil: okları gizle, swipe ile geçiş yeterli */
    .sale-carousel__btn {
        display: none !important;
    }

    /* Kartlar tam genişliği kullansın */
    .sale-carousel__track.products li.product {
        flex: 0 0 calc(50% - 0.5rem) !important;
        width: calc(50% - 0.5rem) !important;
    }

    .sale-carousel__track {
        gap: 1rem !important;
    }
}

/* ── HERO SLIDER RESPONSIVE ────────────────────────────────────────── */

.mobile-menu-close,
.mobile-nav-header,
.mobile-nav-footer {
    display: none;
}

/* Tablet: 900px altı */
@media (max-width: 900px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .menu-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        backdrop-filter: blur(4px);
    }

    body.menu-open .menu-overlay {
        opacity: 1;
        visibility: visible;
    }

    body.menu-open {
        overflow: hidden;
    }

    .header-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        background: #FAF6F0;
        z-index: 1000;
        box-shadow: 2px 0 24px rgba(0, 0, 0, 0.15);
        padding-top: 0;
        transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: none;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
    }

    .mobile-nav-header,
    .mobile-nav-footer {
        display: flex;
    }

    /* ── Mobil panel üst alan: Logo + X butonu ── */
    .mobile-nav-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1.2rem 1.5rem;
        border-bottom: 1px solid rgba(90, 25, 25, 0.1);
        flex-shrink: 0;
    }

    .mobile-nav-logo {
        display: flex;
        align-items: center;
    }

    .mobile-nav-logo img {
        max-height: 52px;
        width: auto;
    }

    .mobile-nav-logo .site-title-link {
        font-family: var(--font-heading, serif);
        font-size: 1.2rem;
        color: var(--c-primary, #5A1919);
        text-decoration: none;
        font-weight: 700;
    }

    .mobile-menu-close {
        position: static;
        width: 44px;
        height: 44px;
        background: transparent;
        border: none;
        color: var(--c-text-dark);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: color 0.2s;
        flex-shrink: 0;
    }

    .mobile-menu-close:hover {
        color: var(--c-primary);
    }

    .mobile-menu-close {
        display: flex;
        /* Mobile display */
    }

    body.menu-open .header-nav {
        left: 0;
    }

    #site-navigation {
        flex: 1;
        overflow-y: auto;
    }

    .main-navigation ul {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 2rem;
        gap: 0;
    }

    .main-navigation a {
        padding: 1.25rem 0;
        font-size: 1.1rem;
        width: 100%;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06);
        color: var(--c-text-dark);
        opacity: 0;
        transform: translateX(-20px);
        transition: color 0.2s, opacity 0.4s ease, transform 0.4s ease;
    }

    body.menu-open .main-navigation a {
        opacity: 1;
        transform: translateX(0);
    }

    /* Stagger li animations simply using pure css n-th child just 6 items mostly */
    body.menu-open .main-navigation li:nth-child(1) a {
        transition-delay: 0.1s;
    }

    body.menu-open .main-navigation li:nth-child(2) a {
        transition-delay: 0.15s;
    }

    body.menu-open .main-navigation li:nth-child(3) a {
        transition-delay: 0.2s;
    }

    body.menu-open .main-navigation li:nth-child(4) a {
        transition-delay: 0.25s;
    }

    body.menu-open .main-navigation li:nth-child(5) a {
        transition-delay: 0.3s;
    }

    body.menu-open .main-navigation li:nth-child(6) a {
        transition-delay: 0.35s;
    }

    .main-navigation a::after {
        display: none;
    }

    /* ── Mobil panel alt alan: Telefon ── */
    .mobile-nav-footer {
        margin-top: auto;
        padding: 1.4rem 1.5rem;
        border-top: 1px solid rgba(90, 25, 25, 0.1);
        flex-shrink: 0;
    }

    .mobile-nav-phone {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.95rem;
        font-weight: 600;
        color: var(--c-primary, #5A1919);
        text-decoration: none;
        letter-spacing: 0.3px;
    }

    .mobile-nav-phone:hover {
        opacity: 0.8;
    }

    .hero-slider { height: clamp(380px, 55vw, 560px); }
    .slide__title { font-size: clamp(2rem, 5vw, 3.2rem); }
    .slide__desc { font-size: .9rem; }

    /* Mobilde grid sıfırla — tekil sütun, doğal akış */
    .categories-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .story-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .story-content {
        padding: 4rem 6%;
    }

    .story-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cat-card:nth-child(1),
    .cat-card:nth-child(2),
    .cat-card:nth-child(3),
    .cat-card:nth-child(4),
    .cat-card:nth-child(5) {
        grid-column: auto;
        grid-row: auto;
        aspect-ratio: 4 / 3;
        height: auto;
    }

}

/* Mobil: 600px altı */
@media (max-width: 600px) {
    .hero-slider { height: clamp(320px, 65vw, 480px); }
    .slide__content { padding: 0 5%; }
    .slide__title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
    .slide__tag { font-size: .62rem; letter-spacing: 2.5px; }
    .slide__desc { display: none; }
    .slider-arrow { width: 38px; height: 38px; }
    .slider-arrow--prev { left: .75rem; }
    .slider-arrow--next { right: .75rem; }
    .slider-dots { left: 50%; transform: translateX(-50%); bottom: 1rem; }
}

/* ── ARAMA MODAL (FULLSCREEN SEARCH) ────────────────────────────────────────── */
.koza-search-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.4s, opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.koza-search-modal.is-open {
    visibility: visible;
    opacity: 1;
}

.koza-search-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(26, 18, 16, 0.95);
    backdrop-filter: blur(8px);
}

.koza-search-modal-content {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin-top: 15vh;
    padding: 0 5%;
    z-index: 2;
    transform: translateY(-20px);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.koza-search-modal.is-open .koza-search-modal-content {
    transform: translateY(0);
}

.koza-search-modal-close {
    position: absolute;
    top: -60px;
    right: 5%;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s, transform 0.3s;
    padding: 10px;
}

.koza-search-modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

.koza-search-form {
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    padding-bottom: 10px;
    transition: border-color 0.3s;
}

.koza-search-form:focus-within {
    border-bottom-color: var(--c-accent);
}

.koza-search-form .search-field {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    outline: none;
    padding: 0;
    line-height: 1.2;
}

.koza-search-form .search-field::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.koza-search-form .search-submit {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: color 0.3s;
    padding: 0 0 0 20px;
}

.koza-search-form .search-submit:hover {
    color: var(--c-accent);
}

.koza-search-suggestions {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

.koza-search-suggestions span {
    font-family: var(--font-body);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.75rem;
}

.koza-search-suggestions a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.koza-search-suggestions a:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}
/* ══ WHATSAPP SABİT BUTONU ══════════════════════════════════════════════════ */
.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 24px;
    z-index: 9999;
    width: 54px;
    height: 54px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

@media (max-width: 600px) {
    .whatsapp-float {
        bottom: 18px;
        right: 16px;
        width: 48px;
        height: 48px;
    }
}
