/* ══════════════════════════════════════════════════════════
   Magnet Baskı – Ana Stil Dosyası
   ══════════════════════════════════════════════════════════ */

/* ── Değişkenler ─────────────────────────────────────────── */
:root {
    --pink:        #FF6B8A;
    --pink-light:  #FFE8ED;
    --pink-dark:   #E8435E;
    --coral:       #FF8E6E;
    --purple:      #9B59B6;
    --teal:        #1ABC9C;
    --gold:        #F39C12;
    --text:        #2D2D2D;
    --text-soft:   #6B7280;
    --text-light:  #9CA3AF;
    --bg:          #FFFAF8;
    --bg-card:     #FFFFFF;
    --border:      #F3E4E8;
    --shadow-sm:   0 2px 8px rgba(255,107,138,.10);
    --shadow-md:   0 4px 20px rgba(255,107,138,.15);
    --shadow-lg:   0 8px 40px rgba(255,107,138,.20);
    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-full: 9999px;
    --font:        'Nunito', system-ui, sans-serif;
    --nav-h:       72px;
    --bottom-nav-h:72px;
    --transition:  .2s cubic-bezier(.4,0,.2,1);
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    padding-top: var(--nav-h);
    padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
    min-height: 100vh;
}
img { max-width: 100%; height: auto; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Container ───────────────────────────────────────────── */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ── Header ──────────────────────────────────────────────── */
.site-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 900;
    box-shadow: var(--shadow-sm);
}
.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}
.header__logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--pink-dark);
}
.logo__icon { font-size: 1.5rem; }
.logo__text strong { color: var(--pink); }
/* Desktop arama kutusu */
.header__search-form {
    display: none; /* mobilde gizli */
    position: relative;
    flex: 1;
    max-width: 420px;
    margin: 0 24px;
}
.header__search-icon {
    position: absolute;
    left: 14px; top: 50%; transform: translateY(-50%);
    color: var(--text-light);
    pointer-events: none;
}
.header__search-input {
    width: 100%;
    padding: 9px 16px 9px 38px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    font-family: var(--font);
    font-size: .85rem;
    background: var(--bg);
    color: var(--text);
    transition: border-color .15s, box-shadow .15s;
    outline: none;
}
.header__search-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255,107,138,.12);
    background: #fff;
}
.header__search-input::placeholder { color: var(--text-light); }

@media (min-width: 768px) {
    .header__search-form { display: flex; }
}

.header__actions { display: flex; align-items: center; gap: 4px; }
.header__action {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    border-radius: var(--radius-full);
    color: var(--text);
    transition: background var(--transition), color var(--transition);
    position: relative;
}
.header__action:hover { background: var(--pink-light); color: var(--pink-dark); }
.header__whatsapp { color: #25D366; }
.header__whatsapp:hover { background: #E8F9EE; color: #1DA851; }

/* Mobil/desktop seçici ikonlar */
.header__action--desktop-only { display: none; }
.header__action--mobile-only  { display: flex; }
@media (min-width: 768px) {
    .header__action--desktop-only { display: flex; }
    .header__action--mobile-only  { display: none; }
}
.cart-badge {
    position: absolute;
    top: 2px; right: 2px;
    background: var(--pink);
    color: #fff;
    font-size: .6rem;
    font-weight: 800;
    min-width: 16px; height: 16px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
    border: 2px solid #fff;
    line-height: 1;
}

/* ── Arama Overlay ──────────────────────────────────────── */
.search-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.search-overlay[hidden] { display: none; }
.search-overlay__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    animation: fadeIn .18s ease;
}
@keyframes fadeIn { from { opacity:0 } to { opacity:1 } }

.search-overlay__panel {
    position: relative;
    background: var(--bg-card);
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: var(--shadow-md);
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: slideDown .2s ease;
    margin-top: 56px; /* header yüksekliği */
}
@keyframes slideDown { from { transform:translateY(-12px); opacity:0 } to { transform:translateY(0); opacity:1 } }

.search-overlay__bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1.5px solid var(--border);
}
.search-overlay__icon { color: var(--text-soft); flex-shrink: 0; }
.search-overlay__input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    background: transparent;
    min-width: 0;
}
.search-overlay__input::placeholder { color: var(--text-light); font-weight: 400; }
.search-overlay__input::-webkit-search-cancel-button { display: none; }
.search-overlay__clear {
    background: var(--bg);
    border: none;
    border-radius: 50%;
    width: 26px; height: 26px;
    font-size: .75rem;
    color: var(--text-soft);
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.search-overlay__clear[hidden] { display: none; }

.search-overlay__results {
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: calc(85vh - 60px);
}

/* Durum mesajları */
.search-status {
    padding: 20px 16px;
    text-align: center;
    color: var(--text-soft);
    font-size: .87rem;
}
.search-status__spinner {
    display: inline-block;
    width: 20px; height: 20px;
    border: 2.5px solid var(--border);
    border-top-color: var(--pink);
    border-radius: 50%;
    animation: spin .6s linear infinite;
    margin-bottom: 8px;
}
@keyframes spin { to { transform: rotate(360deg) } }

/* Sonuç kartları */
.search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    transition: background .1s;
}
.search-result:last-of-type { border-bottom: none; }
.search-result:hover, .search-result:focus { background: var(--pink-light); outline: none; }
.search-result__img {
    width: 52px; height: 52px;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #FFE8ED, #F0E6FF);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
}
.search-result__img img {
    width: 100%; height: 100%; object-fit: cover;
}
.search-result__info { flex: 1; min-width: 0; }
.search-result__name {
    font-size: .88rem; font-weight: 700;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    margin-bottom: 2px;
}
.search-result__name mark {
    background: none;
    color: var(--pink-dark);
    font-weight: 800;
}
.search-result__cat  { font-size: .72rem; color: var(--text-soft); }
.search-result__price {
    font-size: .9rem; font-weight: 800;
    color: var(--pink-dark);
    white-space: nowrap;
    flex-shrink: 0;
}
.search-result__price-old {
    display: block;
    font-size: .72rem; font-weight: 400;
    color: var(--text-light);
    text-decoration: line-through;
    text-align: right;
}

/* "Tümünü Gör" butonu */
.search-show-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 14px 16px;
    background: linear-gradient(135deg, var(--pink-light), #F0E6FF);
    color: var(--pink-dark);
    font-size: .88rem;
    font-weight: 800;
    text-decoration: none;
    border-top: 1.5px solid var(--border);
    transition: background .15s;
}
.search-show-all:hover { background: var(--pink-light); }

/* ── Flash ───────────────────────────────────────────────── */
.flash {
    position: fixed; top: calc(var(--nav-h) + 8px); left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    display: flex; align-items: center; gap: 12px;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    font-weight: 600; font-size: .9rem;
    max-width: calc(100vw - 32px);
    animation: slideDown .3s ease;
}
.flash--success { background: #D1FAE5; color: #065F46; }
.flash--error   { background: #FEE2E2; color: #991B1B; }
.flash--info    { background: #DBEAFE; color: #1E40AF; }
.flash--warning { background: #FEF3C7; color: #92400E; }
.flash__close   { margin-left: auto; opacity: .6; font-size: 1rem; }
.flash__close:hover { opacity: 1; }
@keyframes slideDown { from { opacity:0; transform:translateX(-50%) translateY(-10px); } }

/* ── Alt Navigasyon Barı ─────────────────────────────────── */
.bottom-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    height: var(--bottom-nav-h);
    background: rgba(255,255,255,.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(255,107,138,.12);
    display: flex;
    align-items: stretch;
    z-index: 800;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}
.bottom-nav__item {
    flex: 1;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 4px;
    color: var(--text-light);
    transition: color var(--transition);
    position: relative;
    padding: 8px 4px;
    -webkit-tap-highlight-color: transparent;
}
.bottom-nav__item:hover { color: var(--pink); }
.bottom-nav__item--active { color: var(--pink-dark); }
.bottom-nav__item--active::before {
    content: '';
    position: absolute;
    top: 0; left: 20%; right: 20%;
    height: 3px;
    background: var(--pink);
    border-radius: 0 0 4px 4px;
}
/* WhatsApp butonu — yeşil tema */
.bottom-nav__item--whatsapp { color: #25D366; }
.bottom-nav__item--whatsapp:hover { color: #1DA851; }
.bottom-nav__item--whatsapp .bottom-nav__icon svg { width: 24px; height: 24px; }
.bottom-nav__item--whatsapp .bottom-nav__label { color: #25D366; }
.bottom-nav__icon {
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    position: relative;
}
.bottom-nav__icon svg { width: 26px; height: 26px; transition: transform var(--transition); }
.bottom-nav__item--active .bottom-nav__icon svg {
    transform: scale(1.15);
    filter: drop-shadow(0 2px 4px rgba(255,107,138,.4));
}
.bottom-nav__item:active .bottom-nav__icon svg { transform: scale(.9); }
.bottom-nav__label { font-size: .65rem; font-weight: 700; letter-spacing: .01em; white-space: nowrap; }
.bottom-nav__badge {
    position: absolute;
    top: -4px; right: -4px;
    background: var(--pink);
    color: #fff; font-size: .55rem; font-weight: 800;
    min-width: 15px; height: 15px;
    border-radius: var(--radius-full);
    display: flex; align-items: center; justify-content: center;
    padding: 0 3px;
    border: 1.5px solid #fff;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.1); }
}

/* ── Butonlar ────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font); font-weight: 700; font-size: .95rem;
    transition: all var(--transition);
    cursor: pointer; border: none;
    white-space: nowrap;
}
.btn--primary {
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: #fff;
    box-shadow: 0 4px 15px rgba(255,107,138,.4);
}
.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,138,.5);
}
.btn--outline {
    background: transparent;
    color: var(--pink);
    border: 2px solid var(--pink);
}
.btn--outline:hover { background: var(--pink-light); }
.btn--ghost { color: var(--text-soft); }
.btn--ghost:hover { color: var(--pink); background: var(--pink-light); }
.btn--sm { padding: 8px 16px; font-size: .82rem; }
.btn--lg { padding: 16px 36px; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ── Kart ────────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
    border: 1px solid var(--border);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* ── Hero Slider ─────────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    margin: 16px auto 0;
    max-width: 1000px;
    padding: 0 16px;
}
.hero__slide {
    min-height: 240px;
    background: linear-gradient(135deg, #FFE8ED 0%, #FFF0E6 50%, #F0E6FF 100%);
    display: flex; align-items: center; justify-content: space-between;
    padding: 32px 28px;
    gap: 20px;
}
.hero__content { flex: 1; }
.hero__tag {
    display: inline-block;
    background: var(--pink);
    color: #fff;
    font-size: .72rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    margin-bottom: 10px;
    letter-spacing: .05em;
    text-transform: uppercase;
}
.hero__title {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 8px;
}
.hero__title strong { color: var(--pink-dark); }
.hero__desc { color: var(--text-soft); font-size: .87rem; margin-bottom: 16px; }
.hero__img {
    flex-shrink: 0;
    width: 130px; height: 130px;
    border-radius: var(--radius-md);
    object-fit: cover;
    box-shadow: var(--shadow-md);
}
.hero__dots {
    position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 6px;
}
.hero__dot {
    width: 6px; height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255,107,138,.3);
    transition: all var(--transition);
}
.hero__dot--active { width: 20px; background: var(--pink); }

/* ── Bölüm başlıkları ────────────────────────────────────── */
.section { margin: 28px auto; max-width: 1000px; }
.section__head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 16px; margin-bottom: 14px;
}
.section__title { font-size: 1.15rem; font-weight: 800; color: var(--text); }
.section__title span { color: var(--pink); }
.section__more { font-size: .82rem; color: var(--pink); font-weight: 700; }
.section__more:hover { text-decoration: underline; }

/* ── Kategori kartları ───────────────────────────────────── */
.cat-scroll {
    display: flex;
    gap: 12px;
    padding: 4px 16px 8px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.cat-scroll::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
    .cat-scroll {
        justify-content: center;
        flex-wrap: wrap;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 20px;
        padding: 8px 16px 12px;
    }
}
.cat-card {
    flex-shrink: 0;
    width: 90px;
    display: flex; flex-direction: column;
    align-items: center; gap: 8px;
    scroll-snap-align: start;
    -webkit-tap-highlight-color: transparent;
}
@media (min-width: 768px) {
    .cat-card { width: 100px; }
}
.cat-card__icon {
    width: 72px; height: 72px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: linear-gradient(135deg, var(--pink-light), #F0E6FF);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
@media (min-width: 768px) {
    .cat-card__icon { width: 80px; height: 80px; font-size: 2.2rem; }
}
.cat-card:hover .cat-card__icon { transform: scale(1.08); box-shadow: var(--shadow-md); }
.cat-card__name { font-size: .72rem; font-weight: 700; text-align: center; color: var(--text); line-height: 1.3; }
@media (min-width: 768px) { .cat-card__name { font-size: .8rem; } }

/* ── Ürün kartları — grid (listeleme sayfaları) ──────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0 16px;
    align-items: stretch;
}
@media (min-width: 768px)  { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(4, 1fr); gap: 20px; } }

/* ── Ürün scroll — yatay kaydırma (ana sayfa bölümleri) ─── */
.products-scroll {
    display: flex;
    gap: 14px;
    padding: 4px 0 12px;
    margin: 0 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.products-scroll::-webkit-scrollbar { display: none; }
.products-scroll .product-card {
    flex-shrink: 0;
    width: clamp(140px, 40vw, 200px);
    scroll-snap-align: start;
}
@media (min-width: 768px) {
    .products-scroll .product-card {
        width: 220px;
    }
}
@media (min-width: 1024px) {
    .products-scroll {
        gap: 16px;
    }
    .products-scroll .product-card {
        width: 220px;
    }
}

.product-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* Görsel alanı */
.product-card__img {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--pink-light);
    position: relative;
    flex-shrink: 0;
}
.product-card__img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .4s ease;
}
.product-card:hover .product-card__img img { transform: scale(1.05); }

/* Badge kapsayıcı — sol üst köşe, dikey yığılır */
.product-card__badges {
    position: absolute; top: 8px; left: 8px;
    display: flex; flex-direction: column; gap: 4px;
    z-index: 1;
}
.product-card__badge {
    background: var(--pink); color: #fff;
    font-size: .6rem; font-weight: 800;
    padding: 3px 8px; border-radius: var(--radius-full);
    text-transform: uppercase; letter-spacing: .04em;
    white-space: nowrap;
}
.product-card__badge--free-ship { background: #10B981; }
.product-card__badge--new       { background: #3B82F6; }
.product-card__badge--discount  { background: #10B981; color: #fff; font-size: .65rem; }

/* Etiket pill — admin ürün düzenleme ekranı */
.label-pill {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 4px 10px; border-radius: var(--radius-full);
    font-size: .72rem; font-weight: 800;
    white-space: nowrap; cursor: pointer;
    transition: box-shadow .15s, opacity .15s;
}

/* Favori butonu — kartın üzerine absolute */
.product-card__fav {
    position: absolute; top: 8px; right: 8px;
    width: 34px; height: 34px;
    background: rgba(255,255,255,.95);
    border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 3;
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    transition: all var(--transition);
    font-size: 1.1rem; line-height: 1;
    color: #CBD5E1;
}
.product-card__fav:hover { color: #EF4444; transform: scale(1.12); }
.product-card__fav--active { color: #EF4444; background: #FFF1F1; }

/* Gövde — flex grow ile eşit yükseklik */
.product-card__body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Yıldız + yorum */
.product-card__rating {
    display: flex; align-items: center; gap: 4px;
    margin-bottom: 5px;
}
.product-card__stars {
    color: #FBBF24;
    font-size: .75rem;
    letter-spacing: -.5px;
    line-height: 1;
}
.product-card__review-count {
    font-size: .7rem;
    color: var(--text-soft);
    font-weight: 600;
}

/* İsim — 2 satır sabit yükseklik, kartları hizalar */
.product-card__name {
    font-size: .85rem; font-weight: 700;
    color: var(--text); line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1.35em * 2);
    flex-shrink: 0;
}

/* Fiyat alanı — push-to-bottom */
.product-card__pricing {
    margin-top: auto;
}
/* İndirimli: sol badge + sağda üst/alt fiyat */
.product-card__price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-card__discount-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #DCFCE7;
    color: #15803D;
    font-size: .68rem; font-weight: 800;
    padding: 3px 7px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
    line-height: 1.3;
}
/* Üst/alt fiyat stacked */
.product-card__price-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.product-card__price-old {
    font-size: .72rem; font-weight: 600;
    color: var(--text-light); text-decoration: line-through;
    line-height: 1.3;
}
.product-card__price {
    font-size: .98rem; font-weight: 800;
    color: var(--pink-dark);
    line-height: 1.2;
}
/* İndirim yoksa sadece fiyat */
.product-card__price--solo {
    font-size: .98rem; font-weight: 800;
    color: var(--pink-dark);
    display: block;
    margin-top: 2px;
}

/* Sepete ekle butonu */
.product-card__btn {
    margin-top: 10px;
    width: 100%;
    padding: 9px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: #fff; font-size: .78rem; font-weight: 700;
    cursor: pointer; border: none;
    transition: all var(--transition);
    font-family: var(--font);
}
.product-card__btn:hover { transform: scale(1.02); box-shadow: 0 4px 12px rgba(255,107,138,.3); }
.product-card__btn--pers {
    display: block; text-align: center; text-decoration: none;
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    box-shadow: 0 4px 14px rgba(255,107,138,.25);
}
.product-card__btn--pers:hover { box-shadow: 0 4px 16px rgba(255,107,138,.4); }

/* ── Özellikler şeridi ───────────────────────────────────── */
.features-strip {
    display: flex; gap: 8px;
    padding: 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
}
.features-strip::-webkit-scrollbar { display: none; }
.feature-item {
    flex-shrink: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 10px 12px;
    display: flex; align-items: center; gap: 8px;
    min-width: 140px;
    box-shadow: var(--shadow-sm);
}
.feature-item__icon { font-size: 1.3rem; flex-shrink: 0; }
.feature-item__text strong { display: block; font-size: .75rem; font-weight: 800; color: var(--text); }
.feature-item__text span  { font-size: .68rem; color: var(--text-soft); }
@media (min-width: 768px) {
    .features-strip {
        overflow-x: visible;
        justify-content: center;
        gap: 10px;
    }
    .feature-item {
        flex: 1 1 0;
        min-width: 0;
        padding: 12px 14px;
    }
    .feature-item__icon { font-size: 1.4rem; }
    .feature-item__text strong { font-size: .78rem; }
    .feature-item__text span { font-size: .7rem; }
}

/* ── Testimonial ─────────────────────────────────────────── */
.reviews-scroll {
    display: flex; gap: 12px;
    padding: 4px 16px 8px;
    overflow-x: auto; scrollbar-width: none;
}
.reviews-scroll::-webkit-scrollbar { display: none; }
.review-card {
    flex-shrink: 0; width: 250px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}
.review-card__stars { color: var(--gold); font-size: .85rem; margin-bottom: 6px; }
.review-card__text  { font-size: .82rem; color: var(--text-soft); line-height: 1.5; margin-bottom: 10px; font-style: italic; }
.review-card__author { font-size: .78rem; font-weight: 700; color: var(--text); }
.review-card__product {
    display: block; font-size: .72rem; color: var(--pink); font-weight: 600;
    margin-top: 6px; text-decoration: none; white-space: nowrap;
    overflow: hidden; text-overflow: ellipsis;
}
.review-card__product:hover { text-decoration: underline; }

/* ── Footer ──────────────────────────────────────────────── */
.site-footer {
    background: #1A1A2E;
    color: #B0B8C8;
    padding: 40px 0 20px;
    margin-bottom: var(--bottom-nav-h);
}
.footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
}
@media (min-width: 600px)  { .footer__grid { grid-template-columns: repeat(2,1fr); } }
@media (min-width: 1024px) { .footer__grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer__brand .logo__icon { font-size: 1.4rem; }
.footer__brand .logo__text { color: #fff; font-size: 1.1rem; font-weight: 800; }
.footer__brand .logo__text strong { color: var(--pink); }
.footer__brand p { font-size: .82rem; margin-top: 8px; line-height: 1.5; max-width: 240px; }
.footer__social { display: flex; gap: 10px; margin-top: 12px; }
.footer__social a {
    width: 36px; height: 36px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,.15);
    display: flex; align-items: center; justify-content: center;
    color: #B0B8C8; transition: all var(--transition);
}
.footer__social a:hover { background: var(--pink); color: #fff; border-color: var(--pink); }
.footer__links h4 { color: #fff; font-size: .9rem; font-weight: 700; margin-bottom: 12px; }
.footer__links ul { display: flex; flex-direction: column; gap: 8px; }
.footer__links a { font-size: .82rem; transition: color var(--transition); }
.footer__links a:hover { color: var(--pink); }
.footer__bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding-top: 16px;
    display: flex; flex-wrap: wrap; gap: 12px;
    align-items: center; justify-content: space-between;
    font-size: .78rem;
}
.footer__payments { display: flex; gap: 12px; flex-wrap: wrap; }
.footer__payments span { display: flex; align-items: center; gap: 4px; }

/* ── Sepete Eklendi Popup ─────────────────────────────────── */
#cart-popup-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 9998;
    display: flex; align-items: center; justify-content: center;
    padding: 16px;
    opacity: 0; transition: opacity .22s;
}
#cart-popup-overlay.cart-popup-overlay--visible { opacity: 1; }

.cart-popup {
    background: #fff;
    border-radius: var(--radius-lg);
    width: 100%; max-width: 360px;
    box-shadow: 0 20px 60px rgba(0,0,0,.18);
    overflow: hidden;
    transform: translateY(16px) scale(.97);
    transition: transform .22s;
}
#cart-popup-overlay.cart-popup-overlay--visible .cart-popup {
    transform: translateY(0) scale(1);
}

.cart-popup__head {
    display: flex; align-items: center; gap: 10px;
    padding: 16px 16px 12px;
    border-bottom: 1px solid var(--border);
}
.cart-popup__check {
    width: 28px; height: 28px; border-radius: 50%;
    background: #D1FAE5; color: #059669;
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem; font-weight: 800; flex-shrink: 0;
}
.cart-popup__title {
    font-size: .95rem; font-weight: 800; flex: 1;
}
.cart-popup__close {
    background: none; border: none; cursor: pointer;
    color: var(--text-soft); font-size: 1rem; padding: 4px;
    border-radius: 50%; line-height: 1;
    transition: background var(--transition);
}
.cart-popup__close:hover { background: var(--pink-light); color: var(--pink-dark); }

.cart-popup__product {
    display: flex; align-items: center; gap: 10px;
    padding: 12px 16px;
}
.cart-popup__img {
    width: 52px; height: 52px; border-radius: 10px;
    object-fit: cover; flex-shrink: 0;
    border: 1.5px solid var(--border);
}
.cart-popup__name {
    font-size: .85rem; font-weight: 700; line-height: 1.35;
    overflow: hidden; display: -webkit-box;
    -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}

.cart-popup__info {
    padding: 0 16px 12px;
    font-size: .8rem; color: var(--text-soft);
}

.cart-popup__actions {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 10px; padding: 12px 16px 16px;
}
.cart-popup__btn {
    height: 44px; border-radius: var(--radius-md);
    font-size: .85rem; font-weight: 800; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    border: none; text-decoration: none; transition: opacity var(--transition);
}
.cart-popup__btn:hover { opacity: .88; }
.cart-popup__btn--secondary {
    background: var(--bg); color: var(--text);
    border: 1.5px solid var(--border);
}
.cart-popup__btn--primary {
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: #fff;
    box-shadow: 0 4px 14px rgba(255,107,138,.3);
}

/* ── Çerez Banner ────────────────────────────────────────── */
.cookie-banner {
    position: fixed; bottom: calc(var(--bottom-nav-h) + 8px); left: 12px; right: 12px;
    background: #1A1A2E; color: #fff;
    border-radius: var(--radius-md);
    padding: 14px 16px;
    display: flex; align-items: center; gap: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,.3);
    z-index: 700; font-size: .82rem;
    animation: slideUp .4s ease;
}
.cookie-banner a { color: var(--pink); text-decoration: underline; }
@keyframes slideUp { from { opacity:0; transform: translateY(20px); } }

/* ── Sayfa başlıkları ────────────────────────────────────── */
.page-hero {
    background: linear-gradient(135deg, var(--pink-light), #F0E6FF);
    padding: 28px 16px;
    text-align: center;
}
.page-hero h1 { font-size: 1.5rem; font-weight: 800; color: var(--text); }
.page-hero p  { color: var(--text-soft); font-size: .87rem; margin-top: 6px; }

/* ── Breadcrumb ──────────────────────────────────────────── */
.breadcrumb {
    display: flex; flex-wrap: wrap; gap: 4px;
    padding: 12px 16px; font-size: .78rem; color: var(--text-soft);
}
.breadcrumb a { color: var(--pink); }
.breadcrumb span { opacity: .5; }

/* ── Form ────────────────────────────────────────────────── */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; color: var(--text); }
.form-input {
    width: 100%; padding: 12px 14px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: var(--font); font-size: .9rem; color: var(--text);
    background: var(--bg-card);
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 3px rgba(255,107,138,.15);
}
.form-hint { font-size: .75rem; color: var(--text-soft); margin-top: 4px; }
.form-error { font-size: .78rem; color: #EF4444; margin-top: 4px; font-weight: 600; }

/* ── Boş durum ───────────────────────────────────────────── */
.empty-state {
    text-align: center; padding: 60px 20px;
    color: var(--text-soft);
}
.empty-state__icon { font-size: 3.5rem; margin-bottom: 12px; }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.empty-state p  { font-size: .85rem; margin-bottom: 20px; }

/* ── Banner görsel linki ─────────────────────────────────── */
.hp-banner-img-link {
    display: block;
    border-radius: 16px;
    overflow: hidden;
    -webkit-tap-highlight-color: transparent;
    transition: opacity .15s;
}
.hp-banner-img-link:hover { opacity: .92; }

/* ── Arama sayfası formu ─────────────────────────────────── */
.search-page-form { margin-bottom: 4px; }
.search-page-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-full);
    padding: 10px 16px;
}
.search-page-bar svg { color: var(--text-soft); flex-shrink: 0; }
.search-page-input {
    flex: 1; border: none; outline: none; min-width: 0;
    font-family: var(--font); font-size: .95rem; color: var(--text);
    background: transparent;
}
.search-page-input::-webkit-search-cancel-button { display: none; }

/* ── Ürünler toolbar (sıralama + sayım) ─────────────────── */
.products-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
}
.products-toolbar__count { font-size: .8rem; color: var(--text-soft); font-weight: 600; }
.products-toolbar__sort  { display: flex; gap: 6px; flex-wrap: wrap; }
.sort-chip {
    padding: 5px 12px; border-radius: var(--radius-full);
    font-size: .75rem; font-weight: 700;
    background: var(--bg-card); color: var(--text-soft);
    border: 1.5px solid var(--border);
    white-space: nowrap; transition: all .15s;
}
.sort-chip--active,
.sort-chip:hover { background: var(--pink); color: #fff; border-color: var(--pink); }

/* ── Pagination ──────────────────────────────────────────── */
.pagination { display: flex; justify-content: center; gap: 6px; margin: 24px 0; }
.pagination li a {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--border);
    font-weight: 700; font-size: .85rem;
    transition: all var(--transition);
    color: var(--text);
}
.pagination li.active a,
.pagination li a:hover {
    background: var(--pink); color: #fff; border-color: var(--pink);
}

/* ── Hero slider slayt geçişi ────────────────────────────── */
.hero__slider { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.hero__slide  { display: none; animation: fadeSlide .5s ease; }
.hero__slide--active { display: flex; }
.hero__emoji-art { font-size: 4rem; line-height: 1; text-align: center; }
@media (min-width: 480px) { .hero__emoji-art { font-size: 5rem; } }
@keyframes fadeSlide { from { opacity:0; transform: translateX(20px); } to { opacity:1; transform: none; } }

/* ── Desktop'ta üst nav ──────────────────────────────────── */
@media (min-width: 768px) {
    .hero__slide { min-height: 300px; padding: 48px; }
    .hero__title  { font-size: 2rem; }
    .hero__img    { width: 200px; height: 200px; }
    .bottom-nav   { display: none; }
    body { padding-bottom: 0; }
    /* Desktop top nav links */
    .site-header::after { display: none; }
    .header__inner { gap: 24px; }
}

/* ── Utility ─────────────────────────────────────────────── */
.text-center { text-align: center; }
.text-pink   { color: var(--pink); }
.mt-1 { margin-top: 8px; }  .mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; } .mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }  .mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; } .mb-4 { margin-bottom: 32px; }
.p-16 { padding: 16px; }
.hidden { display: none !important; }
.sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); border: 0;
}

/* ── Skeleton loader ─────────────────────────────────────── */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-shine 1.5s infinite;
    border-radius: var(--radius-sm);
}
@keyframes skeleton-shine {
    from { background-position: 200% 0; }
    to   { background-position: -200% 0; }
}
