/**
 * HappyKDS123 - Custom Styles
 * Bootstrap 5 + Custom CSS
 */

:root {
    --primary-color: #2b8cee;
    --primary-hover: #1e7cd6;
    --background-light: #f6f7f8;
    --background-dark: #05070a;
    --card-bg: #ffffff;
    --card-bg-dark: #0c0f16;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --text-muted: #6c757d;
    --text-muted-dark: #a0aec0;
    --border-color: #e5e5e5;
    --border-dark: #2a2a2a;
    --bg-light: #ffffff;
    --bg-light-dark: #0c0f16;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
    --shadow-dark: 0 8px 24px rgba(0, 0, 0, 0.4);
    --radius: 1rem;
    --radius-lg: 2rem;
    --transition: all 0.3s ease;
}

[data-theme="dark"] {
    --background-light: var(--background-dark);
    --card-bg: var(--card-bg-dark);
    --text-dark: var(--text-light);
    --text-muted: var(--text-muted-dark);
    --border-color: var(--border-dark);
    --bg-light: var(--bg-light-dark);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

body {
    font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
    transition: var(--transition);
}

/* Header Styles */
.navbar {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .navbar {
    background: rgba(5, 7, 10, 0.95) !important;
    border-bottom-color: var(--border-dark);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-dark) !important;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: var(--radius);
    position: relative;
    text-decoration: none;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.25rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
    background-color: transparent;
}

.nav-link:hover::after {
    width: calc(100% - 2rem);
    transform: translateX(-50%) scaleX(1);
}

.navbar-toggler {
    border: none;
    padding: 0;
    background: transparent;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

[data-theme="dark"] .navbar-toggler {
    color: var(--text-light);
    background-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Button Styles */
.btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border: none;
    color: white;
    font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(43, 140, 238, 0.3);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.01em;
}

.btn-primary-custom::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.4);
    color: white;
}

.btn-primary-custom:hover::before {
    left: 100%;
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05);
    border: none;
    transition: var(--transition);
    color: var(--text-dark);
}

/* Button Primary Custom - Light Theme (default) */
.btn-primary-custom .material-symbols-outlined {
    color: white !important;
}

.btn-primary-custom:disabled {
    background: rgba(108, 117, 125, 0.3) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

.btn-primary-custom:disabled .material-symbols-outlined {
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Button Primary Custom Dark Theme */
[data-theme="dark"] .btn-primary-custom {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%) !important;
    border: none !important;
    color: white !important;
    box-shadow: 0 4px 16px rgba(43, 140, 238, 0.4) !important;
}

[data-theme="dark"] .btn-primary-custom:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, var(--primary-color) 100%) !important;
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.5) !important;
    color: white !important;
}

[data-theme="dark"] .btn-primary-custom:disabled {
    background: rgba(255, 255, 255, 0.1) !important;
    color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: none !important;
    cursor: not-allowed !important;
    transform: none !important;
}

[data-theme="dark"] .btn-primary-custom .material-symbols-outlined {
    color: white !important;
}

[data-theme="dark"] .btn-primary-custom:disabled .material-symbols-outlined {
    color: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="dark"] .btn-icon {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.btn-icon:hover {
    background-color: rgba(0, 0, 0, 0.1);
    transform: scale(1.05);
}

[data-theme="dark"] .btn-icon:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

/* Floating Theme Toggle Button */
.floating-theme-toggle {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.9) 0%, rgba(102, 126, 234, 0.9) 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.4), 0 0 0 4px rgba(43, 140, 238, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .floating-theme-toggle {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.9) 0%, rgba(255, 152, 0, 0.9) 100%);
    box-shadow: 0 8px 24px rgba(255, 193, 7, 0.4), 0 0 0 4px rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.floating-theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: 0 12px 32px rgba(43, 140, 238, 0.5), 0 0 0 6px rgba(43, 140, 238, 0.15);
}

[data-theme="dark"] .floating-theme-toggle:hover {
    box-shadow: 0 12px 32px rgba(255, 193, 7, 0.5), 0 0 0 6px rgba(255, 193, 7, 0.15);
}

.floating-theme-toggle .material-symbols-outlined {
    font-size: 28px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    transition: transform 0.3s ease;
}

.floating-theme-toggle:hover .material-symbols-outlined {
    transform: rotate(180deg);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .floating-theme-toggle {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .floating-theme-toggle .material-symbols-outlined {
        font-size: 24px;
    }
}


/* Section Title Fix */
.section-title {
    position: relative;
    z-index: 5;
    /* Kartlardan yuksek olsun */
    margin-bottom: 2rem !important;
    /* Daha fazla bosluk */
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
}

/* Hero Slider */
.hero-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-lg);
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
        margin-bottom: 2rem;
    }
}

.hero-slide {
    position: absolute;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 4rem;
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 700px;
    animation: heroFadeIn 1s ease-out;
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.hero-content h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.slider-controls {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 3;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: white;
    width: 32px;
    border-radius: 6px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
}

.hero-slider:hover .slider-nav {
    opacity: 1;
}

.slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.slider-nav.prev {
    left: 2rem;
}

.slider-nav.next {
    right: 2rem;
}

/* Product Cards */
/* Product Cards */
.product-card {
    position: relative;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: rgb(38, 57, 77) 0px 20px 30px -10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.product-info {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0 !important;
}

.product-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    line-height: 1.1;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    transition: color 0.2s;
}

.product-title:hover {
    color: var(--primary-color);
}

.product-price-wrapper {
    margin-top: 0 !important;
    padding-top: 0 !important;
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 0;
}

[data-theme="dark"] .product-card {
    background: #0c0f16;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .product-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.product-image-wrapper {
    position: relative;
    aspect-ratio: 1/1;
    overflow: hidden;
}

@media (min-width: 992px) {
    .product-image-wrapper {
        max-width: 470px;
        width: 100%;
        margin-inline: auto;
    }
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 3;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.product-badge-sale {
    background: linear-gradient(135deg, #ff5757 0%, #ff3838 100%);
    color: white;
}

[data-theme="dark"] .product-badge-sale {
    background: linear-gradient(135deg, #ff5757 0%, #ff3838 100%);
    box-shadow: 0 4px 12px rgba(255, 87, 87, 0.4);
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.product-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

/* Ürün detay sayfası görsel alanı - ratio-1x1 ile kare görsel */
#productCarousel .ratio-1x1 .product-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

/* 404 Sayfası - Modern ve Markaya Uygun */
/* 404 Sayfası - Modern ve Şık Tasarım */
.error-404-main {
    padding: 0.5rem 0;
    position: relative;
    background: radial-gradient(circle at 20% 50%, rgba(43, 140, 238, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(43, 140, 238, 0.02) 0%, transparent 50%);
}

[data-theme="dark"] .error-404-main {
    background: radial-gradient(circle at 20% 50%, rgba(43, 140, 238, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(43, 140, 238, 0.04) 0%, transparent 50%);
}

.error-404-container {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 1rem;
}

.error-404-content {
    text-align: center;
    animation: fadeInUp 0.8s ease-out;
}

.error-404-code-wrapper {
    margin-bottom: 0.75rem;
}

.error-404-code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 0.9;
    letter-spacing: -0.08em;
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, var(--text-dark) 0%, rgba(43, 140, 238, 0.4) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.error-404-code::before,
.error-404-code::after {
    content: '404';
    position: absolute;
    inset: 0;
    opacity: 0.15;
    color: var(--primary-color);
    z-index: -1;
}

.error-404-code::before {
    transform: translate(-3px, -2px);
}

.error-404-code::after {
    transform: translate(3px, 2px);
}

.error-404-label {
    margin-top: 0.375rem;
    font-size: 1rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--text-dark);
    opacity: 0.45;
    font-weight: 500;
}

.error-404-text {
    font-size: 1.125rem;
    color: var(--text-dark);
    opacity: 0.7;
    margin-bottom: 1rem;
    line-height: 1.6;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    letter-spacing: -0.01em;
}

.error-404-button {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.875rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    box-shadow: 0 4px 16px rgba(43, 140, 238, 0.3);
    position: relative;
    overflow: hidden;
}

.error-404-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.error-404-button:hover::before {
    left: 100%;
}

.error-404-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.4);
    color: white;
}

.error-404-button .material-symbols-outlined {
    font-size: 18px;
    transition: transform 0.3s ease;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.error-404-button:hover .material-symbols-outlined {
    transform: translateX(4px);
}

.error-404-button-primary {
    background: var(--primary-color) !important;
    box-shadow: 0 4px 16px rgba(43, 140, 238, 0.4) !important;
}

.error-404-button-primary:hover {
    background: var(--primary-hover) !important;
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.5) !important;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

/* Mobil Responsive */
@media (max-width: 768px) {
    .error-404-main {
        padding: 1rem 0;
    }

    .error-404-container {
        padding: 0 1rem;
    }

    .error-404-code-wrapper {
        margin-bottom: 0.5rem;
    }

    .error-404-text {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .error-404-button {
        width: 100%;
        max-width: 300px;
        justify-content: center;
        padding: 0.75rem 1.75rem;
        font-size: 0.9375rem;
    }
}


/* Ürün detay carousel kontrol butonları */
#productCarousel .carousel-control-prev,
#productCarousel .carousel-control-next {
    width: 2.5rem;
    height: 2.5rem;
    opacity: 0.8;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#productCarousel .carousel-control-prev {
    left: 0.5rem;
}

#productCarousel .carousel-control-next {
    right: 0.5rem;
}

#productCarousel .carousel-control-prev:hover,
#productCarousel .carousel-control-next:hover {
    opacity: 1;
    background-color: rgba(0, 0, 0, 0.7);
}

/* Mobil için carousel kontrol butonları */
@media (max-width: 768px) {

    #productCarousel .carousel-control-prev,
    #productCarousel .carousel-control-next {
        width: 2rem;
        height: 2rem;
    }

    #productCarousel .carousel-control-prev-icon,
    #productCarousel .carousel-control-next-icon {
        width: 1rem;
        height: 1rem;
    }
}

/* Ürün adet alanı - referans sayfadaki - 1 + yapısına yakın */
.quantity-row {
    min-width: 120px;
}

.quantity-circle-btn {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.05);
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.quantity-circle-btn:hover {
    background-color: rgba(0, 0, 0, 0.08);
}

.quantity-circle-btn:active {
    transform: scale(0.96);
}

[data-theme="dark"] .quantity-circle-btn {
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
}

.quantity-value {
    min-width: 24px;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
}

.quantity-input {
    min-width: 50px;
    max-width: 80px;
    text-align: center;
    font-weight: 600;
    font-size: 1.05rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--card-bg);
    color: var(--text-dark);
    /* Number input spinner'ları gizle */
    -moz-appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

[data-theme="dark"] .quantity-input {
    background: var(--card-bg-dark);
    border-color: var(--border-dark);
    color: var(--text-light);
}

.quantity-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(43, 140, 238, 0.1);
}

.cart-quantity-input {
    width: 50px;
    text-align: center;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.15rem 0.25rem;
    background: var(--card-bg);
    color: var(--text-dark);
    /* Number input spinner'ları gizle */
    -moz-appearance: textfield;
}

.cart-quantity-input::-webkit-outer-spin-button,
.cart-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

[data-theme="dark"] .cart-quantity-input {
    background: var(--card-bg-dark);
    border-color: var(--border-dark);
    color: var(--text-light);
}

.cart-quantity-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(43, 140, 238, 0.1);
}

.product-card.carousel .carousel-control-prev,
.product-card.carousel .carousel-control-next {
    width: 3rem;
    height: 3rem;
    top: 50%;
    transform: translateY(-50%);
    background: rgb(181 181 181 / 70%);
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    opacity: 1;
}

.product-card.carousel .carousel-control-prev-icon,
.product-card.carousel .carousel-control-next-icon {
    filter: invert(1);
}

.product-card.carousel .carousel-control-prev:hover,
.product-card.carousel .carousel-control-next:hover {
    background: rgba(79, 75, 75, 0.9);
}



.product-overlay {
    display: none;
}

[data-theme="dark"] .product-overlay {
    background: rgba(0, 0, 0, 0.6);
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.btn-product-action {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(20px) scale(0.8);
    opacity: 0;
}

[data-theme="dark"] .btn-product-action {
    background: rgba(26, 31, 46, 0.95);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.product-card:hover .btn-product-action {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.product-card:hover .btn-product-action:nth-child(1) {
    transition-delay: 0.05s;
}

.product-card:hover .btn-product-action:nth-child(2) {
    transition-delay: 0.1s;
}

.product-card:hover .btn-product-action:nth-child(3) {
    transition-delay: 0.15s;
}

.btn-product-action .material-symbols-outlined {
    font-size: 24px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.btn-product-action:hover {
    transform: translateY(-4px) scale(1.1);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

[data-theme="dark"] .btn-product-action:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.btn-favorite {
    background: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="dark"] .btn-favorite {
    background: rgba(26, 31, 46, 0.95) !important;
}

.btn-favorite:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 50%, #ff3838 100%) !important;
    color: white !important;
    box-shadow: 0 8px 24px rgba(255, 87, 87, 0.5) !important;
}

.btn-favorite.active {
    background: rgba(255, 87, 87, 0.95) !important;
    color: white !important;
}

.btn-favorite.active .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.btn-view {
    background: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="dark"] .btn-view {
    background: rgba(26, 31, 46, 0.95) !important;
}

.btn-view:hover {
    background: linear-gradient(135deg, #4facfe 0%, #2b8cee 50%, #1a7ae8 100%) !important;
    color: white !important;
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.5) !important;
}

.btn-cart-overlay {
    background: rgba(255, 255, 255, 0.95) !important;
}

[data-theme="dark"] .btn-cart-overlay {
    background: rgba(26, 31, 46, 0.95) !important;
}

.btn-cart-overlay:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #5a67d8 100%) !important;
    color: white !important;
    box-shadow: 0 8px 24px rgba(102, 126, 234, 0.5) !important;
}

.product-info {
    padding: 0.4rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .product-info {
    background: transparent;
}

.product-title {
    font-weight: 600;
    font-size: 1.125rem;
    margin-bottom: 0;
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.6em;
}

@media (max-width: 768px) {
    .product-title {
        font-size: 0.9rem;
        height: 2.6em;
    }
}

.product-title:hover {
    color: var(--primary-color);
}

.product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.product-buttons {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.4rem;
}

.btn-add-to-cart,
.btn-quick-buy {
    width: 100%;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    padding-left: 0.2rem;
    padding-right: 0.2rem;
    border: none;
    border-radius: 999px;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    text-decoration: none;
}

.btn-add-to-cart {
    background: #f35905;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.btn-add-to-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 140, 238, 0.4);
    color: white;
}

.btn-quick-buy {
    background: #0581f3;
    box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}

.btn-quick-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
}

.btn-add-to-cart .material-symbols-outlined,
.btn-quick-buy .material-symbols-outlined {
    font-size: 20px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Mobil responsive butonlar */
@media (max-width: 768px) {

    .btn-add-to-cart,
    .btn-quick-buy {
        padding-top: 0.625rem;
        padding-bottom: 0.625rem;
        font-size: 0.9375rem;
    }

    .btn-add-to-cart .material-symbols-outlined,
    .btn-quick-buy .material-symbols-outlined {
        font-size: 16px;
    }

    .product-info {
        padding: 0.35rem;
    }

    .product-buttons {
        gap: 0.15rem;
    }

    .product-price {
        font-size: 0.9rem;
    }

    .product-price-old {
        font-size: 0.8rem;
    }
}

[data-theme="dark"] .btn-add-to-cart {
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.4);
}

[data-theme="dark"] .btn-quick-buy {
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.product-price {
    font-weight: 800;
    font-size: 1rem;
    color: var(--primary-color);
    letter-spacing: -0.01em;
}

.product-price-old {
    font-weight: 600;
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    letter-spacing: -0.01em;
}

/* ============================================
   PRODUCT DETAIL PAGE - PREMIUM DESIGN
   ============================================ */

/* Product Detail Grid Layout */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 992px) {
    .product-detail-grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
        align-items: start;
    }
}

/* Modern Breadcrumb */
.product-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.8rem;
    color: #888;
}

.product-breadcrumb .breadcrumb-link {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.product-breadcrumb .breadcrumb-link:hover {
    color: var(--primary-color);
}

.product-breadcrumb .breadcrumb-link .material-symbols-outlined {
    font-size: 1rem;
}

.product-breadcrumb .breadcrumb-sep {
    color: #ccc;
}

.product-breadcrumb .breadcrumb-current {
    color: var(--text-dark);
    font-weight: 600;
}

[data-theme="dark"] .product-breadcrumb .breadcrumb-current {
    color: #fff;
}

/* Product Gallery */
.product-gallery {
    position: relative;
}

@media (min-width: 992px) {
    .product-gallery {
        position: sticky;
        top: 20px;
    }
}

.gallery-main {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .gallery-main {
    background: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.gallery-main-image {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
}

.gallery-main-image .main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-main-image:hover .main-image {
    transform: scale(1.02);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
}

.gallery-main:hover .gallery-nav {
    opacity: 1;
}

.gallery-nav:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-nav-prev {
    left: 12px;
}

.gallery-nav-next {
    right: 12px;
}

.gallery-thumbs-container {
    display: flex;
    gap: 8px;
    padding: 12px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.gallery-thumb {
    min-width: 60px;
    width: 60px;
    height: 60px;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary-color);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-placeholder {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #999;
}

.gallery-placeholder .material-symbols-outlined {
    font-size: 3rem;
}

/* Product Info Panel */
.product-info-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.product-category-badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 16px;
    width: fit-content;
}

@media (min-width: 768px) {
    .product-category-badge {
        padding: 4px 12px;
        font-size: 0.7rem;
        letter-spacing: 0.5px;
        border-radius: 20px;
    }
}

.product-detail-title {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-dark);
    margin: 0;
}

@media (min-width: 576px) {
    .product-detail-title {
        font-size: 1.4rem;
    }
}

@media (min-width: 768px) {
    .product-detail-title {
        font-size: 1.8rem;
    }
}

.product-detail-desc {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

[data-theme="dark"] .product-detail-desc {
    color: #aaa;
}

/* Price Section */
.product-price-section {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.price-current {
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--text-dark);
    letter-spacing: -0.5px;
}

@media (min-width: 576px) {
    .price-current {
        font-size: 1.6rem;
    }
}

@media (min-width: 768px) {
    .price-current {
        font-size: 2.2rem;
    }
}

.price-original {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.price-discount {
    padding: 3px 10px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 20px;
}

/* Stock Indicator */
.stock-indicator {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 8px;
    width: fit-content;
}

.stock-indicator.in-stock {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.stock-indicator.out-stock {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
}

.stock-indicator .material-symbols-outlined {
    font-size: 1rem;
}

@media (min-width: 768px) {
    .stock-indicator {
        gap: 6px;
        font-size: 0.85rem;
        padding: 8px 14px;
        border-radius: 10px;
    }

    .stock-indicator .material-symbols-outlined {
        font-size: 1.1rem;
    }
}

/* Variant Selection */
.variant-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.variant-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

[data-theme="dark"] .variant-label {
    color: #bbb;
}

.variant-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.variant-option {
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
}

[data-theme="dark"] .variant-option {
    background: #2a2a2a;
    border-color: #444;
}

.variant-option:hover {
    border-color: var(--primary-color);
    background: rgba(43, 140, 238, 0.05);
}

.variant-option.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.35);
}

/* Stoksuz ama seçilebilir */
.variant-option.out-of-stock {
    opacity: 0.6;
    background: #f5f5f5;
    color: #888;
    cursor: pointer;
    text-decoration: line-through;
}

.variant-option.out-of-stock.active {
    background: var(--primary-color);
    color: white;
    opacity: 0.7;
    text-decoration: line-through;
}

[data-theme="dark"] .variant-option.out-of-stock {
    background: #2a2a2a;
    color: #777;
}

.variant-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    padding: 2px 6px;
    background: #ef4444;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
    border-radius: 10px;
}

/* Action Section */
.action-section {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(43, 140, 238, 0.05);
    border: 1px solid rgba(43, 140, 238, 0.1);
    border-radius: 12px;
    margin-top: 8px;
}

@media (min-width: 768px) {
    .action-section {
        padding: 16px;
        gap: 12px;
        border-radius: 16px;
    }
}

[data-theme="dark"] .action-section {
    background: rgba(43, 140, 238, 0.08);
    border-color: rgba(43, 140, 238, 0.15);
}

.quantity-control {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: fit-content;
    flex-shrink: 0;
}

[data-theme="dark"] .quantity-control {
    background: #2a2a2a;
}

.qty-btn {
    width: 38px;
    height: 38px;
    border: none;
    background: transparent;
    color: #333;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

[data-theme="dark"] .qty-btn {
    color: #eee;
}

.qty-btn:hover:not(:disabled) {
    background: rgba(102, 126, 234, 0.1);
    color: var(--primary-color);
}

.qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.qty-input {
    width: 50px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
}

.action-buttons {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

#in-stock-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Çok küçük ekranlarda butonlar dikey */
@media (max-width: 400px) {
    #in-stock-actions {
        flex-direction: column;
    }

    .action-section {
        padding: 12px;
        gap: 10px;
    }
}

.btn-add-cart,
.btn-buy-now,
.btn-out-of-stock {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 10px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
}

/* Mobilde buton ikonunu gizle */
.btn-add-cart .material-symbols-outlined,
.btn-buy-now .material-symbols-outlined,
.btn-out-of-stock .material-symbols-outlined {
    display: none;
}

@media (min-width: 576px) {

    .btn-add-cart .material-symbols-outlined,
    .btn-buy-now .material-symbols-outlined,
    .btn-out-of-stock .material-symbols-outlined {
        display: inline-flex;
    }

    .btn-add-cart,
    .btn-buy-now,
    .btn-out-of-stock {
        padding: 12px 16px;
        font-size: 0.9rem;
        gap: 6px;
    }
}

@media (min-width: 768px) {

    .btn-add-cart,
    .btn-buy-now,
    .btn-out-of-stock {
        padding: 14px 20px;
        font-size: 0.95rem;
        gap: 8px;
        border-radius: 12px;
    }
}

/* Sepete Ekle - Turuncu */
.btn-add-cart {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.35);
}

.btn-add-cart:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.45);
    color: white;
}

/* Hemen Al - Mavi */
.btn-buy-now {
    background: linear-gradient(135deg, #2b8cee 0%, #1e7cd6 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(43, 140, 238, 0.35);
}

.btn-buy-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 140, 238, 0.45);
    color: white;
}

.btn-out-of-stock {
    background: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
}

[data-theme="dark"] .btn-out-of-stock {
    background: #374151;
    color: #6b7280;
}

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding-top: 16px;
    border-top: 1px dashed #e5e7eb;
}

[data-theme="dark"] .benefits-grid {
    border-color: #374151;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #666;
}

[data-theme="dark"] .benefit-item {
    color: #9ca3af;
}

.benefit-item .material-symbols-outlined {
    font-size: 1.1rem;
    color: var(--primary-color);
}

/* Related Products */
.related-products-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e5e7eb;
}

[data-theme="dark"] .related-products-section {
    border-color: #374151;
}

/* Mobile Responsive */
@media (max-width: 575px) {
    .product-detail-title {
        font-size: 1.25rem;
    }

    .price-current {
        font-size: 1.5rem;
    }

    .variant-option {
        padding: 8px 14px;
        font-size: 0.8rem;
    }

    .action-section {
        padding: 12px;
    }

    .qty-btn {
        width: 34px;
        height: 34px;
    }

    .qty-input {
        width: 40px;
        font-size: 1rem;
    }

    .btn-add-cart,
    .btn-buy-now,
    .btn-out-of-stock {
        padding: 12px 16px;
        font-size: 0.85rem;
    }

    .benefit-item {
        font-size: 0.75rem;
    }

    .gallery-thumb {
        min-width: 50px;
        width: 50px;
        height: 50px;
    }
}

/* ============================================
   LEGACY DETAIL STYLES (Backward Compatibility)
   ============================================ */

/* --- Refined Minimal Compact Detail Card --- */
.detail-info-card {
    background: var(--card-bg);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

[data-theme="dark"] .detail-info-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.detail-category {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-color);
    margin-bottom: 2px !important;
}

.detail-title {
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.25;
    color: var(--text-dark);
    margin-bottom: 6px !important;
}

.detail-price-box {
    margin-bottom: 12px !important;
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.detail-price-current {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--text-dark);
}

.detail-price-old {
    font-size: 0.95rem;
    text-decoration: line-through;
    color: #999;
}

.detail-variant-label {
    font-size: 0.75rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 6px !important;
}

[data-theme="dark"] .detail-variant-label {
    color: #aaa;
}

.variant-pill {
    padding: 6px 14px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 8px;
    border: 1.5px solid #eee;
    background: transparent;
    color: var(--text-dark);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

[data-theme="dark"] .variant-pill {
    border-color: #333;
}

.variant-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.variant-pill.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* Stoksuz variant butonları */
.variant-pill.out-of-stock,
.variant-color-btn.out-of-stock,
.variant-size-btn.out-of-stock {
    opacity: 0.5;
    background: #f5f5f5;
    border-color: #ddd;
    color: #999;
    cursor: not-allowed;
    position: relative;
    text-decoration: line-through;
}

[data-theme="dark"] .variant-pill.out-of-stock,
[data-theme="dark"] .variant-color-btn.out-of-stock,
[data-theme="dark"] .variant-size-btn.out-of-stock {
    background: #2a2a2a;
    border-color: #444;
    color: #666;
}

.variant-pill.out-of-stock:hover,
.variant-color-btn.out-of-stock:hover,
.variant-size-btn.out-of-stock:hover {
    border-color: #ccc;
    color: #888;
    transform: none;
}

/* Stokta yok badge */
.stock-badge {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    background: #ef4444;
    color: white;
    padding: 1px 5px;
    border-radius: 4px;
    margin-left: 4px;
    text-decoration: none;
    vertical-align: middle;
}

.variant-size-btn.out-of-stock small {
    font-size: 0.65rem;
    color: #ef4444;
    text-decoration: none;
}


.detail-quantity-wrapper {
    background: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 3px;
    display: inline-flex;
    align-items: center;
}

[data-theme="dark"] .detail-quantity-wrapper {
    background: #1a1a1a;
    border-color: #333;
}

.detail-quantity-btn {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: white;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.2s;
}

[data-theme="dark"] .detail-quantity-btn {
    background: #333;
    color: #eee;
}

.detail-quantity-btn:active {
    transform: scale(0.9);
}

.detail-quantity-input {
    width: 38px;
    border: none;
    background: transparent;
    text-align: center;
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--text-dark);
    /* Number input spinner'ları gizle */
    -moz-appearance: textfield;
}

.detail-quantity-input::-webkit-outer-spin-button,
.detail-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.detail-action-btn {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease-in-out;
}

.btn-primary-custom.detail-action-btn {
    background: var(--primary-color);
    border: none;
    color: white;
    box-shadow: 0 6px 16px rgba(var(--primary-rgb), 0.15);
}

.btn-primary-custom.detail-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(var(--primary-rgb), 0.25);
}

.btn-outline-primary.detail-action-btn {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary.detail-action-btn:hover {
    background: rgba(var(--primary-rgb), 0.05);
    transform: translateY(-3px);
}

.detail-benefit-box {
    margin-top: 16px !important;
    padding-top: 12px;
    border-top: 1px dashed #eee;
}

[data-theme="dark"] .detail-benefit-box {
    border-color: #333;
}

.detail-benefit-item {
    font-size: 0.7rem;
    font-weight: 600;
    color: #666;
    display: flex;
    align-items: center;
    gap: 6px;
}

[data-theme="dark"] .detail-benefit-item {
    color: #999;
}

@media (max-width: 768px) {
    .detail-info-card {
        padding: 12px;
        margin-top: 8px;
        border-radius: 10px;
    }

    .detail-title {
        font-size: 1.1rem;
        line-height: 1.3;
        margin-bottom: 4px !important;
    }

    .detail-category {
        font-size: 0.6rem;
    }

    .detail-price-current {
        font-size: 1.25rem;
    }

    .detail-price-old {
        font-size: 0.85rem;
    }

    .detail-price-box {
        margin-bottom: 8px !important;
        gap: 8px;
    }

    .detail-variant-label {
        font-size: 0.7rem;
        margin-bottom: 4px !important;
    }

    .variant-pill {
        padding: 5px 10px;
        font-size: 0.7rem;
    }

    .detail-quantity-wrapper {
        padding: 2px;
    }

    .detail-quantity-btn {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }

    .detail-quantity-input {
        width: 32px;
        font-size: 0.8rem;
    }

    .detail-action-btn {
        height: 42px;
        font-size: 0.8rem;
        padding: 0 10px;
        gap: 4px;
        border-radius: 10px;
    }

    .detail-action-btn .material-symbols-outlined {
        font-size: 1rem !important;
    }

    /* Mobilde butonlar dikey olabilir */
    .d-flex.flex-grow-1.gap-2 {
        flex-direction: column;
        gap: 8px !important;
    }

    #in-stock-actions {
        flex-direction: row !important;
        gap: 8px !important;
    }

    .detail-benefit-box {
        margin-top: 12px !important;
        padding-top: 10px;
    }

    .detail-benefit-item {
        font-size: 0.65rem;
    }

    .detail-benefit-item .material-symbols-outlined {
        font-size: 0.8rem !important;
    }

    /* Galeri thumbnails mobilde küçük */
    .gallery-thumbs {
        gap: 4px !important;
    }

    .gallery-thumb {
        min-width: 50px;
        max-width: 50px;
    }

    /* Breadcrumb mobilde daha kompakt */
    .breadcrumb-compact {
        font-size: 0.65rem;
        gap: 4px;
        margin-bottom: 8px !important;
    }

    /* Carousel kontrolleri mobilde küçük */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 8px !important;
    }

    /* Aksiyon satırı mobilde */
    .detail-actions-row {
        gap: 8px !important;
    }

    .detail-buttons-group {
        min-width: 0;
    }
}

/* Çok küçük ekranlar için (< 400px) */
@media (max-width: 400px) {
    .detail-action-btn {
        padding: 0 8px;
        font-size: 0.75rem;
    }

    .detail-action-btn .btn-text {
        display: none;
    }

    .detail-action-btn .material-symbols-outlined {
        font-size: 1.2rem !important;
    }

    .detail-quantity-btn {
        width: 26px;
        height: 26px;
    }

    .detail-quantity-input {
        width: 28px;
    }
}

/* Product Gallery Styles */
.gallery-thumbs::-webkit-scrollbar {
    height: 4px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 4px;
}

.gallery-thumb {
    opacity: 0.6;
    transition: all 0.2s;
}

.gallery-thumb:hover,
.gallery-thumb.active {
    opacity: 1;
}

.gallery-thumb.active .border {
    border-color: var(--primary-color) !important;
    border-width: 2px !important;
}

/* Carousel Control refinement */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    opacity: 0;
    transition: opacity 0.3s;
}

#productCarousel:hover .carousel-control-prev,
#productCarousel:hover .carousel-control-next {
    opacity: 1;
}

/* Breadcrumb Compact */
.breadcrumb-compact {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 12px;
}

.breadcrumb-compact a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

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

.breadcrumb-compact .separator {
    opacity: 0.5;
}

.breadcrumb-compact .current {
    font-weight: 600;
    color: var(--text-dark);
}

[data-theme="dark"] .breadcrumb-compact .current {
    color: #eee;
}

/* Collection Cards */
.collection-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    background: var(--background-light);
    border: 1px solid rgba(0, 0, 0, 0.08);
    aspect-ratio: 1;
}

[data-theme="dark"] .collection-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.12);
}

.collection-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    border-color: rgba(43, 140, 238, 0.4);
}

[data-theme="dark"] .collection-card:hover {
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6);
    border-color: rgba(43, 140, 238, 0.5);
}

.collection-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-image {
    transform: scale(1.15);
}

.collection-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.6) 100%);
    transition: opacity 0.5s ease;
    z-index: 2;
}

.collection-card:hover .collection-image::after {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.5) 100%);
}

.collection-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.collection-content {
    text-align: center;
    width: 100%;
    transform: translateY(20px);
    opacity: 0.9;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover .collection-content {
    transform: translateY(0);
    opacity: 1;
}

.collection-title {
    color: white;
    font-weight: 800;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.collection-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.collection-cta .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.collection-card:hover .collection-cta {
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.9) 0%, rgba(102, 126, 234, 0.9) 50%, rgba(118, 75, 162, 0.9) 100%);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(43, 140, 238, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    backdrop-filter: blur(30px);
}

.collection-card:hover .collection-cta .material-symbols-outlined {
    transform: translateX(4px);
}

/* Section Titles */
.section-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    letter-spacing: -0.01em;
    position: relative;
    display: inline-block;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
    }
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -0.75rem;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), rgba(43, 140, 238, 0.5));
    border-radius: 2px;
}

/* Trust Banner */
.trust-banner {
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.05) 0%, rgba(43, 140, 238, 0.02) 100%);
    border-radius: var(--radius-lg);
    padding: 4rem 2rem;
    margin-top: 5rem;
    border: 1px solid rgba(43, 140, 238, 0.1);
    backdrop-filter: blur(10px);
}

[data-theme="dark"] .trust-banner {
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.1) 0%, rgba(43, 140, 238, 0.05) 100%);
    border-color: rgba(43, 140, 238, 0.2);
}

.trust-item {
    text-align: center;
}

.trust-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.15) 0%, rgba(43, 140, 238, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-color);
    font-size: 2rem;
    box-shadow: 0 4px 16px rgba(43, 140, 238, 0.2);
    transition: all 0.3s ease;
}

.trust-item:hover .trust-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 24px rgba(43, 140, 238, 0.3);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.show {
    display: flex;
    opacity: 1;
}

/* Cart Modal Special Overlay */
#cart-modal.modal-overlay {
    align-items: stretch;
    justify-content: flex-end;
    padding: 0;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    animation: modalFadeIn 0.3s ease;
}

[data-theme="dark"] .modal-content {
    background: #0c0f16;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

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

.modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 1.5rem;
    max-height: 60vh;
    overflow-y: auto;
}

/* Form Styles */
[data-theme="dark"] .form-control {
    background-color: #2a2f3e;
    border-color: var(--border-dark);
    color: var(--text-light);
}

[data-theme="dark"] .form-control:focus {
    background-color: #2a2f3e;
    border-color: var(--primary-color);
    color: var(--text-light);
    box-shadow: 0 0 0 0.25rem rgba(43, 140, 238, 0.25);
}

[data-theme="dark"] .form-label {
    color: var(--text-light);
}

[data-theme="dark"] .input-group-text {
    background-color: #2a2f3e;
    border-color: var(--border-dark);
    color: var(--text-light);
}

[data-theme="dark"] .modal-header {
    border-bottom-color: var(--border-dark);
}

/* Variant Selection Modal Styles */
.variant-selection-group {
    margin-bottom: 1.5rem;
}

.variant-selection-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.variant-color-btn,
.variant-size-btn {
    padding: 0.6rem 1.25rem;
    border: 2px solid var(--border-color);
    background: transparent;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

[data-theme="dark"] .variant-color-btn,
[data-theme="dark"] .variant-size-btn {
    border-color: var(--border-dark);
    color: var(--text-light);
}

.variant-color-btn:hover,
.variant-size-btn:hover {
    border-color: var(--primary-color);
    background: rgba(43, 140, 238, 0.05);
    transform: translateY(-1px);
}

.variant-color-btn.active,
.variant-size-btn.active {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.3);
}

.variant-color-btn.out-of-stock,
.variant-size-btn.out-of-stock {
    opacity: 0.5;
    cursor: not-allowed;
    text-decoration: line-through;
    border-style: dashed;
}

/* Quantity Control in Modal */
.variant-quantity-wrapper {
    background: var(--background-light);
    border-radius: 50px;
    padding: 0.25rem;
    display: inline-flex;
    align-items: center;
}

[data-theme="dark"] .variant-quantity-wrapper {
    background: rgba(255, 255, 255, 0.05);
}

.variant-quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.quantity-circle-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

[data-theme="dark"] .quantity-circle-btn {
    background: var(--card-bg-dark);
    color: var(--text-light);
}

.quantity-circle-btn:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.quantity-input {
    width: 40px;
    border: none !important;
    background: transparent !important;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-dark) !important;
    padding: 0;
}

[data-theme="dark"] .quantity-input {
    color: var(--text-light) !important;
}

/* Stock Badge */
.stock-badge {
    font-size: 0.65rem;
    padding: 0.2rem 0.5rem;
    background: #ef4444;
    color: white;
    border-radius: 4px;
    margin-left: 0.5rem;
    vertical-align: middle;
}


[data-theme="dark"] .border-top {
    border-top-color: var(--border-dark) !important;
}

[data-theme="dark"] .text-muted {
    color: #9ca3af !important;
}

/* Form Controls Dark Theme - Comprehensive */
[data-theme="dark"] .form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="dark"] .form-control:disabled {
    background-color: #0c0f16 !important;
    border-color: var(--border-dark) !important;
    color: rgba(255, 255, 255, 0.3) !important;
    opacity: 0.6;
}

[data-theme="dark"] .form-select {
    background-color: #2a2f3e !important;
    border-color: var(--border-dark) !important;
    color: var(--text-light) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23a0aec0' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

[data-theme="dark"] .form-select:focus {
    background-color: #2a2f3e !important;
    border-color: var(--primary-color) !important;
    color: var(--text-light) !important;
    box-shadow: 0 0 0 0.25rem rgba(43, 140, 238, 0.25);
}

[data-theme="dark"] .form-select option {
    background-color: #2a2f3e !important;
    color: var(--text-light) !important;
}

[data-theme="dark"] textarea.form-control {
    background-color: #2a2f3e !important;
    border-color: var(--border-dark) !important;
    color: var(--text-light) !important;
}

[data-theme="dark"] textarea.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

[data-theme="dark"] textarea.form-control:focus {
    background-color: #2a2f3e !important;
    border-color: var(--primary-color) !important;
    color: var(--text-light) !important;
    box-shadow: 0 0 0 0.25rem rgba(43, 140, 238, 0.25);
}

/* Buttons Dark Theme - Comprehensive */
[data-theme="dark"] .btn-outline-secondary {
    color: var(--text-light) !important;
    border-color: var(--border-dark) !important;
    background-color: transparent !important;
}

[data-theme="dark"] .btn-outline-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-light) !important;
}

[data-theme="dark"] .btn-outline-secondary:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.15) !important;
}

[data-theme="dark"] .btn-outline-secondary.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

[data-theme="dark"] .btn-link {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .btn-link:hover {
    color: var(--primary-hover) !important;
}

/* Filter Buttons Dark Theme */
[data-theme="dark"] .filter-btn {
    color: var(--text-light) !important;
    border-color: var(--border-dark) !important;
    background-color: transparent !important;
}

[data-theme="dark"] .filter-btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: var(--text-light) !important;
}

[data-theme="dark"] .filter-btn.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    color: white !important;
}

/* Breadcrumb Dark Theme */
[data-theme="dark"] .breadcrumb {
    background-color: transparent !important;
}

[data-theme="dark"] .breadcrumb-item a {
    color: var(--text-muted-dark) !important;
}

[data-theme="dark"] .breadcrumb-item.active {
    color: var(--text-light) !important;
}

[data-theme="dark"] .breadcrumb-item+.breadcrumb-item::before {
    color: var(--text-muted-dark) !important;
}

/* Badge Dark Theme */
[data-theme="dark"] .badge {
    color: var(--text-light) !important;
}

[data-theme="dark"] .badge.bg-secondary {
    background-color: rgba(255, 255, 255, 0.2) !important;
}

[data-theme="dark"] .badge.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Input Group Dark Theme */
[data-theme="dark"] .input-group .form-control {
    background-color: #2a2f3e !important;
    border-color: var(--border-dark) !important;
    color: var(--text-light) !important;
}

[data-theme="dark"] .input-group .btn {
    background-color: #2a2f3e !important;
    border-color: var(--border-dark) !important;
    color: var(--text-light) !important;
}

[data-theme="dark"] .input-group .btn:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}

/* Checkbox & Radio Dark Theme */
[data-theme="dark"] .form-check-input {
    background-color: #2a2f3e !important;
    border-color: var(--border-dark) !important;
}

[data-theme="dark"] .form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(43, 140, 238, 0.25) !important;
}

[data-theme="dark"] .form-check-label {
    color: var(--text-light) !important;
}

/* Category Hero Dark Theme */
[data-theme="dark"] #category-hero {
    background-color: var(--card-bg-dark) !important;
}

/* Empty State Dark Theme */
[data-theme="dark"] #empty-state {
    color: var(--text-light) !important;
}

[data-theme="dark"] #empty-state .text-muted {
    color: var(--text-muted-dark) !important;
}

/* Product Card Border Dark Theme */
[data-theme="dark"] .product-card {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Section Title Dark Theme */
[data-theme="dark"] .section-title {
    color: var(--text-light) !important;
}

/* Trust Item Dark Theme */
[data-theme="dark"] .trust-item p {
    color: var(--text-light) !important;
}

/* Footer Links Dark Theme */
[data-theme="dark"] .nav-link {
    color: var(--text-light) !important;
}

[data-theme="dark"] .nav-link:hover {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .footer-link {
    color: var(--text-light) !important;
}

[data-theme="dark"] .footer-link:hover {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .footer-title {
    color: var(--text-light) !important;
}

/* Checkout Page Dark Theme */
[data-theme="dark"] .product-card {
    background-color: var(--card-bg-dark) !important;
    border-color: var(--border-dark) !important;
}

[data-theme="dark"] .product-card h2,
[data-theme="dark"] .product-card h6 {
    color: var(--text-light) !important;
}

[data-theme="dark"] .product-card .small {
    color: var(--text-muted-dark) !important;
}

[data-theme="dark"] .product-card label {
    color: var(--text-light) !important;
}

[data-theme="dark"] .product-card .border {
    border-color: var(--border-dark) !important;
}

[data-theme="dark"] .product-card .border-top {
    border-top-color: var(--border-dark) !important;
}

[data-theme="dark"] .product-card .border.rounded-3 {
    border-color: var(--border-dark) !important;
}

[data-theme="dark"] .product-card .border.rounded-3:hover {
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .product-card .form-check-input {
    background-color: #2a2f3e !important;
    border-color: var(--border-dark) !important;
}

[data-theme="dark"] .product-card .form-check-input:checked {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

[data-theme="dark"] .product-card .small.fw-semibold {
    color: var(--text-light) !important;
}

[data-theme="dark"] .product-card .small.text-muted {
    color: var(--text-muted-dark) !important;
}

[data-theme="dark"] .product-card .text-success {
    color: #10b981 !important;
}

[data-theme="dark"] .product-card .text-primary-custom {
    color: var(--primary-color) !important;
}

/* Bank Accounts Info Card - Light Theme */
.bank-accounts-card {
    background-color: #f8f9fa;
    border-color: #dee2e6;
}

/* Bank Accounts Info Card - Dark Theme */
[data-theme="dark"] .bank-accounts-card {
    background-color: var(--card-bg-dark) !important;
    border-color: #2b8cee !important;
    color: var(--text-light) !important;
}

[data-theme="dark"] .bank-accounts-card h6,
[data-theme="dark"] .bank-accounts-card strong {
    color: var(--text-light) !important;
}

[data-theme="dark"] .bank-accounts-card .small {
    color: var(--text-muted-dark) !important;
}

/* Bank Note Alert - Light Theme */
.bank-note-alert {
    background-color: #fff3cd;
    border-color: #ffc107;
    color: #856404;
}

/* Bank Note Alert - Dark Theme */
[data-theme="dark"] .bank-note-alert {
    background-color: rgba(255, 193, 7, 0.15) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: rgba(255, 193, 7, 0.9) !important;
}

[data-theme="dark"] .bank-note-alert strong {
    color: rgba(255, 193, 7, 0.95) !important;
}

/* Alert Info Dark Theme */
[data-theme="dark"] .alert-info {
    background-color: rgba(13, 110, 253, 0.15) !important;
    border-color: rgba(13, 110, 253, 0.3) !important;
    color: rgba(173, 216, 255, 0.95) !important;
}

[data-theme="dark"] .alert-info .material-symbols-outlined {
    color: rgba(173, 216, 255, 0.95) !important;
}

/* Alert Warning Dark Theme */
[data-theme="dark"] .alert-warning {
    background-color: rgba(255, 193, 7, 0.15) !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
    color: rgba(255, 193, 7, 0.9) !important;
}

[data-theme="dark"] .alert-warning strong {
    color: rgba(255, 193, 7, 0.95) !important;
}

/* Quantity Circle Buttons Dark Theme */
[data-theme="dark"] .quantity-circle-btn:hover {
    background-color: rgba(255, 255, 255, 0.12) !important;
}

/* Category Page Dark Theme */
[data-theme="dark"] #category-hero h1,
[data-theme="dark"] #category-hero p {
    color: white !important;
}

[data-theme="dark"] #category-hero .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Product Detail Page Dark Theme */
[data-theme="dark"] .product-price-old {
    color: rgba(255, 255, 255, 0.5) !important;
}

[data-theme="dark"] .small.text-primary {
    color: var(--primary-color) !important;
}

[data-theme="dark"] .small.text-muted {
    color: var(--text-muted-dark) !important;
}

/* Navbar Dark Theme - Additional */
[data-theme="dark"] .navbar-toggler-icon {
    filter: invert(1);
}

/* Carousel Controls Dark Theme */
[data-theme="dark"] .carousel-control-prev-icon,
[data-theme="dark"] .carousel-control-next-icon {
    filter: invert(1);
}

/* Checkout Page Buttons Dark Theme */
[data-theme="dark"] .btn[style*="border:1px solid var(--border-color)"] {
    color: var(--text-light) !important;
    border-color: var(--border-dark) !important;
}

[data-theme="dark"] .btn[style*="border:1px solid var(--border-color)"]:hover {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border-color: var(--primary-color) !important;
    color: var(--primary-color) !important;
}



[data-theme="dark"] .product-card .fw-semibold:not(.text-primary-custom) {
    color: var(--text-light) !important;
}

[data-theme="dark"] .product-card .fw-bold:not(.text-primary-custom) {
    color: var(--text-light) !important;
}

[data-theme="dark"] .product-card .small:not(.text-muted):not(.text-success) {
    color: var(--text-light) !important;
}

[data-theme="dark"] .product-card hr {
    border-color: var(--border-dark) !important;
}

/* Modern Profile Modal */
.profile-modal-content {
    max-width: 480px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] .profile-modal-content {
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
}

.profile-modal-header {
    position: relative;
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.12) 0%, rgba(102, 126, 234, 0.12) 50%, rgba(118, 75, 162, 0.12) 100%);
    padding: 3.5rem 2rem 2.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.profile-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(43, 140, 238, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

[data-theme="dark"] .profile-modal-header {
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.18) 0%, rgba(102, 126, 234, 0.18) 50%, rgba(118, 75, 162, 0.18) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

.profile-modal-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 1.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(102, 126, 234, 1) 50%, rgba(118, 75, 162, 1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 12px 32px rgba(43, 140, 238, 0.4), 0 0 0 4px rgba(43, 140, 238, 0.1);
    position: relative;
    z-index: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.profile-modal-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 16px 40px rgba(43, 140, 238, 0.5), 0 0 0 6px rgba(43, 140, 238, 0.15);
}

.profile-modal-icon .material-symbols-outlined {
    font-size: 40px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.profile-modal-title {
    font-size: 1.875rem;
    font-weight: 900;
    margin: 0 0 0.5rem 0;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .profile-modal-title {
    color: var(--text-light);
}

.profile-modal-subtitle {
    font-size: 0.9375rem;
    color: rgba(0, 0, 0, 0.6);
    margin: 0;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

[data-theme="dark"] .profile-modal-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.profile-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

[data-theme="dark"] .profile-modal-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.profile-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1) rotate(90deg);
}

[data-theme="dark"] .profile-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.profile-modal-body {
    padding: 2rem;
}

.profile-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.profile-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.profile-form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-dark);
}

[data-theme="dark"] .profile-form-label {
    color: var(--text-light);
}

.profile-form-label .material-symbols-outlined {
    font-size: 20px;
    color: var(--primary-color);
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.profile-form-input {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-dark);
    background: rgba(0, 0, 0, 0.02);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
}

[data-theme="dark"] .profile-form-input {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.profile-form-input::placeholder {
    color: rgba(0, 0, 0, 0.4);
    font-weight: 400;
}

[data-theme="dark"] .profile-form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.profile-form-input:focus {
    border-color: var(--primary-color);
    background: rgba(43, 140, 238, 0.05);
    box-shadow: 0 0 0 4px rgba(43, 140, 238, 0.1);
    transform: translateY(-2px);
}

[data-theme="dark"] .profile-form-input:focus {
    background: rgba(43, 140, 238, 0.08);
    box-shadow: 0 0 0 4px rgba(43, 140, 238, 0.15);
}

.profile-form-password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.profile-form-password-wrapper .profile-form-input {
    padding-right: 3.5rem;
}

.profile-form-password-toggle {
    position: absolute;
    right: 0.75rem;
    background: transparent;
    border: none;
    color: rgba(0, 0, 0, 0.4);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 1;
}

[data-theme="dark"] .profile-form-password-toggle {
    color: rgba(255, 255, 255, 0.5);
}

.profile-form-password-toggle:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
    transform: scale(1.1);
}

[data-theme="dark"] .profile-form-password-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.profile-form-password-toggle .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.profile-form-password-toggle.active .material-symbols-outlined {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.profile-form-submit {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(102, 126, 234, 1) 50%, rgba(118, 75, 162, 1) 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.0625rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 6px 20px rgba(43, 140, 238, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    margin-top: 0.5rem;
    position: relative;
    overflow: hidden;
}

.profile-form-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.profile-form-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(43, 140, 238, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.profile-form-submit:hover::before {
    left: 100%;
}

.profile-form-submit:active {
    transform: translateY(0);
}

.profile-form-submit .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    transition: transform 0.3s ease;
}

.profile-form-submit:hover .material-symbols-outlined {
    transform: translateX(4px);
}

.profile-form-divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.profile-form-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--border-color);
}

[data-theme="dark"] .profile-form-divider::before {
    background: var(--border-dark);
}

.profile-form-divider span {
    position: relative;
    background: white;
    padding: 0 1rem;
    color: rgba(0, 0, 0, 0.5);
    font-size: 0.875rem;
}

[data-theme="dark"] .profile-form-divider span {
    background: #0c0f16;
    color: rgba(255, 255, 255, 0.5);
}

.profile-form-secondary {
    width: 100%;
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.02);
    border: 2px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

[data-theme="dark"] .profile-form-secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.profile-form-secondary:hover {
    background: rgba(43, 140, 238, 0.05);
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
}

[data-theme="dark"] .profile-form-secondary:hover {
    background: rgba(43, 140, 238, 0.08);
}

.profile-form-secondary .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Modern Cart Modal */
.cart-modal-content {
    position: fixed;
    top: 0;
    right: 0;
    width: 100%;
    max-width: 420px;
    height: 100vh;
    max-height: 100vh;
    background: white;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1050;
    overflow: hidden;
}

[data-theme="dark"] .cart-modal-content {
    background: #0c0f16;
    box-shadow: -4px 0 32px rgba(0, 0, 0, 0.5);
}

#cart-modal.show .cart-modal-content {
    transform: translateX(0);
}

.cart-modal-header {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.05) 0%, rgba(102, 126, 234, 0.05) 100%);
    flex-shrink: 0;
}

[data-theme="dark"] .cart-modal-header {
    border-bottom-color: var(--border-dark);
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.08) 0%, rgba(102, 126, 234, 0.08) 100%);
}

.cart-header-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.cart-modal-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0;
    color: var(--text-dark);
    letter-spacing: -0.02em;
}

[data-theme="dark"] .cart-modal-title {
    color: var(--text-light);
}

.cart-item-count {
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 500;
}

[data-theme="dark"] .cart-item-count {
    color: rgba(255, 255, 255, 0.6);
}

.cart-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

[data-theme="dark"] .cart-modal-close {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.cart-modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: scale(1.1) rotate(90deg);
}

[data-theme="dark"] .cart-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
}

.cart-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 0.9rem 1rem;
}

.cart-items-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .cart-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.cart-item:hover {
    background: rgba(43, 140, 238, 0.03);
    border-color: rgba(43, 140, 238, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .cart-item:hover {
    background: rgba(43, 140, 238, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
    border: 1px solid rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .cart-item-image {
    border-color: rgba(255, 255, 255, 0.1);
}

.cart-item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.cart-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="dark"] .cart-item-title {
    color: var(--text-light);
}

.cart-item-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: nowrap;
    margin-top: 0.125rem;
}

.cart-item-size {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
    font-weight: 500;
}

[data-theme="dark"] .cart-item-size {
    color: rgba(255, 255, 255, 0.5);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.cart-item-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-item-price-old {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.4);
    text-decoration: line-through;
}

[data-theme="dark"] .cart-item-price-old {
    color: rgba(255, 255, 255, 0.4);
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-top: 0.1rem;
}

.cart-quantity-btn {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-dark);
    padding: 0;
}

[data-theme="dark"] .cart-quantity-btn {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.cart-quantity-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.cart-quantity-btn .material-symbols-outlined {
    font-size: 14px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.cart-quantity {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-dark);
    min-width: 22px;
    text-align: center;
}

[data-theme="dark"] .cart-quantity {
    color: var(--text-light);
}

.cart-item-remove {
    width: 22px;
    height: 22px;
    border-radius: 5px;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ef4444;
    margin-left: auto;
    padding: 0;
}

.cart-item-remove:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: white;
    transform: scale(1.1) rotate(90deg);
}

.cart-item-remove .material-symbols-outlined {
    font-size: 18px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Empty Cart State */
.cart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    min-height: 400px;
}

.cart-empty-icon {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.1) 0%, rgba(102, 126, 234, 0.1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.cart-empty-icon .material-symbols-outlined {
    font-size: 60px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.cart-empty-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 0.75rem 0;
    color: var(--text-dark);
}

[data-theme="dark"] .cart-empty-title {
    color: var(--text-light);
}

.cart-empty-text {
    font-size: 1rem;
    color: rgba(0, 0, 0, 0.5);
    margin: 0 0 2rem 0;
}

[data-theme="dark"] .cart-empty-text {
    color: rgba(255, 255, 255, 0.5);
}

.cart-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(102, 126, 234, 1) 100%);
    color: white;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(43, 140, 238, 0.3);
}

.cart-empty-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.4);
    color: white;
}

.cart-empty-btn .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    transition: transform 0.3s ease;
}

.cart-empty-btn:hover .material-symbols-outlined {
    transform: translateX(4px);
}

/* Cart Footer */
.cart-modal-footer {
    padding: 0.9rem 1rem 1rem;
    border-top: 1px solid var(--border-color);
    background-color: var(--background-light);
    flex-shrink: 0;
}

[data-theme="dark"] .cart-modal-footer {
    border-top-color: var(--border-dark);
    background-color: #141926;
}

.cart-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.cart-summary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.cart-summary-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
    margin: 0 0 0.15rem 0;
    opacity: 0.7;
}

.cart-summary-amount {
    margin: 0;
}

.cart-summary-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.9rem;
    border-radius: 999px;
    background-color: rgba(0, 0, 0, 0.03);
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(0, 0, 0, 0.7);
}

[data-theme="dark"] .cart-summary-pill {
    background-color: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
}

.cart-summary-pill .material-symbols-outlined {
    font-size: 18px;
}

.cart-summary-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
}

.cart-summary-meta-item {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    color: rgba(0, 0, 0, 0.6);
}

.cart-summary-accent {
    font-weight: 700;
    color: #10b981;
}

[data-theme="dark"] .cart-summary-meta-item {
    color: rgba(255, 255, 255, 0.6);
}

.cart-total-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
}

.cart-checkout-btn {
    width: 100%;
    padding: 1.125rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, rgba(102, 126, 234, 1) 50%, rgba(118, 75, 162, 1) 100%);
    border: none;
    border-radius: 14px;
    color: white;
    font-size: 1.0625rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    box-shadow: 0 6px 20px rgba(43, 140, 238, 0.35);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.cart-checkout-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cart-checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(43, 140, 238, 0.45);
    color: white;
}

.cart-checkout-btn:hover::before {
    left: 100%;
}

.cart-checkout-btn .material-symbols-outlined {
    font-size: 22px;
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
    transition: transform 0.3s ease;
}

.cart-checkout-btn:hover .material-symbols-outlined {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .cart-modal-content {
        max-width: 100%;
    }

    .cart-item {
        padding: 0.875rem;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }
}

[data-theme="dark"] .bg-light {
    background-color: #2a2f3e !important;
}

/* Cart Badge */
.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.6875rem;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.4);
    border: 2px solid white;
    line-height: 1;
    letter-spacing: 0;
    box-sizing: border-box;
    white-space: nowrap;
}

[data-theme="dark"] .cart-badge {
    border-color: #0c0f16;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.5);
}

.cart-badge:empty {
    display: none;
}

/* Desktop'ta mobil badge'i gizle, desktop badge'i göster */
@media (min-width: 992px) {

    /* Mobil badge'i desktop'ta gizle */
    #cart-btn-mobile .cart-badge {
        display: none;
    }

    /* Desktop butonuna badge ekle (JavaScript ile kopyalanacak) */
    #cart-btn-desktop {
        position: relative;
    }

    /* Desktop badge'i görünür yap */
    #cart-btn-desktop .cart-badge {
        display: inline-flex;
    }
}

/* Modern Search Bar - No Overlay */
.search-bar-container {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
    transform: translateY(-100%);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

[data-theme="dark"] .search-bar-container {
    background: linear-gradient(180deg, rgba(16, 25, 34, 0.98) 0%, rgba(16, 25, 34, 0.95) 100%);
    border-bottom-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.search-bar-container.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    height: auto;
}

.search-bar-wrapper {
    position: relative;
    padding: 1.5rem 0;
}

.search-bar-input-group {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.02);
    border: 2px solid rgba(0, 0, 0, 0.06);
    border-radius: 50px;
    padding: 1rem 1.5rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .search-bar-input-group {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.search-bar-input-group:focus-within {
    background: rgba(43, 140, 238, 0.05);
    border-color: var(--primary-color);
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.15), 0 0 0 4px rgba(43, 140, 238, 0.08);
    transform: scale(1.01);
}

[data-theme="dark"] .search-bar-input-group:focus-within {
    background: rgba(43, 140, 238, 0.08);
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.25), 0 0 0 4px rgba(43, 140, 238, 0.12);
}

.search-bar-icon {
    color: rgba(0, 0, 0, 0.35);
    display: flex;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
    margin-right: 1rem;
}

[data-theme="dark"] .search-bar-icon {
    color: rgba(255, 255, 255, 0.4);
}

.search-bar-input-group:focus-within .search-bar-icon {
    color: var(--primary-color);
    transform: scale(1.15);
}

.search-bar-icon .material-symbols-outlined {
    font-size: 26px;
}

.search-bar-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-dark);
    outline: none;
    padding: 0;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .search-bar-input {
    color: var(--text-light);
}

.search-bar-input::placeholder {
    color: rgba(0, 0, 0, 0.35);
    font-weight: 400;
    letter-spacing: 0;
}

[data-theme="dark"] .search-bar-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-bar-action {
    background: rgba(0, 0, 0, 0.04);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(0, 0, 0, 0.5);
    flex-shrink: 0;
    margin-left: 0.75rem;
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
}

[data-theme="dark"] .search-bar-action {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.5);
}

.search-bar-input-group:focus-within .search-bar-action,
.search-bar-action.has-content {
    opacity: 1;
    transform: scale(1);
    pointer-events: all;
}

.search-bar-action:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    transform: scale(1.1) rotate(90deg);
}

[data-theme="dark"] .search-bar-action:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-light);
}

.search-bar-action .material-symbols-outlined {
    font-size: 22px;
}

@media (max-width: 768px) {
    .search-bar-wrapper {
        padding: 1.25rem 0;
    }

    .search-bar-input-group {
        padding: 0.875rem 1.25rem;
    }

    .search-bar-input {
        font-size: 1rem;
    }

    .search-bar-icon .material-symbols-outlined {
        font-size: 22px;
    }

    .search-bar-action {
        width: 34px;
        height: 34px;
    }
}

/* Compact & Professional Prestigious Footer */
.footer {
    position: relative;
    background: #ffffff;
    padding: 40px 0 20px;
    margin-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #4a5568;
}

[data-theme="dark"] .footer {
    background: #0f172a;
    border-top-color: rgba(255, 255, 255, 0.03);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #2563eb, #10b981);
    opacity: 0.6;
}

.footer-container {
    position: relative;
    z-index: 10;
}

/* Logo & Description */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    text-decoration: none;
}

.footer-logo-text {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #2563eb 0%, #10b981 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Lexend', sans-serif;
}

.footer-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #64748b;
    margin-bottom: 20px;
    max-width: 340px;
}

[data-theme="dark"] .footer-description {
    color: #94a3b8;
}

/* Section Headers */
.footer-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 8px;
}

[data-theme="dark"] .footer-title {
    color: #f1f5f9;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: #2563eb;
    border-radius: 4px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-item {
    margin-bottom: 10px;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #64748b;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: #2563eb;
    transform: translateX(4px);
}

.footer-link .material-symbols-outlined {
    font-size: 18px;
}

/* Tighter Contact Cards */
.contact-info-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 12px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(0, 0, 0, 0.02);
}

[data-theme="dark"] .contact-info-card {
    background: rgba(255, 255, 255, 0.02);
}

.contact-card-icon {
    width: 38px;
    height: 38px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-card-icon .material-symbols-outlined {
    font-size: 20px;
}

.contact-card-content h6 {
    font-size: 0.75rem;
    font-weight: 700;
    color: #94a3b8;
    margin-bottom: 1px;
}

.contact-card-content p {
    font-size: 0.9rem;
    font-weight: 600;
    color: #334155;
    margin: 0;
}

[data-theme="dark"] .contact-card-content p {
    color: #e2e8f1;
}

/* Compact Socials */
.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-btn {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #64748b;
    background: #f1f5f9;
    transition: all 0.2s ease;
}

[data-theme="dark"] .social-btn {
    background: rgba(255, 255, 255, 0.05);
}

.social-btn:hover {
    color: white;
    transform: translateY(-3px);
}

/* Bottom Footer */
.footer-bottom {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
}

[data-theme="dark"] .footer-bottom {
    border-top-color: rgba(255, 255, 255, 0.05);
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.copyright-text {
    font-size: 0.85rem;
    color: #94a3b8;
}

.payment-img {
    height: 22px;
}

@media (max-width: 991.98px) {
    .footer {
        padding-top: 40px;
        text-align: center;
    }

    .footer-brand-section {
        max-width: 100%;
        margin-bottom: 2rem;
    }

    .footer-newsletter {
        margin-top: 2rem;
    }

    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-link {
        justify-content: center;
    }
}

/* Utilities */
.text-primary-custom {
    color: var(--primary-color) !important;
}

.bg-primary-custom {
    background-color: var(--primary-color) !important;
}

.rounded-custom {
    border-radius: var(--radius) !important;
}

.rounded-lg-custom {
    border-radius: var(--radius-lg) !important;
}

/* ============================================
   COMPREHENSIVE RESPONSIVE DESIGN
   ============================================ */

/* Mobile First - Base Styles */
@media (max-width: 575.98px) {

    /* Container & Spacing */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    main.container {
        padding-top: 0.75rem !important;
        padding-bottom: 1rem !important;
    }

    /* Navbar Mobile */
    .navbar {
        padding: 0.5rem 0;
    }

    .navbar-brand {
        font-size: 1rem;
        gap: 0.5rem;
    }

    .navbar-brand img {
        width: 36px;
        height: 36px;
    }

    .navbar-brand span {
        font-size: 0.9375rem;
    }

    .navbar-collapse {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid var(--border-color);
    }

    [data-theme="dark"] .navbar-collapse {
        border-top-color: var(--border-dark);
    }

    .navbar-nav {
        gap: 0.25rem;
    }

    .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.9375rem;
        border-radius: 12px;
    }

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

    .btn-icon .material-symbols-outlined {
        font-size: 20px;
    }

    .navbar-toggler {
        width: 36px;
        height: 36px;
    }

    .cart-badge {
        top: -4px;
        right: -4px;
        min-width: 18px;
        height: 18px;
        font-size: 0.625rem;
        padding: 0 5px;
        border-radius: 9px;
        border-width: 1.5px;
    }

    /* Hero Slider Mobile */
    .hero-slider {
        height: 380px;
        margin-bottom: 2rem;
        border-radius: 16px;
    }

    .hero-slide {
        padding: 2rem 1.25rem;
    }

    .hero-content h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }

    .hero-content p {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
        line-height: 1.5;
    }

    .btn-primary-custom {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .slider-nav {
        display: none;
    }

    .slider-controls {
        bottom: 1rem;
        gap: 0.5rem;
    }

    .slider-dot {
        width: 8px;
        height: 8px;
    }

    /* Section Titles Mobile */
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
        line-height: 1.2;
    }

    /* Grid & Spacing Mobile */
    .row.g-4 {
        --bs-gutter-x: 0.75rem;
        --bs-gutter-y: 0.75rem;
    }

    section.mb-5 {
        margin-bottom: 2.5rem !important;
    }

    /* Collection Cards Mobile */
    .collection-card {
        border-radius: 12px;
    }

    .collection-overlay {
        padding: 1.5rem;
    }

    .collection-title {
        font-size: 1.25rem;
        margin-bottom: 1rem;
        line-height: 1.2;
    }

    .collection-cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
        gap: 0.5rem;
    }

    .collection-cta .material-symbols-outlined {
        font-size: 18px;
    }

    /* Product Cards Mobile */
    .product-card {
        border-radius: 12px;
    }

    .product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

    .product-info {
        padding: 0.875rem;
        gap: 0.5rem;
    }

    .product-badge {
        top: 0.75rem;
        left: 0.75rem;
        padding: 0.375rem 0.75rem;
        font-size: 0.6875rem;
    }

    .product-overlay {
        display: none;
    }

    .product-price-wrapper {
        margin-top: auto;
    }

    .product-buttons {
        flex-direction: column;
        gap: 0.5rem;
        margin-top: 0.5rem;
    }

    .btn-add-to-cart,
    .btn-quick-buy {
        padding: 0.2rem 0.1rem;
        font-size: 0.875rem;
    }

    .btn-add-to-cart .material-symbols-outlined,
    .btn-quick-buy .material-symbols-outlined {
        font-size: 18px;
    }

    .product-title {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
        line-height: 1.3;
    }

    .product-price {
        font-size: 1.125rem;
    }

    .product-price-old {
        font-size: 0.875rem;
    }

    .product-price-wrapper {
        gap: 0.5rem;
    }

    /* Trust Banner Mobile */
    .trust-banner {
        padding: 2rem 1rem;
        border-radius: 16px;
        margin-top: 3rem;
    }

    .trust-item {
        padding: 1rem 0;
    }

    .trust-icon {
        width: 56px;
        height: 56px;
        margin-bottom: 0.75rem;
    }

    .trust-icon .material-symbols-outlined {
        font-size: 28px;
    }

    .trust-item p {
        font-size: 0.875rem;
        line-height: 1.4;
    }

    /* Footer Mobile */
    .footer {
        padding: 1rem 1rem 0.75rem;
        margin-top: auto;
    }

    .footer-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .footer-link {
        font-size: 0.875rem;
        padding: 0.5rem 0;
        margin-bottom: 0.375rem;
    }

    .footer .border-top {
        margin-top: 1.5rem;
        padding-top: 1.5rem;
    }

    .footer .text-muted {
        font-size: 0.8125rem;
    }

    /* Search Bar Mobile */
    .search-bar-container {
        padding: 0.75rem 1rem;
    }

    .search-bar-wrapper {
        padding: 0.75rem 0;
    }

    .search-bar-input-group {
        padding: 0.875rem 1rem;
        border-radius: 14px;
    }

    .search-bar-input {
        font-size: 1rem;
        padding-left: 2.75rem;
    }

    .search-bar-icon {
        left: 1rem;
    }

    .search-bar-icon .material-symbols-outlined {
        font-size: 22px;
    }

    .search-bar-action {
        width: 34px;
        height: 34px;
        right: 0.75rem;
    }

    .search-bar-action .material-symbols-outlined {
        font-size: 20px;
    }

    /* Profile Modal Mobile */
    #profile-modal.modal-overlay {
        align-items: flex-end;
        justify-content: center;
        padding: 0;
    }

    .profile-modal-content {
        max-width: 100%;
        width: 100%;
        margin: 0;
        border-radius: 24px 24px 0 0;
        max-height: 90vh;
        height: auto;
        overflow-y: auto;
    }

    .profile-modal-header {
        padding: 1.6rem 1.25rem 1.25rem;
    }

    .profile-modal-icon {
        width: 64px;
        height: 64px;
        margin-bottom: 1rem;
    }

    .profile-modal-icon .material-symbols-outlined {
        font-size: 32px;
    }

    .profile-modal-title {
        font-size: 1.5rem;
    }

    .profile-modal-subtitle {
        font-size: 0.875rem;
    }

    .profile-modal-close {
        top: 1rem;
        right: 1rem;
        width: 36px;
        height: 36px;
    }

    .profile-modal-body {
        padding: 1.25rem;
    }

    .profile-form {
        gap: 0.9rem;
    }

    .profile-form-input {
        padding: 0.75rem 0.9rem;
        font-size: 0.9rem;
    }

    .profile-form-submit,
    .profile-form-secondary {
        padding: 0.85rem 1.1rem;
        font-size: 0.95rem;
    }

    .profile-form-password-wrapper .profile-form-input {
        padding-right: 3rem;
    }

    .profile-form-password-toggle {
        width: 32px;
        height: 32px;
        right: 0.625rem;
    }

    /* Cart Modal Mobile */
    #cart-modal.modal-overlay {
        padding: 0;
        align-items: stretch;
    }

    .cart-modal-content {
        left: 0;
        right: 0;
        max-width: 100%;
        width: 100%;
        height: 80vh;
        top: auto;
        bottom: 0;
        border-radius: 20px 20px 0 0;
        transform: translateY(0);
    }

    .cart-modal-header {
        padding: 1.25rem;
    }

    .cart-modal-title {
        font-size: 1.25rem;
    }

    .cart-item-count {
        font-size: 0.8125rem;
    }

    .cart-modal-body {
        padding: 0.75rem 0.75rem 0.875rem;
    }

    .cart-items-list {
        gap: 0.75rem;
    }

    .cart-item {
        padding: 0.6rem;
        gap: 0.4rem;
        border-radius: 14px;
    }

    .cart-modal-footer {
        padding: 0.75rem 0.75rem 0.875rem;
    }

    .cart-summary {
        margin-bottom: 0.75rem;
    }

    .cart-summary-row {
        font-size: 0.8125rem;
        padding: 0.375rem 0;
    }

    .cart-summary-divider {
        margin: 0.375rem 0;
    }

    .cart-summary-total {
        font-size: 1rem;
        padding-top: 0.5rem;
    }

    .cart-total-price {
        font-size: 1.125rem;
    }

    .cart-checkout-btn {
        padding: 0.875rem 1rem;
        font-size: 0.9375rem;
    }

    .cart-empty-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 1.5rem;
    }

    .cart-empty-icon .material-symbols-outlined {
        font-size: 50px;
    }

    .cart-empty-title {
        font-size: 1.25rem;
    }

    .cart-empty-text {
        font-size: 0.9375rem;
    }

    .cart-empty-btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }
}

/* Tablet Styles */
@media (min-width: 576px) and (max-width: 991.98px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .hero-slider {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 2.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .collection-title {
        font-size: 1.5rem;
    }

    .product-title {
        font-size: 1rem;
    }

    .navbar-brand span {
        font-size: 1.125rem;
    }

    .btn-icon {
        width: 38px;
        height: 38px;
    }

    .row.g-4 {
        --bs-gutter-x: 1rem;
        --bs-gutter-y: 1rem;
    }
}

/* Small Mobile - Extra Small Screens */
@media (max-width: 375px) {
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }

    .navbar-brand span {
        font-size: 0.875rem;
    }

    .navbar-brand img {
        width: 32px;
        height: 32px;
    }

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

    .btn-icon .material-symbols-outlined {
        font-size: 18px;
    }

    .hero-slider {
        height: 320px;
        border-radius: 12px;
    }

    .hero-slide {
        padding: 1.75rem 1rem;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-content p {
        font-size: 0.875rem;
    }

    .btn-primary-custom {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }

    .section-title {
        font-size: 1.25rem;
    }

    .collection-title {
        font-size: 1.125rem;
    }

    .collection-cta {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }

    .btn-product-action {
        width: 44px;
        height: 44px;
    }

    .btn-product-action .material-symbols-outlined {
        font-size: 18px;
    }

    .product-badge {
        padding: 0.25rem 0.625rem;
        font-size: 0.625rem;
        top: 0.5rem;
        left: 0.5rem;
    }

    .product-buttons {
        gap: 0.5rem;
    }

    .btn-add-to-cart,
    .btn-quick-buy {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
    }

    .btn-add-to-cart .material-symbols-outlined,
    .btn-quick-buy .material-symbols-outlined {
        font-size: 16px;
    }

    .product-info {
        padding: 0.75rem;
        gap: 0.5rem;
    }

    .product-title {
        font-size: 0.875rem;
    }

    .product-price {
        font-size: 1rem;
    }

    .trust-banner {
        padding: 1.5rem 0.75rem;
    }

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

    .trust-icon .material-symbols-outlined {
        font-size: 24px;
    }

    .footer {
        padding: 1.5rem 0.75rem 1rem;
    }

    .cart-item-image {
        width: 60px;
        height: 60px;
    }

    .cart-item-title {
        font-size: 0.875rem;
    }

    .cart-modal-footer {
        padding: 0.875rem;
    }

    .cart-summary {
        margin-bottom: 0.875rem;
    }

    .cart-summary-row {
        font-size: 0.75rem;
        padding: 0.375rem 0;
    }

    .cart-summary-divider {
        margin: 0.375rem 0;
    }

    .cart-summary-total {
        font-size: 0.9375rem;
        padding-top: 0.5rem;
    }

    .cart-total-price {
        font-size: 1rem;
    }

    .cart-checkout-btn {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }

    .floating-theme-toggle {
        width: 52px;
        height: 52px;
        bottom: 1rem;
        right: 1rem;
    }

    .floating-theme-toggle .material-symbols-outlined {
        font-size: 24px;
    }
}

/* Landscape Mobile */
@media (max-width: 991.98px) and (orientation: landscape) {
    .hero-slider {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 1.75rem;
    }

    .hero-content p {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }

    .profile-modal-content {
        max-height: 85vh;
    }

    .cart-modal-content {
        max-height: 100vh;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {

    .btn-icon,
    .btn-product-action,
    .profile-form-password-toggle {
        min-width: 44px;
        min-height: 44px;
    }

    .nav-link {
        padding: 0.875rem 1rem !important;
    }

    .product-overlay {
        opacity: 1;
    }

    .collection-card:hover {
        transform: none;
    }

    .product-card:hover {
        transform: none;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {

    .product-image,
    .collection-image,
    .cart-item-image {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.fade-in {
    animation: fadeIn 0.4s ease;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* ============================================
   PROFİL SAYFASI STİLLERİ - MODERN
   ============================================ */

/* Profil Header Modern */
.profile-header-modern {
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.05) 0%, rgba(43, 140, 238, 0.02) 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .profile-header-modern {
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.15) 0%, rgba(43, 140, 238, 0.08) 100%);
}

.profile-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.profile-avatar-modern {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.profile-avatar-gradient {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    box-shadow: 0 8px 24px rgba(43, 140, 238, 0.3);
}

.profile-avatar-modern .material-symbols-outlined {
    position: relative;
    z-index: 1;
    font-size: 40px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.profile-header-info {
    flex: 1;
}

.profile-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    background: var(--bg-light);
    border-radius: 8px;
    font-size: 0.875rem;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
}

.profile-stat .material-symbols-outlined {
    font-size: 18px;
    color: var(--primary-color);
}

[data-theme="dark"] .profile-stat {
    background: var(--bg-light-dark);
    border-color: var(--border-dark);
    color: var(--text-light);
}

@media (min-width: 768px) {
    .profile-header-modern {
        padding: 2.5rem;
    }

    .profile-avatar-modern {
        width: 100px;
        height: 100px;
    }

    .profile-avatar-modern .material-symbols-outlined {
        font-size: 48px;
    }
}

/* Profil Kartları Modern */
.profile-card-modern {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.profile-card-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.profile-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
    border-color: rgba(43, 140, 238, 0.2);
}

[data-theme="dark"] .profile-card-modern:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.profile-card-modern:hover::before {
    opacity: 1;
}

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.profile-card-header .material-symbols-outlined {
    font-size: 24px;
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.1) 0%, rgba(43, 140, 238, 0.05) 100%);
    padding: 0.5rem;
    border-radius: 10px;
}

@media (min-width: 768px) {
    .profile-card-modern {
        padding: 2rem;
    }
}

/* Profil Tab Navigation Modern */
.profile-tabs {
    border-bottom: 2px solid var(--border-color);
    gap: 0.5rem;
    background: var(--bg-light);
    padding: 0.5rem;
    border-radius: 12px 12px 0 0;
}

[data-theme="dark"] .profile-tabs {
    background: var(--bg-light-dark);
}

.profile-tabs .nav-link {
    border: none;
    border-bottom: 2px solid transparent;
    border-radius: 8px;
    padding: 0.75rem 1.25rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-weight: 500;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
}

[data-theme="dark"] .profile-tabs .nav-link {
    color: var(--text-muted-dark);
}

.profile-tabs .nav-link .material-symbols-outlined {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.profile-tabs .nav-link:hover {
    color: var(--primary-color);
    background: rgba(43, 140, 238, 0.05);
}

.profile-tabs .nav-link:hover .material-symbols-outlined {
    transform: scale(1.1);
}

.profile-tabs .nav-link.active {
    color: var(--primary-color);
    background: linear-gradient(135deg, rgba(43, 140, 238, 0.1) 0%, rgba(43, 140, 238, 0.05) 100%);
    border-bottom-color: var(--primary-color);
}

.profile-tabs .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-radius: 2px 2px 0 0;
}

@media (max-width: 768px) {
    .profile-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

    .profile-tabs .nav-link {
        white-space: nowrap;
        padding: 0.625rem 0.875rem;
        font-size: 0.875rem;
    }

    .profile-tabs .nav-link .material-symbols-outlined {
        font-size: 18px;
    }
}

/* Sipariş Listesi Modern */
.order-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.order-item {
    padding: 1.5rem;
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.order-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    transform: translateX(4px);
    border-color: rgba(43, 140, 238, 0.2);
}

[data-theme="dark"] .order-item:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.order-item:hover::before {
    opacity: 1;
}

.order-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.order-products {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.order-product-image {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.order-product-image:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.2);
}

[data-theme="dark"] .order-product-image {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .order-product-image:hover {
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.4);
}

@media (min-width: 768px) {
    .order-item {
        padding: 1.75rem;
    }

    .order-product-image {
        width: 72px;
        height: 72px;
    }
}

/* Profil Form Modern */
.profile-form-section {
    margin-top: 1rem;
}

.profile-form-section .form-label {
    color: var(--text-dark);
    margin-bottom: 0.625rem;
    font-weight: 500;
    font-size: 0.875rem;
}

.profile-form-section .form-control {
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    background: var(--bg-light);
    color: var(--text-dark);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.9375rem;
}

.profile-form-section .form-control:hover {
    border-color: rgba(43, 140, 238, 0.3);
}

.profile-form-section .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(43, 140, 238, 0.1);
    background: var(--card-bg);
    outline: none;
}

.profile-form-section .form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-form-section .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M6 10l3 3l6-6'/%3e%3c/svg%3e");
}

.profile-form-section .form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(43, 140, 238, 0.1);
}

.profile-form-section .form-check-label {
    color: var(--text-dark);
    font-weight: 500;
    cursor: pointer;
    margin-left: 0.5rem;
}

[data-theme="dark"] .profile-form-section .form-label {
    color: var(--text-light);
}

[data-theme="dark"] .profile-form-section .form-control {
    background: var(--bg-light-dark);
    border-color: var(--border-dark);
    color: var(--text-light);
}

[data-theme="dark"] .profile-form-section .form-control:focus {
    background: var(--card-bg-dark);
    border-color: var(--primary-color);
    color: var(--text-light);
}

[data-theme="dark"] .profile-form-section .form-check-input {
    background-color: var(--bg-light-dark);
    border-color: var(--border-dark);
}

[data-theme="dark"] .profile-form-section .form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

[data-theme="dark"] .profile-form-section .form-check-label {
    color: var(--text-light);
}

[data-theme="dark"] .profile-form-section .form-switch .form-check-input {
    background-color: var(--border-dark);
}

.profile-form-section .form-switch .form-check-input {
    width: 2.75rem;
    height: 1.5rem;
    background-color: var(--border-color);
    border: none;
    border-radius: 999px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.profile-form-section .form-switch .form-check-input:checked {
    background-color: var(--primary-color);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    background-position: right center;
}

.profile-form-section .form-switch .form-check-input:focus {
    box-shadow: 0 0 0 4px rgba(43, 140, 238, 0.1);
}

.profile-form-section .btn-primary {
    margin-top: 0.75rem;
    padding: 0.75rem 2rem;
    border-radius: 10px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border: none;
    transition: all 0.3s ease;
}

.profile-form-section .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 140, 238, 0.3);
}

/* Adres İçeriği Modern */
.address-content {
    color: var(--text-dark);
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

[data-theme="dark"] .address-content {
    background: var(--bg-light-dark);
    border-color: var(--border-dark);
}

[data-theme="dark"] .address-content .text-muted {
    color: var(--text-muted-dark) !important;
}

.address-content p {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Modern Badge */
.badge-modern {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
}

.badge-modern.badge-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.15) 0%, rgba(40, 167, 69, 0.1) 100%);
    color: #28a745;
}

.badge-modern.badge-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.15) 0%, rgba(255, 193, 7, 0.1) 100%);
    color: #ffc107;
}

[data-theme="dark"] .badge-modern.badge-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.25) 0%, rgba(40, 167, 69, 0.15) 100%);
    color: #4ade80;
}

[data-theme="dark"] .badge-modern.badge-warning {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.25) 0%, rgba(255, 193, 7, 0.15) 100%);
    color: #fbbf24;
}

/* Modern Butonlar */
.btn-modern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid;
    text-decoration: none;
    cursor: pointer;
}

a.btn-modern {
    text-decoration: none;
}

.btn-modern .material-symbols-outlined {
    font-size: 18px;
}

.btn-modern-outline {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-modern-outline:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.3);
}

.btn-modern-secondary {
    background: transparent;
    border-color: var(--text-muted);
    color: var(--text-dark);
}

.btn-modern-secondary:hover {
    background: var(--text-muted);
    color: white;
    transform: translateY(-2px);
}

[data-theme="dark"] .btn-modern-secondary {
    border-color: var(--text-muted-dark);
    color: var(--text-light);
}

[data-theme="dark"] .btn-modern-secondary:hover {
    background: var(--text-muted-dark);
    color: var(--text-dark);
}

.btn-modern-danger {
    background: transparent;
    border-color: #dc3545;
    color: #dc3545;
}

.btn-modern-danger:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
}

.btn-modern-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    border-color: var(--primary-color);
    color: white;
}

.btn-modern-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(43, 140, 238, 0.4);
}

.btn-icon-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    background: transparent;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 0;
}

.btn-icon-modern .material-symbols-outlined {
    font-size: 18px;
}

.btn-icon-modern:hover {
    border-color: var(--primary-color);
    background: rgba(43, 140, 238, 0.1);
    color: var(--primary-color);
    transform: scale(1.1);
}

[data-theme="dark"] .btn-icon-modern {
    border-color: var(--border-dark);
    color: var(--text-light);
}

[data-theme="dark"] .btn-icon-modern:hover {
    background: rgba(43, 140, 238, 0.2);
}

/* Account Dropdown Menu */
.account-dropdown {
    min-width: 200px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    padding: 0.5rem;
    margin-top: 0.5rem;
}

[data-theme="dark"] .account-dropdown {
    background: var(--card-bg-dark);
    border-color: var(--border-dark);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.account-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    color: var(--text-dark);
}

[data-theme="dark"] .account-dropdown .dropdown-item {
    color: var(--text-light);
}

.account-dropdown .dropdown-item:hover {
    background: rgba(43, 140, 238, 0.1);
    color: var(--primary-color);
}

[data-theme="dark"] .account-dropdown .dropdown-item:hover {
    background: rgba(43, 140, 238, 0.2);
}

.account-dropdown .dropdown-item .material-symbols-outlined {
    font-size: 20px;
}

.account-dropdown .dropdown-divider {
    margin: 0.5rem 0;
    border-color: var(--border-color);
}

[data-theme="dark"] .account-dropdown .dropdown-divider {
    border-color: var(--border-dark);
}

.account-dropdown .dropdown-item.text-danger {
    color: #dc3545 !important;
}

.account-dropdown .dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545 !important;
}

[data-theme="dark"] .account-dropdown .dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.2);
}

/* Mobil Responsive */
@media (max-width: 768px) {
    .profile-header-modern {
        padding: 1.5rem;
        border-radius: 12px;
    }

    .profile-header-content {
        flex-direction: column;
        text-align: center;
    }

    .profile-stat {
        font-size: 0.8125rem;
        padding: 0.25rem 0.5rem;
    }

    /* Sipariş Kartları - Mobil Sepet Özeti Gibi Yatay Kart */
    .order-item {
        padding: 0.75rem;
        border-radius: 16px;
        margin-bottom: 0.75rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        background: rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    [data-theme="dark"] .order-item {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .order-item::before {
        display: none;
    }

    .order-header {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .order-header>div:first-child {
        flex: 1;
    }

    .order-header .text-end {
        text-align: right;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.375rem;
        flex-shrink: 0;
    }

    .order-products {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .order-product-image {
        width: 80px;
        height: 80px;
        border-radius: 12px;
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    [data-theme="dark"] .order-product-image {
        border-color: rgba(255, 255, 255, 0.1);
    }

    .order-item .mt-3.pt-3.border-top {
        margin-top: 0.5rem !important;
        padding-top: 0.75rem !important;
        display: flex;
        flex-direction: row;
        gap: 0.5rem;
        flex-wrap: wrap;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    [data-theme="dark"] .order-item .mt-3.pt-3.border-top {
        border-top-color: rgba(255, 255, 255, 0.08);
    }

    .order-item .mt-3.pt-3.border-top .btn-modern {
        flex: 1;
        min-width: auto;
        padding: 0.5rem 0.875rem;
        font-size: 0.8125rem;
    }

    .profile-card-modern {
        padding: 0.9rem 1rem;
        border-radius: 16px;
        margin-bottom: 0.75rem;
        background: rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    [data-theme="dark"] .profile-card-modern {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .profile-card-header {
        margin-bottom: 0.9rem;
        gap: 0.5rem;
    }

    .profile-card-header .material-symbols-outlined {
        font-size: 20px;
        padding: 0.375rem;
    }

    .profile-card-header h3 {
        font-size: 1rem;
    }

    .profile-form-section .btn-primary {
        width: 100%;
    }

    .btn-modern {
        width: 100%;
        justify-content: center;
    }

    .profile-tabs {
        padding: 0.25rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .profile-tabs .nav-link {
        padding: 0.625rem 0.875rem;
        font-size: 0.8125rem;
        white-space: nowrap;
    }

    /* Sipariş Detay Ürün Kartları - Mobil Sepet Özeti Gibi */
    .order-detail-product-item {
        gap: 0.5rem;
        padding: 0.75rem;
    }

    .order-detail-product-image {
        width: 80px;
        height: 80px;
    }

    .order-detail-product-info h4 {
        font-size: 0.95rem;
    }

    .order-detail-product-info p {
        font-size: 0.8rem;
    }

    .order-detail-product-info .fw-semibold {
        font-size: 1rem;
    }

    /* Adres Kartları - Mobil Sepet Gibi */
    .address-content {
        padding: 0.75rem;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.02);
        border: 1px solid rgba(0, 0, 0, 0.06);
    }

    [data-theme="dark"] .address-content {
        background: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.08);
    }

    .address-content p {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }

    /* Form Elemanları - Mobil */
    .profile-form-section {
        margin-top: 0.75rem;
    }

    .profile-form-section .form-label {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
    }

    .profile-form-section .form-control {
        padding: 0.625rem 0.875rem;
        font-size: 0.9375rem;
    }

    .profile-form-section .btn-modern {
        padding: 0.625rem 1.25rem;
        font-size: 0.875rem;
    }

    /* Sipariş Takibi - Mobil Sepet Gibi */
    .order-tracking {
        padding-left: 0.75rem;
        gap: 1rem;
    }

    .order-tracking::before {
        left: 16px;
    }

    .order-tracking-icon {
        width: 32px;
        height: 32px;
    }

    .order-tracking-icon .material-symbols-outlined {
        font-size: 16px;
    }

    .order-tracking-content {
        font-size: 0.8125rem;
        padding-top: 0.125rem;
    }

    .order-tracking-content p {
        margin-bottom: 0.25rem;
        font-size: 0.8125rem;
    }

    .order-tracking-content .fw-semibold {
        font-size: 0.875rem;
    }

    /* Sipariş Özeti - Mobil Sepet Gibi */
    .order-summary {
        gap: 0.75rem;
    }

    .order-summary-row {
        font-size: 0.875rem;
        padding: 0.25rem 0;
    }

    .order-summary-divider {
        margin: 0.5rem 0;
    }

    /* Profil Header - Mobil */
    .profile-header-modern {
        padding: 1rem;
    }

    .profile-avatar-modern {
        width: 70px;
        height: 70px;
    }

    .profile-avatar-modern .material-symbols-outlined {
        font-size: 36px;
    }

    .profile-header-info h1 {
        font-size: 1.25rem;
    }

    .profile-header-info p {
        font-size: 0.875rem;
    }

    /* Sipariş Detay Başlık - Mobil */
    .order-detail-products {
        gap: 0.75rem;
    }

    /* Butonlar - Mobil */
    .order-detail-product-info .d-flex {
        font-size: 0.875rem;
    }

    .order-detail-product-info .fw-semibold {
        font-size: 0.95rem;
    }
}

/* ============================================
   SİPARİŞ DETAY SAYFASI STİLLERİ
   ============================================ */

/* Sipariş Detay Ürünler - Sepet Özeti Gibi */
.order-detail-products {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-detail-product-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-theme="dark"] .order-detail-product-item {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

.order-detail-product-item:hover {
    background: rgba(43, 140, 238, 0.03);
    border-color: rgba(43, 140, 238, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .order-detail-product-item:hover {
    background: rgba(43, 140, 238, 0.06);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.order-detail-product-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border: 1px solid rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

[data-theme="dark"] .order-detail-product-image {
    border-color: rgba(255, 255, 255, 0.1);
}

.order-detail-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.order-detail-product-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

[data-theme="dark"] .order-detail-product-info h4 {
    color: var(--text-light);
}

.order-detail-product-info p {
    font-size: 0.8rem;
    color: rgba(0, 0, 0, 0.5);
    margin: 0;
    font-weight: 500;
}

[data-theme="dark"] .order-detail-product-info p {
    color: rgba(255, 255, 255, 0.5);
}

.order-detail-product-info .d-flex {
    margin-top: 0.125rem;
    font-size: 0.875rem;
}

.order-detail-product-info .fw-semibold {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-color);
}

@media (min-width: 768px) {
    .order-detail-product-image {
        width: 100px;
        height: 100px;
    }
}

/* Sipariş Takibi */
.order-tracking {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.order-tracking::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.order-tracking-step {
    display: flex;
    gap: 1rem;
    position: relative;
}

.order-tracking-step.completed .order-tracking-icon {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.3);
}

.order-tracking-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-light);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

[data-theme="dark"] .order-tracking-icon {
    background: var(--bg-light-dark);
    border-color: var(--border-dark);
}

[data-theme="dark"] .order-tracking-step.completed .order-tracking-icon {
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.5);
}

.order-tracking-icon .material-symbols-outlined {
    font-size: 20px;
}

.order-tracking-content {
    flex: 1;
    padding-top: 0.25rem;
}

/* Sipariş Özeti */
.order-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-summary-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.5rem 0;
}

[data-theme="dark"] .order-summary-row {
    color: var(--text-light);
}

[data-theme="dark"] .order-summary-row .text-muted {
    color: var(--text-muted-dark) !important;
}

[data-theme="dark"] .order-tracking-content {
    color: var(--text-light);
}

[data-theme="dark"] .order-tracking-content .text-muted {
    color: var(--text-muted-dark) !important;
}

[data-theme="dark"] .order-detail-product-info {
    color: var(--text-light);
}

[data-theme="dark"] .order-detail-product-info .text-muted {
    color: var(--text-muted-dark) !important;
}

@media (max-width: 768px) {
    .order-tracking {
        padding-left: 1rem;
    }

    .order-tracking-icon {
        width: 36px;
        height: 36px;
    }

    .order-tracking-icon .material-symbols-outlined {
        font-size: 18px;
    }

    .order-detail-product-item {
        flex-direction: column;
    }

    .order-detail-product-image {
        width: 100%;
        height: 200px;
    }
}

/* ============================================
   VARIANT SELECTION MODAL - YENİ TASARIM
   ============================================ */

.variant-modal-content {
    max-width: 480px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    background: white;
    animation: modalFadeIn 0.3s ease;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .variant-modal-content {
    background: #0c0f16;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.variant-modal-header {
    position: relative;
    padding: 1.5rem 1.5rem 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

[data-theme="dark"] .variant-modal-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.variant-modal-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.04);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dark);
    padding: 0;
    margin: 0;
}

[data-theme="dark"] .variant-modal-close {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-light);
}

.variant-modal-close:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.05);
}

[data-theme="dark"] .variant-modal-close:hover {
    background: rgba(255, 255, 255, 0.12);
}

.variant-modal-close .material-symbols-outlined {
    font-size: 20px;
}

.variant-modal-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-dark);
    letter-spacing: -0.01em;
}

[data-theme="dark"] .variant-modal-title {
    color: var(--text-light);
}

.variant-modal-body {
    padding: 1.5rem;
    overflow-y: auto;
    flex: 1;
}

.variant-selection-group {
    margin-bottom: 1.75rem;
}

.variant-selection-group:last-of-type {
    margin-bottom: 0;
}

.variant-selection-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

[data-theme="dark"] .variant-selection-label {
    color: var(--text-light);
}

.variant-size-btn,
.variant-color-btn {
    padding: 0.75rem 1.25rem;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    background: white;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9375rem;
    transition: all 0.2s ease;
    cursor: pointer;
    min-width: 70px;
    text-align: center;
}

[data-theme="dark"] .variant-size-btn,
[data-theme="dark"] .variant-color-btn {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.variant-size-btn:hover,
.variant-color-btn:hover {
    border-color: var(--primary-color);
    background: rgba(43, 140, 238, 0.08);
    transform: translateY(-1px);
}

[data-theme="dark"] .variant-size-btn:hover,
[data-theme="dark"] .variant-color-btn:hover {
    background: rgba(43, 140, 238, 0.12);
    border-color: var(--primary-color);
}

.variant-size-btn.active,
.variant-color-btn.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    box-shadow: 0 2px 8px rgba(43, 140, 238, 0.3);
}

.variant-quantity-wrapper {
    display: flex;
    align-items: center;
}

.variant-quantity-controls {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    padding: 0.625rem 1rem;
    border-radius: 10px;
    border: 1.5px solid var(--border-color);
}

[data-theme="dark"] .variant-quantity-controls {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.variant-quantity-controls .quantity-circle-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.variant-quantity-controls .quantity-circle-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.variant-quantity-controls .quantity-value {
    min-width: 32px;
    font-size: 1rem;
    font-weight: 700;
    text-align: center;
}

.variant-quantity-controls .quantity-input {
    min-width: 50px;
    max-width: 80px;
    text-align: center;
    font-weight: 700;
    font-size: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.25rem 0.5rem;
    background: var(--card-bg);
    color: var(--text-dark);
    /* Number input spinner'ları gizle */
    -moz-appearance: textfield;
}

.variant-quantity-controls .quantity-input::-webkit-outer-spin-button,
.variant-quantity-controls .quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

[data-theme="dark"] .variant-quantity-controls .quantity-input {
    background: var(--card-bg-dark);
    border-color: var(--border-dark);
    color: var(--text-light);
}

.variant-quantity-controls .quantity-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(43, 140, 238, 0.1);
}

.variant-modal-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .variant-modal-actions {
    border-top-color: rgba(255, 255, 255, 0.1);
}

.variant-modal-actions .btn {
    flex: 1;
    padding: 0.875rem 1.5rem;
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
}

.variant-modal-actions .btn-primary-custom {
    background: var(--primary-color);
    color: white;
    border: none;
}

.variant-modal-actions .btn-primary-custom:hover:not(:disabled) {
    background: #1e7cd6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(43, 140, 238, 0.3);
}

.variant-modal-actions .btn-primary-custom:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.variant-modal-actions .btn-outline-secondary {
    border: 1.5px solid var(--border-color);
    background: white;
    color: var(--text-dark);
}

[data-theme="dark"] .variant-modal-actions .btn-outline-secondary {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.variant-modal-actions .btn-outline-secondary:hover:not(:disabled) {
    border-color: var(--primary-color);
    background: rgba(43, 140, 238, 0.08);
    transform: translateY(-1px);
}

[data-theme="dark"] .variant-modal-actions .btn-outline-secondary:hover:not(:disabled) {
    background: rgba(43, 140, 238, 0.12);
}

.variant-modal-actions .btn-outline-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.variant-modal-actions .btn .material-symbols-outlined {
    font-size: 20px;
}

@media (max-width: 768px) {
    .variant-modal-content {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 85vh;
    }

    .variant-modal-header {
        padding: 1.25rem 1.25rem 1rem;
    }

    .variant-modal-title {
        font-size: 1.125rem;
    }

    .variant-modal-body {
        padding: 1.25rem;
    }

    .variant-selection-group {
        margin-bottom: 1.5rem;
    }

    .variant-quantity-controls {
        gap: 0.5rem;
    }

    .variant-quantity-controls .quantity-circle-btn {
        width: 28px;
        height: 28px;
        font-size: 0.875rem;
    }

    .variant-quantity-controls .quantity-value {
        min-width: 28px;
        font-size: 0.875rem;
    }

    .variant-modal-actions {
        flex-direction: column;
        margin-top: 1.25rem;
        padding-top: 1.25rem;
    }

    .variant-modal-actions .btn {
        width: 100%;
    }
}

/* =========================================
   Campaigns Page Styles (Ticket Cards)
   ========================================= */
:root {
    --ticket-bg: #ffffff;
    --ticket-border-radius: 16px;
    --ticket-split-color: #f0f2f5;
}

/* Ana Grid */
.campaign-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.5rem;
}

/* Ticket Card */
.ticket-card {
    background: var(--ticket-bg);
    border-radius: var(--ticket-border-radius);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    display: flex;
    flex-direction: row;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    min-height: 180px;
}

.ticket-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* Sol Taraf: Görsel & İndirim */
.ticket-visual {
    width: 120px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-hover) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 1rem;
    position: relative;
    flex-shrink: 0;
}

.ticket-visual::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    height: 100%;
    border-right: 2px dashed rgba(255, 255, 255, 0.4);
}

/* Çentikler (Circles) */
.ticket-notch {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: #f8f9fa;
    /* Sayfa arkaplanı */
    border-radius: 50%;
    right: -10px;
    z-index: 2;
}

.ticket-notch.top {
    top: -10px;
}

.ticket-notch.bottom {
    bottom: -10px;
}

.discount-val {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.25rem;
}

.discount-lbl {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Sağ Taraf: İçerik */
.ticket-content {
    flex: 1;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.ticket-header {
    margin-bottom: 0.5rem;
}

.ticket-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.ticket-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Etiketler */
.ticket-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.t-tag {
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    background: #f1f3f5;
    color: #495057;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.t-tag.warning {
    background: #fff3cd;
    color: #856404;
}

.t-tag.info {
    background: #e7f5ff;
    color: #1971c2;
}

/* Alt Kısım: Kod ve Buton */
.ticket-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
    flex-wrap: wrap;
}

.code-box {
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    padding: 0.4rem 0.75rem;
    border-radius: 8px;
    font-family: monospace;
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1rem;
    letter-spacing: 1px;
    user-select: all;
}

.use-btn {
    background: var(--text-dark);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}

.use-btn:hover {
    background: black;
    color: white;
    transform: translateY(-2px);
}

.copy-circle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #dee2e6;
    background: white;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    flex-shrink: 0;
}

.copy-circle-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.ticket-passive-badge {
    font-size: 0.75rem;
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    line-height: 1.2;
    text-align: right;
}

.ticket-passive-badge .material-symbols-outlined {
    font-size: 1rem;
}

/* Mobil Uyumluluk */
@media (max-width: 576px) {
    .ticket-card {
        flex-direction: column;
    }

    .ticket-visual {
        width: 100%;
        height: 100px;
        flex-direction: row;
        gap: 1rem;
    }

    .ticket-visual::after {
        display: none;
    }

    .ticket-notch {
        display: none;
    }

    .ticket-visual::before {
        /* Mobilde alttan çizgi */
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        border-bottom: 2px dashed rgba(255, 255, 255, 0.4);
    }
}

[data-theme="dark"] .ticket-card {
    background: var(--card-bg-dark);
}

[data-theme="dark"] .ticket-notch {
    background-color: #1a1d21;
    /* Dark mode sayfa rengi tahmini */
}

[data-theme="dark"] .code-box {
    background: #2a3441;
    border-color: #495057;
}

[data-theme="dark"] .use-btn {
    background: #fff;
    color: #000;
}

[data-theme="dark"] .ticket-passive-badge {
    background: #2a3441;
    color: #adb5bd;
    border-color: #495057;
}

/* =========================================
   Enhanced Footer Styles (Modern & Premium)
   ========================================= */

.footer {
    background-color: #0f172a !important;
    padding-top: 2rem !important;
    padding-bottom: 1.5rem !important;
    color: #94a3b8 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 0.85rem !important;
}

[data-theme="dark"] .footer {
    background-color: #020617 !important;
    /* Daha da koyu dark mode için */
}

/* Linkler */
.footer-link {
    color: #94a3b8 !important;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    padding: 0.25rem 0 !important;
}

.footer-link:hover {
    color: var(--primary-color) !important;
    transform: translateX(6px) !important;
    padding-left: 0.5rem !important;
    /* Hafif içeri girme hissi */
}

.footer-link .material-symbols-outlined {
    font-size: 1.1rem !important;
    opacity: 0.7 !important;
    transition: all 0.3s ease !important;
}

.footer-link:hover .material-symbols-outlined {
    opacity: 1 !important;
    color: var(--primary-color) !important;
}

/* Başlıklar */
.footer-title {
    color: #f1f5f9 !important;
    font-weight: 700 !important;
    font-size: 0.95rem !important;
    margin-bottom: 0.75rem !important;
    letter-spacing: -0.01em !important;
    position: relative !important;
    display: inline-block !important;
    text-transform: uppercase !important;
    opacity: 0.9 !important;
}

.footer-title::after {
    display: none !important;
}

/* Contact Cards */
.contact-info-card {
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
    margin-bottom: 0.5rem !important;
}

.contact-info-card:hover {
    background: transparent !important;
    transform: none !important;
}

.contact-info-icon {
    display: none !important;
}

.contact-info-text strong {
    color: #f8fafc !important;
    font-weight: 700 !important;
}

/* Social Buttons */
.social-buttons {
    display: flex !important;
    gap: 0.75rem !important;
    margin-top: 1rem !important;
    /* 1.5rem'den düşürüldü */
}

.social-btn {
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.05) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #cbd5e1 !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    border: 1px solid transparent !important;
    text-decoration: none !important;
}

.social-btn:hover {
    background: var(--primary-color) !important;
    color: white !important;
    transform: translateY(-4px) rotate(8deg) !important;
    box-shadow: 0 8px 16px rgba(43, 140, 238, 0.3) !important;
}

.footer-bottom {
    background: transparent !important;
    padding: 1rem 0 0 0 !important;
    margin-top: 1rem !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
    font-size: 0.75rem !important;
    text-align: center !important;
}

/* =========================================
   COOKIE CONSENT (�EREZ BANDI)
   ========================================= */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: #0f172a;
    color: white;
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.1);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideUp 0.5s ease-out;
}

.cookie-text a:hover {
    color: #ccc !important;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

/* =========================================
   ORDER SUCCESS / THANKS PAGE
   ========================================= */
@keyframes scale {
    from {
        transform: scale(0);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.product-card {
    border: 1px solid #e0e0e0;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 404 Page Animation */
@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Admin Settings Tabs */
.tab-btn.active {
    background-color: #eff6ff;
    border-left: 4px solid #3b82f6;
    color: #1d4ed8;
    font-weight: 600;
}

.tab-btn.active .icon-box {
    background-color: #3b82f6;
    color: white;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

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

/* Hover Dropdown for Navbar */
@media (min-width: 992px) {
    .hover-dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0;
    }
}

/* Modern Dropdown Styles */
.dropdown-menu {
    border-radius: 12px;
    padding: 10px;
    margin-top: 10px;
}

.dropdown-item {
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--pink-50);
    color: var(--pink-600);
    padding-left: 1.25rem !important;
}

/* Animasyon */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

.animate.slideIn {
    animation: slideIn 0.3s ease forwards;
}

/* ===== FOOTER STYLES ===== */
.footer-clean {
    background-color: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
}

.footer-title {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--bs-body-color);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.4rem;
}

.footer-links a {
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--bs-primary);
}

.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: start;
    font-size: 0.875rem;
}

.footer-contact a {
    color: var(--bs-secondary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: var(--bs-primary);
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: transform 0.2s;
}

.social-icon.instagram {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.social-icon.facebook {
    background: #4267B2;
}

.social-icon.whatsapp {
    background: #25D366;
}

.social-icon:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    border-top-color: var(--bs-border-color) !important;
}

@media (max-width: 768px) {
    .footer-clean .row>div {
        text-align: center;
    }

    .footer-contact li {
        justify-content: center;
    }

    .social-links-footer {
        text-align: center;
    }

    .social-links-footer .d-flex {
        justify-content: center;
    }
}

/* ============================================
   FOOTER STYLES - Dark/Light Mode Compatible
   ============================================ */

.footer {
    background-color: var(--bs-body-bg);
    border-top: 1px solid var(--bs-border-color);
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    /* Container styles handled by Bootstrap */
}

/* Brand Section */
.footer-logo {
    text-decoration: none;
    display: inline-block;
    margin-bottom: 1rem;
}

.footer-logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--pink-600) 0%, var(--purple-600) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Footer Titles */
.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--bs-body-color);
    margin-bottom: 1rem;
}

.footer-link-title {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.footer-link-title:hover {
    color: var(--pink-600);
}

/* Footer Links */
.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-link-item {
    margin-bottom: 0.5rem;
}

.footer-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--bs-secondary-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--pink-600);
    transform: translateX(3px);
}

.footer-link .material-symbols-outlined {
    font-size: 1.1rem;
}

/* Contact Cards */
.contact-cards-wrapper {
    margin-bottom: 1.5rem;
}

.contact-info-card {
    display: flex;
    align-items: start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background-color: var(--bs-secondary-bg);
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    background-color: var(--bs-tertiary-bg);
    transform: translateY(-2px);
}

.contact-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, var(--pink-500) 0%, var(--purple-500) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-card-icon .material-symbols-outlined {
    color: white;
    font-size: 1.25rem;
}

.contact-card-content h6 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--bs-secondary-color);
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-card-content p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--bs-body-color);
}

.contact-card-content a {
    color: var(--bs-body-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-card-content a:hover {
    color: var(--pink-600);
}

/* Social Links */
.social-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-btn.instagram {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.social-btn.facebook {
    background: #4267B2;
}

.social-btn.whatsapp {
    background: #25D366;
}

.social-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--bs-border-color);
}

.copyright-text {
    font-size: 0.875rem;
    color: var(--bs-secondary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .footer {
        padding-top: 2rem;
        margin-top: 2rem;
    }

    .footer .col-lg-3,
    .footer .col-lg-2 {
        text-align: center;
    }

    .footer-links-list {
        text-align: center;
    }

    .footer-link {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    .contact-cards-wrapper {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Featured Products Swiper Styles */
.featured-products-section {
    position: relative;
    overflow: visible;
}

/* Wrapper - butonlar + slider bir arada */
.swiper-container-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.swiper-container-wrapper .featured-products-swiper {
    flex: 1;
    min-width: 0;
}

.featured-products-swiper {
    padding-bottom: 20px;
    overflow: hidden;
}

.featured-products-swiper .swiper-slide {
    height: auto;
}

.featured-products-swiper .product-card {
    height: 100%;
}

/* Swiper Navigation Buttons - Premium Style */
.swiper-nav-buttons {
    display: flex;
    gap: 12px;
}

.swiper-btn-prev,
.swiper-btn-next {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.swiper-btn-prev::before,
.swiper-btn-next::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    border-radius: 14px;
}

.swiper-btn-prev:hover,
.swiper-btn-next:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.swiper-btn-prev:active,
.swiper-btn-next:active {
    transform: translateY(0) scale(0.98);
}

.swiper-btn-prev .material-symbols-outlined,
.swiper-btn-next .material-symbols-outlined {
    font-size: 24px;
    font-variation-settings: 'wght' 500;
}

[data-theme="dark"] .swiper-btn-prev,
[data-theme="dark"] .swiper-btn-next {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.5);
}

[data-theme="dark"] .swiper-btn-prev:hover,
[data-theme="dark"] .swiper-btn-next:hover {
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
}

/* Swiper Pagination - Premium Style */
.featured-pagination {
    bottom: 5px !important;
}

.featured-pagination .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, #e0e0e0 0%, #c0c0c0 100%);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px;
    margin: 0 5px !important;
}

.featured-pagination .swiper-pagination-bullet:hover {
    transform: scale(1.2);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.featured-pagination .swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.4);
}

[data-theme="dark"] .featured-pagination .swiper-pagination-bullet {
    background: linear-gradient(135deg, #444 0%, #333 100%);
}

[data-theme="dark"] .featured-pagination .swiper-pagination-bullet:hover {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

[data-theme="dark"] .featured-pagination .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 2px 15px rgba(102, 126, 234, 0.5);
}

/* Section title with slider */
.featured-products-section .section-title {
    margin-bottom: 0;
    position: relative;
}

.featured-products-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

/* ===== FORM VALIDATION ERRORS - Dark/Light Mode ===== */
.field-validation-error,
.validation-summary-errors,
.validation-summary-errors ul li,
.text-danger {
    color: #ef4444 !important;
    /* Canlı Kırmızı */
    font-size: 0.85rem !important;
    font-weight: 500 !important;
}

.validation-summary-errors ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0;
}

.validation-summary-errors ul li {
    padding: 0.25rem 0;
}


/* ===== GALLERY PLACEHOLDER - Dark Mode ===== */
.gallery-placeholder,
.no-image-placeholder {
    background: var(--card-bg, #f1f5f9) !important;
    color: var(--text-muted, #94a3b8);
}

[data-theme="dark"] .gallery-placeholder,
[data-theme="dark"] .no-image-placeholder {
    background: #1e293b !important;
    color: #64748b;
}

/* ===== PRODUCT IMAGE WRAPPER DARK MODE ===== */
[data-theme="dark"] .product-image-wrapper,
[data-theme="dark"] .product-card .card-img-wrapper {
    background: #1e293b;
}


/* ===== CAMPAIGNS HERO BANNER ===== */
.campaigns-hero {
    position: relative;
    padding: 35px 20px !important;
    margin-bottom: 25px !important;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='%23ffffff' fill-opacity='0.2'%3E%3Cpath d='M10 10h10v10H10zM50 40h5v5h-5zM80 15h8v8h-8zM20 70h6v6h-6zM70 75h10v10H70z'/%3E%3Ccircle cx='35' cy='25' r='5'/%3E%3Ccircle cx='90' cy='60' r='4'/%3E%3Ccircle cx='15' cy='90' r='6'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, #8b5cf6 0%, #d946ef 50%, #ec4899 100%) !important;
    background-size: 150px, cover !important;
    border-radius: 20px !important;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2) !important;
}

.campaigns-hero-content {
    position: relative;
    z-index: 2;
}

.campaigns-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 6px 20px;
    border-radius: 99px;
    font-weight: 800;
    font-size: 0.8rem;
    margin-bottom: 12px;
    letter-spacing: 1px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.campaigns-hero h1 {
    font-size: 2.2rem !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin: 0 0 8px 0 !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
}

.campaigns-hero p {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    margin: 0 auto;
    max-width: 500px;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 576px) {
    .campaigns-hero {
        padding: 28px 16px;
        border-radius: 16px;
    }

    .campaigns-hero h1 {
        font-size: 1.5rem;
    }

    .campaigns-hero p {
        font-size: 0.95rem;
    }

    .campaigns-badge {
        padding: 6px 16px;
        font-size: 0.8rem;
    }
}