/* ============================================
   YEDEK PARÇA E-TİCARET - PREMIUM DESIGN
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
    --primary: #f5a623;
    --primary-hover: #e6951a;
    --primary-light: #fff3dc;
    --dark: #1a1a2e;
    --dark-2: #16213e;
    --dark-3: #0f3460;
    --text: #222;
    --text-2: #555;
    --text-3: #999;
    --bg: #ffffff;
    --bg-2: #f7f8fa;
    --bg-3: #eef0f3;
    --border: #e5e7eb;
    --green: #16a34a;
    --red: #dc2626;
    --blue: #2563eb;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-2: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-3: 0 10px 40px rgba(0, 0, 0, 0.1);
    --radius: 8px;
    --max-w: 1280px;
}

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

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

button,
input,
select {
    font-family: inherit;
    outline: none;
    border: none;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 16px;
}

/* ─── TOPBAR ─── */
.topbar {
    background: var(--dark);
    font-size: 12px;
    color: #9ca3af;
    padding: 5px 0;
}

.topbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.topbar-left,
.topbar-right {
    display: flex;
    gap: 18px;
    align-items: center;
}

.topbar a:hover {
    color: var(--primary);
}

.topbar svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
    vertical-align: -2px;
    margin-right: 4px;
}

/* ─── HEADER ─── */
.header {
    background: #fff;
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.logo-svg {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-svg svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.logo-brand {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
}

.logo-brand span {
    color: var(--primary);
}

.logo-sub {
    font-size: 9px;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* Search */
.search-wrap {
    flex: 1;
    max-width: 480px;
    position: relative;
}

.search-wrap input {
    width: 100%;
    padding: 11px 44px 11px 16px;
    border: 2px solid var(--border);
    border-radius: 24px;
    font-size: 13px;
    color: var(--text);
    background: var(--bg-2);
    transition: .2s;
    /* iOS zoom fix: font-size override in @media below */
}

.search-wrap input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .12);
}

.search-wrap input::placeholder {
    color: var(--text-3);
}

.search-btn {
    position: absolute;
    right: 3px;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.search-btn:hover {
    background: var(--primary-hover);
}

.search-btn svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* Header Btns */
.h-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-2);
    background: transparent;
    transition: .2s;
    white-space: nowrap;
    position: relative;
}

.h-btn:hover {
    background: var(--bg-2);
    color: var(--primary);
}

.h-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.h-btn .badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--red);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.h-cart {
    background: var(--primary) !important;
    color: #fff !important;
    border-radius: 24px !important;
    padding: 9px 18px !important;
    font-weight: 600;
}

.h-cart svg {
    fill: #fff !important;
}

.h-cart:hover {
    background: var(--primary-hover) !important;
}

.h-cart .badge {
    background: var(--green) !important;
    top: -2px !important;
    right: -2px !important;
}

.h-grt {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #e67e22);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.h-grt .badge {
    position: absolute;
    top: -3px;
    right: -3px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--green);
    color: #fff;
    font-size: 8px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

.dark-toggle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--bg-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
    flex-shrink: 0;
}

.dark-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.dark-toggle:hover svg {
    fill: #fff;
}

.dark-toggle svg {
    width: 18px;
    height: 18px;
    fill: var(--text-2);
    transition: .2s;
}

/* ─── NAVBAR ─── */
.navbar {
    background: var(--dark);
    position: sticky;
    top: 60px;
    z-index: 99;
}

.navbar .container {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
}

.navbar .container::-webkit-scrollbar {
    display: none;
}

.nav-item {
    padding: 12px 15px;
    color: rgba(255, 255, 255, .8);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    white-space: nowrap;
    transition: .15s;
    position: relative;
}

.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .05);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: .2s;
}

.nav-item:hover::after {
    width: 50%;
}

.nav-item.more {
    color: var(--primary);
}

/* ─── HERO ─── */
.hero {
    padding: 16px 0;
    background: var(--bg-2);
}

.hero-grid {
    display: grid;
    grid-template-columns: 280px 1fr 1fr;
    gap: 12px;
    height: 360px;
}

/* Search Panel */
.search-panel {
    background: linear-gradient(145deg, #1e2a3a 0%, #0f1923 100%);
    border-radius: 12px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    color: #fff;
}

.sp-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    background: rgba(255, 255, 255, .06);
    color: #fff;
    font-size: 13px;
    transition: .2s;
}

.sp-input:focus {
    border-color: var(--primary);
    background: rgba(255, 255, 255, .1);
}

.sp-input::placeholder {
    color: rgba(255, 255, 255, .4);
}

.sp-btn {
    width: 100%;
    padding: 10px 0;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 8px;
    transition: .2s;
}

.sp-btn:hover {
    background: var(--primary-hover);
}

.sp-divider {
    text-align: center;
    font-size: 11.5px;
    color: rgba(255, 255, 255, .45);
    margin: 14px 0;
    line-height: 1.6;
}

.sp-divider b {
    color: rgba(255, 255, 255, .75);
}

.sp-select {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 6px;
    background: rgba(255, 255, 255, .06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M5 6L0 0h10z' fill='%23666'/%3E%3C/svg%3E") no-repeat right 12px center;
    color: #fff;
    font-size: 13px;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    margin-bottom: 8px;
    transition: .2s;
}

.sp-select:focus {
    border-color: var(--primary);
}

.sp-select option {
    background: var(--dark);
    color: #fff;
}

/* Banner slides */
.hero-banner {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.hero-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.hero-banner:hover img {
    transform: scale(1.02);
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    cursor: pointer;
    transition: .2s;
}

.dot.on {
    background: var(--primary);
    width: 22px;
    border-radius: 4px;
}

/* ─── SECTION ─── */
.section {
    padding: 40px 0;
}

.section.alt {
    background: var(--bg-2);
}

.sec-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.sec-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text);
}

.sec-arrows {
    display: flex;
    gap: 6px;
}

.arr-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-3);
    transition: .2s;
}

.arr-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.arr-btn svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

/* ─── PRODUCT CARD ─── */
.p-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.p-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
    transition: .2s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.p-card:hover {
    box-shadow: var(--shadow-3);
    transform: translateY(-3px);
    border-color: transparent;
}

.p-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.p-badge.deal {
    background: var(--green);
    color: #fff;
}

.p-badge.hot {
    background: var(--red);
    color: #fff;
}

.p-badge.new {
    background: var(--blue);
    color: #fff;
}

.p-fav {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: .2s;
}

.p-card:hover .p-fav {
    opacity: 1;
}

.p-fav svg {
    width: 14px;
    height: 14px;
    fill: var(--text-3);
    transition: .2s;
}

.p-fav:hover svg {
    fill: var(--red);
}

.p-fav.liked svg {
    fill: var(--red);
}

.p-img {
    height: 160px;
    background: var(--bg-2);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.p-img img {
    max-height: 128px;
    width: auto;
    object-fit: contain;
    transition: transform .3s;
}

.p-card:hover .p-img img {
    transform: scale(1.06);
}

.p-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.p-oem {
    font-size: 10px;
    color: var(--text-3);
    margin-bottom: 4px;
    font-weight: 500;
}

.p-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 36px;
}

.p-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
}

.p-stars {
    color: var(--primary);
    font-size: 11px;
    letter-spacing: 1px;
}

.p-rcount {
    font-size: 10px;
    color: var(--text-3);
}

.p-prices {
    margin-top: auto;
    margin-bottom: 10px;
}

.p-old {
    font-size: 11px;
    color: var(--text-3);
    text-decoration: line-through;
}

.p-now {
    font-size: 17px;
    font-weight: 800;
    color: var(--text);
}

.p-currency {
    font-size: 14px;
    font-weight: 700;
}

.p-disc {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    color: var(--red);
    background: rgba(220, 38, 38, .08);
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}

.p-actions {
    display: flex;
    gap: 6px;
}

.p-cart-btn {
    flex: 1;
    padding: 9px 0;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: .2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.p-cart-btn:hover {
    background: var(--primary-hover);
}

.p-cart-btn svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.p-view-btn {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.p-view-btn:hover {
    border-color: var(--primary);
}

.p-view-btn svg {
    width: 14px;
    height: 14px;
    fill: var(--text-3);
}

/* ─── DEALS BANNER ─── */
.deals-bar {
    background: linear-gradient(135deg, var(--dark) 0%, #0a1628 100%);
    border-radius: 12px;
    padding: 22px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
}

.deals-bar::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 250px;
    height: 100%;
    background: radial-gradient(circle at right, rgba(245, 166, 35, .12), transparent 70%);
}

.deals-bar h3 {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
}

.deals-bar p {
    color: rgba(255, 255, 255, .6);
    font-size: 13px;
    margin-top: 2px;
}

.timer {
    display: flex;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.timer-unit {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 8px;
    padding: 8px 12px;
    text-align: center;
    min-width: 56px;
}

.timer-unit .num {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.timer-unit .lbl {
    font-size: 9px;
    color: rgba(255, 255, 255, .5);
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 2px;
}

/* ─── CATEGORIES ─── */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
}

.cat-card {
    background: var(--bg-2);
    border: 1px solid transparent;
    border-radius: 10px;
    padding: 22px 12px;
    text-align: center;
    transition: .2s;
    cursor: pointer;
}

.cat-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-2);
    background: #fff;
}

.cat-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 10px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-1);
}

.cat-card:hover .cat-icon {
    background: var(--primary-light);
}

.cat-icon svg {
    width: 22px;
    height: 22px;
    fill: var(--primary);
}

.cat-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text);
}

.cat-count {
    font-size: 10px;
    color: var(--text-3);
    margin-top: 2px;
}

/* ─── TRUST ─── */
.trust-bar {
    padding: 30px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: #fff;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.trust-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trust-icon.ship {
    background: rgba(22, 163, 74, .08);
}

.trust-icon.ship svg {
    fill: var(--green);
}

.trust-icon.lock {
    background: rgba(37, 99, 235, .08);
}

.trust-icon.lock svg {
    fill: var(--blue);
}

.trust-icon.call {
    background: rgba(245, 166, 35, .08);
}

.trust-icon.call svg {
    fill: var(--primary);
}

.trust-icon.shield {
    background: rgba(168, 85, 247, .08);
}

.trust-icon.shield svg {
    fill: #a855f7;
}

.trust-icon svg {
    width: 22px;
    height: 22px;
}

.trust-txt h4 {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.trust-txt p {
    font-size: 11px;
    color: var(--text-3);
}

/* ─── PROMO BANNERS ─── */
.promo-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 40px 0;
}

.promo-card {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 180px;
    cursor: pointer;
    transition: .2s;
}

.promo-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-3);
}

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

.promo-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px;
}

.promo-card.dark .promo-overlay {
    background: linear-gradient(90deg, rgba(22, 33, 62, .9) 40%, transparent);
}

.promo-card.light .promo-overlay {
    background: linear-gradient(90deg, rgba(245, 166, 35, .92) 40%, transparent);
}

.promo-overlay h3 {
    font-size: 20px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 6px;
    font-family: 'Poppins', sans-serif;
}

.promo-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, .8);
}

.promo-overlay .promo-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 18px;
    border-radius: 6px;
    background: #fff;
    color: var(--dark);
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
    transition: .2s;
}

.promo-link:hover {
    background: var(--primary);
    color: #fff;
}

/* ─── BRANDS ─── */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 10px;
}

.brand-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px 8px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: var(--text);
    letter-spacing: .5px;
    cursor: pointer;
    transition: .2s;
}

.brand-item:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-2);
}

/* ─── FOOTER ─── */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .6);
    padding-top: 44px;
}

.ft-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1.3fr;
    gap: 32px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.ft-col h4 {
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.ft-col p {
    font-size: 12px;
    line-height: 1.7;
    margin-bottom: 12px;
}

.ft-col ul li {
    margin-bottom: 8px;
}

.ft-col ul li a {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
    transition: .2s;
}

.ft-col ul li a:hover {
    color: var(--primary);
    padding-left: 4px;
}

.ft-social {
    display: flex;
    gap: 8px;
    margin-top: 14px;
}

.ft-social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s;
}

.ft-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.ft-social svg {
    width: 14px;
    height: 14px;
    fill: rgba(255, 255, 255, .5);
}

.ft-social a:hover svg {
    fill: #fff;
}

.nl-form {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.nl-form input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 6px;
    background: rgba(255, 255, 255, .04);
    color: #fff;
    font-size: 12px;
}

.nl-form input::placeholder {
    color: rgba(255, 255, 255, .3);
}

.nl-form button {
    padding: 9px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    transition: .2s;
}

.nl-form button:hover {
    background: var(--primary-hover);
}

.ft-bottom {
    padding: 16px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .3);
}

.ft-payments {
    display: flex;
    gap: 8px;
}

.ft-payments span {
    background: rgba(255, 255, 255, .05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    color: rgba(255, 255, 255, .4);
}

/* ─── FLOATING ─── */
.wa-btn {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: #25d366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37, 211, 102, .35);
    z-index: 999;
    transition: .2s;
}

.wa-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 24px rgba(37, 211, 102, .45);
}

.wa-btn svg {
    width: 26px;
    height: 26px;
    fill: #fff;
}

.scroll-top {
    position: fixed;
    bottom: 88px;
    right: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-2);
    z-index: 998;
    opacity: 0;
    transform: translateY(12px);
    transition: .25s;
}

.scroll-top.show {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.scroll-top:hover svg {
    fill: #fff;
}

.scroll-top svg {
    width: 14px;
    height: 14px;
    fill: var(--text-3);
}

/* ─── NOTIFICATION ─── */
.toast {
    position: fixed;
    top: 80px;
    right: 20px;
    background: var(--dark);
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-3);
    z-index: 10000;
    display: flex;
    align-items: center;
    gap: 8px;
    border-left: 3px solid var(--primary);
    animation: slideIn .3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ─── HAMBURGER MENU ─── */
.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
}

.mobile-menu-btn svg {
    width: 20px;
    height: 20px;
    fill: var(--text);
}

.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .5);
    z-index: 999;
    opacity: 0;
    transition: opacity .3s;
}

.mobile-overlay.show {
    display: block;
    opacity: 1;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: -280px;
    width: 280px;
    height: 100%;
    background: #fff;
    z-index: 1000;
    transition: left .3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(0, 0, 0, .15);
}

.mobile-drawer.open {
    left: 0;
}

.mobile-drawer-header {
    background: var(--dark);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}

.mobile-drawer-header h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.mobile-drawer-header h3 span {
    color: var(--primary);
}

.mobile-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-drawer-nav {
    padding: 12px 0;
}

.mobile-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-bottom: 1px solid var(--bg-2);
    transition: .15s;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a:active {
    background: var(--primary-light);
    color: var(--primary);
}

.mobile-drawer-nav a svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    flex-shrink: 0;
}

.mobile-drawer-nav .divider {
    height: 1px;
    background: var(--border);
    margin: 8px 20px;
}

.mobile-drawer-nav .group-label {
    padding: 8px 20px 4px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-3);
    font-weight: 600;
}

/* ─── RESPONSIVE TABLET ─── */
@media (max-width:1024px) {
    .topbar {
        display: none;
    }

    .navbar {
        top: 56px;
    }

    .header {
        padding: 8px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .search-panel {
        grid-column: span 2;
        order: 3;
    }

    .p-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .brand-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ft-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .promo-row {
        grid-template-columns: 1fr 1fr;
    }

    .logo-brand {
        font-size: 18px;
    }

    .logo-svg {
        width: 36px;
        height: 36px;
    }

    .logo-svg svg {
        width: 20px;
        height: 20px;
    }

    .logo-sub {
        font-size: 8px;
        letter-spacing: 1.5px;
    }

    .h-btn span:not(.badge) {
        display: inline;
    }

    .dark-toggle,
    .h-grt {
        display: none;
    }

    .section {
        padding: 28px 0;
    }

    .sec-title {
        font-size: 18px;
    }
}

/* ─── RESPONSIVE MOBILE ─── */
@media (max-width:768px) {
    .mobile-menu-btn {
        display: flex;
    }

    .topbar {
        display: none;
    }

    /* Header mobile */
    .header {
        padding: 8px 0;
    }

    .header .container {
        flex-wrap: wrap;
        gap: 8px;
    }

    .navbar {
        top: 52px;
    }

    /* Hide text on buttons, show only icons */
    .h-btn {
        padding: 8px;
        font-size: 0;
        gap: 0;
    }

    .h-btn svg {
        width: 22px;
        height: 22px;
    }

    .h-cart {
        padding: 8px 12px !important;
        font-size: 0 !important;
        border-radius: 10px !important;
    }

    .h-cart svg {
        width: 20px !important;
        height: 20px !important;
    }

    .dark-toggle,
    .h-grt {
        display: none;
    }

    /* Search full width */
    .search-wrap {
        order: 10;
        max-width: 100%;
        flex-basis: 100%;
        margin-top: 4px;
    }

    .search-wrap input {
        padding: 10px 40px 10px 14px;
        font-size: 14px;
    }

    /* Hero */
    .hero {
        padding: 10px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        height: auto;
        gap: 10px;
    }

    .search-panel {
        grid-column: span 1;
        order: -1;
        padding: 16px;
    }

    .hero-banner {
        height: 180px;
        border-radius: 10px;
    }

    .hero-banner img {
        height: 100%;
    }

    /* Products */
    .p-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .p-img {
        height: 130px;
        padding: 10px;
    }

    .p-img img {
        max-height: 100px;
    }

    .p-body {
        padding: 10px;
    }

    .p-name {
        font-size: 11.5px;
        min-height: 30px;
        margin-bottom: 4px;
    }

    .p-oem {
        font-size: 9px;
    }

    .p-now {
        font-size: 15px;
    }

    .p-currency {
        font-size: 12px;
    }

    .p-old {
        font-size: 10px;
    }

    .p-disc {
        font-size: 9px;
    }

    .p-cart-btn {
        padding: 7px 0;
        font-size: 11px;
        border-radius: 5px;
    }

    .p-cart-btn svg {
        width: 12px;
        height: 12px;
    }

    .p-view-btn {
        width: 30px;
        height: 30px;
    }

    .p-view-btn svg {
        width: 13px;
        height: 13px;
    }

    .p-fav {
        opacity: 1;
        width: 26px;
        height: 26px;
        top: 6px;
        right: 6px;
    }

    .p-fav svg {
        width: 12px;
        height: 12px;
    }

    .p-badge {
        font-size: 8px;
        padding: 2px 6px;
        top: 6px;
        left: 6px;
    }

    .p-rating {
        margin-bottom: 4px;
    }

    .p-stars {
        font-size: 10px;
    }

    .p-prices {
        margin-bottom: 6px;
    }

    /* Categories */
    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }

    .cat-card {
        padding: 14px 8px;
    }

    .cat-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 6px;
    }

    .cat-icon svg {
        width: 20px;
        height: 20px;
    }

    .cat-name {
        font-size: 11px;
    }

    .cat-count {
        font-size: 10px;
    }

    /* Brands */
    .brand-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }

    .brand-item {
        padding: 10px 6px;
        font-size: 11px;
    }

    /* Trust */
    .trust-bar {
        padding: 20px 0;
    }

    .trust-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .trust-item {
        padding: 14px 10px;
        gap: 8px;
    }

    .trust-icon {
        width: 36px;
        height: 36px;
    }

    .trust-icon svg {
        width: 16px;
        height: 16px;
    }

    .trust-txt h4 {
        font-size: 12px;
    }

    .trust-txt p {
        font-size: 10px;
    }

    /* Deals */
    .deals-bar {
        flex-direction: column;
        gap: 12px;
        text-align: center;
        padding: 16px;
        border-radius: 10px;
    }

    .deals-bar h3 {
        font-size: 16px;
    }

    .timer {
        gap: 10px;
    }

    .timer-unit .num {
        font-size: 18px;
        width: 42px;
        height: 42px;
    }

    .timer-unit .lbl {
        font-size: 9px;
    }

    /* Promo */
    .promo-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .promo-card {
        height: 180px;
    }

    .promo-overlay h3 {
        font-size: 18px;
    }

    .promo-overlay p {
        font-size: 12px;
    }

    /* Footer */
    .footer {
        padding: 30px 0 16px;
    }

    .ft-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .ft-col h4 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .ft-col p,
    .ft-col li a {
        font-size: 12px;
    }

    .nl-form {
        flex-direction: column;
    }

    .nl-form input,
    .nl-form button {
        width: 100%;
        border-radius: 6px;
    }

    .ft-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
        padding-top: 16px;
    }

    .ft-payments {
        justify-content: center;
        flex-wrap: wrap;
    }

    /* Sections */
    .section {
        padding: 22px 0;
    }

    .sec-head {
        margin-bottom: 14px;
    }

    .sec-title {
        font-size: 16px;
    }

    .arr-btn {
        width: 32px;
        height: 32px;
    }

    .arr-btn svg {
        width: 12px;
        height: 12px;
    }

    /* Toast */
    .toast {
        right: 10px;
        left: 10px;
        top: auto;
        bottom: 20px;
        font-size: 12px;
    }

    /* Scroll top */
    .scroll-top {
        bottom: 70px;
        right: 12px;
        width: 38px;
        height: 38px;
    }

    /* WhatsApp */
    .wa-btn {
        bottom: 16px;
        right: 12px;
        width: 48px;
        height: 48px;
    }

    .wa-btn svg {
        width: 26px;
        height: 26px;
    }

    /* Page content responsive */
    .page-content .product-detail {
        flex-direction: column;
    }

    .page-content .product-gallery {
        max-width: 100%;
    }

    .page-content .product-info {
        padding: 16px 0;
    }

    .page-content .breadcrumb {
        font-size: 11px;
        padding: 10px 0;
    }
}

/* ─── RESPONSIVE SMALL MOBILE ─── */
@media (max-width:400px) {
    .p-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    .p-body {
        padding: 8px;
    }

    .p-name {
        font-size: 11px;
    }

    .p-now {
        font-size: 14px;
    }

    .p-cart-btn {
        font-size: 10px;
        padding: 6px 0;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .brand-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: 1fr;
    }

    .hero-banner {
        height: 150px;
    }

    .timer-unit .num {
        font-size: 16px;
        width: 36px;
        height: 36px;
    }
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-2);
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* ─── DARK MODE ─── */
body.dark {
    --text: #e2e8f0;
    --text-2: #94a3b8;
    --text-3: #64748b;
    --bg: #0f172a;
    --bg-2: #1e293b;
    --bg-3: #273444;
    --border: #334155;
    --shadow-1: 0 1px 2px rgba(0, 0, 0, .3);
    --shadow-2: 0 4px 12px rgba(0, 0, 0, .4);
    --shadow-3: 0 10px 40px rgba(0, 0, 0, .5);
}

body.dark .header {
    background: #0f172a;
    border-color: #334155;
}

body.dark .logo-brand {
    color: #e2e8f0;
}

body.dark .search-wrap input {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

body.dark .search-wrap input::placeholder {
    color: #64748b;
}

body.dark .search-wrap input:focus {
    background: #273444;
}

body.dark .h-btn {
    color: #94a3b8;
}

body.dark .h-btn:hover {
    background: #1e293b;
    color: var(--primary);
}

body.dark .dark-toggle {
    background: #1e293b;
    border-color: #334155;
}

body.dark .dark-toggle svg {
    fill: #94a3b8;
}

body.dark .p-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark .p-img {
    background: #273444;
}

body.dark .p-name {
    color: #e2e8f0;
}

body.dark .p-now {
    color: #e2e8f0;
}

body.dark .cat-card {
    background: #1e293b;
}

body.dark .cat-card:hover {
    background: #273444;
    border-color: var(--primary);
}

body.dark .cat-icon {
    background: #273444;
}

body.dark .cat-name {
    color: #e2e8f0;
}

body.dark .trust-bar {
    background: #0f172a;
    border-color: #334155;
}

body.dark .arr-btn {
    background: #1e293b;
    border-color: #334155;
    color: #64748b;
}

body.dark .arr-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

body.dark .p-view-btn {
    background: #273444;
    border-color: #334155;
}

body.dark .p-fav {
    background: #1e293b;
    border-color: #334155;
}

body.dark .sec-title {
    color: #e2e8f0;
}

body.dark .footer {
    background: #020617;
    border-color: #1e293b;
}

body.dark #liveSearchDropdown {
    background: #1e293b;
    border-color: #334155;
}

body.dark .mobile-drawer {
    background: #0f172a;
}

body.dark .mobile-drawer-header {
    background: #1e293b;
    border-color: #334155;
}

body.dark .mobile-drawer-nav a {
    color: #94a3b8;
    border-color: #334155;
}

body.dark .mobile-drawer-nav a:hover {
    background: #1e293b;
    color: #e2e8f0;
}

body.dark .group-label {
    color: #64748b;
}

body.dark .divider {
    border-color: #334155;
}

/* ─── USER DROPDOWN ─── */
.user-menu-wrap {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: 24px;
    background: var(--primary);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: .2s;
    white-space: nowrap;
}

.user-menu-btn:hover {
    background: var(--primary-hover);
}

.user-menu-btn .u-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    color: #fff;
}

.user-menu-btn svg {
    width: 14px;
    height: 14px;
    fill: #fff;
    transition: .2s;
}

.user-menu-btn.open svg.chevron {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .12);
    min-width: 220px;
    z-index: 200;
    overflow: hidden;
    display: none;
    animation: dropDown .18s ease;
}

@keyframes dropDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-dropdown.open {
    display: block;
}

.user-dropdown-header {
    padding: 16px;
    background: linear-gradient(135deg, var(--dark) 0%, #0a1628 100%);
    color: #fff;
}

.user-dropdown-header .u-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.user-dropdown-header .u-email {
    font-size: 11px;
    color: rgba(255, 255, 255, .5);
}

.user-dropdown-body {
    padding: 6px 0;
}

.user-dropdown-body a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    font-size: 13px;
    color: var(--text-2);
    transition: .15s;
    text-decoration: none;
}

.user-dropdown-body a:hover {
    background: var(--bg-2);
    color: var(--primary);
}

.user-dropdown-body a svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
    flex-shrink: 0;
}

.user-dropdown-body .logout-btn {
    color: var(--red);
    border-top: 1px solid var(--border);
    margin-top: 4px;
    padding-top: 10px;
}

.user-dropdown-body .logout-btn:hover {
    color: var(--red);
    background: rgba(220, 38, 38, .05);
}

body.dark .user-dropdown {
    background: #1e293b;
    border-color: #334155;
}

body.dark .user-dropdown-body a {
    color: #94a3b8;
}

body.dark .user-dropdown-body a:hover {
    background: #273444;
    color: #e2e8f0;
}

body.dark .user-dropdown-body .logout-btn {
    border-color: #334155;
}

/* ─── HESABIM PAGE ─── */
.account-page {
    padding: 32px 0 60px;
    background: var(--bg-2);
    min-height: 80vh;
}

.account-grid {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 24px;
    align-items: start;
}

.account-sidebar {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
    position: sticky;
    top: 80px;
}

.account-profile {
    background: linear-gradient(135deg, var(--dark) 0%, #0a1628 100%);
    padding: 24px 20px;
    text-align: center;
    color: #fff;
}

.account-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #e67e22);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 12px;
    border: 3px solid rgba(255, 255, 255, .2);
}

.account-profile h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
}

.account-profile p {
    font-size: 12px;
    color: rgba(255, 255, 255, .5);
}

.account-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 20px;
    font-size: 13px;
    color: var(--text-2);
    border-bottom: 1px solid var(--border);
    transition: .15s;
    text-decoration: none;
    font-weight: 500;
}

.account-nav a:last-child {
    border-bottom: none;
}

.account-nav a:hover,
.account-nav a.active {
    background: var(--primary-light);
    color: var(--primary);
}

.account-nav a svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
    flex-shrink: 0;
}

.account-main {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.account-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

.account-card-head {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.account-card-head h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.account-card-head h2 svg {
    width: 18px;
    height: 18px;
    fill: var(--primary);
}

.account-card-body {
    padding: 20px 24px;
}

.order-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid var(--border);
    gap: 12px;
}

.order-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.order-row:first-child {
    padding-top: 0;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.order-number {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
}

.order-meta {
    font-size: 11px;
    color: var(--text-3);
}

.order-total {
    font-size: 15px;
    font-weight: 800;
    color: var(--primary);
    white-space: nowrap;
}

.order-status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.status-pending {
    background: rgba(245, 158, 11, .1);
    color: #d97706;
}

.status-processing {
    background: rgba(37, 99, 235, .1);
    color: #2563eb;
}

.status-shipped {
    background: rgba(139, 92, 246, .1);
    color: #7c3aed;
}

.status-delivered {
    background: rgba(22, 163, 74, .1);
    color: #16a34a;
}

.status-cancelled {
    background: rgba(220, 38, 38, .1);
    color: #dc2626;
}

.track-form {
    display: flex;
    gap: 10px;
}

.track-form input {
    flex: 1;
    padding: 11px 16px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text);
    background: var(--bg-2);
    transition: .2s;
}

.track-form input:focus {
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .1);
    outline: none;
}

.track-form button {
    padding: 11px 24px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
}

.track-form button:hover {
    background: var(--primary-hover);
}

.track-result {
    margin-top: 16px;
    background: var(--bg-2);
    border-radius: 12px;
    padding: 16px;
    border: 1px solid var(--border);
}

.track-steps {
    margin-top: 16px;
    position: relative;
}

.track-step {
    display: flex;
    gap: 14px;
    padding-bottom: 20px;
    position: relative;
}

.track-step:last-child {
    padding-bottom: 0;
}

.track-step::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    width: 2px;
    bottom: 0;
    background: var(--border);
}

.track-step:last-child::before {
    display: none;
}

.track-dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-3);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.track-dot.done {
    background: var(--green);
    border-color: var(--green);
}

.track-dot.active {
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(245, 166, 35, .2);
}

.track-dot svg {
    width: 14px;
    height: 14px;
    fill: #fff;
}

.track-step-content {
    flex: 1;
}

.track-step-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.track-step-date {
    font-size: 11px;
    color: var(--text-3);
}

.profile-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.profile-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.profile-form label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
}

.profile-form input {
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text);
    background: var(--bg-2);
    transition: .2s;
}

.profile-form input:focus {
    border-color: var(--primary);
    background: #fff;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 166, 35, .1);
}

.profile-form .save-btn {
    padding: 11px 28px;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}

.profile-form .save-btn:hover {
    background: var(--primary-hover);
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-box {
    background: var(--bg-2);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
    border: 1px solid var(--border);
}

.stat-box .s-num {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.stat-box .s-lbl {
    font-size: 11px;
    color: var(--text-3);
    margin-top: 4px;
    font-weight: 500;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-3);
}

.empty-state svg {
    width: 48px;
    height: 48px;
    fill: var(--border);
    margin: 0 auto 12px;
    display: block;
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 14px;
}

.empty-state a {
    padding: 10px 24px;
    background: var(--primary);
    color: #fff;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
    display: inline-block;
}

.empty-state a:hover {
    background: var(--primary-hover);
}

body.dark .account-sidebar,
body.dark .account-card {
    background: #1e293b;
    border-color: #334155;
}

body.dark .account-nav a {
    color: #94a3b8;
    border-color: #334155;
}

body.dark .account-nav a:hover,
body.dark .account-nav a.active {
    background: rgba(245, 166, 35, .08);
    color: var(--primary);
}

body.dark .account-card-head {
    border-color: #334155;
}

body.dark .account-card-head h2 {
    color: #e2e8f0;
}

body.dark .order-number {
    color: #e2e8f0;
}

body.dark .track-result {
    background: #273444;
    border-color: #334155;
}

body.dark .track-form input {
    background: #273444;
    border-color: #334155;
    color: #e2e8f0;
}

body.dark .track-form input:focus {
    background: #1e293b;
}

body.dark .stat-box {
    background: #273444;
    border-color: #334155;
}

body.dark .track-dot {
    background: #273444;
    border-color: #334155;
}

body.dark .track-step-title {
    color: #e2e8f0;
}

body.dark .order-row {
    border-color: #334155;
}

body.dark .profile-form input {
    background: #273444;
    border-color: #334155;
    color: #e2e8f0;
}

body.dark .profile-form input:focus {
    background: #1e293b;
    border-color: var(--primary);
}

body.dark .profile-form label {
    color: #94a3b8;
}

@media (max-width: 768px) {
    .account-grid {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .profile-form .form-row {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(3, 1fr);
    }

    .track-form {
        flex-direction: column;
    }
}

/* ─── iOS / MOBİL ZOOM FİX ─────────────────────────────
   iOS Safari, font-size < 16px olan input/select'lere
   focus olduğunda sayfayı otomatik zoom yapar.
   Tüm mobil input'lara 16px vererek bunu engelliyoruz.
─────────────────────────────────────────────────────── */
@media (max-width: 768px) {

    input,
    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    input[type="search"],
    input[type="number"],
    select,
    textarea {
        font-size: 16px !important;
    }

    /* Arama inputunu görsel olarak eski boyutuna getir (sadece görsel küçültme) */
    .search-wrap input {
        font-size: 16px;
        padding: 10px 44px 10px 14px;
    }

    /* Sp-input (araç arama paneli) */
    .sp-input,
    .sp-select {
        font-size: 16px;
    }

    /* Form inputları */
    .form-group input,
    .profile-form input,
    .track-form input,
    .nl-form input {
        font-size: 16px;
    }
}