/* ══════════════════════════════════════════════
   USL Web Sitesi - Ana Stil Dosyasi
   Trendyol benzeri modern e-ticaret tasarimi
   ══════════════════════════════════════════════ */

/* ==========================================================================
   LOGIN & REGISTER PAGE
   ========================================================================== */
.auth-page-wrap {
    padding: 60px 20px;
    background-color: #f8f9fa;
    min-height: calc(100vh - 300px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.auth-container {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 1000px;
    overflow: hidden;
}
.auth-tabs {
    display: none;
    background: #f4f5f7;
    border-bottom: 1px solid #eee;
}
.auth-tab {
    flex: 1;
    padding: 16px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}
.auth-tab.active {
    color: #ff6000;
    background: #fff;
    box-shadow: inset 0 -3px 0 #ff6000;
}
.auth-panels {
    display: flex;
    min-height: 500px;
}
.auth-panel {
    flex: 1;
    padding: 48px;
    width: 50%;
}
.auth-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
}
.auth-divider {
    width: 1px;
    background: #eee;
    margin: 40px 0;
}

/* Wizard Progress Bar Styling */
.wizard-progress {
    display: flex;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 24px;
}
.wizard-step {
    flex: 1;
    text-align: center;
    padding: 12px 8px;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    position: relative;
    background: #f4f5f7;
    transition: all 0.3s;
}
.wizard-step.active {
    color: #fff;
    background: #ff6000;
}
.wizard-step.active ~ .wizard-step {
    background: #f4f5f7;
    color: #888;
}

.wizard-panel {
    display: none;
    animation: fadeIn 0.3s ease;
}
.wizard-panel.active {
    display: block;
}

/* Auth Buttons Styling */
.auth-panel .btn {
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
}
.auth-panel .btn-primary {
    background-color: #ff6000;
    color: #fff;
}
.auth-panel .btn-primary:hover {
    background-color: #e65600;
    box-shadow: 0 4px 12px rgba(255, 96, 0, 0.2);
}
.auth-panel .btn-outline {
    background-color: transparent;
    color: #666;
    border: 1px solid #ddd;
}
.auth-panel .btn-outline:hover {
    background-color: #f8f9fa;
    color: #333;
    border-color: #ccc;
}
.auth-panel .btn-block {
    display: flex;
    width: 100%;
}
.auth-panel .btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}
.auth-panel .form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #444;
}
.auth-panel .form-control {
    width: 100%;
    border: 1px solid #dcdfe4;
    border-radius: 8px;
    background: #fff;
    padding: 13px 14px;
    font-size: 14px;
    color: #222;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-panel textarea.form-control {
    resize: vertical;
    min-height: 92px;
}
.auth-panel .form-control:focus {
    outline: none;
    border-color: #ff6000;
    box-shadow: 0 0 0 3px rgba(255, 96, 0, 0.12);
}
.account-alert {
    margin-bottom: 18px;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}
.account-alert.success {
    background: #eaf8ee;
    color: #1d7a37;
    border: 1px solid #bfe8ca;
}
.account-alert.error {
    background: #fff1f1;
    color: #b42318;
    border: 1px solid #f3b6b6;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 992px) {
    .auth-panel { padding: 32px; }
}

@media (max-width: 768px) {
    .auth-page-wrap {
        padding: 20px 15px;
    }
    .auth-container {
        border-radius: 8px;
    }
    .auth-panels {
        flex-direction: column;
        min-height: auto;
    }
    .auth-divider {
        display: none;
    }
    .auth-tabs {
        display: flex;
    }
    .auth-panel {
        display: none;
        padding: 24px 20px;
        width: 100%;
    }
    .auth-panel.active {
        display: block;
    }
    .wizard-step {
        font-size: 11px;
        padding: 10px 4px;
    }
}

/* Utilities */
.btn-block { display: block; width: 100%; text-align: center; }
.mb-2 { margin-bottom: 8px !important; }
.mb-3 { margin-bottom: 16px !important; }
.mb-4 { margin-bottom: 24px !important; }
.mt-3 { margin-top: 16px !important; }
.mt-4 { margin-top: 24px !important; }
.p-0 { padding: 0 !important; }
.p-4 { padding: 24px !important; }
.d-flex { display: flex !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }
.text-right { text-align: right !important; }
.text-success { color: #28a745 !important; }
.text-muted { color: #6c757d !important; }
.ml-1 { margin-left: 4px !important; }
.mr-1 { margin-right: 4px !important; }
.d-block { display: block !important; }

/* ── Reset & Genel ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; width: 100%; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f5f5f5;
    color: #333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
}

/* ── Ust Bilgi Bari ── */
.top-bar {
    background: #1a1a2e;
    color: #a0a8c0;
    font-size: 12px;
    padding: 6px 0;
    border-bottom: 1px solid #2d2d52;
    width: 100%;
}
.top-bar-inner {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.top-bar span { display: flex; align-items: center; gap: 6px; }
.top-bar i { color: #ff6000; font-size: 11px; }

/* ── Header ── */
.site-header {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.header-inner {
    display: grid;
    grid-template-columns: 1fr minmax(0, 820px) 1fr;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    position: relative;
    width: 100%;
}
.header-inner > .logo { justify-self: start; min-width: 0; }
.header-inner > .header-search-row { justify-self: center; min-width: 0; width: 100%; }
.header-inner > .header-actions { justify-self: end; min-width: 0; }

/* ── Kategori Kisayol Bandi (header altinda 35px) ── */
.category-shortcuts-bar {
    background: #f5f6f8; /* cok acik gri */
    border-top: 1px solid #e8eaed;
    border-bottom: 1px solid #e8eaed;
    box-shadow: 0 1px 6px rgba(0,0,0,.03);
    position: sticky;
    top: 92px; /* site-header tam yuksekligi (logo 68px + 2x12px padding) */
    z-index: 999;
    width: 100%;
}
.csb-container {
    display: flex;
    align-items: stretch;
    gap: 10px;
    height: 42px; /* %20 artirildi: 35 -> 42 */
    padding: 0 16px;
    position: relative;
}
.csb-pin-wrap {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    height: 100%;
}
.csb-pin {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    height: 36px; /* 42px bar - 2x3px (ust+alt) = 36px */
    margin: 3px 0; /* ust/alt 3px bosluk */
    border: none;
    border-radius: 9px; /* filletli kosele */
    background: linear-gradient(135deg,#ff6000,#ff8c3a);
    color: #fff;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .2px;
    cursor: pointer;
    white-space: nowrap;
    transition: filter .15s, box-shadow .15s;
    box-shadow: 0 1px 3px rgba(255,96,0,.25);
}
.csb-pin:hover { filter: brightness(1.07); box-shadow: 0 2px 6px rgba(255,96,0,.35); }
.csb-pin:active { transform: translateY(1px); }
.csb-pin i { font-size: 12px; }

/* Mega menu'yu shortcut bar pin butonunun altinda sola hizala */
.csb-pin-wrap .mega-menu {
    left: 0;
    right: auto;
    top: 100%;
    margin-top: 2px;
    border-radius: 0 14px 14px 14px;
    max-width: calc(100vw - 40px);
}
.csb-scroll-wrap {
    position: relative;
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    align-items: stretch;
    overflow: hidden;
}
.csb-scroll {
    flex: 1 1 0%;
    min-width: 0;
    display: flex;
    align-items: stretch;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
    cursor: grab;
    user-select: none;
}
.csb-scroll::-webkit-scrollbar { display: none; height: 0; }
.csb-scroll.is-dragging { cursor: grabbing; scroll-behavior: auto; }
.csb-scroll.is-dragging .csb-item { pointer-events: none; }

.csb-item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 12px;
    height: 100%;
    font-size: 12.5px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    transition: color .12s, background .12s;
    border-radius: 6px;
}
.csb-item:hover { color: #ff6000; background: #ffffff; }
.csb-item.is-active {
    color: #ff6000;
    background: #ffffff;
    font-weight: 600;
    box-shadow: inset 0 0 0 1px #ffd4b8;
}
.csb-name { line-height: 1; }

.csb-sep {
    flex: 0 0 1px;
    width: 1px;
    align-self: center;
    height: 16px;
    background: #e5e7eb;
}

/* Kucuk rozetler */
.csb-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 16px;
    height: 14px;
    padding: 0 4px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .3px;
    border-radius: 3px;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
}
.csb-badge-new      { background: #10b981; }
.csb-badge-discount { background: #ef4444; }

/* Kaydirma oklari (masaustu) */
.csb-arrow {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 26px;
    border: none;
    background: linear-gradient(to right, rgba(255,255,255,.98), rgba(255,255,255,.6));
    color: #6b7280;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
}
.csb-arrow:hover { color: #ff6000; }
.csb-arrow-left  { left: 0;  background: linear-gradient(to right, rgba(255,255,255,.98), rgba(255,255,255,0)); }
.csb-arrow-right { right: 0; background: linear-gradient(to left,  rgba(255,255,255,.98), rgba(255,255,255,0)); }
.csb-arrow.is-visible { display: flex; }
.csb-arrow i { font-size: 11px; }

/* Mega menu'yu pin butonu ile zorla acabilmek icin */
.has-mega-menu.mega-force-open > .mega-menu {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.logo-icon {
    /* %30 buyutuldu: 40->52 */
    width: 52px; height: 52px;
    background: linear-gradient(135deg, #ff6000, #ff8533);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 23px;
}
.logo-text {
    /* %30 buyutuldu: 22->29 */
    font-size: 29px;
    font-weight: 700;
    color: #1a1a2e;
    letter-spacing: -0.5px;
}
.logo--image { gap: 0; }
.logo-img {
    /* %30 buyutuldu: 52->68, 200->260 */
    max-height: 68px;
    max-width: 260px;
    width: auto;
    object-fit: contain;
    display: block;
}
.logo-fallback { display: flex; align-items: center; gap: 10px; }

/* Arama */
.search-bar {
    flex: 1;
    max-width: 600px;
    display: flex;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: border-color .2s;
    margin: 0 auto;
}
.search-bar:focus-within { border-color: #ff6000; }
.search-bar input {
    flex: 1;
    border: none;
    padding: 10px 16px;
    font-size: 14px;
    outline: none;
    background: #fafafa;
}
.search-bar button {
    background: #ff6000;
    color: #fff;
    border: none;
    padding: 10px 18px;
    font-size: 16px;
    transition: background .2s;
}
.search-bar button:hover { background: #e65500; }

.header-search-row {
    width: 820px;
    max-width: 100%;
    display: flex;
    align-items: stretch;
    gap: 10px;
    margin: 0;
    justify-content: center;
}
.header-search-row .search-bar {
    flex: 1;
    max-width: none;
    margin: 0;
}
.header-search-row .logo-cat-wrap {
    flex-shrink: 0;
    position: relative;
}
.mobile-categories-btn {
    display: none;
    align-items: center;
    gap: 8px;
    padding: 0 12px;
    height: 46px;
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    flex-shrink: 0;
}
.mobile-categories-btn i { font-size: 16px; color: #ff6000; }
.mobile-categories-btn:active { transform: scale(0.99); }

.logo-cat-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    height: 46px;                 /* arama cubugu ile ayni yukseklik */
    border-radius: 10px;
    border: 2px solid #e0e0e0;
    background: #fff;
    color: #1a1a2e;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color .15s, background .15s;
}
.logo-cat-btn i { font-size: 16px; color: #ff6000; }
.logo-cat-btn:hover { border-color: #ff6000; background: #fff8f4; }
.logo-cat-btn:active { transform: scale(0.99); }

/* Kategoriler butonu arama cubugunun solunda oldugu icin menu saga degil ucuna kadar acilsin */
.logo-cat-wrap .mega-menu {
    left: 0;
    right: auto;
    border-radius: 0 18px 18px 18px;
    max-width: calc(100vw - 40px);
}

/* ── Arama Kutusu Animasyonlu Placeholder (Typewriter) ── */
.search-bar input::placeholder {
    color: #9a9a9a;
    opacity: 1;
}
.search-bar input.typewriter-active::placeholder {
    color: #8a8a8a;
}

.mobile-cat-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s;
    z-index: 1100;
}
.mobile-cat-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-cat-drawer {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: min(360px, 88%);
    background: #ffffff;
    transform: translateX(-105%);
    transition: transform .24s;
    z-index: 1110;
    display: flex;
    flex-direction: column;
    box-shadow: 18px 0 48px rgba(15, 23, 42, 0.18);
}
.mobile-cat-drawer.open { transform: translateX(0); }
.mobile-cat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 14px;
    border-bottom: 1px solid #f1f5f9;
}
.mobile-cat-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    font-size: 14px;
    color: #0f172a;
}
.mobile-cat-title i { color: #ff6000; }
.mobile-cat-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
}
.mobile-cat-body {
    padding: 10px;
    overflow: auto;
}
.mcat-family {
    border: 1px solid #eef2f7;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 10px;
}
.mcat-family-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 12px;
    background: #ffffff;
    border: none;
    cursor: pointer;
}
.mcat-family-btn.active { background: #fff3eb; }
.mcat-family-name {
    font-weight: 800;
    color: #0f172a;
    flex: 1;
    text-align: left;
}
.mcat-chevron {
    color: #94a3b8;
    transition: transform .2s;
}
.mcat-family-btn.active .mcat-chevron { transform: rotate(180deg); }
.mcat-family-panel {
    display: none;
    padding: 8px 10px 12px;
    border-top: 1px solid #f1f5f9;
}
.mcat-family-panel.active { display: block; }
.mcat-all-link,
.mcat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 10px;
    border-radius: 10px;
    color: #334155;
    text-decoration: none;
    gap: 12px;
}
.mcat-all-link { font-weight: 800; color: #0f172a; }
.mcat-link:hover,
.mcat-all-link:hover { background: #f8fafc; color: #ff6000; }

body.mobile-no-scroll { overflow: hidden; }

/* ── Header Aksiyonlar (Sag Ikonlar) ── */
.header-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.header-action-wrap {
    position: relative;
}
.header-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 10px;
    color: #555;
    background: transparent;
    border: none;
    transition: all .2s;
}
.header-action-btn i { font-size: 18px; }
.header-action-btn:hover, .header-action-btn.active {
    background: #fff3eb;
    color: #ff6000;
}

/* ── Kategori Navigasyonu (Mega Menu) ── */
.cat-count {
    background: #f0f0f0;
    color: #888;
    font-size: 10px;
    padding: 1px 6px;
    border-radius: 10px;
    font-weight: 600;
}
.category-nav {
    display: none;
}
.has-mega-menu { position: relative; }
.mega-menu {
    position: absolute;
    right: 0;
    top: 100%;
    width: min(1100px, calc(100% - 32px));
    background: #fff;
    border: 1px solid #ececec;
    border-radius: 18px 0 18px 18px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
    padding: 22px;
    z-index: 50;
    display: none;
}
.has-mega-menu:hover .mega-menu,
.has-mega-menu:focus-within .mega-menu { display: block; }
.mega-menu-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 22px;
    min-height: 360px;
}
.mega-menu-sidebar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 10px;
    border-right: 1px solid #f1f1f1;
}
.mega-family-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    padding: 12px 14px;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    text-align: left;
    transition: all .2s;
}
.mega-family-item:hover,
.mega-family-item.active {
    background: #fff5ef;
    color: #ff6000;
}
.mega-menu-content {
    position: relative;
}
.mega-family-panel {
    display: none;
}
.mega-family-panel.active {
    display: block;
}
.mega-family-head {
    margin-bottom: 14px;
}
.mega-menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}
.mega-menu-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.mega-menu-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 8px;
    color: #111827;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #f0f0f0;
}
.mega-menu-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 10px;
    color: #4b5563;
    font-size: 13px;
    transition: all .2s;
}
.mega-menu-link:hover {
    background: #fff5ef;
    color: #ff6000;
}

/* ── Main ── */
.site-main { flex: 1; padding: 24px 0; }

/* ── Hero Banner ── */
/* ── Hero Ana Layout: sol kolon + sağ panel ── */
.hero-layout-wrap {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    width: auto;
    margin: 0 -16px 28px -16px;
}
.hero-layout-left {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
/* hero-section-wrapper artık layout-left içinde — sadece banner satırı */
.hero-section-wrapper {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 10px;
    width: 100%;
}
.hero-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    flex: 1 1 0;
    min-width: 0;
    height: clamp(170px, 25vw, 320px);
    min-height: 170px;
}
/* ── Hero Generic Product Panel ── */
.hero-pinpoint {
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 20;
}
.hp-dot {
    width: 20px;
    height: 20px;
    background: #ff6000;
    border: 3px solid #fff;
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    cursor: pointer;
    position: relative;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0% { box-shadow: 0 0 0 0 rgba(255, 96, 0, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 96, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 96, 0, 0); }
}
.hp-popup {
    position: absolute;
    top: 50%;
    left: 22px;
    transform: translateY(-50%) scale(0.6);
    transform-origin: left center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 8px;
    text-decoration: none;
    color: #1a1a2e;
    white-space: nowrap;
    opacity: 0;
    animation: hp-popup-in .55s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: .2s;
    transition: transform .25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow .25s;
    max-width: 260px;
}
.hero-pinpoint.hp-flip .hp-popup {
    left: auto;
    right: 22px;
    transform-origin: right center;
}
.hero-pinpoint:hover .hp-popup {
    transform: translateY(-50%) scale(1.06);
    box-shadow: 0 12px 34px rgba(0,0,0,0.28), 0 3px 8px rgba(0,0,0,0.14);
}
.hp-popup::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -6px;
    transform: translateY(-50%) rotate(45deg);
    width: 10px;
    height: 10px;
    background: #fff;
    border-radius: 2px;
    box-shadow: -2px 2px 4px rgba(0,0,0,0.05);
    z-index: -1;
}
.hero-pinpoint.hp-flip .hp-popup::before {
    left: auto;
    right: -6px;
    box-shadow: 2px -2px 4px rgba(0,0,0,0.05);
}
@keyframes hp-popup-in {
    0%   { opacity: 0; transform: translateY(-50%) scale(0.55); }
    60%  { opacity: 1; transform: translateY(-50%) scale(1.08); }
    100% { opacity: 1; transform: translateY(-50%) scale(1); }
}
.hp-popup img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f1f5f9;
}
.hp-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.hp-info strong {
    font-size: 12px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.25;
    max-width: 180px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.hp-info span,
.hp-info .hp-price {
    font-size: 12px;
    font-weight: 700;
    color: #ff6000;
    line-height: 1.2;
}
.hp-info .hp-price-label {
    font-size: 10.5px;
    font-weight: 500;
    color: #64748b;
}
@media (max-width: 768px) {
    .hp-dot { width: 16px; height: 16px; border-width: 2px; }
    .hp-popup { left: 20px; padding: 6px 10px 6px 6px; gap: 8px; max-width: 210px; }
    .hero-pinpoint.hp-flip .hp-popup { right: 20px; }
    .hp-popup img { width: 38px; height: 38px; }
    .hp-info strong { font-size: 11px; max-width: 140px; }
    .hp-info span, .hp-info .hp-price { font-size: 11px; }
}
/* ── Pinpoint: Standalone card (independent position + connector line) ── */
.hp-connectors {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 18;
    overflow: visible;
}
.hp-connectors line {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.35));
    animation: hp-line-in .6s ease-out forwards;
    opacity: 0;
}
@keyframes hp-line-in {
    0%   { opacity: 0; }
    100% { opacity: 0.85; }
}
.hp-popup-standalone {
    position: absolute;
    z-index: 21;
    transform: translate(-50%, -50%) scale(0.6);
    transform-origin: center center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 8px 28px rgba(0,0,0,0.22), 0 2px 6px rgba(0,0,0,0.12);
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px 8px 8px;
    text-decoration: none;
    color: #1a1a2e;
    white-space: nowrap;
    opacity: 0;
    animation: hp-popup-standalone-in .55s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: .2s;
    transition: transform .25s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow .25s;
    max-width: 260px;
    left: 0;
}
.hp-popup-standalone:hover {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 12px 34px rgba(0,0,0,0.28), 0 3px 8px rgba(0,0,0,0.14);
}
@keyframes hp-popup-standalone-in {
    0%   { opacity: 0; transform: translate(-50%, -50%) scale(0.55); }
    60%  { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
    100% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}
.hp-popup-standalone img {
    width: 46px;
    height: 46px;
    object-fit: cover;
    border-radius: 8px;
    flex-shrink: 0;
    background: #f1f5f9;
}
@media (max-width: 768px) {
    .hp-popup-standalone { padding: 6px 10px 6px 6px; gap: 8px; max-width: 210px; }
    .hp-popup-standalone img { width: 38px; height: 38px; }
}

/* ── Pinpoint: Buton variant ── */
.hero-pinpoint--btn {
    text-decoration: none;
    z-index: 25;
}
.hero-pinpoint--btn .hp-btn-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #ff6000, #ff8c3a);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    box-shadow: 0 6px 18px rgba(255, 96, 0, 0.35);
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease;
}
.hero-pinpoint--btn:hover .hp-btn-label {
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(255, 96, 0, 0.45);
}
@media (max-width: 768px) {
    .hero-pinpoint--btn .hp-btn-label { font-size: 11px; padding: 7px 12px; }
}
.hp-info .hp-price {
    font-size: 11px;
    font-weight: 600;
    color: #ff6000;
}

/* ── Hero Generic Product Panel ── */
.hero-product-panel {
    width: 270px;
    flex-shrink: 0;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
    /* Yükseklik: hero-layout-wrap'ın align-items:stretch ile otomatik dolar */
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}
.hero-product-panel-inner {
    flex: 1;
    position: relative;
    overflow: hidden;
}
.hero-product-group {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity .45s ease;
}
.hero-product-group.active {
    opacity: 1;
    pointer-events: auto;
}
.hero-product-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    border-radius: 10px;
    background: #f8f8f8;
    text-decoration: none;
    color: inherit;
    width: 100%;
    height: 100%;
    overflow: hidden;
    transition: background .15s;
}
.hero-product-card:hover { background: #f0f0f0; }
.hero-product-card-img {
    position: relative;
    width: 100%;
    flex: 1 1 0;
    min-height: 0;
    overflow: hidden;
    background: #eee;
}
.hero-product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* Hero panel badge yığını */
.hero-badge-stack {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
    pointer-events: none;
}
.hero-product-badge {
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 5px;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    white-space: nowrap;
    text-align: center;
    letter-spacing: .02em;
    box-shadow: 0 2px 7px rgba(0,0,0,.22);
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.hero-product-badge--disc {
    background: linear-gradient(135deg, #e53e3e 0%, #c0392b 60%, #ff6b35 100%);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.25);
    border-left: 1px solid rgba(255,255,255,.18);
}
.hero-product-badge--disc::before {
    content: '\f02b';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 8px;
    opacity: .9;
}
.hero-product-badge--new {
    background: linear-gradient(135deg, #11a95c 0%, #0d7a43 60%, #00c98e 100%);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.25);
    border-left: 1px solid rgba(255,255,255,.18);
}
.hero-product-badge--new::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 8px;
    opacity: .9;
}
.hero-product-card-body {
    flex-shrink: 0;
    padding: 8px 10px 10px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #fff;
}
.hero-product-name {
    font-size: 12px;
    font-weight: 600;
    color: #222;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
    line-height: 1.3;
}
/* ── Hero Panel Rating ── */
.hero-product-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 4px;
}
.hpr-stars {
    display: inline-flex;
    gap: 1px;
    align-items: center;
}
.hpr-stars i {
    font-size: 10px;
    color: #f5a623;
    line-height: 1;
}
.hpr-score {
    font-size: 10.5px;
    font-weight: 700;
    color: #f5a623;
    margin-left: 1px;
    line-height: 1;
}
.hpr-count {
    font-size: 10px;
    color: #999;
    line-height: 1;
}
.hero-product-prices {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.hero-product-old {
    font-size: 10.5px;
    color: #aaa;
    text-decoration: line-through;
}
.hero-product-new {
    font-size: 13px;
    font-weight: 700;
    color: #e03;
}
/* ── Hero Bottom Badge Bar — Trendyol Yuvarlak Kategori Slider ── */
.hero-bottom-bar-wrap {
    position: relative;
    width: 100%;
    /* Genişlik ve margin artık .hero-layout-wrap tarafından yönetiliyor */
}
.hero-bottom-bar {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    box-sizing: border-box;
    width: 100%;
    padding: 12px 8px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(0,0,0,.06);
    gap: 0;
    scroll-behavior: smooth;
}
.hero-bottom-bar::-webkit-scrollbar { display: none; }

/* Ok butonları */
.hbb-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e0e0e0;
    box-shadow: 0 2px 14px rgba(0,0,0,.16);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    color: #444;
    padding: 0;
    transition: opacity .2s, box-shadow .2s, transform .15s;
}
.hbb-arrow--prev { left: -15px; }
.hbb-arrow--next { right: -15px; }
.hbb-arrow:hover:not(.hbb-disabled) {
    box-shadow: 0 4px 20px rgba(0,0,0,.22);
    transform: translateY(-50%) scale(1.1);
    color: #ff6000;
    border-color: #ff6000;
}
/* Pasif (kenar veya içerik sığıyor) */
.hbb-arrow.hbb-disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
    box-shadow: 0 1px 4px rgba(0,0,0,.08);
}

/* ── Hero Ürün Paneli Ok Butonları ── */
.hero-panel-arrow {
    position: absolute;
    top: 42%;
    transform: translateY(-50%);
    z-index: 10;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(255,255,255,.93);
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 6px rgba(0,0,0,.14);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 10px;
    color: #444;
    padding: 0;
    transition: opacity .2s, box-shadow .15s, color .15s, transform .15s;
}
.hero-panel-arrow--prev { left: 5px; }
.hero-panel-arrow--next { right: 5px; }
.hero-panel-arrow:hover:not(.hpa-disabled) {
    box-shadow: 0 3px 12px rgba(0,0,0,.2);
    color: #ff6000;
    transform: translateY(-50%) scale(1.1);
}
.hero-panel-arrow.hpa-disabled {
    opacity: 0.22;
    cursor: default;
    pointer-events: none;
}

.hero-bottom-badge {
    position: relative;
    display: flex;
    flex: 0 0 auto;
    width: 112px;
    height: 88px;
    margin: 0 5px;
    padding: 0;
    background: transparent;
    text-decoration: none;
    border: none;
    cursor: pointer;
    border-radius: 14px;
    overflow: hidden;
    transition: transform .18s, box-shadow .18s;
    box-shadow: 0 2px 10px rgba(0,0,0,.10);
}
a.hero-bottom-badge:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

.hero-bottom-badge-icon {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 14px;
    background: #e8e8ed;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: #777;
    overflow: hidden;
    transition: transform .22s;
}
a.hero-bottom-badge:hover .hero-bottom-badge-icon {
    transform: scale(1.07);
}

.hero-bottom-badge-text {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 9px 8px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    text-align: left;
    line-height: 1.25;
    white-space: normal;
    word-break: break-word;
    background: linear-gradient(to top, rgba(0,0,0,.62) 0%, transparent 100%);
    text-shadow: 0 1px 4px rgba(0,0,0,.45);
}

/* ═══════════════════════════════════════════════════════════
   3D Mağaza Sahnesi
   ═══════════════════════════════════════════════════════════ */

.hero-view-wrap { position: relative; width: 100%; }

/* Görünüm tab toggle */
.hero-view-tabs {
    position: absolute;
    top: 10px; left: 10px;
    z-index: 30;
    display: flex;
    gap: 5px;
}
.hvt-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    border-radius: 10px;
    border: 1.5px solid rgba(255,255,255,.35);
    background: rgba(0,0,0,.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255,255,255,.88);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
    line-height: 1;
}
.hvt-btn.hvt-active {
    background: #ff6000;
    border-color: #ff6000;
    color: #fff;
}
.hvt-btn:hover:not(.hvt-active) {
    background: rgba(0,0,0,.52);
    color: #fff;
}

/* 3D Sahne ana kutu */
.hero-store3d {
    position: relative;
    width: 100%;
    height: clamp(220px, 45vw, 420px);
    border-radius: 16px;
    overflow: hidden;
    cursor: crosshair;
    user-select: none;
    -webkit-user-select: none;
}

/* Wrapper — perspective tilt burada uygulanır */
.store3d-wrapper {
    position: absolute;
    inset: 0;
    will-change: transform;
}

.store3d-layer {
    will-change: transform;
}

/* Arka duvar */
.store3d-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        #c6bbb0 0%, #d8cfc3 22%, #eae0d4 52%, #e4d9cc 100%);
}
.store3d--photo .store3d-bg {
    background-size: cover;
    background-position: center;
    /* background-image: set via JS from data-photo-url */
}
.store3d--photo .store3d-shelves-back { opacity: .65; }
.store3d--photo .store3d-lwall,
.store3d--photo .store3d-rwall       { opacity: .5; }

/* Tavan */
.store3d-ceiling {
    position: absolute;
    top: 0; left: -5%; right: -5%;
    height: 14%;
    background: linear-gradient(180deg, #5e5044 0%, #8a7a6a 65%, transparent 100%);
    pointer-events: none;
}
/* Tavan spot ışıkları */
.store3d-ceiling::before {
    content: '';
    position: absolute;
    bottom: 0; left: 22%;
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #fffbe8;
    box-shadow:
        0 0 14px 7px rgba(255,252,210,.55),
        200px 0 14px 7px rgba(255,252,210,.55),
        400px 0 14px 7px rgba(255,252,210,.55);
}

/* Sol duvar */
.store3d-lwall {
    position: absolute;
    top: 0; left: 0; bottom: 0;
    width: 14%;
    background: linear-gradient(90deg, #a89880 0%, #c8baa8 62%, transparent 100%);
    pointer-events: none;
}
/* Sağ duvar */
.store3d-rwall {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 14%;
    background: linear-gradient(270deg, #a89880 0%, #c8baa8 62%, transparent 100%);
    pointer-events: none;
}
/* Yan duvar rafları */
.store3d-wall-shelf {
    position: absolute;
    left: 4px; right: 0;
    height: 6px;
    background: linear-gradient(180deg, #8a7a62 0%, #6a5a45 100%);
    border-radius: 2px 0 0 2px;
    box-shadow: 0 3px 8px rgba(0,0,0,.38);
}
.store3d-wall-shelf::after {
    content: '';
    position: absolute;
    bottom: 6px; left: 4px; right: 0;
    height: 22px;
    background: repeating-linear-gradient(90deg,
        rgba(210,192,168,.8) 0px,  rgba(210,192,168,.8) 9px,
        rgba(185,167,142,.6) 9px,  rgba(185,167,142,.6) 11px,
        rgba(225,205,180,.7) 11px, rgba(225,205,180,.7) 19px,
        transparent 19px, transparent 23px
    );
    border-radius: 2px 2px 0 0;
}

/* Arka raf sistemi — 3×2 grid */
.store3d-shelves-back {
    position: absolute;
    top: 13%; left: 10%; right: 10%; bottom: 26%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 10px 14px;
    pointer-events: none;
}
.store3d-shelf-unit {
    position: relative;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(180,160,130,.25);
    border-radius: 5px;
    overflow: hidden;
}
/* Raf tahtası */
.store3d-shelf-unit::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 7px;
    background: linear-gradient(180deg, #9a8568 0%, #7a6550 100%);
    box-shadow: 0 4px 12px rgba(0,0,0,.48);
}
/* Raftaki ürünler (dekoratif çizgiler) */
.store3d-shelf-unit::before {
    content: '';
    position: absolute;
    bottom: 7px; left: 4px; right: 4px;
    height: 54%;
    background: repeating-linear-gradient(90deg,
        rgba(220,200,175,.75)  0px,  rgba(220,200,175,.75) 10px,
        rgba(245,225,200,.55) 10px,  rgba(245,225,200,.55) 12px,
        rgba(200,180,155,.65) 12px,  rgba(200,180,155,.65) 21px,
        rgba(235,212,186,.60) 21px,  rgba(235,212,186,.60) 23px,
        rgba(210,188,162,.70) 23px,  rgba(210,188,162,.70) 31px,
        transparent 31px, transparent 36px
    );
    border-radius: 3px 3px 0 0;
}

/* Zemin karanlık overlay */
.store3d-floor-ovl {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 28%;
    background: linear-gradient(180deg, transparent 0%, rgba(45,30,18,.52) 100%);
    pointer-events: none;
}

/* Zemin perspektif grid */
.store3d-floor-grid {
    position: absolute;
    bottom: 0; left: -30%; right: -30%;
    height: 25%;
    background-image:
        repeating-linear-gradient(90deg,
            rgba(255,255,255,.07) 0px, rgba(255,255,255,.07) 1px,
            transparent 1px, transparent 68px),
        repeating-linear-gradient(180deg,
            rgba(255,255,255,.05) 0px, rgba(255,255,255,.05) 1px,
            transparent 1px, transparent 26px);
    transform: perspective(340px) rotateX(54deg);
    transform-origin: bottom center;
    pointer-events: none;
}

/* Ön tezgahlar */
.store3d-counter-row {
    position: absolute;
    bottom: 2%; left: 7%; right: 7%;
    height: 20%;
    display: flex;
    gap: 10px;
    align-items: flex-end;
}
.store3d-counter {
    flex: 1;
    height: 85%;
    background: linear-gradient(180deg, #a08860 0%, #866845 100%);
    border-radius: 6px 6px 3px 3px;
    box-shadow: 0 8px 22px rgba(0,0,0,.42), inset 0 1px 0 rgba(255,255,255,.18);
    position: relative;
}
.store3d-counter--tall { height: 100%; }
.store3d-counter::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 22%;
    background: linear-gradient(180deg, #c4a070 0%, #a28055 100%);
    border-radius: 6px 6px 0 0;
    box-shadow: 0 2px 6px rgba(0,0,0,.25);
}
.store3d-counter::after {
    content: '';
    position: absolute;
    top: 22%; left: 8%; right: 8%;
    height: 40%;
    background: repeating-linear-gradient(90deg,
        rgba(255,255,255,.07) 0px, rgba(255,255,255,.07) 14px,
        transparent 14px, transparent 18px
    );
}

/* Spotlight ışın konisi */
.store3d-spotlight {
    position: absolute;
    top: 0; left: 30%; right: 30%;
    height: 100%;
    background: radial-gradient(ellipse 50% 65% at 50% 0%,
        rgba(255,248,220,.16) 0%, transparent 70%);
    pointer-events: none;
}

/* ── Hotspot noktaları ── */
.store3d-hotspot {
    position: absolute;
    left: var(--hx);
    top:  var(--hy);
    transform: translate(-50%, -50%);
    z-index: 15;
    cursor: pointer;
    text-decoration: none;
    will-change: transform;
}
.hotspot-dot {
    width: 14px;
    height: 14px;
    min-width: 14px;
    min-height: 14px;
    border-radius: 50%;
    background: #ff6000;
    border: 2.5px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,.48);
    position: relative;
    z-index: 2;
    flex-shrink: 0;
    transition: transform .2s, box-shadow .2s;
}
.hotspot-ring {
    display: block;
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,96,0,.65);
    animation: hs-pulse 2.4s ease-out infinite;
    pointer-events: none;
}
@keyframes hs-pulse {
    0%   { transform: translate(-50%,-50%) scale(0.6); opacity: 1; }
    100% { transform: translate(-50%,-50%) scale(2.8); opacity: 0; }
}
.store3d-hotspot:hover .hotspot-dot {
    transform: scale(1.5);
    box-shadow: 0 4px 14px rgba(255,96,0,.6);
}

/* Tooltip — her zaman görünür (kompakt), hover'da genişler */
.hotspot-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(12,12,22,.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    border-radius: 9px;
    padding: 5px 10px 6px;
    min-width: unset;
    pointer-events: none;
    opacity: 1;
    transition: padding .2s, border-radius .2s, box-shadow .2s, transform .2s, background .2s;
    box-shadow: 0 4px 14px rgba(0,0,0,.3);
    z-index: 25;
    text-align: left;
    white-space: nowrap;
}
/* Kompakt: sadece kategori adı görünür */
.ht-price, .ht-count, .ht-link { display: none; }

/* Hover: tam tooltip açılır */
.store3d-hotspot:hover .hotspot-tooltip {
    padding: 10px 14px 12px;
    border-radius: 12px;
    background: rgba(12,12,22,.94);
    box-shadow: 0 10px 30px rgba(0,0,0,.48);
    transform: translateX(-50%) translateY(-4px);
}
.store3d-hotspot:hover .ht-price,
.store3d-hotspot:hover .ht-count,
.store3d-hotspot:hover .ht-link { display: block; }

.hotspot-tooltip::after {
    content: '';
    position: absolute;
    top: 100%; left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(12,12,22,.82);
}
.store3d-hotspot:hover .hotspot-tooltip::after {
    border-top-color: rgba(12,12,22,.94);
}
.ht-name  { font-weight: 700; font-size: 11.5px; margin: 0; color: #fff; }
.ht-price { color: #ff9c52; font-weight: 700; font-size: 13px; margin: 6px 0 3px; }
.ht-count { color: #8888aa; font-size: 10.5px; margin-bottom: 7px; }
.ht-link  { color: #ffb882; font-size: 11px; font-weight: 600; }

/* Arkaplan modu seçici */
.store3d-bg-switch {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 25;
    display: flex;
    gap: 4px;
}
.sbs-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,.25);
    background: rgba(0,0,0,.32);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255,255,255,.78);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s;
    line-height: 1;
}
.sbs-btn.sbs-active {
    background: rgba(255,96,0,.82);
    border-color: #ff6000;
    color: #fff;
}
.sbs-btn:hover:not(.sbs-active) {
    background: rgba(0,0,0,.52);
    color: #fff;
}

/* 3D Sahne responsive */
@media (max-width: 768px) {
    .hero-store3d { height: clamp(180px, 44vw, 280px); }
    .store3d-counter-row { display: none; }
    .store3d-shelves-back { left: 12%; right: 12%; }
    .hotspot-tooltip { min-width: 120px; }
    .ht-name { font-size: 11px; }
}
@media (max-width: 480px) {
    .hero-store3d { height: clamp(160px, 52vw, 240px); }
    .hero-view-tabs { top: 6px; left: 6px; }
    .hvt-btn { padding: 5px 9px; font-size: 11px; }
    .store3d-shelves-back { top: 16%; bottom: 28%; }
}

/* ─────────────────────────────────────────────────── */

.hero-slider {
    position: relative;
    height: 100%;
}
.hero-slider-track {
    position: relative;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .45s ease;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 36px 40px;
}
.hero-slide.active {
    opacity: 1;
    z-index: 2;
}
.hero-slide-overlay {
    display: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-content h1 {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}
.hero-content p {
    font-size: 16px;
    color: #a0a8c0;
    margin-bottom: 24px;
}
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6000;
    color: #fff;
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 15px;
    transition: all .25s;
}
.hero-btn:hover {
    background: #e65500;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,96,0,0.35);
}
.hero-price-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.hero-price-old {
    color: #cbd5e1;
    text-decoration: line-through;
    font-size: 16px;
}
.hero-price-new {
    color: #ffffff;
    font-size: 24px;
    font-weight: 800;
}
.hero-price-discount {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 8px;
    border-radius: 999px;
    background: #ff6000;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}
.hero-badge-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px 6px 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s, transform .2s;
}
.hero-badge-item:hover {
    background: rgba(255, 255, 255, 0.22);
    transform: translateY(-1px);
}
.hero-badge-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 96, 0, 0.95);
    color: #fff;
    font-size: 12px;
    flex-shrink: 0;
}
.hero-badge-text {
    line-height: 1;
}
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    color: #fff;
    backdrop-filter: blur(6px);
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
.hero-nav:hover { background: rgba(255,255,255,0.28); }
.hero-nav.disabled,
.hero-nav:disabled {
    opacity: .45;
    cursor: not-allowed;
}
.hero-nav-prev { left: 12px; }
.hero-nav-next { right: 12px; }
.hero-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 5;
}
.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
}
.hero-dot.active { background: #ff6000; transform: scale(1.1); }

/* ── Sayfa Baslik ── */
.page-heading {
    margin-bottom: 24px;
}
.page-heading h1 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
}
.page-heading .result-count {
    color: #888;
    font-size: 14px;
    margin-top: 4px;
}

/* ── Bos Durum ── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #aaa;
}
.empty-state i { font-size: 64px; margin-bottom: 16px; }
.empty-state h3 { font-size: 20px; color: #666; margin-bottom: 8px; }

/* ── Kategori Bolumu ── */
.category-section { margin-bottom: 40px; }
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #eee;
}
.section-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
}
.see-all {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #ff6000;
    font-size: 13px;
    font-weight: 600;
    transition: gap .2s;
}
.see-all:hover { gap: 10px; }

/* ── Urun Grid ── */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
}
.product-grid--home {
    grid-template-columns: repeat(4, 1fr);
}

/* ── Urun Karti ── */
.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all .25s;
    border: 1px solid #eee;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
    border-color: #ddd;
}
.product-card-img {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #f8f8f8;
}
.product-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.product-card:hover .product-card-img img {
    transform: scale(1.05);
}
/* Badge yığını — sol üst köşede dikey badge grubu */
.badge-stack {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 2;
    pointer-events: none;
}
.product-badge {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    letter-spacing: .02em;
    white-space: nowrap;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.22);
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
}
.badge-discount {
    background: linear-gradient(135deg, #e53e3e 0%, #c0392b 60%, #ff6b35 100%);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.25);
    border-left: 1px solid rgba(255,255,255,.18);
}
.badge-discount::before {
    content: '\f02b'; /* fa-tag */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    opacity: .9;
}
.badge-new-product {
    background: linear-gradient(135deg, #11a95c 0%, #0d7a43 60%, #00c98e 100%);
    color: #fff;
    border-top: 1px solid rgba(255,255,255,.25);
    border-left: 1px solid rgba(255,255,255,.18);
}
.badge-new-product::before {
    content: '\f005'; /* fa-star */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 9px;
    opacity: .9;
}
.product-card-body { padding: 12px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.product-card-brand {
    font-size: 11px;
    color: #888;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

/* ══════════════════════════════════════
   Favori Kalp Butonu + Bant
   ══════════════════════════════════════ */
.product-card-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
}
.product-fav-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #bbb;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
    transition: color .2s, background .2s, transform .15s;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.product-fav-btn:hover { color: #e03; transform: scale(1.12); }
.product-fav-btn.favorited i { font-weight: 900; }
.product-fav-btn.favorited { color: #e03; }
.product-fav-btn.fav-guest { opacity: .85; }
.product-fav-btn--panel {
    top: 8px;
    right: 8px;
    width: 28px;
    height: 28px;
    font-size: 12px;
}
/* ── Ürün Bilgi Bandı (fav + görüntüleyen) ── */
.product-fav-band {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, #e03 0%, #ff6f00 100%);
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    letter-spacing: .01em;
    text-shadow: 0 1px 2px rgba(0,0,0,.25);
    overflow: hidden;
}
.product-fav-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.08) 0%, transparent 60%);
    pointer-events: none;
}
.product-fav-band .band-msg {
    display: flex;
    align-items: center;
    gap: 5px;
    flex: 1;
    transition: opacity .35s, transform .35s;
}
.product-fav-band .band-msg.band-hide {
    opacity: 0;
    transform: translateY(4px);
}
.product-fav-band i { font-size: 10px; flex-shrink: 0; }
/* Mavi varyant: görüntüleyen sayısı */
.product-fav-band.band--view {
    background: linear-gradient(90deg, #0057e7 0%, #00b4d8 100%);
}

/* Hero panel band */
.hero-product-fav-band {
    background: linear-gradient(90deg, #e03 0%, #ff6f00 100%);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 4px;
    border-radius: 0 0 8px 8px;
    margin: 0 8px 6px;
    letter-spacing: .01em;
    text-shadow: 0 1px 2px rgba(0,0,0,.2);
    position: relative;
    overflow: hidden;
}
.hero-product-fav-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,.1) 0%, transparent 60%);
    pointer-events: none;
}
.hero-product-fav-band .band-msg {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 1;
    transition: opacity .35s, transform .35s;
}
.hero-product-fav-band .band-msg.band-hide {
    opacity: 0;
    transform: translateY(3px);
}
.hero-product-fav-band i { font-size: 9px; flex-shrink: 0; }
/* Mavi varyant: görüntüleyen sayısı */
.hero-product-fav-band.band--view {
    background: linear-gradient(90deg, #0057e7 0%, #00b4d8 100%);
}
/* Hero panel wrap */
.hero-product-card-wrap {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
}
/* ── Product Card Rating (Trendyol style) ── */
.product-card-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 5px;
    min-height: 18px;
}
.pcr-stars {
    display: inline-flex;
    gap: 1px;
    align-items: center;
}
.pcr-stars i,
.product-card-rating--empty i {
    font-size: 11px;
    color: #f5a623;
    line-height: 1;
}
.product-card-rating--empty i { color: #d1d5db; }
.pcr-score {
    font-size: 11.5px;
    font-weight: 700;
    color: #f5a623;
    margin-left: 2px;
    line-height: 1;
}
.pcr-count {
    font-size: 10.5px;
    color: #999;
    line-height: 1;
}
.product-card-rating--empty {
    gap: 2px;
}
.pcr-count--none {
    font-size: 10px;
    color: #ccc;
    margin-left: 3px;
}
.product-card-name {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
    margin-bottom: 8px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.product-card-price { margin-top: auto; }
.price-old {
    font-size: 12px;
    color: #aaa;
    text-decoration: line-through;
    margin-right: 6px;
}
.price-current {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
}
.price-discounted { color: #e53e3e; }
.price-na { font-size: 12px; color: #aaa; font-weight: 400; }

/* ── Sayfalama ── */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    padding-bottom: 16px;
}
.page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    background: #fff;
    transition: all .2s;
}
.page-btn:hover { border-color: #ff6000; color: #ff6000; }
.page-btn.active {
    background: #ff6000;
    color: #fff;
    border-color: #ff6000;
}
.page-dots { color: #aaa; padding: 0 4px; }

/* ══════════════════════════════════════
   URUN DETAY SAYFASI
   ══════════════════════════════════════ */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}
.breadcrumb a:hover { color: #ff6000; }
.bc-sep { font-size: 10px; color: #ccc; }
.bc-current { color: #333; font-weight: 500; }

/* 3 Kolon Layout */
.product-detail {
    display: grid;
    grid-template-columns: 480px 1fr 320px;
    gap: 28px;
    align-items: start;
}

/* ── Sol: Galeri ── */
.pd-gallery { position: sticky; top: 142px; }
.pd-gallery-main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #eee;
    aspect-ratio: 3/4;
}
.pd-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    cursor: zoom-in;
}
.gallery-zoom {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    font-size: 14px;
    color: #555;
    transition: all .2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.gallery-zoom:hover { background: #ff6000; color: #fff; }

.pd-gallery-thumbs {
    display: flex;
    gap: 8px;
    margin-top: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}
.thumb-btn {
    flex-shrink: 0;
    width: 64px; height: 80px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    padding: 2px;
    transition: border-color .2s;
}
.thumb-btn:hover { border-color: #999; }
.thumb-btn.active { border-color: #ff6000; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }

/* ── Orta: Bilgi ── */
.pd-info { background: #fff; border-radius: 12px; padding: 28px; border: 1px solid #eee; }
.pd-brand { margin-bottom: 8px; }
.brand-tag {
    display: inline-block;
    background: #f0f0f0;
    color: #555;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-right: 6px;
}
.pd-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin-bottom: 8px;
}
.pd-code {
    font-size: 13px;
    color: #888;
    margin-bottom: 12px;
}
.pd-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.tag {
    font-size: 11px;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 500;
}
.tag-family { background: #e8f4fd; color: #1976d2; }
.tag-cat { background: #fef3e2; color: #e65100; }

.pd-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 16px 0;
}

/* Varyant Secimleri */
.pd-variant-group { margin-bottom: 16px; }
.variant-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}
.variant-selected {
    font-weight: 400;
    color: #ff6000;
    margin-left: 4px;
}
.variant-options { display: flex; flex-wrap: wrap; gap: 8px; }

.variant-btn {
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: #fff;
    transition: all .2s;
    font-size: 13px;
    font-weight: 500;
}
.variant-btn:hover { border-color: #999; }
.variant-btn.active { border-color: #ff6000; background: #fff8f3; }
.variant-btn.disabled,
.variant-btn.out-of-stock {
    opacity: 0.35;
    cursor: not-allowed;
    position: relative;
    background: #f5f5f5;
    border-color: #e0e0e0;
    color: #aaa;
}
.variant-btn.out-of-stock::after {
    content: '';
    position: absolute;
    top: 50%; left: 4px; right: 4px;
    height: 1.5px;
    background: #bbb;
    transform: rotate(-12deg);
    pointer-events: none;
}
.variant-btn.out-of-stock:hover { border-color: #e0e0e0; }
.variant-btn.out-of-stock .color-swatch { opacity: 0.35; }

.variant-text { padding: 8px 16px; min-width: 48px; text-align: center; }

.variant-color {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px 6px 8px;
}
.color-swatch {
    width: 22px; height: 22px;
    border-radius: 50%;
    border: 2px solid rgba(0,0,0,0.1);
    flex-shrink: 0;
}
.color-name { font-size: 12px; }

/* Urun Bilgi Tablosu */
.pd-details h3 {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}
.detail-table { width: 100%; font-size: 13px; }
.detail-table td {
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}
.detail-table td:first-child {
    color: #888;
    width: 120px;
}

/* ── Sag: Satin Al ── */
.pd-buy { position: sticky; top: 142px; }
.pd-buy-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #eee;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pd-price-box { }
.pd-price-old {
    font-size: 15px;
    color: #aaa;
    text-decoration: line-through;
    margin-bottom: 2px;
}
.pd-price-current {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a2e;
}
.pd-price-na { font-size: 16px; color: #aaa; font-weight: 400; }
.pd-discount-badge {
    display: inline-block;
    background: #fef2f2;
    color: #e53e3e;
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    margin-top: 6px;
}

.pd-stock { }
.stock-in { color: #16a34a; font-size: 13px; font-weight: 600; }
.stock-in i { margin-right: 4px; }
.stock-out { color: #dc2626; font-size: 13px; font-weight: 600; }
.stock-out i { margin-right: 4px; }

/* Adet */
.pd-qty { display: flex; align-items: center; gap: 12px; }
.pd-qty label { font-size: 13px; font-weight: 600; }
.qty-spinner {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}
.qty-btn {
    width: 36px; height: 36px;
    background: #f5f5f5;
    border: none;
    font-size: 12px;
    color: #555;
    transition: background .2s;
}
.qty-btn:hover { background: #e8e8e8; }
.qty-spinner input {
    width: 48px; height: 36px;
    text-align: center;
    border: none;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

/* Butonlar */
.btn-add-cart {
    width: 100%;
    padding: 14px;
    background: #ff6000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .25s;
}
.btn-add-cart:hover {
    background: #e65500;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,96,0,0.35);
}
.btn-add-cart.btn-disabled,
.btn-add-cart.btn-disabled:hover {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.btn-buy-now {
    width: 100%;
    padding: 12px;
    background: #1a1a2e;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s;
}
.btn-buy-now:hover { background: #2d2d52; }
.btn-favorite {
    width: 100%;
    padding: 10px;
    background: #fff;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all .2s;
}
.btn-favorite:hover { border-color: #e53e3e; color: #e53e3e; }

/* Kargo Bilgileri */
.pd-shipping {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 8px;
    border-top: 1px solid #f0f0f0;
}
.shipping-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
}
.shipping-item i { color: #ff6000; font-size: 16px; width: 20px; text-align: center; }
.shipping-item strong { display: block; color: #333; }
.shipping-item small { color: #888; }

/* ── Zoom Modal ── */
.zoom-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.92);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.zoom-modal.active { display: flex; }
.zoom-modal img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
}
.zoom-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px; height: 44px;
    background: rgba(255,255,255,0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    transition: background .2s;
}
.zoom-close:hover { background: rgba(255,255,255,0.3); }

/* ══════════════════════════════════════
   ADMIN LAYOUT (Sidebar + Content)
   ══════════════════════════════════════ */

.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    min-height: calc(100vh - 120px);
    max-width: 1400px;
    margin: 0 auto;
}

/* ── Sidebar ── */
.admin-sidebar {
    background: #1a1a2e;
    border-right: 1px solid #2d2d52;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 62px;
    height: calc(100vh - 62px);
}
.admin-sidebar-header {
    padding: 24px 20px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    border-bottom: 1px solid #2d2d52;
}
.admin-sidebar-header i { color: #ff6000; font-size: 18px; }
.admin-sidebar-nav { flex: 1; padding: 12px 0; }
.admin-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: #a0a8c0;
    transition: all .15s;
    border-left: 3px solid transparent;
}
.admin-nav-item:hover {
    background: rgba(255,255,255,.05);
    color: #fff;
}
.admin-nav-item.active {
    background: rgba(255,96,0,.1);
    color: #ff6000;
    border-left-color: #ff6000;
    font-weight: 600;
}
.admin-nav-item i { width: 18px; text-align: center; font-size: 15px; }
.admin-nav-badge {
    margin-left: auto;
    background: #dc2626;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    min-width: 22px;
    text-align: center;
}
.admin-sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid #2d2d52;
}
.admin-sidebar-footer a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #a0a8c0;
    transition: color .15s;
}
.admin-sidebar-footer a:hover { color: #ff6000; }

/* ── Admin Content ── */
.admin-content {
    padding: 28px 32px;
    background: #f5f5f5;
    min-width: 0;
}
.admin-content-header { margin-bottom: 24px; }
.admin-content-header h1 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 10px;
}
.admin-content-header h1 i { color: #ff6000; }
.admin-content-header p { color: #888; font-size: 14px; margin-top: 4px; }

.admin-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}
.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 12px;
}
.admin-card-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.admin-card-header h2 i { color: #ff6000; }

.admin-empty {
    text-align: center;
    padding: 48px 20px;
    color: #aaa;
}
.admin-empty i { font-size: 48px; display: block; margin-bottom: 12px; color: #ddd; }
.admin-empty h3 { font-size: 16px; color: #888; margin-bottom: 4px; }
.admin-empty p { font-size: 13px; }

/* ── Review Config (reviews.php) ── */
.review-cfg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}
.review-cfg-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #f8f9fb;
    border-radius: 10px;
    border: 1px solid #eef0f4;
}
.cfg-icon {
    width: 40px; height: 40px;
    background: #fff3ed;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ff6000;
    font-size: 16px;
    flex-shrink: 0;
}
.cfg-body { flex: 1; }
.cfg-body > label:first-child { display: block; font-size: 12px; font-weight: 700; color: #555; margin-bottom: 6px; text-transform: uppercase; letter-spacing: .3px; }
.cfg-body select {
    width: 100%; padding: 8px 12px;
    border: 1px solid #ddd; border-radius: 8px;
    font-size: 13px; background: #fff;
}
.toggle-label {
    display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 13px; color: #555;
}
.toggle-label input { display: none; }
.toggle-switch {
    width: 36px; height: 20px;
    background: #d1d5db;
    border-radius: 10px;
    position: relative;
    transition: background .2s;
    flex-shrink: 0;
}
.toggle-switch::after {
    content: '';
    width: 16px; height: 16px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 2px; left: 2px;
    transition: transform .2s;
    box-shadow: 0 1px 3px rgba(0,0,0,.15);
}
.toggle-label input:checked + .toggle-switch { background: #ff6000; }
.toggle-label input:checked + .toggle-switch::after { transform: translateX(16px); }

.btn-save-sm {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 22px; background: #ff6000; color: #fff;
    border: none; border-radius: 8px; font-size: 13px; font-weight: 600;
    transition: background .15s; cursor: pointer;
}
.btn-save-sm:hover { background: #e65500; }

/* ── Review Filter Pills ── */
.review-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.pill {
    padding: 6px 14px; border: 1px solid #e0e0e0; border-radius: 20px;
    font-size: 12px; font-weight: 600; color: #666; background: #fff;
    cursor: pointer; transition: all .15s; display: flex; align-items: center; gap: 5px;
}
.pill:hover { border-color: #ff6000; color: #ff6000; }
.pill.active { background: #1a1a2e; color: #fff; border-color: #1a1a2e; }
.pill span { font-weight: 400; }
.pill-count-hot {
    background: #dc2626; color: #fff; font-size: 10px; font-weight: 700;
    padding: 1px 7px; border-radius: 10px; min-width: 18px; text-align: center;
}

/* ── Review Management Cards ── */
.review-cards-list { display: flex; flex-direction: column; gap: 12px; }
.rv-mgmt-card {
    display: grid;
    grid-template-columns: 200px 1fr 140px;
    gap: 16px;
    padding: 18px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: box-shadow .15s;
    align-items: start;
}
.rv-mgmt-card:hover { box-shadow: 0 2px 12px rgba(0,0,0,.06); }
.rv-mgmt-left { display: flex; gap: 10px; align-items: flex-start; }
.rv-mgmt-avatar {
    width: 36px; height: 36px; border-radius: 50%;
    background: linear-gradient(135deg, #ff6000, #ff8533);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; flex-shrink: 0;
}
.rv-mgmt-author { font-weight: 600; font-size: 13px; color: #333; }
.rv-mgmt-email { font-size: 11px; color: #999; }
.rv-mgmt-date { font-size: 11px; color: #aaa; margin-top: 4px; display: flex; align-items: center; gap: 4px; }
.rv-mgmt-product a { font-size: 13px; font-weight: 600; color: #1a1a2e; }
.rv-mgmt-product a:hover { color: #ff6000; }
.rv-mgmt-product small { display: block; font-size: 11px; color: #999; }
.rv-mgmt-stars { margin: 4px 0; }
.rv-mgmt-stars i { font-size: 12px; color: #f59e0b; }
.rv-mgmt-title { font-weight: 600; font-size: 13px; color: #333; margin-bottom: 2px; }
.rv-mgmt-comment { font-size: 13px; color: #666; line-height: 1.6; }
.rv-mgmt-right { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.rv-status-badge {
    padding: 4px 12px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.rv-status-pending  { background: #fef3c7; color: #92400e; }
.rv-status-approved { background: #dcfce7; color: #166534; }
.rv-status-rejected { background: #fef2f2; color: #991b1b; }
.rv-mgmt-actions { display: flex; gap: 6px; }
.rv-act-btn {
    width: 32px; height: 32px; border: 1px solid #e0e0e0; border-radius: 8px;
    background: #fff; display: flex; align-items: center; justify-content: center;
    font-size: 13px; color: #888; cursor: pointer; transition: all .15s;
}
.rv-act-approve:hover { background: #dcfce7; color: #16a34a; border-color: #bbf7d0; }
.rv-act-reject:hover { background: #fef3c7; color: #92400e; border-color: #fde68a; }
.rv-act-delete:hover { background: #fef2f2; color: #dc2626; border-color: #fecaca; }

/* ── Old compat ── */
.settings-page { max-width: 800px; margin: 0 auto; }
.settings-header { margin-bottom: 24px; }
.settings-header h1 { font-size: 24px; font-weight: 700; color: #1a1a2e; }
.settings-header p { color: #888; font-size: 14px; margin-top: 4px; }

.alert {
    padding: 14px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

.settings-card, .admin-card-compat {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #eee;
    margin-bottom: 20px;
}
.card-header, .admin-card-header-compat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.card-header h2 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    display: flex;
    align-items: center;
    gap: 8px;
}
.card-header h2 i { color: #ff6000; }

.btn-test {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #eef2ff;
    color: #4338ca;
    border: 1px solid #c7d2fe;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    transition: all .2s;
}
.btn-test:hover { background: #e0e7ff; }

.test-result {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 16px;
    font-weight: 500;
}
.test-result.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.test-result.error { background: #fef2f2; color: #991b1b; border: 1px solid #fca5a5; }

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
}
.form-group input, .form-group select {
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color .2s;
    background: #fafafa;
}
.form-group input:focus, .form-group select:focus {
    border-color: #ff6000;
    background: #fff;
}
.form-group small { color: #999; font-size: 11px; }
.form-group.full-width { grid-column: 1 / -1; }
.shortcut-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 10px;
    margin-top: 8px;
}
.shortcut-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fafafa;
    transition: all .2s;
    cursor: pointer;
}
.shortcut-item:hover {
    border-color: #ffcfb3;
    background: #fff7f1;
}
.shortcut-item input {
    width: 16px;
    height: 16px;
    accent-color: #ff6000;
}
.shortcut-item span {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
}
.shortcut-item em {
    font-style: normal;
    font-size: 11px;
    color: #6b7280;
}
@media (max-width: 960px) {
    .mega-menu {
        width: min(96vw, 1100px);
        padding: 16px;
    }
    .mega-menu-layout {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .mega-menu-sidebar {
        border-right: none;
        border-bottom: 1px solid #f1f1f1;
        padding-right: 0;
        padding-bottom: 12px;
        overflow-x: auto;
        flex-direction: row;
    }
    .mega-family-item {
        white-space: nowrap;
        width: auto;
    }
}

.password-wrapper {
    position: relative;
}
.password-wrapper input { width: 100%; padding-right: 42px; }
.toggle-pw {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #aaa;
    font-size: 14px;
}
.toggle-pw:hover { color: #555; }

.settings-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}
.settings-shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 14px;
    margin-bottom: 4px;
}
.settings-shortcut-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #ececec;
    border-radius: 12px;
    background: #fafafa;
    transition: all .2s;
}
.settings-shortcut-card:hover {
    border-color: #ffcfb3;
    background: #fff7f1;
    transform: translateY(-1px);
}
.settings-shortcut-card i {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff3ed;
    color: #ff6000;
    font-size: 18px;
    flex-shrink: 0;
}
.settings-shortcut-card strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 2px;
}
.settings-shortcut-card span {
    display: block;
    font-size: 12px;
    color: #888;
}
.settings-shortcut-active {
    border-color: #ffd7bf;
    background: #fff7f1;
}
.btn-save {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: #ff6000;
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    transition: all .2s;
}
.btn-save:hover { background: #e65500; }
.btn-cancel {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: #f5f5f5;
    color: #555;
    border: 1px solid #ddd;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    transition: all .2s;
}
.btn-cancel:hover { background: #eee; }

/* DB Durum */
.db-info { }
.db-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}
.db-status.connected { color: #16a34a; }
.db-status.error { color: #dc2626; }
.db-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #f8fafc;
    padding: 12px 20px;
    border-radius: 10px;
    border: 1px solid #e8ecf0;
    min-width: 80px;
}
.stat-num {
    font-size: 22px;
    font-weight: 800;
    color: #1a1a2e;
}
.stat-label {
    font-size: 11px;
    color: #888;
    font-weight: 500;
    margin-top: 2px;
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */

.site-footer {
    background: #1a1a2e;
    color: #a0a8c0;
    padding: 48px 0 0;
    margin-top: 48px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #2d2d52;
}
.footer-col h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
}
.footer-desc {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 16px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #a0a8c0;
    font-size: 16px;
    transition: all .2s;
}
.footer-social a:hover { background: #ff6000; color: #fff; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a {
    font-size: 13px;
    color: #a0a8c0;
    transition: color .2s;
}
.footer-col li a:hover { color: #ff6000; }
.footer-bottom {
    text-align: center;
    padding: 20px 0;
    font-size: 12px;
    color: #666;
}

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */

@media (max-width: 1200px) {
    .product-detail { grid-template-columns: 400px 1fr 280px; gap: 20px; }
}
@media (max-width: 1024px) {
    .product-detail {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
    .pd-buy { grid-column: 1 / -1; }
    .pd-buy-card {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }
    .product-grid--home { grid-template-columns: repeat(3, 1fr); }
    .header-inner {
        display: flex;
        flex-wrap: nowrap;
        grid-template-columns: none;
        padding: 10px;
        gap: 8px;
    }
    .header-inner > .logo,
    .header-inner > .header-search-row,
    .header-inner > .header-actions { justify-self: auto; }
    .logo {
        flex: 0 0 auto;
        margin-right: 0;
    }
    .logo-img { max-height: 57px; width: auto; }
    .logo .logo-text { display: none; }
    .header-search-row { order: 2; max-width: 100%; flex: 1 1 auto; width: auto; margin: 0; }
    .header-actions { order: 3; margin-left: 0; flex: 0 0 auto; display: flex; justify-content: flex-end; gap: 4px; }
    .hero-layout-wrap { width: auto; margin: 0 1px 28px 1px; gap: 8px; }
}
@media (max-width: 768px) {
    .header-inner {
        display: flex;
        flex-wrap: nowrap;
        grid-template-columns: none;
        padding: 10px;
        gap: 8px;
    }
    .header-inner > .logo,
    .header-inner > .header-search-row,
    .header-inner > .header-actions { justify-self: auto; }
    .logo {
        flex: 0 0 auto;
        margin-right: 0;
    }
    .logo-img { max-height: 57px; width: auto; }
    .logo .logo-text { display: none; }
    .header-search-row { order: 2; max-width: 100%; flex: 1 1 auto; width: auto; margin: 0; }
    .header-actions { order: 3; margin-left: 0; flex: 0 0 auto; display: flex; justify-content: flex-end; gap: 4px; }
    .product-detail { grid-template-columns: 1fr; }
    .pd-gallery { position: static; }
    .pd-buy { position: static; }
    .product-grid--home { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
    .form-grid { grid-template-columns: 1fr; }
    .hero-layout-wrap { width: auto; margin: 0 1px 28px 1px; gap: 8px; }
    .hero-bottom-bar { padding: 12px 4px 10px; }
    .hero-bottom-badge { width: 96px; height: 76px; margin: 0 4px; }
    .hero-bottom-badge-icon { font-size: 24px; }
    .hero-bottom-badge-text { font-size: 10.5px; padding: 20px 7px 6px; }
    .hero-banner { height: clamp(170px, 34vw, 260px); min-height: 170px; }
    .hero-product-panel { width: 200px; min-height: clamp(170px, 34vw, 260px); }
    .hero-product-card-img { width: 52px; }
    .hero-product-name { font-size: 10.5px; }
    .hero-product-new  { font-size: 11px; }
    .hero-slider, .hero-slider-track { height: 100%; }
    .hero-slide { padding: 24px 18px; }
    .hero-content h1 { font-size: 24px; }
    .hero-content p { font-size: 14px; }
    .hero-price-new { font-size: 20px; }
    .hero-nav { width: 34px; height: 34px; }
}
@media (max-width: 480px) {
    .hero-layout-wrap {
        flex-direction: column;
        width: auto;
        margin: 0 1px 18px 1px;
        gap: 6px;
    }
    .hero-bottom-bar {
        display: flex;
        padding: 10px 4px 8px;
        border-radius: 12px;
    }
    .hero-bottom-badge { width: 84px; height: 66px; margin: 0 3px; border-radius: 10px; }
    .hero-bottom-badge-icon { font-size: 20px; border-radius: 10px; }
    .hero-bottom-badge-text { font-size: 10px; padding: 18px 6px 5px; }
    .hbb-arrow { display: none; }
    .hero-banner { height: clamp(160px, 44vw, 220px); min-height: 160px; border-radius: 10px; }
    .hero-product-panel { display: none; }
    .hero-product-panel-inner { flex: 1; }
    .hero-product-group { flex-direction: row; padding: 6px; gap: 6px; }
    .hero-slide { padding: 18px 12px; }
    .hero-content h1 { font-size: 20px; margin-bottom: 8px; }
    .hero-content p { margin-bottom: 16px; }
    .product-grid, .product-grid--home { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .product-card-body { padding: 8px 10px 12px; }
    .product-card-name { font-size: 12px; }
    .product-card-rating { gap: 2px; margin-bottom: 4px; }
    .pcr-stars i { font-size: 10px; }
    .pcr-score { font-size: 10.5px; }
    .pcr-count { font-size: 9.5px; }
    .pcr-count--none { font-size: 9px; }
    .price-current { font-size: 14px; }
    .top-bar-inner { gap: 12px; font-size: 10px; width: 100%; max-width: 100%; justify-content: center; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════
   URUN DETAY - SEKMELI ALT BOLUM (v2)
   ══════════════════════════════════════════════ */
.pd-tabs-wrap {
    max-width: 1400px;
    margin: 36px auto 56px;
    padding: 0 16px;
}
.pd-tabs-bar {
    display: flex;
    gap: 4px;
    background: #fff;
    border-radius: 14px 14px 0 0;
    border: 1px solid #eee;
    border-bottom: none;
    padding: 6px 6px 0;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
}
.pd-tabs-bar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.pd-tab {
    display: flex; align-items: center; gap: 8px;
    padding: 13px 24px;
    font-size: 14px; font-weight: 600; color: #888;
    background: transparent;
    border: none;
    border-radius: 10px 10px 0 0;
    cursor: pointer;
    transition: all .2s;
    white-space: nowrap;
    position: relative;
    flex-shrink: 0;
}
.pd-tab i { font-size: 14px; }
.pd-tab em { font-size: 11px; font-style: normal; font-weight: 400; color: #bbb; margin-left: 2px; }
.pd-tab:hover { color: #ff6000; background: #fff8f3; }
.pd-tab.active {
    color: #ff6000;
    background: #fff;
    box-shadow: inset 0 -3px 0 #ff6000;
}
.pd-tab.active em { color: #ff6000; }

.pd-panel {
    display: none;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 0 0 14px 14px;
    padding: 32px;
    animation: panelIn .2s ease;
    min-width: 0;
}
.pd-panel.active { display: block; }
@keyframes panelIn { from { opacity:0; } to { opacity:1; } }
.pd-panel-head {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}
.pd-panel-head h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a2e;
}
.pd-panel-head h3 i { color: #ff6000; font-size: 16px; }
.pd-panel-head p { font-size: 13px; color: #8b8b8b; }

.pd-panel-empty {
    text-align: center;
    padding: 56px 24px;
}
.pd-panel-empty .empty-icon { font-size: 44px; color: #e0e0e0; margin-bottom: 14px; }
.pd-panel-empty p { font-size: 14px; color: #aaa; }
.pd-panel-empty-sm { padding: 36px 20px; }
.pd-panel-empty-sm .empty-icon { font-size: 32px; }

/* ── Features ── */
.feat-cols { border-radius: 8px; overflow: hidden; border: 1px solid #f0f0f0; }
.feat-row {
    display: grid;
    grid-template-columns: 220px 1fr;
    border-bottom: 1px solid #f0f0f0;
}
.feat-row:last-child { border-bottom: none; }
.feat-row-alt { background: #fafbfc; }
.feat-key {
    padding: 14px 20px;
    font-size: 13px; font-weight: 700; color: #555;
    background: #f8f9fb;
    border-right: 1px solid #f0f0f0;
    display: flex; align-items: center;
}
.feat-val {
    padding: 14px 20px;
    font-size: 14px; color: #333;
    display: flex; align-items: center;
}

/* ── Stock Locations ── */
.loc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 14px;
}
.loc-card {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow .15s;
    background: #fff;
    min-width: 0;
}
.loc-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.06); }
.loc-top {
    display: flex; align-items: center; gap: 12px;
    padding: 14px 18px;
    background: #f8f9fb;
    border-bottom: 1px solid #f0f0f0;
}
.loc-icon-wrap {
    width: 38px; height: 38px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; flex-shrink: 0;
}
.loc-depo { background: #e0f2fe; color: #0284c7; }
.loc-magaza { background: #fff3ed; color: #ff6000; }
.loc-info { flex: 1; }
.loc-name { font-size: 14px; font-weight: 700; color: #1a1a2e; }
.loc-type { font-size: 11px; color: #999; }
.loc-total {
    font-size: 20px; font-weight: 800; color: #ccc;
    text-align: right; line-height: 1.1;
}
.loc-total.has-stock { color: #16a34a; }
.loc-total small { font-size: 11px; font-weight: 500; display: block; }
.loc-rows { padding: 4px 0; }
.loc-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 18px;
    border-bottom: 1px solid #f8f8f8;
    font-size: 13px;
    gap: 12px;
}
.loc-row:last-child { border-bottom: none; }
.loc-row-attrs { display: flex; flex-wrap: wrap; gap: 4px; min-width: 0; flex: 1; }
.loc-chip {
    background: #f0f0f0; padding: 3px 10px; border-radius: 5px;
    font-size: 12px; color: #555;
    max-width: 100%;
    word-break: break-word;
}
.loc-chip b { font-weight: 600; margin-right: 2px; color: #888; }
.loc-row-qty { font-weight: 800; font-size: 14px; min-width: 28px; text-align: right; }
.qty-ok { color: #16a34a; }
.qty-zero { color: #d4d4d4; }

/* ── Reviews Section ── */
.rv-summary-band {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 28px;
    background: #f8f9fb;
    border-radius: 12px;
    margin-bottom: 24px;
    border: 1px solid #eef0f4;
}
.rv-score { text-align: center; min-width: 100px; }
.rv-score-num { font-size: 48px; font-weight: 900; color: #1a1a2e; line-height: 1; }
.rv-score-stars { margin: 6px 0; }
.rv-score-stars i { font-size: 16px; color: #f59e0b; }
.rv-score-count { font-size: 12px; color: #999; }
.rv-bars { flex: 1; max-width: 360px; }
.rv-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; }
.rv-bar-label { width: 32px; display: flex; align-items: center; gap: 2px; font-size: 12px; color: #888; font-weight: 600; }
.rv-bar-label i { font-size: 10px; color: #f59e0b; }
.rv-bar-track { flex: 1; height: 8px; background: #e5e7eb; border-radius: 4px; overflow: hidden; }
.rv-bar-fill { height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24); border-radius: 4px; }
.rv-bar-num { width: 24px; text-align: right; font-size: 12px; color: #aaa; font-weight: 600; }
.rv-write-cta { margin-left: auto; }
.rv-list { display: flex; flex-direction: column; gap: 0; min-width: 0; }
.btn-write-review {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 24px;
    background: #ff6000; color: #fff;
    border: none; border-radius: 10px;
    font-size: 14px; font-weight: 700;
    cursor: pointer; transition: all .15s;
}
.btn-write-review:hover { background: #e65500; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(255,96,0,.25); }

/* Review Form */
.rv-form-wrap {
    margin-bottom: 24px;
    background: #fafbfc;
    border: 1px solid #eef0f4;
    border-radius: 12px;
    padding: 24px;
    animation: panelIn .2s ease;
}
.rv-form-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 14px; }
.rv-form-full { grid-column: 1 / -1; }
.rv-form label { display: block; font-size: 12px; font-weight: 700; color: #555; margin-bottom: 5px; }
.rv-form input[type="text"],
.rv-form input[type="email"],
.rv-form textarea {
    width: 100%; padding: 10px 14px;
    border: 1px solid #ddd; border-radius: 8px;
    font-size: 14px; background: #fff; transition: border-color .15s;
}
.rv-form input:focus, .rv-form textarea:focus { border-color: #ff6000; outline: none; box-shadow: 0 0 0 3px rgba(255,96,0,.08); }
.rv-form textarea { resize: vertical; min-height: 72px; }
.rv-form-actions { display: flex; gap: 10px; margin-top: 14px; }

.star-rating-input { display: flex; gap: 4px; cursor: pointer; }
.star-rating-input i { font-size: 22px; color: #d1d5db; transition: color .12s; }
.star-rating-input i.active { color: #f59e0b; }
.star-rating-input i.hovered { color: #fbbf24; }

.btn-submit-review {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 24px; background: #ff6000; color: #fff;
    border: none; border-radius: 8px; font-size: 14px; font-weight: 600;
    cursor: pointer; transition: all .15s;
}
.btn-submit-review:hover { background: #e65500; }
.btn-submit-review:disabled { opacity:.5; cursor: not-allowed; }
.btn-cancel-review {
    padding: 10px 20px; background: #f5f5f5; color: #666;
    border: 1px solid #ddd; border-radius: 8px; font-size: 14px; cursor: pointer;
}
.btn-cancel-review:hover { background: #eee; }
.review-form-msg { margin-top: 12px; padding: 10px 16px; border-radius: 8px; font-size: 13px; font-weight: 500; }
.review-form-msg.success { background: #dcfce7; color: #166534; border: 1px solid #bbf7d0; }
.review-form-msg.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Review List */
.rv-list { display: flex; flex-direction: column; gap: 0; }
.rv-item {
    display: flex; gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
    min-width: 0;
}
.rv-item:last-child { border-bottom: none; }
.rv-item-side { flex-shrink: 0; }
.rv-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, #1a1a2e, #2d2d52);
    color: #fff; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 16px;
}
.rv-item-body { flex: 1; min-width: 0; }
.rv-item-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; gap: 12px; flex-wrap: wrap; }
.rv-author { font-weight: 700; font-size: 14px; color: #1a1a2e; }
.rv-date { font-size: 12px; color: #bbb; margin-left: 10px; }
.rv-item-stars i { font-size: 13px; color: #f59e0b; }
.rv-item-title { font-weight: 700; font-size: 14px; color: #333; margin-bottom: 4px; }
.rv-item-text { font-size: 14px; color: #555; line-height: 1.7; word-break: break-word; }

/* ── Product Tabs Responsive ── */
@media (max-width: 1024px) {
    .rv-summary-band { flex-wrap: wrap; gap: 20px; }
    .rv-bars { max-width: none; }
    .rv-write-cta { width: 100%; }
    .btn-write-review { width: 100%; justify-content: center; }
    .loc-grid { grid-template-columns: 1fr; }
    .rv-form-grid { grid-template-columns: 1fr 1fr; }
    .rv-mgmt-card { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) and (pointer: coarse) {
    .admin-layout { grid-template-columns: 1fr; }
    .admin-sidebar { position: static; height: auto; flex-direction: row; align-items: center; }
    .admin-sidebar-header { padding: 14px 16px; border-bottom: none; border-right: 1px solid #2d2d52; }
    .admin-sidebar-nav { display: flex; gap: 0; padding: 0; overflow-x: auto; }
    .admin-nav-item { padding: 14px 16px; white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; }
    .admin-nav-item.active { border-bottom-color: #ff6000; border-left-color: transparent; }
    .admin-sidebar-footer { display: none; }
}
@media (max-width: 768px) {
    /* ── Ürün Detay Sekmeleri (Mobile Fix) ── */
    .pd-tabs-wrap {
        margin-top: 16px;
        margin-bottom: 24px;
        padding: 0;
        overflow: hidden;
    }
    .pd-tabs-bar {
        border-radius: 0;
        padding: 4px 4px 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        gap: 2px;
        display: flex;
    }
    .pd-tabs-bar::-webkit-scrollbar { display: none; }
    .pd-tab {
        padding: 10px 14px;
        font-size: 12px;
        flex-shrink: 0;
        white-space: nowrap;
        min-width: unset;
    }
    .pd-tab span { white-space: nowrap; }
    .pd-tab em { display: none; }
    .pd-panel { padding: 20px 16px; border-radius: 0 0 10px 10px; }
    .pd-panel-head { margin-bottom: 18px; padding-bottom: 14px; }
    .pd-panel-head h3 { font-size: 16px; }
    .feat-row { grid-template-columns: 1fr; }
    .feat-key { border-right: none; border-bottom: 1px solid #f0f0f0; background: #f4f5f7; padding: 10px 16px; font-size: 12px; }
    .feat-val { padding: 10px 16px; }
    .rv-summary-band { flex-direction: column; text-align: center; }
    .rv-form-grid { grid-template-columns: 1fr; }
    .rv-form-full { grid-column: 1; }
    .rv-item { flex-direction: column; gap: 10px; }
    .settings-shortcuts { grid-template-columns: 1fr; }

    /* ── Kategori Kisayol Bandi — Mobil ── */
    .category-shortcuts-bar {
        /* Mobilde header wrap edince yuksekligi degiskendir; static kalsin */
        position: static;
        top: auto;
    }
    .csb-container { padding: 0 8px; height: 42px; gap: 8px; width: 100%; max-width: 100%; overflow: hidden; }
    .csb-pin {
        padding: 0 12px;
        font-size: 12px;
        gap: 5px;
        height: 36px; /* 42 - 2x3 = 36 */
        margin: 3px 0;
        border-radius: 9px;
    }
    .csb-pin span { display: inline; }
    .csb-item { padding: 0 10px; font-size: 11.5px; gap: 4px; height: 100%; }
    .csb-badge { min-width: 14px; height: 13px; font-size: 8.5px; padding: 0 3px; }
    .csb-arrow { display: none !important; } /* Mobilde parmakla kaydir */
    /* Mobilde mega menu yerine drawer */
    .csb-pin-wrap .mega-menu { display: none !important; }
    .csb-pin-wrap.has-mega-menu.mega-force-open .mega-menu { display: none !important; }

    /* ── Header Mobile Adjustments ── */
    /* Mobilde artik logo + arama + aksiyon butonlari tek satirda durur.
       Kategoriler butonu sadece altindaki kisayol barinda kalir. */
    /* Mobilde logo satırı ve arama satırı için %100 genişlik zorlaması */
    .header-inner {
        display: flex;
        flex-wrap: nowrap; /* Tek satıra sığdır */
        grid-template-columns: none;
        padding: 10px;
        gap: 8px;
        align-items: center;
        width: 100%;
        max-width: 100%;
    }
    .header-inner > .logo,
    .header-inner > .header-search-row,
    .header-inner > .header-actions { justify-self: auto; }
    .logo {
        flex: 0 0 auto;
        margin-right: 0;
        min-width: 0;
    }
    .logo-img { max-height: 57px; width: auto; } /* %50 büyütüldü */
    .logo .logo-text { display: none; }
    .header-search-row {
        order: 2; /* Arama çubuğu ortada */
        flex: 1 1 auto; 
        min-width: 0;
        max-width: 100%;
        width: auto;
        margin: 0;
        gap: 8px;
    }
    .header-actions {
        order: 3; /* Butonlar en sağda */
        flex: 0 0 auto;
        display: flex;
        justify-content: flex-end;
        margin-left: 0;
        gap: 4px;
    }
    /* Mobildeki eski "Kategoriler" butonu tamamen kaldirildi (yeniden goster edilmesin) */
    .mobile-categories-btn {
        display: none !important;
    }
    .desktop-only-site-name {
        display: none !important;
    }
    .header-search-row .logo-cat-wrap { display: none; }
    .logo-cat-btn {
        display: none;
    }
    .header-search-row .search-bar {
        flex: 1 1 0%;
        min-width: 0;
        max-width: 100%;
    }
    .header-search-row .search-bar input {
        width: 100%;
        min-width: 0;
    }
    .header-action-btn {
        padding: 6px 8px;
    }
    .header-action-btn span {
        display: none; /* Hide text on mobile to save space */
    }
    .mega-menu {
        width: 100%;
        max-width: 100%;
        right: 0;
        left: 0;
    }
    .mega-menu-layout {
        grid-template-columns: 1fr;
        gap: 12px;
        min-height: auto;
    }
    .mega-menu-sidebar {
        border-right: none;
        border-bottom: 1px solid #f1f1f1;
        padding-right: 0;
        padding-bottom: 10px;
        flex-direction: row;
        overflow-x: auto;
    }
    .mega-family-item {
        width: auto;
        white-space: nowrap;
    }
}

/* ==========================================================================
   HEADER AUTH POPUP & ACCOUNT DROPDOWN
   ========================================================================== */

/* Top bar customer name */
.top-bar-customer {
    color: #ff9f5a;
    font-weight: 600;
}
.top-bar-customer i { color: #ff9f5a; font-size: 11px; }

/* Login Popup Wrapper */
.header-auth-wrap {
    position: relative;
}

.login-popup {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.16);
    padding: 20px 18px;
    width: 230px;
    display: none;
    z-index: 9999;
    border: 1px solid #eee;
}
.login-popup.active { display: block; }
.login-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 18px;
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #fff;
    filter: drop-shadow(0 -1px 1px rgba(0,0,0,0.06));
}
.login-popup-title {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-bottom: 14px;
    font-weight: 500;
}
.login-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    text-decoration: none;
    margin-bottom: 8px;
    box-sizing: border-box;
}
.login-popup-btn:last-child { margin-bottom: 0; }
.login-popup-btn-primary {
    background: #ff6000;
    color: #fff;
}
.login-popup-btn-primary:hover { background: #e65500; color: #fff; }
.login-popup-btn-outline {
    background: transparent;
    color: #ff6000;
    border: 2px solid #ff6000;
}
.login-popup-btn-outline:hover { background: #fff3eb; color: #ff6000; }

/* Account Dropdown */
.header-account-wrap {
    position: relative;
}
.account-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.16);
    width: 250px;
    display: none;
    z-index: 9999;
    border: 1px solid #eee;
    overflow: hidden;
}
.account-dropdown.active { display: block; }
.account-dropdown::before {
    content: '';
    position: absolute;
    top: -8px;
    right: 18px;
    width: 0; height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid #ff6000;
}
.account-dropdown-header {
    padding: 18px 20px 14px;
    background: linear-gradient(135deg, #ff6000, #ff8533);
    color: #fff;
}
.account-dropdown-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 2px;
}
.account-dropdown-email {
    font-size: 12px;
    opacity: 0.85;
}
.account-dropdown-menu { padding: 6px 0; }
.account-dropdown-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    font-size: 14px;
    color: #444;
    transition: background 0.15s;
    text-decoration: none;
}
.account-dropdown-link i {
    width: 18px;
    text-align: center;
    color: #888;
    font-size: 14px;
}
.account-dropdown-link:hover { background: #f8f9fa; color: #ff6000; }
.account-dropdown-link:hover i { color: #ff6000; }
.account-dropdown-divider { height: 1px; background: #f0f0f0; margin: 4px 0; }
.account-dropdown-logout { color: #e53e3e !important; }
.account-dropdown-logout i { color: #e53e3e !important; }
.account-dropdown-logout:hover { background: #fff5f5 !important; color: #c53030 !important; }

/* Mobile adjustments for popup/dropdown */
@media (max-width: 480px) {
    .login-popup, .account-dropdown {
        right: -10px;
        width: 210px;
    }
}
