/* =========================================
   1. GLOBAL & VARIABLES
   ========================================= */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
    --primary-color: #2c3e50;
    /* Koyu Lacivert/Gri */
    --accent-color: #e67e22;
    /* Turuncu Aksan */
    --light-bg: #f8f9fa;
    --text-dark: #333;
    --text-muted: #777;
    --border-radius: 8px;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: var(--text-dark);
    overflow-x: hidden;
    /* Yatay taşmayı engelle */
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

a:hover {
    color: var(--accent-color);
}

/* =========================================
   2. HEADER & NAVIGATION
   ========================================= */

/* Top Bar */
.top-bar {
    background-color: var(--primary-color);
    color: #fff;
    font-size: 0.85rem;
    padding: 8px 0;
}

.top-bar a {
    color: #eee;
    margin-left: 15px;
}

/* Navbar Main Container */
.navbar-main {
    background-color: #fff;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--primary-color) !important;
    letter-spacing: 1px;
}

/* --- NAV LINKS (MOBIL VARSAYILAN) --- */
.nav-link {
    font-weight: 500;
    color: var(--primary-color) !important;
    margin: 5px 0;
    padding: 10px 15px;
    position: relative;
    transition: 0.3s;
    border-radius: 5px;
}

.nav-link:hover {
    color: var(--accent-color) !important;
    background-color: var(--light-bg);
}

/* --- NAV LINKS (MASAÜSTÜ ÖZEL - MIN-WIDTH: 992PX) --- */
@media (min-width: 992px) {
    .nav-link {
        margin: 0 10px;
        padding: 8px 0;
        background-color: transparent !important;
        /* Mobildeki bg'yi kaldır */
        border-radius: 0;
    }


    /* Alt Çizgi Animasyonu */
    .nav-link::after {
        content: '';
        position: absolute;
        width: 0;
        height: 3px;
        bottom: 0;
        left: 0;
        right: 0;
        margin: auto;

        transition: width 0.3s ease;
        border-radius: 50px;
    }

    .nav-link:hover::after,
    .nav-link.active::after,
    .nav-item.show .nav-link::after {
        width: 100%;
        background-color: var(--accent-color) !important;
    }

    /* Mega Menü için Statik Pozisyonlama */
    .navbar .position-static {
        position: static !important;
    }
}

/* Search Bar */
.search-bar input {
    border-radius: 20px 0 0 20px;
    border: 1px solid #ddd;
    border-right: none;
}

.search-bar button {
    border-radius: 0 20px 20px 0;
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-color);
}

/* Cart Icon & Badge */
.cart-icon {
    position: relative;
    font-size: 1.2rem;
}

.cart-badge {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: var(--accent-color);
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 50%;
}

/* User Dropdown */
.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 10px;
}

.dropdown-item {
    padding: 8px 20px;
    font-size: 0.9rem;
    transition: 0.2s;
}

.dropdown-item:hover {
    background-color: var(--light-bg);
    color: var(--accent-color);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* =========================================
   3. MEGA MENU
   ========================================= */
.mega-menu {
    border: none;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    padding: 30px 0;
    margin-top: 0;
    background-color: #fff;
    border-top: 1px solid #eee;
}

.mega-menu-col {
    padding: 0 20px;
    border-right: 1px solid #f1f1f1;
}

.mega-menu-col:last-child {
    border-right: none;
}

.category-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--light-bg);
}

.category-img {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 10px;
    margin-right: 12px;
    border: 1px solid #eee;
    transition: 0.3s;
}

.category-header:hover .category-img {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--accent-color);
}

.category-title {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.05rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-title a {
    color: var(--primary-color);
    text-decoration: none;
}

.category-title a:hover {
    color: var(--accent-color);
}

.mega-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mega-menu-list li {
    margin-bottom: 10px;
}

.mega-menu-list a {
    color: #666;
    font-size: 0.95rem;
    display: block;
    transition: all 0.3s ease;
    padding: 2px 0;
}

.mega-menu-list a:hover {
    color: var(--accent-color);
    transform: translateX(8px);
}

/* Featured Image */
.mega-menu-featured {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    min-height: 200px;
}

.mega-menu-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s;
}

.mega-menu-featured:hover img {
    transform: scale(1.05);
}

.mega-menu-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 20px;
    color: white;
}

/* --- MEGA MENU MOBIL AYARLARI --- */
@media (max-width: 991.98px) {
    .mega-menu {
        box-shadow: none;
        padding-left: 15px;
        background-color: #fff;
    }

    .mega-menu-col {
        border-right: none;
        margin-bottom: 20px;
    }

    .mega-menu-featured {
        display: none;
    }

    /* Mobilde görseli gizle */
}

/* =========================================
   4. PRODUCT CARDS
   ========================================= */
.product-card {
    border: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    background: #fff;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
}

.product-card:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    background-color: #f9f9f9;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-wrapper img {
    max-height: 100%;
    max-width: 100%;
    transition: transform 0.5s ease;
}

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

.product-actions {
    position: absolute;
    bottom: -50px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    transition: bottom 0.3s ease;
    gap: 10px;
}

.product-card:hover .product-actions {
    bottom: 20px;
}

.btn-action {
    background: white;
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    border: none;
}

.btn-action:hover {
    background: var(--accent-color);
    color: white;
}

.product-info {
    padding: 15px 5px;
    text-align: center;
}

.product-category {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 5px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.1rem;
}

.badge-sale {
    position: absolute;
    top: 15px;
    left: 15px;
    background-color: #e74c3c;
    color: white;
    padding: 5px 10px;
    font-size: 0.75rem;
    border-radius: 4px;
    z-index: 2;
}

/* =========================================
   5. FORMS (LOGIN / REGISTER)
   ========================================= */
.form-control:focus,
.form-select:focus {
    box-shadow: none;
    border-color: var(--accent-color) !important;
}

.form-floating>label {
    padding-left: 0;
}

.form-floating i {
    color: var(--primary-color);
    opacity: 0.7;
}

/* =========================================
   6. ACCOUNT & SIDEBAR
   ========================================= */
.account-sidebar .card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.user-profile-header {
    background-color: var(--primary-color);
    padding: 20px;
    text-align: center;
    color: white;
}

.user-avatar {
    width: 80px;
    height: 80px;
    background: #fff;
    color: var(--primary-color);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.account-nav .list-group-item {
    border: none;
    padding: 15px 20px;
    font-weight: 500;
    color: var(--text-dark);
    border-left: 4px solid transparent;
    transition: 0.3s;
}

.account-nav .list-group-item:hover {
    background-color: #f8f9fa;
    color: var(--accent-color);
}

.account-nav .list-group-item.active {
    background-color: white;
    color: var(--accent-color);
    border-left-color: var(--accent-color);
    font-weight: 600;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.account-nav i {
    width: 25px;
    text-align: center;
    margin-right: 10px;
}

/* =========================================
   7. ORDER HISTORY
   ========================================= */
.order-card {
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    background: #fff;
    margin-bottom: 20px;
    transition: 0.3s;
}

.order-card:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.order-header {
    background-color: #fbfbfb;
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.order-header-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    display: block;
    margin-bottom: 3px;
}

.order-header-value {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.order-body {
    padding: 20px;
}

.order-product-img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #eee;
    margin-right: 10px;
}

.order-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-delivered {
    background-color: #d4edda;
    color: #155724;
}

.status-processing {
    background-color: #cce5ff;
    color: #004085;
}

.status-shipped {
    background-color: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

/* =========================================
   8. SHOPPING CART
   ========================================= */
.cart-item {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    transition: 0.3s;
}

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

.cart-item-img {
    width: 100px;
    height: 120px;
    object-fit: cover;
    border-radius: var(--border-radius);
    border: 1px solid #f0f0f0;
}

.cart-item-title {
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.cart-item-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Quantity Spinner */
.quantity-group {
    display: flex;
    align-items: center;
    border: 1px solid #dee2e6;
    border-radius: 50px;
    overflow: hidden;
    width: 120px;
}

.quantity-btn {
    background: none;
    border: none;
    padding: 5px 15px;
    color: var(--primary-color);
    cursor: pointer;
    transition: 0.2s;
}

.quantity-btn:hover {
    background-color: #f0f0f0;
}

.quantity-input {
    border: none;
    text-align: center;
    width: 40px;
    font-weight: 600;
    color: var(--text-dark);
    padding: 5px 0;
    background: transparent;
}

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

/* Summary Card */
.summary-card {
    background-color: #fcfcfc;
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    padding: 25px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 0.95rem;
    color: var(--text-muted);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* =========================================
   9. UTILITIES & FOOTER
   ========================================= */
.border-dashed {
    border-style: dashed !important;
    border-width: 2px !important;
    border-color: #dee2e6 !important;
}

.border-dashed:hover {
    border-color: var(--accent-color) !important;
    background-color: #fff !important;
    cursor: pointer;
}

footer {
    background-color: #1a1a1a;
    color: #bbb;
    padding-top: 60px;
    padding-bottom: 30px;
    margin-top: 80px;
}

footer h5 {
    color: #fff;
    font-weight: 600;
    margin-bottom: 20px;
}

footer ul li {
    margin-bottom: 10px;
}

footer ul li a:hover {
    color: var(--accent-color);
    padding-left: 5px;
}

.social-icons a {
    width: 40px;
    height: 40px;
    background: #333;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-right: 10px;
    color: #fff;
}

.social-icons a:hover {
    background: var(--accent-color);
}

/* =========================================
   10. MOBILE MENU SCROLL FIX
   ========================================= */
@media (max-width: 991.98px) {
    .navbar-collapse {
        /* 1. Maksimum Yükseklik: Ekran yüksekliğinden biraz az olsun (Navbar header payı) */
        max-height: calc(100vh - 80px);

        /* 2. Kaydırma Özelliği: İçerik taşarsa dikey scroll bar çıksın */
        overflow-y: auto;

        /* 3. Görsellik: Mobilde menünün daha belirgin olması için */
        background-color: #fff;
        padding: 10px;
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        border-top: 1px solid #eee;
    }

    /* İsteğe Bağlı: Scrollbar'ı daha şık yapalım (Webkit tarayıcılar için) */
    .navbar-collapse::-webkit-scrollbar {
        width: 6px;
    }

    .navbar-collapse::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .navbar-collapse::-webkit-scrollbar-thumb {
        background: #ccc;
        border-radius: 4px;
    }

    .navbar-collapse::-webkit-scrollbar-thumb:hover {
        background: var(--accent-color);
    }
}



/* =========================================
   11. ORDER TRACKING (SİPARİŞ TAKİBİ)
   ========================================= */

/* Takip Formu Kartı */
.tracking-search-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    overflow: hidden;
}

/* Timeline (Zaman Çizelgesi) */
.tracking-timeline {
    position: relative;
    margin: 40px 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: space-between;
}

/* Çizgi (Arka Plan) */
.tracking-timeline::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: #e9ecef;
    z-index: 0;
}

/* Adımlar */
.tracking-step {
    position: relative;
    z-index: 1;
    text-align: center;
    width: 25%;
    /* 4 adım olduğu için */
}

/* İkon Dairesi */
.tracking-icon {
    width: 35px;
    height: 35px;
    background-color: #fff;
    border: 3px solid #e9ecef;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #ccc;
    transition: 0.3s;
}

/* Tamamlanmış Adım */
.tracking-step.completed .tracking-icon {
    border-color: var(--accent-color);
    background-color: var(--accent-color);
    color: white;
}

/* Tamamlanmış Adım Çizgisi */
.tracking-step.completed::after {
    content: '';
    position: absolute;
    top: 15px;
    left: -50%;
    width: 100%;
    height: 3px;
    background-color: var(--accent-color);
    z-index: -1;
}

/* İlk adımın solunda çizgi olmasın */
.tracking-step:first-child::after {
    display: none;
}

/* Aktif (Şu anki) Adım */
.tracking-step.active .tracking-icon {
    border-color: var(--accent-color);
    background-color: #fff;
    color: var(--accent-color);
    box-shadow: 0 0 0 4px rgba(230, 126, 34, 0.2);
    /* Turuncu glow */
}

/* Metinler */
.tracking-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 2px;
}

.tracking-date {
    font-size: 0.75rem;
    color: #999;
}

.tracking-step.completed .tracking-label,
.tracking-step.active .tracking-label {
    color: var(--primary-color);
}

/* Mobil Uyumluluk */
@media (max-width: 576px) {
    .tracking-label {
        font-size: 0.7rem;
    }

    .tracking-date {
        display: none;
    }

    /* Mobilde tarihleri gizle sığmaz */


}


/* =========================================
       12. PRODUCT LISTING & FILTERS
       ========================================= */

/* Filter Sidebar */
.filter-sidebar .card-header {
    background-color: white;
    border-bottom: 1px solid #eee;
    padding: 15px 0;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-sidebar .card-header:hover {
    color: var(--accent-color);
}

.filter-group {
    margin-bottom: 20px;
    border-bottom: 1px solid #f8f9fa;
    padding-bottom: 20px;
}

.filter-group:last-child {
    border-bottom: none;
}

/* Custom Checkbox */
.form-check-input:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.form-check-label {
    font-size: 0.9rem;
    color: #555;
    cursor: pointer;
}

.filter-count {
    font-size: 0.8rem;
    color: #999;
    float: right;
}

/* Color Filter Circles */
.color-filter-btn {
    width: 25px;
    height: 25px;
    border-radius: 50%;
    border: 1px solid #ddd;
    display: inline-block;
    margin-right: 5px;
    margin-bottom: 5px;
    cursor: pointer;
    position: relative;
}

.color-filter-input {
    display: none;
}

.color-filter-input:checked+.color-filter-btn {
    transform: scale(1.1);
    box-shadow: 0 0 0 2px white, 0 0 0 4px var(--accent-color);
}

/* Sort Dropdown */
.sort-select {
    border-radius: 20px;
    font-size: 0.9rem;
    border-color: #eee;
    padding: 5px 30px 5px 15px;
}

/* Pagination */
.pagination .page-link {
    color: var(--primary-color);
    border: none;
    margin: 0 5px;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary-color);
    color: white;
}

.pagination .page-link:hover {
    background-color: #eee;
    color: var(--accent-color);
}









/* Ürün Bilgileri */
.detail-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.detail-price {
    font-size: 1.8rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.detail-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.detail-meta span {
    color: var(--text-dark);
    font-weight: 500;
}



/* Renk Daireleri */
.color-select-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.color-option {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    position: relative;
}

.color-input {
    display: none;
}

/* Radio button'ı gizle */
.color-input:checked+.color-option {
    border-color: var(--primary-color);
    transform: scale(1.1);
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-color);
}

/* Beden Kutuları */
.size-select-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.size-option {
    min-width: 45px;
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
    padding: 0 10px;
}

.size-input {
    display: none;
}

.size-input:checked+.size-option {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.size-input:disabled+.size-option {
    background-color: #f9f9f9;
    color: #ccc;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* Tablo */
.spec-table th {
    width: 40%;
    color: var(--text-muted);
    font-weight: 500;
}


/* =========================================
   13. PRODUCT DETAIL PAGE (GÜNCELLENDİ)
   ========================================= */

/* --- GALERİ & ZOOM --- */
.product-gallery-main {
    border: 1px solid #eee;
    border-radius: var(--border-radius);
    overflow: hidden;
    /* Resim taşarsa gizle */
    margin-bottom: 15px;
    position: relative;
    cursor: crosshair;
    /* Zoom imleci */
    height: 500px;
    /* Sabit yükseklik önemli */
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Resmi kutuya sığdır */
    transition: transform 0.1s ease-out;
    /* Yumuşak geçiş */
    transform-origin: center center;
    display: block;
}

/* Zoom Efekti (JS ile tetiklenir, burası default hali) */
.product-gallery-main:hover img {
    transform: scale(1.8);
    /* 1.8 kat büyüt */
}

.product-thumbnails {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border: 2px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
    flex-shrink: 0;
    /* Küçülmeyi engeller */
}

.thumbnail-img:hover,
.thumbnail-img.active {
    opacity: 1;
    border-color: var(--accent-color);
}

/* --- RENK SEÇİMİ (DÜZELTİLDİ) --- */
.color-select-group {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    align-items: center;
}

.color-option {
    width: 32px;
    /* Sabit Genişlik */
    height: 32px;
    /* Sabit Yükseklik */
    border-radius: 50%;
    border: 1px solid #ddd;
    /* Hafif gri çerçeve */
    cursor: pointer;
    position: relative;
    display: inline-block;
    /* Şekli korur */
    flex-shrink: 0;
    /* KRİTİK: Dar alanda ezilmeyi engeller */
    box-sizing: border-box;
    transition: all 0.2s ease;
}

/* Seçili Durum (Çift Çerçeve Efekti) */
.color-input:checked+.color-option {
    /* İçeride beyaz boşluk, dışarıda tema rengi */
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--primary-color);
    border-color: transparent;
    transform: scale(1.1);
    /* Seçilince hafif büyüsün */
}

/* Hover Durumu */
.color-option:hover {
    transform: scale(1.1);
}

/* =========================================
   12. UNDER CONSTRUCTION MODAL (COMING SOON)
   ========================================= */

.construction-modal .modal-content {
    border: none;
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.construction-modal .modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #1a252f 100%);
    color: white;
    padding: 30px;
    border: none;
    text-align: center;
    display: block;
}

.construction-modal .modal-body {
    padding: 40px;
    text-align: center;
}

.construction-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #d35400 100%);
    color: white;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: -70px auto 20px;
    box-shadow: 0 10px 20px rgba(230, 126, 34, 0.3);
    position: relative;
    z-index: 10;
}

.construction-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.construction-text {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.construction-footer {
    padding: 0 40px 40px;
    border: none;
    display: flex;
    justify-content: center;
}

.btn-construction {
    background: var(--primary-color);
    color: white;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 600;
    transition: 0.3s;
    border: none;
    width: 100%;
}

.btn-construction:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 126, 34, 0.2);
}

/* Glassmorphism Backdrop */
.modal-backdrop.show {
    backdrop-filter: blur(8px);
    background-color: rgba(0, 0, 0, 0.4);
}