/* Kuzey Teknoloji Bilişim - E-Ticaret & Teknoloji Platformu CSS */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary: #0066ff;
    --primary-dark: #0044b3;
    --primary-light: #e6f0ff;
    --primary-cyan: #00d2ff;
    --accent: #ff6b00;
    --accent-hover: #e05e00;
    --dark: #07132b;
    --dark-surface: #0f1c3f;
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --text-light: #94a3b8;
    --white: #ffffff;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 12px 28px rgba(0,0,0,0.12);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-full: 9999px;
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-main);
    line-height: 1.5;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

button {
    cursor: pointer;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* TOP BAR */
.top-bar {
    background-color: var(--dark);
    color: #94a3b8;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.top-bar a:hover {
    color: var(--white);
}

.top-bar-badge {
    background: var(--accent);
    color: white;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 11px;
}

/* HEADER MAIN */
.main-header {
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 30px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo img.header-logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
    border-radius: var(--radius-sm);
}

.brand-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand-logo-text .title-main {
    font-size: 17px;
    font-weight: 800;
    color: var(--dark);
    letter-spacing: -0.3px;
    white-space: nowrap;
}

.brand-logo-text .title-main span.highlight {
    color: var(--primary);
}

/* SEARCH BAR */
.header-search {
    flex: 1;
    max-width: 580px;
    position: relative;
}

.search-box {
    display: flex;
    align-items: center;
    background: var(--light-bg);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 4px 6px 4px 18px;
    transition: var(--transition);
}

.search-box:focus-within {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 102, 255, 0.1);
}

.search-box input {
    flex: 1;
    background: transparent;
    font-size: 14px;
    color: var(--text-main);
}

.search-box button {
    background: var(--primary);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
}

.search-box button:hover {
    background: var(--primary-dark);
}

.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
    max-height: 380px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-results-dropdown.active {
    display: block;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid #f1f5f9;
    cursor: pointer;
}

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

.search-item img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #f8fafc;
}

.search-item-info {
    flex: 1;
}

.search-item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
}

.search-item-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
}

/* HEADER ACTIONS */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.action-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    padding: 8px 12px;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.action-btn:hover {
    background: var(--light-bg);
}

.action-icon {
    font-size: 22px;
    color: var(--dark);
    position: relative;
}

.action-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background: var(--accent);
    color: var(--white);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(255, 107, 0, 0.4);
}

.action-text {
    display: flex;
    flex-direction: column;
}

.action-text span.label {
    font-size: 11px;
    color: var(--text-muted);
}

.action-text span.value {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
}

.btn-pc-builder {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: var(--white) !important;
    border-radius: var(--radius-full);
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

.btn-pc-builder:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.3);
}

/* NAV CATEGORIES BAR */
.nav-categories-bar {
    background: var(--dark);
    color: var(--white);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cat-dropdown-btn {
    background: var(--primary);
    color: var(--white);
    padding: 14px 20px;
    font-weight: 700;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.cat-dropdown-btn:hover {
    background: var(--primary-dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.nav-link-item {
    padding: 14px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.nav-link-item:hover, .nav-link-item.active {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
}

.nav-link-item .hot-tag {
    background: var(--accent);
    color: var(--white);
    font-size: 9px;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 800;
    text-transform: uppercase;
}

/* HERO CAROUSEL & BANNERS */
.hero-section {
    padding: 24px 0;
}

.hero-grid {
    display: grid;
    grid-template-columns: 260px 1fr 300px;
    gap: 20px;
}

/* SIDEBAR CATEGORIES */
.sidebar-categories {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.category-menu-list {
    display: flex;
    flex-direction: column;
}

.category-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
}

.category-menu-item:last-child {
    border-bottom: none;
}

.category-menu-item:hover {
    background: var(--primary-light);
    color: var(--primary);
    padding-left: 20px;
}

.category-icon {
    display: flex;
    align-items: center;
    gap: 10px;
}

.category-icon i {
    font-size: 16px;
    width: 20px;
    text-align: center;
    color: var(--primary);
}

/* HERO SLIDER MAIN */
.hero-slider {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    color: var(--white);
    height: 420px;
    display: flex;
    align-items: center;
    box-shadow: var(--shadow-md);
}

.slider-slide {
    display: none;
    width: 100%;
    height: 100%;
    padding: 30px 40px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-sizing: border-box;
    animation: fadeIn 0.4s ease-in-out;
}

.slider-slide.active {
    display: flex;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.slide-content {
    max-width: 440px;
    flex: 1;
}

.slide-tag {
    background: rgba(0, 102, 255, 0.2);
    border: 1px solid var(--primary);
    color: #60a5fa;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-title {
    font-size: 28px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 68px;
}

.slide-desc {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 42px;
}

.slide-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
}

.slide-price .old {
    font-size: 15px;
    color: #64748b;
    text-decoration: line-through;
}

.slide-price .current {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent);
}

.btn-hero {
    background: var(--primary);
    color: var(--white);
    padding: 12px 28px;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 14px rgba(0, 102, 255, 0.4);
    transition: var(--transition);
}

.btn-hero:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.slide-img {
    width: 280px;
    height: 280px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50px;
    display: flex;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: var(--radius-full);
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    width: 28px;
}

/* RIGHT PROMO BANNERS */
.promo-banners {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.promo-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
    transition: var(--transition);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.promo-card.dark-theme {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: var(--white);
}

.promo-card .badge-top {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
}

.promo-card h4 {
    font-size: 18px;
    font-weight: 800;
    margin: 6px 0;
}

.promo-card p {
    font-size: 12px;
    color: var(--text-muted);
}

.promo-card.dark-theme p {
    color: #94a3b8;
}

.promo-card .promo-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
    margin-top: 10px;
}

.promo-card.dark-theme .promo-price {
    color: #38bdf8;
}

/* FEATURES BAR */
.features-bar {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 20px 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-box {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.feature-info h5 {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.feature-info p {
    font-size: 12px;
    color: var(--text-muted);
}

/* SECTION TITLES */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title h2 {
    font-size: 22px;
    font-weight: 800;
    color: var(--dark);
}

.section-title .title-icon {
    color: var(--accent);
    font-size: 20px;
}

.section-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-link {
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-link:hover {
    color: var(--primary-dark);
    gap: 10px;
}

/* PRODUCT GRID & CARDS */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 16px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.card-badges {
    position: absolute;
    top: 14px;
    left: 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    z-index: 10;
}

.badge {
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
}

.badge-discount {
    background: var(--danger);
    color: var(--white);
}

.badge-new {
    background: var(--primary);
    color: var(--white);
}

.badge-hot {
    background: var(--accent);
    color: var(--white);
}

.card-fav-btn {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border-radius: var(--radius-full);
    background: #f8fafc;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    transition: var(--transition);
    z-index: 10;
}

.card-fav-btn:hover, .card-fav-btn.active {
    background: #ffe4e6;
    color: var(--danger);
}

.product-img-wrapper {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
}

.product-img-wrapper img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

.product-category {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    margin-bottom: 4px;
}

.product-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 36px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--warning);
    margin-bottom: 14px;
}

.product-rating span.count {
    color: var(--text-muted);
    margin-left: 4px;
}

.product-footer {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.price-box {
    display: flex;
    flex-direction: column;
}

.price-box .old-price {
    font-size: 12px;
    color: var(--text-light);
    text-decoration: line-through;
}

.price-box .current-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

.btn-add-cart {
    background: var(--primary);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.btn-add-cart:hover {
    background: var(--primary-dark);
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 102, 255, 0.3);
}

/* PC BUILDER BANNER */
.pc-builder-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0284c7 100%);
    border-radius: var(--radius-lg);
    padding: 40px 50px;
    color: var(--white);
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.builder-banner-content {
    max-width: 600px;
    z-index: 2;
}

.builder-banner-content h2 {
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 12px;
}

.builder-banner-content p {
    color: #cbd5e1;
    font-size: 15px;
    margin-bottom: 24px;
}

.btn-builder-lg {
    background: var(--accent);
    color: var(--white);
    padding: 14px 32px;
    border-radius: var(--radius-full);
    font-weight: 800;
    font-size: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(255, 107, 0, 0.4);
    transition: var(--transition);
}

.btn-builder-lg:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.builder-banner-img {
    width: 320px;
    object-fit: contain;
    z-index: 2;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.5));
}

/* BRANDS CAROUSEL */
.brands-section {
    margin-bottom: 60px;
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.brand-card {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--text-muted);
    font-size: 18px;
    letter-spacing: -0.5px;
    transition: var(--transition);
    height: 80px;
}

.brand-card:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

/* FOOTER */
footer {
    background: var(--dark);
    color: #94a3b8;
    padding-top: 60px;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-col .footer-logo {
    color: var(--white);
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 16px;
    display: inline-block;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 13px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary);
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 4px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-info-item {
    display: flex;
    gap: 12px;
    font-size: 13px;
}

.contact-info-item i {
    color: var(--primary);
    font-size: 16px;
    margin-top: 2px;
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
}

.payment-methods {
    display: flex;
    gap: 10px;
    font-size: 24px;
    color: #cbd5e1;
}

/* CART DRAWER / MODAL */
.cart-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.cart-drawer-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: -450px;
    width: 100%;
    max-width: 420px;
    height: 100%;
    background: var(--white);
    z-index: 2001;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-lg);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.cart-drawer.active {
    right: 0;
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.cart-header h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--dark);
}

.btn-close-cart {
    background: transparent;
    font-size: 20px;
    color: var(--text-muted);
}

.cart-body {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

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

.cart-empty-state i {
    font-size: 48px;
    color: #cbd5e1;
    margin-bottom: 16px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

.cart-item img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: #f8fafc;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 4px;
}

.cart-item-price {
    font-size: 14px;
    font-weight: 800;
    color: var(--primary);
}

.cart-qty-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.qty-btn {
    width: 24px;
    height: 24px;
    border-radius: var(--radius-sm);
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid var(--border-color);
    background: #f8fafc;
}

.cart-total-row {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 16px;
}

.btn-checkout {
    width: 100%;
    background: var(--primary);
    color: var(--white);
    padding: 14px;
    border-radius: var(--radius-md);
    font-weight: 800;
    font-size: 15px;
    text-align: center;
    display: block;
    box-shadow: 0 4px 12px rgba(0, 102, 255, 0.3);
    transition: var(--transition);
}

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

/* FLOATING WHATSAPP BUTTON */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #ffffff;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    z-index: 9998;
    transition: var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-2px);
    background: #20ba5a;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
    color: #ffffff;
}

.whatsapp-pulse {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-full);
    background: #25D366;
    opacity: 0.6;
    z-index: -1;
    animation: waPulse 2s infinite;
}

@keyframes waPulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.5); opacity: 0; }
}
.toast-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--dark);
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    animation: slideInRight 0.3s ease-out;
}

.toast.success i {
    color: var(--success);
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .sidebar-categories {
        display: none;
    }
    .features-bar {
        grid-template-columns: repeat(2, 1fr);
    }
    .brands-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-inner {
        flex-wrap: wrap;
    }
    .header-search {
        order: 3;
        max-width: 100%;
    }
    .nav-links {
        overflow-x: auto;
        white-space: nowrap;
    }
    .features-bar {
        grid-template-columns: 1fr;
    }
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .pc-builder-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }
    .builder-banner-img {
        width: 200px;
        margin-top: 20px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   YENİ E-TİCARET & UX ÖZELLİKLERİ STİLLERİ
   ========================================================================== */

/* 1. UÇAN ÜRÜN GÖRSELİ VE SEPET ANİMASYONU */
.flying-img {
    position: fixed;
    z-index: 9999;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    pointer-events: none;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    object-fit: contain;
    background: #ffffff;
}

@keyframes badgeBounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.cart-badge-bounce {
    animation: badgeBounce 0.4s ease-out;
}

/* 2. SKELETON LOADERS */
.skeleton-box {
    background: linear-gradient(90deg, #e2e8f0 25%, #f1f5f9 50%, #e2e8f0 75%);
    background-size: 200% 100%;
    animation: skeletonLoading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeletonLoading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 3. CANLI DESTEK CHAT WIDGET */
.chat-widget-button {
    position: fixed;
    bottom: 24px;
    left: 24px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius-full);
    box-shadow: 0 6px 20px rgba(0, 102, 255, 0.35);
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    z-index: 9997;
    transition: var(--transition);
}

.chat-widget-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.5);
}

.chat-widget-box {
    position: fixed;
    bottom: 90px;
    left: 24px;
    width: 360px;
    height: 480px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-color);
    display: none;
    flex-direction: column;
    z-index: 9997;
    overflow: hidden;
    animation: slideUpFade 0.3s ease-out;
}

.chat-widget-box.active {
    display: flex;
}

@keyframes slideUpFade {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header-bar {
    background: linear-gradient(135deg, var(--dark), #0f1c3f);
    color: var(--white);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.chat-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 15px;
}

.chat-online-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.btn-close-chat {
    background: transparent;
    color: #94a3b8;
    font-size: 18px;
    transition: var(--transition);
}

.btn-close-chat:hover {
    color: var(--white);
}

.chat-body-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f8fafc;
}

.chat-msg {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 1.4;
}

.chat-msg.bot {
    background: var(--white);
    color: var(--dark);
    align-self: flex-start;
    border-bottom-left-radius: 2px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.chat-msg.user {
    background: var(--primary);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 2px;
}

.chat-quick-tags {
    padding: 8px 12px;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    background: var(--white);
    border-top: 1px solid var(--border-color);
}

.chat-tag-btn {
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-main);
    white-space: nowrap;
    transition: var(--transition);
}

.chat-tag-btn:hover {
    background: var(--primary-light);
    color: var(--primary);
    border-color: var(--primary);
}

.chat-input-area {
    padding: 12px;
    background: var(--white);
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 8px;
}

.chat-input-area input {
    flex: 1;
    background: var(--light-bg);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
}

.chat-input-area button {
    background: var(--primary);
    color: var(--white);
    width: 38px;
    height: 38px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 4. PC SİHİRBAZI UYUMLULUK KUTULARI */
.compat-status-box {
    padding: 16px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 13px;
    font-weight: 700;
}

.compat-status-box.ok {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #047857;
}

.compat-status-box.warning {
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: #b45309;
}

.compat-status-box.danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

/* 5. ÜRÜN DETAY SEKMELERİ VE TAKSİT TABLOSU */
.detail-tabs-bar {
    display: flex;
    gap: 16px;
    border-bottom: 2px solid var(--border-color);
    margin: 30px 0 20px 0;
}

.detail-tab-btn {
    padding: 12px 20px;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-muted);
    background: transparent;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: var(--transition);
}

.detail-tab-btn.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.installment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.bank-card-box {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
}

.bank-header {
    font-weight: 800;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.inst-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 6px 0;
    border-bottom: 1px dashed #f1f5f9;
}

