/* =========================================================================
   Toptancım – Modern Web UI Overrides
   Custom CSS for the customer-facing storefront
   ========================================================================= */

/* ----- TYPOGRAPHY ----- */
/* ----- LAYOUT CONSTRAINTS ----- */
/* Target all container variants and navbar content specifically */
@media (min-width: 1200px) {

    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl,
    .container-xxl,
    .navbar .container {
        max-width: 1280px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    -webkit-font-smoothing: antialiased;
    background-color: #f8f9fb !important;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.text-orange {
    color: #f97316 !important;
}

/* Global Spinner Override to Orange */
.spinner-border {
    color: #f97316 !important;
}

.text-orange-gradient {
    background: linear-gradient(135deg, #f97316, #ea580c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ----- NAVBAR PREMIUM ----- */
.navbar {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    padding: 0.75rem 0 !important;
}

.navbar-brand {
    font-weight: 900 !important;
    font-size: 1.85rem !important;
    letter-spacing: -0.04em !important;
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    text-shadow: 0 2px 15px rgba(249, 115, 22, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

.navbar-brand:hover {
    filter: brightness(1.15);
    transform: scale(1.03);
    text-shadow: 0 4px 20px rgba(249, 115, 22, 0.3);
}

/* Nav Icon Buttons */
.nav-icon-btn {
    width: 42px;
    height: 42px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 12px !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: all 0.2s ease;
    position: relative;
    color: #fff !important;
}

.nav-icon-btn:hover {
    background: rgba(255, 255, 255, 0.1) !important;
    transform: translateY(-1px);
}

.nav-icon-btn .badge {
    font-size: 0.55rem;
    min-width: 16px;
    padding: 3px 5px;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.icon-divider {
    width: 1.5px;
    background-color: rgba(255, 255, 255, 0.15);
    min-height: 20px;
    margin: 0 8px;
}

/* Search bar */
.navbar .form-control {
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
    border-radius: 12px 0 0 12px !important;
    backdrop-filter: blur(10px);
    transition: all 0.2s ease;
}

.navbar .form-control::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.navbar .form-control:focus {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: rgba(245, 158, 11, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15) !important;
}

.navbar .btn-warning {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    border: none !important;
    border-radius: 0 12px 12px 0 !important;
    color: #fff !important;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(234, 88, 12, 0.3);
    transition: all 0.2s ease;
}

.navbar .btn-warning:hover {
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.4);
    transform: translateY(-1px);
}

/* Global robust orange overrides for text-warning */
.text-warning {
    color: #ea580c !important;
}

/* Dropdown */
.navbar .dropdown-menu {
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
    padding: 0.5rem;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.98) !important;
}

.navbar .dropdown-item {
    border-radius: 10px;
    padding: 0.6rem 1rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.15s;
}

.navbar .dropdown-item:hover,
.navbar .dropdown-item.active {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #d97706 !important;
}

.navbar .dropdown-item.text-danger:hover {
    background: rgba(239, 68, 68, 0.08) !important;
    color: #dc2626 !important;
}

/* Auth buttons Premium Redesign */
.navbar .btn-outline-light.rounded-pill {
    border: 1.5px solid rgba(255, 255, 255, 0.3) !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    padding: 0.5rem 1.25rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    color: #fff !important;
}

.navbar .btn-outline-light.rounded-pill:hover {
    background: #fff !important;
    color: #1a1a2e !important;
    border-color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2);
}

.navbar .btn-outline-light.rounded-pill i {
    font-size: 1.1rem;
    margin-right: 6px;
}

/* ----- PAGE SECTION ----- */
section.bg-light {
    background: linear-gradient(180deg, #f8f9fb 0%, #f1f3f8 100%) !important;
    min-height: 100vh;
}

/* ----- CATEGORY SIDEBAR ----- */
.col-lg-3>.card {
    border-radius: 20px !important;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.06) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04) !important;
}

.col-lg-3 .card-header {
    background: #fff !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 1rem 1.25rem;
}

.col-lg-3 .list-group-item {
    border: none !important;
    padding: 0.65rem 1.25rem !important;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.15s;
}

.col-lg-3 .list-group-item a {
    color: #4b5563 !important;
    transition: all 0.15s;
}

.col-lg-3 .list-group-item:hover {
    background: rgba(245, 158, 11, 0.05) !important;
}

.col-lg-3 .list-group-item a:hover,
.col-lg-3 .list-group-item a.fw-bold {
    color: #d97706 !important;
}

/* ----- PRODUCT CARDS ----- */
.product-card {
    border: 1.5px solid rgba(234, 88, 12, 0.7) !important;
    border-radius: 20px !important;
    overflow: hidden;
    background: #fff;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.product-card:hover {
    transform: translateY(-6px) !important;
    border-color: #ea580c !important;
    box-shadow:
        0 20px 40px rgba(234, 88, 12, 0.25),
        0 4px 12px rgba(234, 88, 12, 0.15) !important;
}

/* Product image area */
.product-img-wrapper {
    background: linear-gradient(180deg, #fafafa, #f5f5f5) !important;
    height: 200px !important;
    padding: 1.25rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.product-img-wrapper img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-img-wrapper img {
    transform: scale(1.05);
}

/* Product info */
.product-card .card-body {
    padding: 1rem 1.25rem !important;
}

.product-card .card-body small {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af !important;
}

.product-title {
    font-size: 0.9rem !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    color: #1a1a2e;
    height: 2.7em !important;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
}

/* Price */
.card.product-card .card-body .text-primary,
.product-card .text-primary {
    color: #d97706 !important;
    font-size: 1.2rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
}

/* Add to cart button */
.product-card .card-footer {
    padding: 0 1.25rem 1.25rem !important;
}

.card.product-card .card-footer .btn.btn-primary.btn-quick-add,
.card.product-card .card-footer .btn.btn-primary,
.card.product-card .btn.btn-quick-add,
.card.h-100.product-card .btn-primary {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    border: none !important;
    border-radius: 14px !important;
    font-weight: 700 !important;
    font-size: 0.85rem;
    padding: 0.65rem 0 !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25);
    transition: all 0.2s ease;
    letter-spacing: 0.01em;
}

.card.product-card .card-footer .btn.btn-primary.btn-quick-add:hover,
.card.product-card .card-footer .btn.btn-primary:hover,
.card.product-card .btn.btn-quick-add:hover,
.card.h-100.product-card .btn-primary:hover {
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.35) !important;
    transform: translateY(-1px);
}

.card.product-card .btn.btn-success,
.card.h-100.product-card .btn-success {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border: none !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* ----- SKELETON LOADING ----- */
.skeleton-card {
    background: #fff;
    border-radius: 20px;
    padding: 1.25rem;
    overflow: hidden;
}

.skeleton-pulse {
    animation: skeletonPulse 1.5s ease-in-out infinite;
}

@keyframes skeletonPulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.skeleton-img {
    width: 100%;
    height: 160px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.skeleton-text {
    height: 14px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 8px;
    margin-bottom: 0.75rem;
}

.skeleton-text.short {
    width: 60%;
}

.skeleton-button {
    height: 42px;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: 14px;
}

@keyframes skeletonShimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

/* ----- PAGINATION ----- */
.pagination .page-link {
    border: none !important;
    border-radius: 12px !important;
    font-weight: 600;
    font-size: 0.85rem;
    color: #4b5563;
    padding: 0.6rem 1rem;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.2s;
}

.pagination .page-link:hover {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
    transform: translateY(-1px);
}

.pagination .page-item.active .page-link {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* ----- FOOTER ----- */
footer.bg-dark {
    background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
    padding: 2.5rem 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

footer p {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5) !important;
}

/* ----- SEARCH RESULTS DROPDOWN ----- */
#searchResults {
    border-radius: 16px !important;
    overflow: hidden;
    border: none !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12) !important;
}

#searchResults .list-group-item {
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04) !important;
    padding: 0.75rem 1rem;
    transition: background 0.15s;
}

#searchResults .list-group-item:hover {
    background: rgba(245, 158, 11, 0.05) !important;
}

#searchResults .list-group-item:last-child {
    border-bottom: none !important;
}

/* ----- BADGES & CART COUNTER ----- */
.badge.bg-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    font-size: 0.65rem;
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(239, 68, 68, 0.3);
}

.free-shipping-badge {
    background-color: #10b981 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-weight: 700 !important;
    padding: 0.35rem 0.6rem !important;
    border-radius: 6px !important;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.2);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.free-shipping-badge i {
    font-size: 0.9rem;
}

.free-shipping-badge:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    filter: brightness(1.05);
}

/* ----- ALERT MODAL & PREMIUM CONTROLS ----- */
.modal-content {
    border-radius: 24px !important;
    border: none !important;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2) !important;
    overflow: hidden;
}

.chat-banner {
    padding: 2.5rem;
    background: linear-gradient(339deg, #1a1a2e, #a52c2c);
    color: #fff;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.premium-header {
    background: linear-gradient(135deg, #1a1a2e, #16213e) !important;
    padding: 1.5rem 2rem !important;
    position: relative;
    overflow: hidden;
}

.premium-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(249, 115, 22, 0.15), transparent 70%);
    pointer-events: none;
}

.premium-input {
    border: 1.5px solid #f1f5f9 !important;
    background-color: #f8fafc !important;
    color: #1a1a2e !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.premium-input:focus {
    background-color: #fff !important;
    border-color: #f97316 !important;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.1) !important;
    transform: translateY(-1px);
}

body.dark-mode .premium-input {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f1f5f9 !important;
}

body.dark-mode .premium-input:focus {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border-color: #f97316 !important;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.15) !important;
}

.fw-800 {
    font-weight: 800;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 991.98px) {
    .product-img-wrapper {
        height: 150px !important;
    }

    .product-title {
        font-size: 0.82rem !important;
    }

    .product-card .text-primary {
        font-size: 1rem !important;
    }
}

@media (max-width: 575.98px) {
    .product-img-wrapper {
        height: 130px !important;
        padding: 0.75rem !important;
    }

    .product-card .card-body {
        padding: 0.75rem !important;
    }

    .product-card .card-footer {
        padding: 0 0.75rem 0.75rem !important;
    }

    .product-card .btn-quick-add {
        font-size: 0.78rem;
        padding: 0.5rem 0 !important;
    }
}

/* ----- PWA INSTALL PROMPT ----- */
#pwaInstallPrompt {
    border-radius: 20px 20px 0 0 !important;
    border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
}

#pwaInstallPrompt .btn-primary {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 10px rgba(245, 158, 11, 0.25);
}

/* ----- FLOATING BUTTONS (WhatsApp / Messenger) ----- */
.fa-float-wrap {
    right: 24px !important;
    bottom: 24px !important;
}

.fa-float {
    width: 56px !important;
    height: 56px !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12) !important;
}

/* ----- PAYMENT METHOD SELECTOR (Premium Tiles) ----- */
.cc-pay-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cc-pay-item {
    background: #fff;
    border: 1.5px solid #f1f5f9;
    border-radius: 14px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.cc-pay-item:hover {
    background: #fafafa;
    border-color: #e2e8f0;
    transform: translateY(-1px);
}

.cc-pay-item.active.kart-active {
    background: rgba(249, 115, 22, 0.04);
    border-color: #f97316;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.1);
}

.cc-pay-item.active.nakit-active {
    background: rgba(16, 185, 129, 0.04);
    border-color: #10b981;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.1);
}

.cc-pay-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cc-pay-icon {
    width: 32px;
    height: 32px;
    background: #f8fafc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: all 0.2s ease;
}

.cc-pay-item.active.kart-active .cc-pay-icon {
    background: #f97316;
    color: #fff !important;
}

.cc-pay-item.active.nakit-active .cc-pay-icon {
    background: #10b981;
    color: #fff !important;
}

.cc-pay-label {
    font-weight: 800;
    font-size: 0.9rem;
    color: #1a1a2e;
    letter-spacing: -0.01em;
}

.cc-pay-check {
    width: 20px;
    height: 20px;
    border: 1.5px solid #cbd5e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.cc-pay-item.active.kart-active .cc-pay-check {
    background: #f97316;
    border-color: #f97316;
    color: #fff;
}

.cc-pay-item.active.nakit-active .cc-pay-check {
    background: #10b981;
    border-color: #10b981;
    color: #fff;
}

/* Dark Mode Overrides for Payment Tiles */
body.dark-mode .cc-pay-item {
    background: rgba(30, 32, 40, 0.6);
    border-color: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

body.dark-mode .cc-pay-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

body.dark-mode .cc-pay-item.active.kart-active {
    background: rgba(249, 115, 22, 0.1);
    border-color: #f97316;
}

body.dark-mode .cc-pay-item.active.nakit-active {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10b981;
}

body.dark-mode .cc-pay-icon {
    background: rgba(255, 255, 255, 0.05);
}

body.dark-mode .cc-pay-label {
    color: #f1f5f9;
}

body.dark-mode .cc-pay-check {
    border-color: rgba(255, 255, 255, 0.25);
}

/* Modal Compact Enhancements */
.cc-modal-compact .modal-body {
    padding: 0.75rem !important;
    max-height: 70vh;
    overflow-y: auto;
}
.cc-modal-compact .form-label {
    margin-bottom: 0.15rem !important;
    font-size: 0.8rem;
}
.cc-modal-compact .modal-header {
    background: linear-gradient(135deg, #f59e0b, #f97316) !important;
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    border: none;
}
.cc-modal-compact .modal-title {
    font-size: 1rem !important;
}
.cc-modal-compact hr {
    margin: 0.5rem 0 !important;
}
.cc-modal-compact .modal-content {
    border-radius: 24px !important;
}
@media (max-width: 576px) {
    .cc-modal-compact .modal-dialog {
        margin: 0;
        display: flex;
        align-items: flex-end;
        min-height: 100vh;
    }
    .cc-modal-compact .modal-content {
        border-radius: 24px 24px 0 0 !important;
        margin-bottom: 0;
        max-height: 95vh;
        display: flex;
        flex-direction: column;
    }
    .cc-pay-item {
        padding: 0.6rem 0.75rem !important;
    }
    .cc-pay-icon {
        width: 32px !important;
        height: 32px !important;
        font-size: 1rem !important;
    }
    .cc-pay-label {
        font-size: 0.8rem !important;
    }
}

/* =========================================================================
   DARK MODE
   ========================================================================= */
body.dark-mode {
    background-color: #0f1117 !important;
    color: #e5e7eb !important;
}

/* Page section */
body.dark-mode section.bg-light {
    background: linear-gradient(180deg, #0f1117 0%, #1a1b23 100%) !important;
}

/* Toggle icon */
/* Dark Mode state managed via base.js */

/* Category sidebar */
body.dark-mode .col-lg-3>.card {
    background: rgba(30, 32, 40, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2) !important;
}

body.dark-mode .col-lg-3 .card-header {
    background: rgba(30, 32, 40, 0.9) !important;
    color: #e5e7eb !important;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

body.dark-mode .col-lg-3 .list-group-item {
    background: transparent !important;
}

body.dark-mode .col-lg-3 .list-group-item a {
    color: #9ca3af !important;
}

body.dark-mode .col-lg-3 .list-group-item a:hover,
body.dark-mode .col-lg-3 .list-group-item a.fw-bold {
    color: #f59e0b !important;
}

body.dark-mode .col-lg-3 .list-group-item:hover {
    background: rgba(245, 158, 11, 0.08) !important;
}

/* Product cards */
body.dark-mode .product-card {
    background: rgba(30, 32, 40, 0.8) !important;
    border-color: rgba(234, 88, 12, 0.8) !important;
}

body.dark-mode .product-card:hover {
    border-color: #ff7820 !important;
    box-shadow:
        0 20px 40px rgba(234, 88, 12, 0.4),
        0 4px 12px rgba(234, 88, 12, 0.2) !important;
}

body.dark-mode .product-img-wrapper {
    background: rgba(20, 22, 28, 0.6) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

body.dark-mode .product-title {
    color: #f3f4f6 !important;
}

body.dark-mode .product-card .card-body small {
    color: #6b7280 !important;
}

body.dark-mode .product-card .card-footer {
    background: transparent !important;
}

/* Card links */
body.dark-mode .product-card a.text-dark,
body.dark-mode .product-card a.text-decoration-none {
    color: #e5e7eb !important;
}

/* Headings & text */
body.dark-mode h2,
body.dark-mode h3,
body.dark-mode h4,
body.dark-mode h5,
body.dark-mode h6 {
    color: #f3f4f6 !important;
}

body.dark-mode .text-dark {
    color: #e5e7eb !important;
}

body.dark-mode .text-muted {
    color: #6b7280 !important;
}

/* Skeleton */
body.dark-mode .skeleton-card {
    background: rgba(30, 32, 40, 0.8);
}

body.dark-mode .skeleton-img,
body.dark-mode .skeleton-text,
body.dark-mode .skeleton-button {
    background: linear-gradient(90deg, rgba(40, 42, 50, 1) 25%, rgba(55, 57, 65, 1) 50%, rgba(40, 42, 50, 1) 75%);
    background-size: 200% 100%;
}

/* Pagination */
body.dark-mode .pagination .page-link {
    background: rgba(30, 32, 40, 0.8);
    color: #9ca3af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

body.dark-mode .pagination .page-link:hover {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

/* Footer */
body.dark-mode footer.bg-dark {
    background: linear-gradient(135deg, #0a0b0f, #111318) !important;
    border-top-color: rgba(255, 255, 255, 0.04);
}

/* Search results */
body.dark-mode #searchResults {
    background: rgba(30, 32, 40, 0.95) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode #searchResults .list-group-item {
    background: transparent !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    color: #e5e7eb;
}

body.dark-mode #searchResults .list-group-item:hover {
    background: rgba(245, 158, 11, 0.08) !important;
}

/* Dropdown dark mode */
body.dark-mode .navbar .dropdown-menu {
    background: rgba(30, 32, 40, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .navbar .dropdown-item {
    color: #d1d5db !important;
}

body.dark-mode .navbar .dropdown-item:hover {
    background: rgba(245, 158, 11, 0.1) !important;
    color: #f59e0b !important;
}

/* Alert modal */
body.dark-mode .modal-content {
    background: rgba(30, 32, 40, 0.95) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #e5e7eb !important;
}

/* Alert boxes */
body.dark-mode .alert {
    background: rgba(30, 32, 40, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e5e7eb !important;
}

/* =========================================================================
   MOBILE PWA APP STYLES (Hepsiburada-like) 
   ========================================================================= */

/* Mobile Bottom Navigation */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 0;
    z-index: 2000;
    padding: 10px 0 calc(8px + env(safe-area-inset-bottom, 0px)) 0;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

body.dark-mode .mobile-bottom-nav {
    background: #1a1b23;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    width: 20%;
    transition: all 0.2s ease;
}

body.dark-mode .mobile-bottom-nav .nav-item {
    color: #9ca3af;
}

.mobile-bottom-nav .nav-item i {
    font-size: 1.4rem;
    margin-bottom: 2px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-bottom-nav .nav-item span {
    font-size: 0.65rem;
    font-weight: 600;
}

.mobile-bottom-nav .nav-item.active {
    color: #f97316;
}

body.dark-mode .mobile-bottom-nav .nav-item.active {
    color: #f59e0b;
}

.mobile-bottom-nav .nav-item.active i {
    transform: translateY(-2px) scale(1.1);
}

/* Padding adjustment for mobile to prevent content hiding behind bottom nav */
@media (max-width: 767.98px) {
    body {
        padding-bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
        /* Make room for bottom nav */
    }

    /* Ensure PWA install prompt is above bottom nav */
    #pwaInstallPrompt {
        bottom: calc(65px + env(safe-area-inset-bottom, 0px)) !important;
    }

    /* Adjust FA floats */
    .fa-float-wrap {
        bottom: calc(75px + env(safe-area-inset-bottom, 0px)) !important;
        z-index: 2010 !important;
    }

    /* Compact Top Header for Mobile */
    .mobile-header-compact {
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
        position: sticky;
        top: 0;
        z-index: 1050;
        padding: calc(0.5rem + env(safe-area-inset-top, 16px)) 1rem 0.5rem 1rem;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    }

    .mobile-header-compact .form-control {
        border-radius: 20px 0 0 20px !important;
        height: 40px;
        font-size: 16px !important; /* Prevent auto-zoom */
    }

    .mobile-header-compact .btn-warning {
        border-radius: 0 20px 20px 0 !important;
        height: 40px;
    }

    /* Fixed Bottom Checkout Bar */
    .mobile-checkout-bar {
        position: fixed;
        bottom: calc(52px + env(safe-area-inset-bottom, 0px));
        /* Above the bottom nav */
        left: 0;
        right: 0;
        height: 70px;
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.05);
        z-index: 1030;
        /* Just below bottom nav z-index 1040 */
        padding-bottom: env(safe-area-inset-bottom);
    }

    body.dark-mode .mobile-checkout-bar {
        background: rgba(30, 32, 40, 0.98);
        border-top: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
    }
}

/* Cart Animation Style */
.cart-animation-dot {
    position: fixed;
    width: 24px;
    height: 24px;
    background: #f97316;
    border-radius: 50%;
    z-index: 9999;
    pointer-events: none;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

/* PWA prompt */
body.dark-mode #pwaInstallPrompt {
    background: rgba(30, 32, 40, 0.95) !important;
    border-top-color: rgba(255, 255, 255, 0.06) !important;
    color: #e5e7eb;
}

body.dark-mode #pwaInstallPrompt .text-muted {
    color: #6b7280 !important;
}

/* Floating buttons */
body.dark-mode .fa-float.whatsapp {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3) !important;
}

/* =========================================================================
   COMPREHENSIVE DARK MODE – Cards, Forms, Containers
   ========================================================================= */

/* Generic cards */
body.dark-mode .card {
    background: rgba(30, 32, 40, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #e5e7eb !important;
}

body.dark-mode .card-header {
    background: rgba(25, 27, 35, 0.9) !important;
    border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    color: #e5e7eb !important;
}

body.dark-mode .card-body {
    color: #e5e7eb !important;
}

/* Background utility overrides */
body.dark-mode .bg-white {
    background: rgba(30, 32, 40, 0.85) !important;
}

body.dark-mode .bg-light {
    background: rgba(20, 22, 28, 0.6) !important;
}

body.dark-mode section {
    background: #0f1117 !important;
}

body.dark-mode section[style*="background: linear-gradient"] {
    background: linear-gradient(180deg, #0f1117 0%, #1a1b23 100%) !important;
}

/* Form controls */
body.dark-mode .form-control,
body.dark-mode .form-select {
    background: rgba(25, 27, 35, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e5e7eb !important;
}

body.dark-mode .form-control::placeholder {
    color: #6b7280 !important;
}

body.dark-mode .form-control:focus,
body.dark-mode .form-select:focus {
    border-color: rgba(245, 158, 11, 0.5) !important;
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.15) !important;
}

body.dark-mode .input-group-text {
    background: rgba(25, 27, 35, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #e5e7eb !important;
}

body.dark-mode .form-label {
    color: #9ca3af !important;
}

body.dark-mode .form-check-label {
    color: #e5e7eb !important;
}

/* Buttons */
body.dark-mode .btn-light {
    background: rgba(30, 32, 40, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e5e7eb !important;
}

body.dark-mode .btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.15) !important;
    color: #9ca3af !important;
}

body.dark-mode .btn-outline-secondary:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #e5e7eb !important;
}

body.dark-mode .btn-outline-danger {
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #ef4444 !important;
}

body.dark-mode .btn-outline-primary {
    border-color: rgba(59, 130, 246, 0.4) !important;
    color: #60a5fa !important;
}

/* Horizontal rules */
body.dark-mode hr {
    border-color: rgba(255, 255, 255, 0.08) !important;
    opacity: 1;
}

/* Accordion */
body.dark-mode .accordion-item {
    background: rgba(30, 32, 40, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .accordion-button {
    background: rgba(30, 32, 40, 0.85) !important;
    color: #e5e7eb !important;
}

body.dark-mode .accordion-button::after {
    filter: invert(1);
}

body.dark-mode .accordion-body {
    background: rgba(25, 27, 35, 0.9) !important;
    color: #e5e7eb !important;
}

/* Cart page specific */
body.dark-mode #listCart .card {
    background: rgba(30, 32, 40, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .shadow-sm {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}

/* Badge overrides */
body.dark-mode .badge.bg-light {
    background: rgba(40, 42, 50, 0.8) !important;
    color: #9ca3af !important;
}

body.dark-mode .badge.bg-success.bg-opacity-10 {
    background: rgba(34, 197, 94, 0.15) !important;
}

/* Sticky card */
body.dark-mode .sticky-top.card,
body.dark-mode .card.sticky-top {
    background: rgba(30, 32, 40, 0.95) !important;
}

/* Form check background (payment option) */
body.dark-mode .form-check[style*="background: #f8f9fa"] {
    background: rgba(25, 27, 35, 0.8) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Table dark */
body.dark-mode table {
    color: #e5e7eb !important;
}

body.dark-mode th,
body.dark-mode td {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* Link colors */
body.dark-mode a:not(.btn):not(.nav-link):not(.navbar-brand):not(.dropdown-item) {
    color: #f59e0b;
}

/* Order summary price */
body.dark-mode .fw-bolder.text-primary,
body.dark-mode .fw-800.text-primary {
    color: #f59e0b !important;
}

/* =========================================================================
   Cart Flying Animation
   ========================================================================= */
.flying-clone {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    transition: all 1.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: transparent;
    opacity: 0.8;
}

.cart-icon-pop {
    animation: cartPop 0.4s ease-out;
}

@keyframes cartPop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

/* =========================================================================
   PREMIUM SIDEBAR (Desktop Categories)
   ========================================================================= */
.premium-sidebar {
    border-radius: 16px !important;
    border: 1.5px solid rgba(234, 88, 12, 0.15) !important;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06) !important;
    background: rgba(255, 255, 255, 0.75) !important;
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.premium-sidebar-header {
    background: linear-gradient(350deg, #14144d, #0d4587) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 1rem 1.25rem !important;
    color: #fff !important;
}

.premium-sidebar-header .sidebar-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    margin: 0;
}

.premium-sidebar-header .sidebar-icon {
    color: #f59e0b;
}

.premium-cat-item {
    display: block;
    padding: 0.7rem 1.25rem;
    color: #374151;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.92rem;
    border-left: 3px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.premium-cat-item:hover {
    background: rgba(249, 115, 22, 0.05);
    color: #ea580c;
    border-left-color: rgba(249, 115, 22, 0.4);
    padding-left: 1.5rem;
}

.premium-cat-item.active {
    background: rgba(249, 115, 22, 0.08) !important;
    color: #ea580c !important;
    font-weight: 700 !important;
    border-left: 3px solid #ea580c !important;
}

.premium-cat-item+.premium-cat-item {
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

/* Dark Mode */
body.dark-mode .premium-sidebar {
    background: #1e2028 !important;
    border-color: rgba(234, 88, 12, 0.25) !important;
}

body.dark-mode .premium-cat-item {
    color: #d1d5db;
}

body.dark-mode .premium-cat-item:hover {
    background: rgba(249, 115, 22, 0.1);
    color: #fb923c;
}

body.dark-mode .premium-cat-item.active {
    background: rgba(249, 115, 22, 0.12) !important;
    color: #fb923c !important;
}

body.dark-mode .premium-cat-item+.premium-cat-item {
    border-top-color: rgba(255, 255, 255, 0.06);
}

/* =========================================================================
   MOBILE CATEGORY ICONS
   ========================================================================= */
.cat-bg {
    background: #fff;
    border: 1.5px solid rgba(234, 88, 12, 0.7);
}

.cat-bg.active-cat-bg {
    background: rgba(255, 247, 237, 1) !important;
    border-color: #ea580c !important;
}

body.dark-mode .cat-bg {
    background: rgba(40, 42, 52, 0.95) !important;
    border-color: #f97316 !important;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.15);
}

body.dark-mode .cat-bg.active-cat-bg {
    background: rgba(234, 88, 12, 0.2) !important;
    border-color: #f97316 !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.25);
}

body.dark-mode .mobile-cat-icon .cat-text {
    color: #f3f4f6 !important;
}

/* Dark mode: Boost grey text contrast globally */
body.dark-mode .product-card .card-body small,
body.dark-mode .text-secondary {
    color: #d1d5db !important;
}

body.dark-mode .cat-icon {
    color: #f59e0b !important;
    stroke: #f59e0b !important;
}

/* =========================================================================
   PREMIUM UI UTILITIES
   ========================================================================= */

/* Vibrant Gradients */
.vibrant-orange-gradient,
.btn-gradient-orange {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%) !important;
    border: none !important;
    color: #fff !important;
}

.btn-gradient-orange:hover,
.vibrant-orange-gradient:hover {
    filter: brightness(1.1);
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3) !important;
}

.premium-dark-gradient {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%) !important;
}

/* Glassmorphism Modals */
.glass-modal {
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(25px) saturate(210%) !important;
    -webkit-backdrop-filter: blur(25px) saturate(210%) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.3) !important;
}

body.dark-mode .glass-modal {
    background: rgba(15, 23, 42, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Rich 3D Gradients */
.vibrant-3d-gradient {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 50%, #ea580c 100%) !important;
    border: none !important;
    color: #fff !important;
    position: relative;
    z-index: 1;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

.vibrant-3d-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.vibrant-3d-gradient:hover {
    filter: brightness(1.05);
    box-shadow: 0 10px 25px -5px rgba(249, 115, 22, 0.4), 0 8px 10px -6px rgba(249, 115, 22, 0.4) !important;
    transform: translateY(-2px);
}

/* Premium Header */
.premium-header {
    background: linear-gradient(350deg, #14144d, #0d4587) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
    padding: 1.25rem 2rem !important;
}

/* Premium Input V2 */
.premium-input-v2 {
    border: 2px solid #f1f5f9 !important;
    background-color: #f8fafc !important;
    border-radius: 16px !important;
    padding: 0.8rem 1.2rem !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.premium-input-v2:focus {
    background-color: #fff !important;
    border-color: #f97316 !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.1) !important;
    transform: translateY(-1px);
}

body.dark-mode .premium-input-v2 {
    background-color: rgba(30, 41, 59, 0.5) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #f1f5f9 !important;
}

body.dark-mode .premium-input-v2:focus {
    border-color: #f97316 !important;
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2) !important;
}

/* Utilities */
.tracking-tight {
    letter-spacing: -0.025em;
}

.tracking-wide {
    letter-spacing: 0.025em;
}

.tracking-widest {
    letter-spacing: 0.1em;
}

.uppercase {
    text-transform: uppercase;
}

.fw-800 {
    font-weight: 800;
}

.fw-900 {
    font-weight: 900;
}

/* =========================================================================
   PREMIUM MESSAGING UI
   ========================================================================= */
.chat-container {
    height: calc(100vh - 220px);
    min-height: 550px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, 0.72) !important;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.12);
    margin-top: 1rem;
}

body.dark-mode .chat-container {
    background: rgba(30, 32, 40, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.chat-banner {
    background: linear-gradient(339deg, #1a1a2e, #a52c2c);
    padding: 1.5rem 2.5rem;
    color: #fff;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
}

.chat-banner::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(circle at top right, rgba(245, 158, 11, 0.15), transparent 70%);
}

.chat-banner .avatar {
    width: 52px;
    height: 52px;
    border-radius: 18px;
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 800;
    margin-right: 1.25rem;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.35) !important;
    z-index: 2;
}

.chat-banner .info {
    z-index: 2;
}

.chat-banner .info h5 {
    font-weight: 800;
    margin: 0;
    letter-spacing: -0.02em;
}

.chat-scroll-area {
    flex: 1;
    overflow-y: auto;
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    background: transparent;
}

.chat-msg {
    max-width: 72%;
    margin-bottom: 1.25rem;
    padding: 1rem 1.5rem;
    font-size: 0.98rem;
    line-height: 1.55;
    position: relative;
    animation: msgSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes msgSlideIn {
    from {
        opacity: 0;
        transform: translateY(15px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.chat-msg-me {
    align-self: flex-end;
    background: linear-gradient(135deg, #212529 0%, #16213e 50%, #1c59a1 100%);
    color: #fff;
    border-radius: 22px 22px 4px 22px;
    box-shadow: 0 10px 25px rgba(22, 33, 62, 0.2);
}

.chat-msg-you {
    align-self: flex-start;
    background: #fff;
    color: #1a1a2e;
    border-radius: 22px 22px 22px 4px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

body.dark-mode .chat-msg-you {
    background: rgba(255, 255, 255, 0.06);
    color: #f1f5f9;
}

.chat-msg .time {
    display: block;
    font-size: 0.72rem;
    margin-top: 0.5rem;
    opacity: 0.5;
    font-weight: 500;
}

.chat-footer {
    padding: 1.75rem 2.5rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(15px);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    display: flex;
    align-items: center;
}

body.dark-mode .chat-footer {
    background: rgba(20, 22, 28, 0.6);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.chat-input {
    flex: 1;
    background: #fff !important;
    border: 2px solid #f1f5f9 !important;
    border-radius: 20px !important;
    padding: 0.9rem 1.5rem !important;
    font-weight: 500 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    color: #1a1a2e !important;
}

body.dark-mode .chat-input {
    background: rgba(255, 255, 255, 0.05) !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

.chat-input:focus {
    background: #fff !important;
    border-color: #f97316 !important;
    box-shadow: 0 0 0 5px rgba(249, 115, 22, 0.15) !important;
    transform: translateY(-1px);
}

.btn-chat-send {
    height: 54px;
    padding: 0 1.75rem;
    min-width: 140px;
    border-radius: 16px;
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    color: #fff !important;
    border: none;
    margin-left: 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.35) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    white-space: nowrap;
    z-index: 5;
}

.btn-chat-send i {
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-chat-send:hover {
    transform: translateY(-4px) scale(1.04);
    box-shadow: 0 15px 35px rgba(249, 115, 22, 0.5) !important;
}

.btn-chat-send:hover i {
    animation: sendFly 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-chat-send:active {
    transform: scale(0.92);
}

@keyframes sendFly {
    0% {
        transform: translate(0, 0) rotate(0);
        opacity: 1;
    }

    45% {
        transform: translate(25px, -25px) rotate(-15deg);
        opacity: 0;
    }

    50% {
        transform: translate(-20px, 20px) rotate(0);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0) rotate(0);
        opacity: 1;
    }
}

/* --- Premium Notification Dropdown --- */
.notification-dropdown {
    width: 320px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px !important;
    background: rgba(255, 255, 255, 0.8) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    overflow: hidden;
    padding: 0;
    transform-origin: top right;
    animation: dropdownPop 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.dark-mode .notification-dropdown {
    background: rgba(30, 30, 46, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3) !important;
}

.notification-header {
    background: rgba(255, 255, 255, 0.5);
}

body.dark-mode .notification-header {
    background: rgba(0, 0, 0, 0.2);
    border-bottom-color: rgba(255, 255, 255, 0.05) !important;
}

.notification-body {
    max-height: 350px;
    overflow-y: auto;
}

.notification-body::-webkit-scrollbar {
    width: 5px;
}

.notification-body::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

body.dark-mode .notification-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

.notification-item {
    display: flex;
    align-items: flex-start;
    padding: 12px 16px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    position: relative;
}

body.dark-mode .notification-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.notification-item:hover {
    background: rgba(0, 0, 0, 0.02);
    color: inherit;
}

body.dark-mode .notification-item:hover {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
}

.notification-item.unread {
    background: rgba(249, 115, 22, 0.04);
}

body.dark-mode .notification-item.unread {
    background: rgba(249, 115, 22, 0.1);
}

.notification-item.unread::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 60%;
    background-color: #f97316;
    border-radius: 0 4px 4px 0;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(234, 88, 12, 0.1));
    color: #f97316;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.notification-content {
    flex-grow: 1;
    min-width: 0;
}

.notification-text {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
}

.notification-time {
    font-size: 0.75rem;
    color: #64748b;
}

body.dark-mode .notification-time {
    color: #94a3b8;
}

@keyframes dropdownPop {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

/* =========================================================================
   WELCOME OVERLAY PREMIUM STYLES
   ========================================================================= */
.welcome-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.95) 0%, rgba(10, 15, 30, 0.99) 100%);
    backdrop-filter: blur(15px);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #fff;
    cursor: default;
    user-select: none;
    transition: opacity 0.6s ease;
}

.welcome-logo-box {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 4rem;
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.4);
    transform: scale(0);
    animation: popInWelcome 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    animation-delay: 0.2s;
}

.welcome-title-main {
    font-weight: 800;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFadeWelcome 0.6s ease forwards;
    animation-delay: 0.6s;
}

.welcome-user-name {
    font-weight: 800;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFadeWelcome 0.6s ease forwards;
    animation-delay: 0.8s;
}

@keyframes popInWelcome {
    0% {
        transform: scale(0) rotate(-10deg);
        opacity: 0;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* --- Glass UI Modals --- */
.glass-modal .modal-content {
    background: rgba(255, 255, 255, 0.7) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 28px !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15) !important;
}

body.dark-mode .glass-modal .modal-content {
    background: rgba(30, 32, 46, 0.75) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

.alert-icon-glow {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    border-radius: 30px;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

body.dark-mode .alert-icon-glow {
    background: rgba(255, 255, 255, 0.05);
}

.alert-icon-glow.success {
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.25);
    color: #10b981;
}

.alert-icon-glow.danger {
    box-shadow: 0 15px 35px rgba(239, 68, 68, 0.25);
    color: #ef4444;
}

.alert-icon-glow.info {
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.25);
    color: #3b82f6;
}

.alert-icon-glow.warning {
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.25);
    color: #f59e0b;
}

.alert-icon-glow i,
.alert-icon-glow svg {
    font-size: 3rem;
    filter: drop-shadow(0 4px 10px currentColor);
}

.glass-modal .btn-gradient-orange {
    background: linear-gradient(135deg, #f97316, #ea580c) !important;
    border: none;
    box-shadow: 0 8px 20px rgba(249, 115, 22, 0.3);
}

.glass-modal .btn-light {
    background: rgba(0, 0, 0, 0.05) !important;
    border: 1px solid rgba(0, 0, 0, 0.05) !important;
}

body.dark-mode .glass-modal .btn-light {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

@keyframes slideUpFadeWelcome {
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

body.overlay-active {
    overflow: hidden !important;
}

.logout-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.98) 0%, rgba(5, 10, 20, 1) 100%);
    backdrop-filter: blur(20px);
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    color: #fff;
    cursor: default;
    user-select: none;
    transition: opacity 0.8s ease;
}

.logout-logo-box {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
    border-radius: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: white;
    font-size: 4rem;
    box-shadow: 0 20px 50px rgba(234, 88, 12, 0.3);
    transform: scale(0);
    animation: popInWelcome 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

.logout-title {
    font-weight: 800;
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
    letter-spacing: -0.03em;
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFadeWelcome 0.6s ease forwards;
    animation-delay: 0.4s;
}

.logout-subtitle {
    font-weight: 600;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFadeWelcome 0.6s ease forwards;
    animation-delay: 0.6s;
}

/* =========================================================================
   MOBILE CART OPTIMIZATION - NO SCROLL DESIGN
   ========================================================================= */
@media (max-width: 991.98px) {

    /* Reduce top section padding and add bottom padding for mobile navbar */
    section.py-5 {
        padding-top: 1rem !important;
        padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px)) !important;
    }

    .fs-2-mobile {
        font-size: 1.5rem !important;
    }

    /* Compact item cards */
    .cart-item-card {
        border-radius: 12px !important;
        background: #fff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03) !important;
        margin-bottom: 0.65rem !important;
    }

    .cart-item-img-box {
        background-color: #f8fafc !important;
    }

    .cart-product-title {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        line-clamp: 2;
        overflow: hidden;
        max-height: 2.4em;
    }

    /* Sticky Bottom Summary */
    .mobile-summary-wrapper {
        position: fixed;
        bottom: calc(55px + env(safe-area-inset-bottom, 0px));
        left: 0;
        right: 0;
        margin-top: 0 !important;
        z-index: 1040;
        padding: 0 !important;
    }

    /* Mobile Navbar Safe Area Fix & Spacing */
    .mobile-bottom-nav {
        padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)) !important;
        padding-top: 10px !important;
    }

    .mobile-summary-wrapper .card {
        border-radius: 20px 20px 0 0 !important;
        box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.15) !important;
    }

    .mobile-summary-wrapper .card-body {
        padding: 1rem 1.25rem !important;
    }

    /* Hide redundant summary headers on mobile */
    .mobile-summary-wrapper h4 {
        display: none !important;
    }

    .mobile-summary-wrapper .opacity-75 {
        font-size: 0.8rem;
    }

    /* Compact total box */
    .mobile-summary-wrapper .bg-white.bg-opacity-10 {
        padding: 0.5rem 1rem !important;
        margin-bottom: 0.75rem !important;
        background: rgba(255, 255, 255, 0.08) !important;
    }

    .mobile-summary-wrapper h3 {
        font-size: 1.15rem !important;
    }

    /* Action Button */
    .mobile-summary-wrapper .btn-lg {
        padding: 0.65rem !important;
        font-size: 0.95rem !important;
    }

    /* Spacing for main list so it doesn't get hidden behind the bar */
    #listCart {
        padding-bottom: 180px !important;
    }
}

/* ----- HOLIDAY ANNOUNCEMENT ----- */
.holiday-announcement {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
    color: #fff !important;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(234, 88, 12, 0.2);
    position: relative;
    z-index: 10;
}

.announcement-text {
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    line-height: 1.4;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 767.98px) {
    .announcement-text {
        font-size: 0.85rem;
    }
}

.animate-fade-in-down {
    animation: fadeInDown 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================================
   PREMIUM ANIMATION SYSTEM — Toptancım
   GPU-accelerated (transform + opacity only), 60fps guaranteed.
   ========================================================================= */

/* ----- 1. FADE-IN-UP (Staggered Reveal) ----- */
.animate-fade-in-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* Stagger delays for list items */
.animate-fade-in-up:nth-child(1) {
    animation-delay: 0ms;
}

.animate-fade-in-up:nth-child(2) {
    animation-delay: 60ms;
}

.animate-fade-in-up:nth-child(3) {
    animation-delay: 120ms;
}

.animate-fade-in-up:nth-child(4) {
    animation-delay: 180ms;
}

.animate-fade-in-up:nth-child(5) {
    animation-delay: 240ms;
}

.animate-fade-in-up:nth-child(6) {
    animation-delay: 300ms;
}

.animate-fade-in-up:nth-child(7) {
    animation-delay: 360ms;
}

.animate-fade-in-up:nth-child(8) {
    animation-delay: 420ms;
}

.animate-fade-in-up:nth-child(9) {
    animation-delay: 480ms;
}

.animate-fade-in-up:nth-child(10) {
    animation-delay: 540ms;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ----- 2. FOMO PULSE BADGE ----- */
.badge-pulse {
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5);
    }

    50% {
        opacity: 0.85;
        transform: scale(1.08);
        box-shadow: 0 0 12px 4px rgba(239, 68, 68, 0.2);
    }
}

/* ----- 3. SCALE POP (Tap Feedback) ----- */
.animate-pop {
    animation: scalePop 0.25s cubic-bezier(0.36, 0, 0.66, -0.56) forwards;
}

@keyframes scalePop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.25);
    }

    100% {
        transform: scale(1);
    }
}

/* ----- 4. COUNT-UP NUMBER ----- */
.animate-count-up {
    animation: countFadeIn 0.6s ease-out forwards;
}

@keyframes countFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ----- 5. SLIDE-IN FROM RIGHT (Page Transitions) ----- */
.animate-slide-in-right {
    animation: slideInRight 0.35s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ----- 6. SHIMMER GLOW (Product Image Hover) ----- */
.shimmer-glow {
    position: relative;
    overflow: hidden;
}

.shimmer-glow::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: none;
    animation: shimmerGlow 2.5s infinite;
}

@keyframes shimmerGlow {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* ----- ACCESSIBILITY: Respect user's motion preferences ----- */
@media (prefers-reduced-motion: reduce) {

    .animate-fade-in-up,
    .animate-fade-in-down,
    .animate-pop,
    .animate-count-up,
    .animate-slide-in-right,
    .badge-pulse,
    .shimmer-glow::after {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* ----- CAMPAIGNS PAGE REFINEMENTS ----- */
.campaigns-container {
    background: linear-gradient(180deg, rgba(248, 249, 251, 0) 0%, #f1f3f8 100%);
    transition: background 0.3s ease;
}

body.dark-mode .campaigns-container {
    background: transparent !important;
}

body.dark-mode .campaign-slide {
    background: linear-gradient(135deg, #2d1a1a, #2d2116) !important;
    border-color: #4a3721 !important;
}

body.dark-mode .campaign-slide .bg-white {
    background-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode .campaign-slide .text-dark {
    color: #f3f4f6 !important;
}

body.dark-mode .product-card .btn-white {
    background-color: #2a2b32 !important;
    color: #d1d5db !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .product-card .btn-white:hover {
    background-color: #40414f !important;
    color: #f97316 !important;
}

body.dark-mode .product-card .bg-white {
    background-color: rgba(15, 17, 23, 0.4) !important;
}

/* =========================================================================
   PREMIUM CHAT UI (Toptancım Destek)
   ========================================================================= */

.chat-container {
    background: #ffffff;
    height: 70vh;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

body.dark-mode .chat-container {
    background: #1a1b23;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.chat-banner {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 20px;
    display: flex;
    align-items: center;
    color: white;
}

.chat-banner .avatar {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-right: 15px;
    backdrop-filter: blur(5px);
}

.chat-banner .info h5 {
    margin: 0;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.chat-scroll-area {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

body.dark-mode .chat-scroll-area {
    background: #121218;
}

.chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 18px;
    font-size: 0.95rem;
    position: relative;
    line-height: 1.5;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.chat-msg .time {
    display: block;
    font-size: 0.7rem;
    margin-top: 5px;
    opacity: 0.6;
}

.chat-msg-me {
    align-self: flex-end;
    background: #f97316;
    color: white;
    border-bottom-right-radius: 4px;
}

.chat-msg-you {
    align-self: flex-start;
    background: #ffffff;
    color: #1f2937;
    border-bottom-left-radius: 4px;
}

body.dark-mode .chat-msg-you {
    background: #2d2e38;
    color: #f3f4f6;
}

.chat-footer {
    padding: 15px 20px;
    background: #ffffff;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 12px;
    align-items: center;
}

body.dark-mode .chat-footer {
    background: #1a1b23;
    border-color: rgba(255, 255, 255, 0.05);
}

.chat-input {
    border-radius: 12px !important;
    padding: 12px 15px !important;
    border: 1.5px solid #e5e7eb !important;
    font-size: 0.95rem;
    background: #fdfdfd !important;
}

body.dark-mode .chat-input {
    background: #121218 !important;
    border-color: rgba(255,255,255,0.1) !important;
    color: #f3f4f6 !important;
}

.btn-chat-send {
    height: 48px;
    border-radius: 12px;
    background: #f97316;
    border: none;
    color: white;
    font-weight: 700;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-chat-send:active { transform: scale(0.95); }

/* Mobile Optimizations for Chat */
@media (max-width: 767.98px) {
    .chat-container {
        height: calc(100vh - 180px);
        margin: -1rem;
        border-radius: 0;
        box-shadow: none;
    }
    
    .chat-banner {
        padding: 15px;
    }
    
    .chat-banner .avatar { width: 40px; height: 40px; font-size: 1.2rem; }
    
    .chat-scroll-area { padding: 15px; }
    
    .chat-footer {
        padding: 10px 15px;
        position: sticky;
        bottom: 0px;
        z-index: 10;
        background: #fff;
    }
    
    body.dark-mode .chat-footer { background: #1a1b23; }
    
    .chat-msg { max-width: 90%; }
}

/* ===================================================
   Dokunmatik Cihazlarda Hover Lift Animasyonlarını Kapat
   (hover: none) = fare/mouse desteği olmayan cihazlar
   =================================================== */
@media (hover: none) {
    /* Ürün kartı yukarı kayma efekti */
    .product-card:hover {
        transform: none !important;
        border-color: rgba(234, 88, 12, 0.7) !important;
        box-shadow: none !important;
    }
    .product-card:hover .product-img-wrapper img {
        transform: none !important;
    }

    /* Sepete ekle butonu lift efekti */
    .card.product-card .card-footer .btn.btn-primary.btn-quick-add:hover,
    .card.product-card .card-footer .btn.btn-primary:hover,
    .card.product-card .btn.btn-quick-add:hover,
    .card.h-100.product-card .btn-primary:hover {
        transform: none !important;
        box-shadow: 0 4px 12px rgba(245, 158, 11, 0.25) !important;
    }

    /* Navbar ikonları */
    .nav-icon-btn:hover,
    .navbar .btn-warning:hover,
    .navbar .btn-outline-light.rounded-pill:hover,
    .navbar-brand:hover {
        transform: none !important;
    }

    /* Pagination */
    .pagination .page-link:hover {
        transform: none !important;
    }

    /* Ödeme yöntemi kartları */
    .cc-pay-item:hover {
        transform: none !important;
    }

    /* Ürün detay satın al butonu */
    .pd-buy-btn:hover {
        transform: none !important;
        box-shadow: 0 4px 14px rgba(234,88,12,0.25) !important;
    }

    /* Tedarikçi ve diğer kart hover efektleri */
    .supplier-card:hover,
    .premium-cat-item:hover {
        transform: none !important;
    }
}
