/* 
* Tema Ana CSS
* Proje: Restoran/E-ticaret Sitesi
*/

/* ===============================================
   GENEL DEĞIŞKENLER VE RESET
   =============================================== */
:root {
    --primary-color: #714684;      
    --secondary-color: #222222;    
    --accent-color: #F9BD0E;       
    --light-color: #F8F9FA;        
    --dark-color: #1A1A1A;         
    --text-color: #333333;         
    --border-radius: 6px;         /* Daha az oval köşeler */
    --box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    --success-color: #28a745;
    --info-color: #17a2b8;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --button-color: #714684;
    --button-hover-color: #5d3a6d;
    --price-color: #009846;
    --icon-color: #714684;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
    line-height: 1.6;
    padding-top: 112px; /* top-bar + header yüksekliği + padding */
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* ===============================================
   TOP BAR STILI
   =============================================== */
.top-bar {
    background: var(--primary-color);
    height: 36px;
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1031;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.top-bar::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: rgba(255,255,255,0.1);
}

.restaurant-status {
    display: inline-flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.75rem;
    letter-spacing: 0.2px;
    line-height: 1;
    height: 36px;
    padding: 0;
}

.restaurant-status.open {
    color: #4ade80;
}

.restaurant-status.closed {
    color: #ff4d4d;
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    height: 36px;
    line-height: 36px;
}

.user-info i {
    font-size: 0.8rem;
}

.logout-btn {
    color: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 500;
    transition: all 0.2s ease;
    height: 36px;
    line-height: 36px;
}

.logout-btn:hover {
    color: #fff;
}

.logout-btn i {
    font-size: 0.8rem;
}

.auth-buttons {
    display: flex;
    gap: 12px;
    height: 36px;
    align-items: center;
}

.auth-buttons .btn {
    font-size: 0.75rem;
    padding: 5px 12px;
    height: 28px;
    border-radius: 4px;
}

.auth-buttons .btn i {
    font-size: 0.8rem;
}

.auth-buttons .btn-outline-light {
    border: 1px solid rgba(255,255,255,0.3);
    background: transparent;
}

.auth-buttons .btn-outline-light:hover {
    background: rgba(255,255,255,0.1);
}

.auth-buttons .btn-light {
    background: #fff;
    color: var(--primary-color);
    border: none;
}

.auth-buttons .btn-light:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .top-bar {
        height: 42px;
    }
    
    .auth-buttons .btn {
        padding: 4px 10px;
    }
    
    .top-bar-right {
        gap: 12px;
    }
    
    header {
        top: 42px; /* mobil top-bar yüksekliği */
    }
    
    body {
        padding-top: 118px; /* mobil top-bar + header yüksekliği + padding */
        padding-bottom: 65px;
    }
    
    .bottom-nav {
        display: block;
    }
    
    main {
        padding-bottom: 85px;
        -webkit-overflow-scrolling: touch;
    }
}

/* ===============================================
   HEADER STILI
   =============================================== */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 36px; /* top-bar yüksekliği */
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1030;
    padding: 10px 0;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.logo img {
    max-height: 50px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

/* Ana içerik için padding ekle */
main {
    padding-top: 76px; /* header yüksekliği + padding */
}

/* ===============================================
   BOTTOM NAVIGATION BAR
   =============================================== */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 15px 0;
    box-shadow: 0 -2px 15px rgba(0,0,0,0.05);
    z-index: 1030;
    display: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.05);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    will-change: transform;
}

.bottom-nav .nav-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 10px;
}

.bottom-nav .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    padding: 4px 0;
    text-align: center;
    overflow: hidden;
}

.bottom-nav .nav-item i {
    font-size: 1.3rem;
    margin-bottom: 3px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    color: #94a3b8;
}

.bottom-nav .nav-item span {
    width: 100%;
    text-align: center;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 2px;
    color: #94a3b8;
}

.bottom-nav .nav-item.active,
.bottom-nav .nav-item.active i,
.bottom-nav .nav-item.active span {
    color: #714684 !important;
}

.bottom-nav .nav-item.active i {
    transform: translateY(-2px);
}

.bottom-nav .nav-item:not(.active):hover,
.bottom-nav .nav-item:not(.active):hover i,
.bottom-nav .nav-item:not(.active):hover span {
    color: #714684;
}

.bottom-nav .nav-item .cart-count {
    position: absolute;
    top: -2px;
    right: calc(50% - 18px);
    background: #714684;
    color: #fff;
    font-size: 0.65rem;
    font-weight: bold;
    min-width: 18px;
    height: 18px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Homepage Slider için z-index düzenlemesi */
.homepage-slider-container {
    position: relative;
    z-index: 1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    margin-bottom: 30px;
}

#homepage-slider {
    position: relative;
    z-index: 1;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.carousel-item {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Carousel kontrolleri için z-index düzenlemesi */
.carousel-control-prev,
.carousel-control-next {
    z-index: 2;
}

/* Mobil menü için z-index düzenlemesi */
.mobile-menu {
    z-index: 1040;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

#overlay {
    z-index: 1035;
}

/* Responsive düzenlemeler */
@media (max-width: 768px) {
    body {
        padding-bottom: 65px;
    }
    
    .bottom-nav {
        display: block;
    }
    
    main {
        padding-bottom: 85px;
        -webkit-overflow-scrolling: touch;
    }
    
    /* iOS için scroll düzeltmesi */
    .homepage-slider-container,
    #homepage-slider,
    .carousel-item {
        -webkit-transform: translate3d(0,0,0);
        transform: translate3d(0,0,0);
    }
}

/* Scroll davranışı için düzeltme */
html {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

body {
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

/* Bottom Nav Animasyonu */
@keyframes bottomNavSlideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.bottom-nav {
    animation: bottomNavSlideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Aktif menü için özel efekt */
.bottom-nav .nav-item::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    transform: translateX(-50%) scale(0);
    transition: transform 0.3s;
    opacity: 0;
}

.bottom-nav .nav-item.active::after {
    transform: translateX(-50%) scale(1);
    opacity: 1;
}

/* Tıklama efekti için stil */
.bottom-nav .nav-item {
    overflow: hidden;
}

.ripple {
    position: absolute;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ===============================================
   MOBILE MENU STILI
   =============================================== */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: #fff;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0,0,0,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: linear-gradient(to right, var(--primary-color), #d92024);
    color: white;
    height: auto;
}

.mobile-menu-header .logo-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff;
}

#menuClose {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

#menuClose:hover {
    background: rgba(255,255,255,0.2);
}

.mobile-menu-body {
    flex: 1;
    overflow-y: auto;
    padding: 15px 0;
}

.mobile-menu-body::-webkit-scrollbar {
    width: 4px;
}

.mobile-menu-body::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mobile-menu-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

.user-info-card {
    margin: 0 15px 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
}

.user-info-card .avatar {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    margin-right: 12px;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav-list li a {
    display: flex;
    align-items: center;
    padding: 12px 20px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.2s;
    font-weight: 500;
}

.mobile-nav-list li a i {
    width: 24px;
    margin-right: 12px;
    color: #666;
    font-size: 1.1rem;
}

.mobile-nav-list li a:hover {
    background: #f8f9fa;
    color: var(--primary-color);
}

.mobile-nav-list li a:hover i {
    color: var(--primary-color);
}

.mobile-nav-list li a.active {
    background: var(--primary-color);
    color: #fff;
}

.mobile-nav-list li a.active i {
    color: #fff;
}

.mobile-nav-list .submenu {
    list-style: none;
    padding: 0;
    margin: 0;
    background: #f8f9fa;
    display: none;
}

.mobile-nav-list .submenu li a {
    padding-left: 56px;
    font-size: 0.9rem;
    color: #666;
}

.mobile-nav-list .has-submenu > a {
    position: relative;
}

.mobile-nav-list .has-submenu > a:after {
    content: '\f054';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: 20px;
    transition: transform 0.2s;
}

.mobile-nav-list .has-submenu.open > a:after {
    transform: rotate(90deg);
}

.mobile-nav-list .has-submenu.open .submenu {
    display: block;
}

.mobile-nav-list .divider {
    height: 1px;
    background: #eee;
    margin: 10px 0;
}

#overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    z-index: 999;
    backdrop-filter: blur(2px);
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .mobile-menu {
        width: 85%;
    }
    
    header {
        padding: 8px 0;
    }
    
    .logo img {
        height: auto;
    }
    
    .btn-cart {
        padding: 6px 12px;
        font-size: 0.9rem;
    }
    
    #menuToggle {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: #71468400;
    }
    
    #menuToggle:hover {
        background-color: rgba(0,0,0,0.05);
    }
    
    #menuToggle i {
        font-size: 1.2rem;
        color: var(--dark-color);
    }
    
    /* Geri Butonu */
    .btn[onclick="goBack()"] {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        background-color: transparent;
        border: none;
        transition: background-color 0.3s ease;
    }
    
    .btn[onclick="goBack()"]:hover {
        background-color: rgba(0,0,0,0.05);
    }
    
    .btn[onclick="goBack()"] i {
        font-size: 1.2rem;
        color: var(--dark-color);
    }
}

/* ===============================================
   YARDIMCI SINIFLAR
   =============================================== */
.d-flex {
    display: flex !important;
}

.align-items-center {
    align-items: center !important;
}

.justify-content-between {
    justify-content: space-between !important;
}

.text-center {
    text-align: center !important;
}

.w-100 {
    width: 100% !important;
}

.h-100 {
    height: 100% !important;
}

/* Genel Stiller */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--button-hover-color);
    text-decoration: none;
}

/* Header Stiller */
.navbar-nav .nav-link {
    font-weight: 500;
    padding: 10px 15px;
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    border-radius: 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Hero Banner */
.hero-section {
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 0;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* Modern Buton Stilleri */
.btn {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.3px;
    border: none;
}

.btn i {
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--button-color) !important;
    color: white;
    box-shadow: 0 2px 6px rgba(113, 70, 132, 0.2);
    border-color: var(--button-color) !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: var(--button-hover-color) !important;
    border-color: var(--button-hover-color) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(113, 70, 132, 0.3);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--button-color) !important;
    border: 1.5px solid var(--button-color) !important;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus,
.btn-outline-primary:active {
    background-color: var(--button-color) !important;
    border-color: var(--button-color) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

/* Küçük buton */
.btn-sm {
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: 4px;
}

/* Büyük buton */
.btn-lg {
    font-size: 1rem;
    padding: 10px 20px;
    border-radius: 4px;
}

/* Yuvarlak buton */
.btn-circle {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-circle.btn-sm {
    width: 32px;
    height: 32px;
}

.btn-circle.btn-lg {
    width: 48px;
    height: 48px;
}

/* Sepete Ekle Butonu */
.btn-add-cart {
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: 4px;
    background: var(--primary-color);
    color: white;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(113, 70, 132, 0.2);
}

.btn-add-cart i {
    font-size: 0.9rem;
}

.btn-add-cart:hover {
    background-color: #5d3a6d;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(113, 70, 132, 0.3);
}

/* Mobil için buton düzenlemeleri */
@media (max-width: 576px) {
    .btn {
        font-size: 0.85rem;
        padding: 6px 14px;
    }

    .btn-lg {
        font-size: 0.95rem;
        padding: 8px 18px;
    }

    .btn-add-cart {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

/* Ürün Kartları */
.product-card {
    border-radius: 6px;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width: 100%; /* Tam genişlik */
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
}

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

.product-image-link {
    width: 120px;
    min-width: 120px;
    margin-right: 15px;
}

.product-image-link img {
    height: 120px;
    width: 120px;
    object-fit: cover;
    border-radius: 4px;
}

.product-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #dc3545;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 0.85rem;
    font-weight: bold;
}

.product-info {
    flex: 1;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--dark-color);
}

.product-short-desc {
    font-size: 0.85rem;
    color: #666;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: auto;
}

.product-price {
    color: var(--price-color) !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

/* Restoran Durumu Badge */
.badge.bg-success, .badge.bg-danger {
    font-weight: normal;
    padding: 0.35em 0.65em;
}

/* Mobil Cihazlar İçin Düzenlemeler */
@media (max-width: 767.98px) {
    .category-img, .category-placeholder {
        height: 140px;
    }
    
    .product-image-link img {
        height: 160px;
    }
    
    .product-card .card-title {
        font-size: 0.9rem;
    }
    
    .price {
        font-size: 1rem;
    }
    
    .product-short-desc {
        display: none;
    }
    
    .product-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Genel Bölüm Stilleri */
.section-title {
    margin-bottom: 30px;
    text-align: left;
    padding: 0 15px;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.section-title p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Ürün Kategorileri */
.category-card {
    border-radius: 6px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    margin-bottom: 20px;
}

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

.category-card img {
    height: 160px;
    object-fit: cover;
    border-radius: 6px 6px 0 0;
}

.category-overlay {
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0.7) 100%);
    padding: 20px;
    border-radius: 6px;
}

.category-card .card-body {
    text-align: center;
    padding: 15px;
}

.category-card .card-title {
    font-weight: 600;
    margin: 0;
    color: var(--secondary-color);
}

/* İletişim Bilgileri Kutuları */
.info-box {
    transition: all 0.3s ease;
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 6px;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* En Çok Satanlar Slider */
.bestseller-slider {
    position: relative;
}

.bestseller-slider .row {
    -ms-overflow-style: none;  /* IE ve Edge için */
    scrollbar-width: none;  /* Firefox için */
}

.bestseller-slider .row::-webkit-scrollbar {
    display: none; /* Chrome, Safari ve Opera için */
}

.slider-navigation .btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

/* Sepet Sayfası */
.cart-table th, .cart-table td {
    vertical-align: middle;
}

.cart-item img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}

.quantity-input {
    width: 70px;
    text-align: center;
}

/* Ödeme Sayfası */
.checkout-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 5px;
}

.payment-options label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
}

footer a {
    color: #ddd;
}

footer a:hover {
    color: white;
}

footer h4 {
    margin-bottom: 20px;
    font-weight: 600;
}

.social-icons a {
    display: inline-block;
    width: 36px;
    height: 36px;
    text-align: center;
    line-height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

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

/* Bildirim Stili */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 350px;
}

/* Loader */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Hakkımızda Sayfası */
.about-section {
    position: relative;
    padding: 80px 0;
}

.about-image {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}

.about-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--secondary-color);
}

/* İletişim Sayfası */
.contact-form {
    padding: 30px;
    background-color: #f8f9fa;
    border-radius: 5px;
}

.contact-info {
    padding: 30px;
}

.contact-info i {
    color: var(--primary-color);
    font-size: 24px;
    margin-right: 15px;
}

.map-container {
    height: 400px;
    margin-top: 30px;
    border-radius: 5px;
    overflow: hidden;
}

/* Kullanıcı Profili */
.profile-sidebar {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 5px;
}

.profile-menu .list-group-item {
    border: none;
    border-radius: 0;
    padding: 10px 15px;
}

.profile-menu .list-group-item.active {
    background-color: var(--primary-color);
    color: white;
}

.profile-info h4 {
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.pagination li {
    margin: 0 5px;
    list-style: none;
}

.pagination li a {
    display: block;
    padding: 8px 15px;
    border: 1px solid #ddd;
    color: var(--secondary-color);
    border-radius: 3px;
}

.pagination li.active a {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Kategoriler Bölümü Modern Tasarım */
.categories-section {
    padding: 40px 0;
    background-color: #fff;
}

.section-title {
    text-align: left;
    margin-bottom: 25px;
    position: relative;
}

.section-title h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.section-title p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

/* Modern Kategori Kartları */
.category-card {
    text-align: center;
    margin-bottom: 20px;
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    margin-bottom: 10px;
}

.category-name {
    color: #333;
    font-size: 16px;
    margin-top: 10px;
    display: block;
}

.category-card a {
    text-decoration: none;
    color: #333;
}

.category-description {
    font-size: 0.85rem;
    margin-top: 5px;
    opacity: 0.9;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Kategori İkonları */
.category-icon {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(113, 70, 132, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.category-card:hover .category-icon {
    transform: rotate(360deg);
    background: var(--primary-color);
}

/* Kategori Grid Düzeni */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 0 15px;
}

/* Öne Çıkan Menüler Modern Tasarım */
.featured-menu-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.featured-menu-header {
    text-align: center;
    margin-bottom: 30px;
}

.featured-menu-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
}

.featured-menu-header p {
    color: #666;
    font-size: 1rem;
}

.featured-menu-slider {
    position: relative;
    padding: 0 15px;
}

.featured-menu-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin: 10px;
    display: flex;
    align-items: stretch;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.featured-menu-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.featured-menu-image {
    width: 45%;
    position: relative;
    overflow: hidden;
}

.featured-menu-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.featured-menu-info {
    width: 55%;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.featured-menu-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 10px;
    line-height: 1.3;
}

.featured-menu-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--price-color) !important;
    margin-bottom: 15px;
}

.featured-menu-price .old-price {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: normal;
}

.featured-menu-order {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 100%;
    justify-content: center;
}

.featured-menu-order:hover {
    background: #5d3a6d;
    transform: translateY(-2px);
}

.featured-menu-order i {
    font-size: 1rem;
}

/* Slider Kontrolleri */
.featured-menu-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(113, 70, 132, 0.3);
}

.featured-menu-nav:hover {
    background: #5d3a6d;
    transform: translateY(-50%) scale(1.1);
}

.featured-menu-prev {
    left: -5px;
}

.featured-menu-next {
    right: -5px;
}

/* Responsive Düzenlemeler */
@media (max-width: 992px) {
    .featured-menu-image {
        width: 40%;
    }

    .featured-menu-info {
        width: 60%;
        padding: 15px;
    }

    .featured-menu-title {
        font-size: 1.1rem;
    }

    .featured-menu-price {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .featured-menu-section {
        padding: 30px 0;
    }

    .featured-menu-header h2 {
        font-size: 1.5rem;
    }

    .featured-menu-item {
        flex-direction: column;
    }

    .featured-menu-image,
    .featured-menu-info {
        width: 100%;
    }

    .featured-menu-image {
        height: 200px;
    }

    .featured-menu-info {
        text-align: center;
    }
}

@media (max-width: 576px) {
    .featured-menu-header h2 {
        font-size: 1.3rem;
    }

    .featured-menu-image {
        height: 180px;
    }

    .featured-menu-info {
        padding: 12px;
    }

    .featured-menu-title {
        font-size: 1rem;
    }

    .featured-menu-price {
        font-size: 1.1rem;
    }

    .featured-menu-order {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Modern İletişim Bilgileri Bölümü */
.contact-info-section {
    background-color: #f8f9fa;
    padding: 40px 0;
}

.info-box {
    position: relative;
    background: #fff;
    border-radius: 6px;
    padding: 25px 20px;
    height: 100%;
    transition: all 0.3s ease;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(113, 70, 132, 0.08);
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    opacity: 0;
    transition: all 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(113, 70, 132, 0.15);
}

.info-box:hover::before {
    opacity: 1;
}

.info-box i {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    display: inline-block;
}

.info-box:hover i {
    transform: scale(1.1);
}

.info-box h5 {
    color: var(--dark-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.info-box p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.info-box .small {
    font-size: 0.85rem;
}

/* İletişim Grid Düzeni */
.contact-info-section .row {
    margin: 0 -10px;
}

.contact-info-section .col-md-3 {
    padding: 0 10px;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .contact-info-section {
        padding: 30px 0;
    }

    .info-box {
        padding: 20px 15px;
        margin-bottom: 20px;
    }

    .info-box i {
        font-size: 1.8rem;
        margin-bottom: 12px;
    }

    .info-box h5 {
        font-size: 1rem;
        margin-bottom: 8px;
    }

    .info-box p {
        font-size: 0.85rem;
    }

    .info-box .small {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .contact-info-section .col-6 {
        padding: 0 8px;
    }

    .contact-info-section .row {
        margin: 0 -8px;
    }

    .info-box {
        padding: 15px 12px;
    }

    .info-box i {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
}

/* CTA Bölümü */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), #c0392b);
    padding: 80px 0;
    color: white;
    position: relative;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern.svg');
    background-repeat: repeat;
    opacity: 0.2;
}

.cta-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-section .btn {
    font-weight: 600;
    padding: 12px 25px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Modern scroll bar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #5d3a6d;
}

/* Öne Çıkan Ürünler Modern Tasarım */
.featured-products {
    padding: 30px 0;
    background: #fff;
}

.featured-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding: 0 15px;
}

.featured-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark-color);
    margin: 0;
}

.featured-products .product-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    border: 1px solid #eee;
    height: 100%;
}

.featured-products .product-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.featured-products .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-products .product-card:hover .product-image img {
    transform: scale(1.05);
}

.featured-products .product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.featured-products .product-info {
    padding: 15px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.featured-products .product-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-products .product-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    margin-bottom: 8px;
}

.featured-products .product-description {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.featured-products .product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.featured-products .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--price-color) !important;
}

.featured-products .product-price .old-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: normal;
}

.featured-products .add-to-cart {
    background: var(--primary-color);
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.featured-products .add-to-cart:hover {
    background: #5d3a6d;
    transform: translateY(-2px);
}

.featured-products .add-to-cart i {
    font-size: 1rem;
}

/* Ürün Grid Düzeni */
.featured-products .row {
    margin: 0 -10px;
}

.featured-products .col-lg-3,
.featured-products .col-md-4,
.featured-products .col-6 {
    padding: 0 10px;
}

/* Responsive Düzenlemeler */
@media (max-width: 768px) {
    .featured-products {
        padding: 20px 0;
    }

    .featured-header {
        padding: 0 10px;
        margin-bottom: 15px;
    }

    .featured-title {
        font-size: 1.2rem;
    }

    .featured-products .product-image {
        height: 180px;
    }

    .featured-products .product-info {
        padding: 12px;
    }

    .featured-products .product-title {
        font-size: 0.95rem;
    }

    .featured-products .product-description {
        font-size: 0.85rem;
        margin-bottom: 12px;
    }

    .featured-products .product-price {
        font-size: 1rem;
    }

    .featured-products .add-to-cart {
        padding: 6px 12px;
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .featured-products .product-image {
        height: 160px;
    }

    .featured-products .product-info {
        padding: 10px;
    }

    .featured-products .product-bottom {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .featured-products .product-price {
        text-align: center;
    }

    .featured-products .add-to-cart {
        justify-content: center;
    }
}

/* İkon Renkleri - Genel */
.fas, .far, .fab, .fa {
    color: #fff;
}

/* Buton İkonları için Özel Stil */
.btn .fas,
.btn .far,
.btn .fab,
.btn .fa {
    color: inherit;
}

/* Quantity Control Butonları için Özel Stil */
.quantity-control .btn .fas,
.quantity-control .btn .far,
.quantity-control .btn .fab,
.quantity-control .btn .fa {
    color: currentColor;
}

/* Background'lı İkonlar için Beyaz Renk */
.featured-menu-order .fas,
.featured-menu-order .far,
.featured-menu-order .fab,
.featured-menu-order .fa,
.category-icon .fas,
.category-icon .far,
.category-icon .fab,
.category-icon .fa,
.mobile-menu-header .fas,
.mobile-menu-header .far,
.mobile-menu-header .fab,
.mobile-menu-header .fa,
.mobile-nav-list li a.active .fas,
.mobile-nav-list li a.active .far,
.mobile-nav-list li a.active .fab,
.mobile-nav-list li a.active .fa,
.social-icons a .fas,
.social-icons a .far,
.social-icons a .fab,
.social-icons a .fa {
    color: #fff !important;
}

/* Hover Durumunda da Beyaz Kalması İçin */
.btn-primary:hover .fas,
.btn-primary:hover .far,
.btn-primary:hover .fab,
.btn-primary:hover .fa,
.btn-outline-primary:hover .fas,
.btn-outline-primary:hover .far,
.btn-outline-primary:hover .fab,
.btn-outline-primary:hover .fa {
    color: #fff;
}

/* Fiyat Renkleri */
.text-primary,
.price-text,
.product-price,
.featured-menu-price,
.cart-price,
.total-price {
    color: #714684 !important;
}

/* Badge Stilleri */
.badge.bg-primary {
    background-color: #714684 !important;
}

/* Aktif Link ve Navigasyon */
.nav-link.active,
.nav-pills .nav-link.active {
    background-color: #714684 !important;
    color: #fff !important;
}

/* Seçim ve Odaklanma Renkleri */
::selection {
    background-color: #714684;
    color: #fff;
}

:focus-visible {
    outline-color: #714684;
}

/* Form Elementleri */
.form-check-input:checked {
    background-color: #714684 !important;
    border-color: #714684 !important;
}

.form-control:focus,
.form-select:focus {
    border-color: #714684;
    box-shadow: 0 0 0 0.25rem rgba(113, 70, 132, 0.25);
}

/* Progress Bar */
.progress-bar {
    background-color: #714684;
}

/* Pagination */
.page-item.active .page-link {
    background-color: #714684 !important;
    border-color: #714684 !important;
}

.page-link {
    color: #714684;
}

/* Carousel Kontrolleri */
.carousel-indicators .active {
    background-color: #714684;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(48%) sepia(13%) saturate(3207%) hue-rotate(130deg) brightness(95%) contrast(80%);
}

/* Özel Elementler */
.section-title::after {
    background: #714684 !important;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    .btn-primary,
    .btn-outline-primary {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Ürün Detay Sayfası - Ekstra Seçenekler */
.extra-category {
    margin-bottom: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.extra-category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 1px solid #e0e0e0;
}

.extra-category-title:hover {
    background: #e9ecef;
}

.category-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.required-mark {
    color: #dc3545;
    margin-left: 4px;
}

.extra-category-title i {
    color: #714684;
    transition: transform 0.3s ease;
}

.extra-category.active .extra-category-title i {
    transform: rotate(180deg);
}

.extras-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: #fff;
}

.extra-category.active .extras-dropdown {
    max-height: 500px;
    transition: max-height 0.3s ease-in;
}

.extra-item {
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

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

.extra-item:hover {
    background-color: #f8f9fa;
}

.extra-option {
    display: flex;
    align-items: center;
    margin: 0;
    cursor: pointer;
}

.extra-option input[type="checkbox"],
.extra-option input[type="radio"] {
    margin-right: 10px;
}

.extra-name {
    flex-grow: 1;
    font-size: 14px;
    color: #333;
}

.extra-price {
    color: #714684;
    font-weight: 600;
    margin-left: 10px;
}

.extra-description {
    display: block;
    font-size: 12px;
    color: #666;
    margin-top: 4px;
    margin-left: 25px;
}

/* Ürün Detay Sayfası - Ekstra Seçenekler */
.extras-container .dropdown .btn {
    background: #fff;
    border: 1px solid #e0e0e0;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 15px;
    text-align: left;
}

.extras-container .dropdown .btn:hover,
.extras-container .dropdown .btn:focus {
    background: #f8f9fa;
    border-color: #714684;
}

.extras-container .dropdown-menu {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-top: 5px;
    padding: 8px 0;
}

.extras-container .dropdown-item {
    padding: 8px 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
}

.extras-container .dropdown-item:hover {
    background: #f8f9fa;
}

.extras-container .dropdown-item input[type="checkbox"],
.extras-container .dropdown-item input[type="radio"] {
    margin: 0;
}

.extras-container .text-primary {
    color: #714684 !important;
}

.extras-container small.text-muted {
    font-size: 12px;
    color: #6c757d;
}

/* Select2 Özel Stiller */
.select2-container--custom {
    margin-bottom: 1rem;
}

.select2-container--custom .select2-selection {
    height: auto;
    padding: 8px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    background-color: #fff;
    transition: all 0.3s ease;
}

.select2-container--custom .select2-selection:hover {
    border-color: #714684;
}

.select2-container--custom .select2-selection--single {
    height: auto;
    min-height: 45px;
}

.category-link {
    display: block;
    text-decoration: none;
    margin-bottom: 20px;
}

.category-wrapper {
    position: relative;
}

.category-wrapper img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
}

.category-title-bar {
    background-color: var(--primary-color);
    padding: 12px;
    text-align: center;
    border-radius: 0 0 8px 8px;
}

.category-text {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    display: block;
}

.select2-container--custom .select2-selection--multiple {
    min-height: 45px;
}

.select2-container--custom .select2-selection__rendered {
    color: #333;
    line-height: 28px;
    padding-left: 0;
}

.select2-container--custom .select2-selection__choice {
    background-color: #714684;
    border: none;
    color: #fff;
    border-radius: 4px;
    padding: 4px 8px;
    margin: 4px;
}

.select2-container--custom .select2-selection__choice__remove {
    color: #fff;
    margin-right: 5px;
}

.select2-container--custom .select2-selection__arrow {
    height: 45px;
}

.select2-container--custom .select2-dropdown {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    margin-top: 4px;
}

.select2-container--custom .select2-results__option {
    padding: 10px 15px;
    transition: all 0.2s ease;
}

.select2-container--custom .select2-results__option:hover {
    background-color: #f8f9fa;
}

.select2-container--custom .select2-results__option[aria-selected=true] {
    background-color: #714684;
    color: #fff;
}

.select2-container--custom .select2-search__field {
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 6px 10px;
}

.select2-container--custom .select2-search__field:focus {
    border-color: #714684;
    outline: none;
}

.select2-option {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.option-name {
    font-weight: 500;
}

.option-price {
    color: #714684;
    font-weight: 600;
    margin-left: 8px;
}

.option-description {
    display: block;
    color: #666;
    font-size: 12px;
    margin-top: 2px;
}

/* Ürün Ekstra Seçenekleri Stilleri */
.extras-container {
    margin: 20px 0;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.extra-category {
    border-bottom: 1px solid #e0e0e0;
}

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

.extra-header {
    padding: 15px;
    background-color: #fff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s;
}

.extra-header:hover {
    background-color: #f9f9f9;
}

.extra-title {
    font-weight: 600;
    color: #333;
}

.required-mark {
    color: #714684;
    margin-left: 5px;
}

.extra-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background-color: #f9f9f9;
}

.extra-category.active .extra-content {
    max-height: 500px;
}

.extra-item {
    border-top: 1px solid #e0e0e0;
}

.extra-label {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.extra-label:hover {
    background-color: #f0f0f0;
}

.extra-label input[type="checkbox"],
.extra-label input[type="radio"] {
    margin-right: 12px;
    cursor: pointer;
}

.extra-info {
    flex: 1;
    margin-right: 15px;
}

.extra-name {
    display: block;
    font-weight: 500;
    color: #333;
}

.extra-desc {
    display: block;
    font-size: 0.9em;
    color: #666;
    margin-top: 2px;
}

.extra-price {
    font-weight: 600;
    color: #714684;
    white-space: nowrap;
}

/* Adet Seçimi ve Sepete Ekle Buton Stilleri */
.add-to-cart-container {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    background: #f5f5f5;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.quantity-btn:hover {
    background: #e0e0e0;
}

.quantity-input {
    width: 50px;
    text-align: center;
    border: none;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    padding: 8px 0;
}

.add-to-cart-btn {
    flex: 1;
    background: #714684;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background-color 0.2s;
}

.add-to-cart-btn:hover {
    background: #5d3a6d;
}

.add-to-cart-btn i {
    font-size: 1.1em;
} 