
/* ===================================================== COLLECTIVEWORKZ – SAFE DARK TECH THEME Banner / Footer / Slider SAFE ===================================================== */
:root {
    /* Backgrounds */
    --bg-page: #0b0e13;
    --bg-navbar: #121720;
    --bg-footer: #0f1319;
    --bg-card: #1a1f27;
    --bg-soft: #141922;
    /* Borders */
    --border-main: #2f3540;
    --border-soft: #252b36;
    /* Text */
    --text-main: #e7e9ed;
    --text-muted: rgba(231, 233, 237, .65);
    /* Accent (Sepete Ekle) */
    --accent: #4ade80;
    --accent-bg: rgba(74, 222, 128, .18);
    --accent-border: rgba(74, 222, 128, .45);
}

/* ===================================================== BODY ===================================================== */
body {
    background: var(--bg-page);
    color: var(--text-main);
}

/* ===================================================== NAVBAR (BELİRGİN AMA KAPATMAYAN) ===================================================== */
.elite-navbar {
    background: linear-gradient(180deg, #141922, #0f1319) !important;
    border-bottom: 1px solid var(--border-main);
    backdrop-filter: blur(6px);
}

.elite-logo {
    letter-spacing: 1.2px;
    font-weight: 600;
}

/* Links */
.elite-link {
    color: var(--text-main) !important;
    opacity: .85;
}

.elite-link:hover {
    opacity: 1;
}

/* Dropdown */
.elite-dropdown {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
}

.elite-dropdown-item {
    color: var(--text-main);
}

.elite-dropdown-item:hover {
    background: var(--bg-soft);
}

/* ===================================================== MOBILE TOGGLER (NET GÖRÜNÜR) ===================================================== */
.elite-toggler {
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 10px;
    padding: 6px 8px;
}

.elite-toggler span {
    display: block;
    width: 24px;
    height: 2px;
    background: rgba(255, 255, 255, .95);
    margin: 5px 0;
    border-radius: 2px;
}

.elite-toggler:hover {
    background: rgba(255, 255, 255, .08);
}

/* ===================================================== ICON BUTTONS (USER / CART) ===================================================== */
.elite-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: all .25s ease;
}

.elite-icon-btn:hover {
    background: rgba(255, 255, 255, .25);
    transform: translateY(-2px);
}

.elite-cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: #0b0e13;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
}

/* ===================================================== PRODUCT CARD (SADE – GÜVENLİ) ===================================================== */
.elite-product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 14px;
    overflow: hidden;
    transition: all .3s ease;
}

.elite-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}

.elite-product-image {
    height: 180px;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
}

.elite-product-image img {
    max-height: 140px;
    max-width: 90%;
    object-fit: contain;
}

/* Text */
.elite-product-code {
    font-size: 12px;
    opacity: .6;
}

.elite-product-name {
    font-size: 14px;
    font-weight: 600;
    margin: 4px 0 6px;
}

/* Stock badge */
.elite-stock-badge {
    background: rgba(74, 222, 128, .15);
    color: var(--accent);
    font-size: 11px;
    padding: 4px 8px;
}

.elite-stock-badge.danger {
    background: rgba(248, 113, 113, .15);
    color: #f87171;
}

/* Footer area */
.elite-product-footer {
    border-top: 1px solid var(--border-soft);
    padding: 12px;
    display: grid;
    gap: 8px;
}

.elite-product-footer .btn,
.elite-product-footer .form-select {
    width: 100%;
    height: 36px;
}

/* ===================================================== BUTTONS ===================================================== */
.elite-btn-primary {
    background: var(--accent-bg);
    color: var(--accent);
    border: 1px solid var(--accent-border);
    font-size: 13px;
    font-weight: 600;
    transition: all .25s ease;
}

.elite-btn-primary:hover {
    background: var(--accent);
    color: #0b0e13;
    box-shadow: 0 6px 18px rgba(74, 222, 128, .35);
}

.elite-btn-outline {
    border: 1px solid var(--border-main);
    background: transparent;
    color: var(--text-main);
}

/* Select */
.form-select {
    background: var(--bg-page);
    color: var(--text-main);
    border: 1px solid var(--border-soft);
}

/* ===================================================== MODAL (BANNER SAFE) ===================================================== */
/* ===================================================== FOOTER (SABİT – GERİ DÖNMEZ) ===================================================== */
footer.elite-footer {
    background: linear-gradient(180deg, #141922, #0f1319);
    border-top: 1px solid var(--border-main);
}

.elite-footer-logo {
    font-size: 22px;
    letter-spacing: 1.2px;
}

.elite-footer-text {
    color: var(--text-muted);
}

.elite-footer-title {
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.elite-footer-links a {
    color: var(--text-muted);
    text-decoration: none;
}

.elite-footer-links a:hover {
    color: #fff;
}

.elite-footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
}

.elite-footer-social a:hover {
    background: rgba(255, 255, 255, .3);
    transform: translateY(-2px);
}

.elite-footer-bottom {
    border-top: 1px solid var(--border-soft);
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
}

/* ===================================================== SLIDER SAFETY ❌ Banner’a DOKUNMAZ ===================================================== */

/* ================= HOME SLIDER – OKLAR KAPALI ================= */
.homeSlider .swiper-button-next,
.homeSlider .swiper-button-prev {
    display: none !important;
}


/* ================= HOME BANNER – BULLETPROOF ================= */


/* ================= FORCE HIDE ALL SWIPER ARROWS ================= */


/* ================= FOOTER FINAL OVERRIDE ================= */
html body footer.elite-footer {
    background: linear-gradient(180deg, #141922 0%, #0f1319 100%) !important;
    border-top: 1px solid #2f3540 !important;
}

.elite-product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.elite-product-link:hover {
    color: inherit;
}

/* ===================================================== BOOTSTRAP TOAST – HARD FIX (DARK THEME SAFE) ===================================================== */
.toast {
    opacity: 1 !important;
    visibility: visible !important;
    color: #bdbdbd !important;
    background-clip: padding-box !important;
    border: none !important;
}

.toast-body {
    color: #0b0b0b !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 14px;
    line-height: 1.4;
}

/* SUCCESS */
.toast.text-bg-success {
    background-color: #15803d !important;
    color: #ffffff !important;
}

/* ERROR */
.toast.text-bg-danger {
    background-color: #b91c1c !important;
    color: #ffffff !important;
}

/* Toast container üstte kalsın */
.toast-container {
    z-index: 99999 !important;
}

/* ================= PRODUCT CART BAR ================= */
.product-cart-bar .btn,
.product-cart-bar .form-select {
    height: 44px;
    font-size: 14px;
}

.product-cart-bar .btn-outline-danger {
    border-width: 2px;
    font-weight: 600;
}

/* Mobile */
@media (max-width: 768px) {
    .product-cart-bar .d-flex {
        flex-direction: column;
    }

    .product-cart-bar .btn,
    .product-cart-bar .form-select {
        width: 100%;
    }
}

/* ================= CHECKOUT ================= */
.checkout-card {
    background: #14171c;
    border: 1px solid #2b303a;
    border-radius: 14px;
}

.checkout-header {
    background: transparent;
    border-bottom: 1px solid #2b303a;
    color: #e6e8eb;
    font-weight: 600;
}

.checkout-input {
    background: #0d0f12;
    border: 1px solid #2b303a;
    color: #e6e8eb;
}

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

.checkout-input:focus {
    background: #0d0f12;
    border-color: #4ade80;
    box-shadow: none;
    color: #fff;
}

/* ===================================== DATE PICKER ICON FIX (FOR DARK UI) ===================================== */
/* Chrome / Edge / Safari */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1) brightness(1.8);
    opacity: 1;
    cursor: pointer;
}

/* Bootstrap bazen ikon üstüne opacity basıyor */
input[type="date"]::-webkit-calendar-picker-indicator {
    background-color: transparent !important;
}

/* Input içindeki placeholder da net olsun */
input[type="date"] {
    color-scheme: dark;
}

/* Firefox */
@supports (-moz-appearance: none) {
    input[type="date"] {
        color-scheme: dark;
    }
}

/* ================= ACCOUNT PAGE ================= */
#accountTabs .nav-link {
    color: rgba(255, 255, 255, .65);
    font-weight: 500;
}

#accountTabs .nav-link.active {
    color: #fff;
    background: transparent;
    border-color: #2b303a #2b303a #0d0f12;
}

/* Tab içerik yazıları */
.tab-content {
    color: #e6e8eb;
}

/* Tablo */
.table {
    color: #e6e8eb;
}

.table thead th {
    color: #ffffff;
    font-weight: 600;
    border-bottom: 1px solid #2b303a;
}

.table tbody td {
    color: rgba(255, 255, 255, .85);
    border-color: #2b303a;
}

/* Badge (durum) */
.badge.bg-warning {
    background-color: #f59e0b !important;
    color: #111 !important;
    font-weight: 600;
}

/* Form */
.form-label {
    color: rgba(255, 255, 255, .85);
    font-weight: 500;
}

.form-control {
    background: #15181d;
    border: 1px solid #2b303a;
    color: #fff;
}

.form-control:focus {
    background: #15181d;
    color: #fff;
    border-color: #4ade80;
    box-shadow: none;
}
/* READONLY INPUT FIX */
.form-control:read-only {
    background-color: #15181d !important;
    color: #ffffff !important;
    border: 1px solid #2b303a !important;
    opacity: 1 !important;
    cursor: not-allowed;
}

/* Focus olmasın */
.form-control:read-only:focus {
    background-color: #15181d !important;
    color: #ffffff !important;
    border-color: #2b303a !important;
    box-shadow: none !important;
}
/* ================= HOME BANNER – HARD OVERRIDE ================= */
/* ================= HOME BANNER – PICTURE FIX ================= */

.home-banners {
    display: grid;
    gap: 20px;
}

/* a elementi gerçek block olsun */
.home-banner {
    display: block;
    position: relative;
    width: 100%;
    aspect-ratio: 21 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #0b0e13;
}

/* picture alanı doldursun */
.home-banner picture {
    position: absolute;
    inset: 0;
    display: block;
}

/* img bannerı doldursun */
.home-banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
