/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Badge renkleri */
.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    z-index: 10;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-badge.one-cikan { background: linear-gradient(135deg,#C1272D,#A02025); }
.popular-badge.populer { background: linear-gradient(135deg,#3182CE,#2C5282); }
.popular-badge.firsat { background: linear-gradient(135deg,#DD6B20,#C05621); }
.popular-badge.yeni { background: linear-gradient(135deg,#38A169,#2F855A); }
.popular-badge.cok-satan { background: linear-gradient(135deg,#805AD5,#6B46C1); }
.popular-badge.ozel { background: linear-gradient(135deg,#D69E2E,#B7791F); }
.popular-badge.trend { background: linear-gradient(135deg,#E53E3E,#C53030); }

/* Featured action button */
.featured-action {
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.9);
    color: #C1272D;
    border: none;
    padding: 8px 15px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}
.featured-action:hover {
    background: white;
    transform: translateX(5px);
}

/* Logo Stilleri */
.logo-container { display: flex; align-items: center; }
.logo-link { display: flex; align-items: center; text-decoration: none; color: inherit; gap: 12px; }
.site-logo { width: 40px; height: 40px; object-fit: contain; border-radius: 8px; transition: transform 0.3s ease; }
.site-logo:hover { transform: scale(1.05); }
.logo-text { font-size: 20px; font-weight: 700; color: #C1272D; letter-spacing: 0.5px; }

/* Mobil logo ayarları */
@media (max-width: 768px) {
    .site-logo { width: 75px; height: 35px; }
    .logo-text { font-size: 18px; }
}
@media (max-width: 480px) {
    .logo-text { font-size: 16px; }
    .logo-link { gap: 8px; }
}

html { scroll-behavior: smooth; }
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #d8d8d8;
    overflow-x: hidden;
}

/* FEATURED SLIDER */
.featured-section {
        margin-top: 10px;
    padding-left: 38px;
    padding-right: 35px;
}
.featured-slider {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
}
.featured-image { width: 100%; height: 300px; object-fit: cover; 
    border-bottom-left-radius: 12px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: white;
    padding: 30px 20px 20px;
}
.featured-title { font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.featured-desc {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.featured-price { font-size: 20px; font-weight: 700; color: #FFD700; }

/* CATEGORIES SECTION */
.categories-section {
    padding: 5px;
    max-width: 1200px;
    margin: 0 auto;
}
.category-block { margin-bottom: 0px; }
.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 4px;
    border-bottom: 2px solid #993434;
	box-shadow: 0px 7px 11px 0px rgb(151 151 151);
}
.category-title { font-size: 20px; font-weight: 700; color: #333; }
.category-count {
    font-size: 14px;
    color: #666;
    background: #f5f5f5;
    padding: 4px 10px;
    border-radius: 12px;
}

/* PRODUCTS SLIDER - Mobil öncelikli */
.products-slider {
    padding-bottom: 29px;
    padding-top: 30px;
    /* margin: -5px; */
    margin-right: -5px;
    margin-left: -5px;
}

.products-slider .swiper-slide {
    width: 65vw; /* Mobilde slide genişliği */
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.products-slider .swiper-slide-active .product-card {
    transform: scale(1.15);
    box-shadow: 0px 2px 4px 0px rgb(147 147 147);
    opacity: 1;
}

.products-slider .swiper-slide:not(.swiper-slide-active) .product-card {
    transform: scale(0.9);
    opacity: 0.8;
}

.product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.product-image {
    width: 100%;
    height: 240px;   /* Mobil için yüksek */
    object-fit: cover;
    display: block;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.favorite-btn {
    position: absolute;
    top: 241px;
    right: 49px;
    width: 36px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    color: #ef0303;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.68,-0.55,0.265,1.55);
    z-index: 10;
}

.favorite-btn:hover {
    transform: scale(1.1) rotate(5deg);
	
}

.favorite-btn.favorited {
    animation: heartBeat 0.5s ease;
	color: #6f0000
}

.add-to-adisyon {
    margin: 12px;
    padding: 12px;
    border-radius: 10px;
    border: none;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.add-to-adisyon i {
    font-size: 12px;
}

.swiper-slide-active .add-to-adisyon {
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.add-to-adisyon:active {
    transform: scale(0.96);
}

.add-to-adisyon:hover {
    box-shadow: 0 6px 18px rgba(0,0,0,.2);
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(0.95); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

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

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #C1272D;
    margin-top: auto;
    transition: color 0.3s ease;
}

/* FOOTER */
.minimal-footer { background: #1a1a1a; color: white; padding: 30px 20px; text-align: center; margin-top: 40px; }
.footer-content { max-width: 1200px; margin: 0 auto; }
.footer-address { font-size: 14px; opacity: 0.8; margin-bottom: 15px; line-height: 1.6; }
.footer-address span { color: #C1272D; }
.copyright { font-size: 14px; opacity: 0.6; }

/* RESPONSIVE */
@media (max-width: 768px) {
    .product-slide { width: 45vw !important; }
    .product-image { height: 200px; width: 100%; }
    .product-name { font-size: 14px; min-height: 36px; }
    .product-price { font-size: 16px; }
}
@media (max-width: 480px) {
    .product-slide { width: 70vw !important; }
    .product-image { height: 180px; width: 100%; }
    .product-name { font-size: 14px; min-height: 32px; }
    .product-price { font-size: 15px; }
}

/* Animasyonlar */
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
body:not(.loaded) * { opacity: 0; transform: translateY(20px); }
body.loaded * { opacity: 1; transform: translateY(0); transition: opacity 0.5s ease, transform 0.5s ease; }

/* =======================
   PRODUCT POPUP
   ======================= */
.product-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.popup-content {
    background: white;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.3s ease;
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-gallery {
    height: 400px;
    border-radius: 16px 16px 0 0;
    overflow: hidden;
}

.popup-gallery .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-details {
    padding: 25px;
}

.popup-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.popup-price {
    font-size: 24px;
    font-weight: 700;
    color: #C1272D;
    margin-bottom: 20px;
}

.popup-description {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
}

.popup-actions {
    display: flex;
    gap: 15px;
}

.popup-action-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.popup-action-btn:first-child {
    background: #f0f0f0;
    color: #333;
}

.popup-action-btn:first-child:hover {
    background: #e0e0e0;
}

.whatsapp-btn {
    background: #25D366;
    color: white;
}

.whatsapp-btn:hover {
    background: #1da851;
}

/* =======================
   POPUP ANIMATIONS
   ======================= */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(50px) scale(0.95);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* RESPONSIVE POPUP */
@media (max-width: 768px) {
    .popup-content {
        max-height: 95vh;
    }
    
    .popup-gallery {
        height: 300px;
    }
    
    .popup-actions {
        flex-direction: column;
    }
}

/* Sosyal medya ikonları */
.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: #C1272D;
    color: white;
    transform: translateY(-2px);
}

/* Responsive */
@media (max-width: 480px) {
    .social-icon {
        width: 32px;
        height: 32px;
    }
}

.admin-edit {
    top: 8px;
    right: 8px;
    z-index: 50; /* slider'dan yüksek bir değer */
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #C1272D;
    transition: all 0.3s ease;
    position: absolute;
}

.admin-edit:hover {
    background: #C1272D;
    color: white;
    transform: scale(1.1);
}

/* =======================
   ADISYON SİSTEMİ - MİNİMAL TASARIM
   ======================= */

/* Adisyon Toggle Butonu */
.adisyon-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(135deg, #C1272D, #A02025);
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(193, 39, 45, 0.3);
    transition: all 0.3s ease;
}

.adisyon-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(193, 39, 45, 0.4);
}

.adisyon-toggle .badge {
    background: white;
    color: #C1272D;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Ürün kartında adisyon sayacı (badge) */
.adisyon-badge {
    position: absolute;
    top: 195px;
    right: 18px;
    background: #C1272D;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    z-index: 15;
    box-shadow: 0 2px 5px rgba(193, 39, 45, 0.3);
    animation: badgePulse 1.5s infinite;
}

@keyframes badgePulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Ürün fiyatı ve ekle butonu container */
.product-price-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
}

/* Mevcut fiyat stili korunuyor, sadece margin düzenleniyor */
.product-info .product-price {
    font-size: 18px;
    font-weight: 700;
    color: #C1272D;
    margin: 0;
}

/* Minimal ekle butonu */
.adisyon-add-btn {
    background: #111827;
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    flex-shrink: 0;
}

.adisyon-add-btn:hover {
    background: #C1272D;
    transform: scale(1.1);
}

.adisyon-add-btn.added {
    background: #38A169;
    animation: addSuccess 0.5s ease;
}

@keyframes addSuccess {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Adisyon Panel */
.adisyon-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-left: 4px solid #C1272D;
}

.adisyon-panel.active {
    right: 0;
}

.adisyon-header {
    padding: 20px;
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.adisyon-header h3 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.adisyon-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.adisyon-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.adisyon-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.adisyon-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.adisyon-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.total-label {
    font-size: 16px;
    color: #666;
}

.total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #C1272D;
}

.action-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-danger {
    background: linear-gradient(135deg, #ff4757, #ff2e43);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #747d8c, #636e7b);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 71, 87, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(116, 125, 140, 0.3);
}

/* Adisyon Ürün Listesi - Kompakt */
.adisyon-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.adisyon-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.item-image {
    width: 45px;
    height: 45px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
}

.item-image-placeholder {
    width: 45px;
    height: 45px;
    background: #f5f5f5;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
    color: #ccc;
}

.item-info {
    flex: 1;
    min-width: 0;
}

.item-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.item-price {
    color: #666;
    font-size: 13px;
}

.item-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 12px;
    flex-shrink: 0;
}

.quantity-btn {
    background: #f5f5f5;
    border: none;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quantity-btn:hover {
    background: #e0e0e0;
    transform: scale(1.1);
}

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

.item-total {
    font-weight: 700;
    font-size: 15px;
    min-width: 70px;
    text-align: right;
    color: #C1272D;
    flex-shrink: 0;
}

.remove-btn {
    background: #ffeaea !important;
    color: #ff4757 !important;
    margin-left: 10px;
}

/* Boş Adisyon */
.adisyon-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.adisyon-empty i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.adisyon-empty p {
    margin: 0;
    font-size: 16px;
}

/* Ürün Popup'ta Adisyon Butonu */
.adisyon-popup-btn {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    flex: 1;
}

.adisyon-popup-btn:hover {
    background: linear-gradient(135deg, #C1272D, #A02025);
    transform: translateY(-2px);
}

/* Mevcut ürün kartı düzenlemeleri */
.product-card {
    position: relative;
}

.product-info {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px;
}

/* Responsive */
@media (max-width: 768px) {
    .adisyon-panel {
        width: 100%;
        right: -100%;
    }

    .adisyon-toggle {
        bottom: 70px;
        padding: 12px 18px;
        font-size: 14px;
    }

    .adisyon-badge {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }

    .adisyon-add-btn {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .product-info .product-price {
        font-size: 16px;
    }

    .adisyon-item {
        padding: 10px 12px;
    }

    .item-image,
    .item-image-placeholder {
        width: 40px;
        height: 40px;
    }

    .item-name {
        font-size: 13px;
    }

    .item-total {
        font-size: 14px;
        min-width: 60px;
    }

    .action-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .adisyon-toggle {
        bottom: 20px;
        right: 15px;
        padding: 10px 15px;
        font-size: 13px;
    }

    .adisyon-toggle .badge {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }

    .adisyon-add-btn {
        width: 28px;
        height: 28px;
    }
}

/* Mevcut ürün slider stilleriyle uyumluluk için */
.swiper-slide-active .adisyon-add-btn {
    background: #C1272D;
}

.swiper-slide-active .adisyon-add-btn:hover {
    background: #A02025;
}

/* =======================
   POPUP ADİSYON SAYACI
   ======================= */

.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    gap: 15px;
}

.popup-adisyon-count {
    background: linear-gradient(135deg, #f0f9ff, #e6f7ff);
    border: 2px solid #d1ecff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    color: #0369a1;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(3, 105, 161, 0.1);
}

.popup-adisyon-count strong {
    font-weight: 700;
    font-size: 16px;
    color: #C1272D;
    margin-left: 5px;
}

.popup-adisyon-count i {
    color: #C1272D;
    font-size: 16px;
}

.popup-adisyon-count.active {
    background: linear-gradient(135deg, #dcfce7, #d1fae5);
    border-color: #a7f3d0;
    color: #059669;
    animation: countPulse 0.5s ease;
}

@keyframes countPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.popup-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.popup-action-btn {
    flex: 1;
    padding: 15px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    min-width: 150px;
}

/* Adisyon popup butonu için özel stil */
.adisyon-popup-btn {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    flex: 1;
    position: relative;
}

.adisyon-popup-btn:hover {
    background: linear-gradient(135deg, #C1272D, #A02025);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(193, 39, 45, 0.3);
}

.adisyon-popup-btn .count-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #C1272D;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(193, 39, 45, 0.3);
}

/* Popup fiyat stili */
.popup-price {
    font-size: 24px;
    font-weight: 700;
    color: #C1272D;
    margin-bottom: 20px;
}

.popup-price-container{
    display: flex;
    flex-direction: row;
    align-content: space-around;
    justify-content: space-between;
    align-items: center;	
	
}

/* Responsive popup */
@media (max-width: 768px) {
    .popup-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .popup-adisyon-count {
        align-self: flex-start;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .popup-action-btn {
        min-width: 100%;
    }
    
    .adisyon-popup-btn .count-badge {
        width: 20px;
        height: 20px;
        font-size: 10px;
        top: -6px;
        right: -6px;
    }
}

.adisyon-info-note {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #bae6fd;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    animation: fadeIn 0.5s ease;
}

/* HEADER - Eksik olan stiller eklendi */
.minimal-header {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: black;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left {
    display: flex;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

/* Mobil header padding ayarı */
@media (max-width: 768px) {
    .minimal-header {
        padding: 12px 15px;
    }
    
    .restaurant-logo {
        font-size: 18px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

/* =======================
   FAVORİLER SİSTEMİ
   ======================= */

/* Favoriler Toggle Butonu */
.favorites-toggle {
    position: fixed;
    bottom: 90px;
    right: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.favorites-toggle:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

.favorites-toggle .badge {
    background: white;
    color: #333;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* Favoriler Panel */
.favorites-panel {
    position: fixed;
    top: 0;
    right: -400px;
    width: 380px;
    height: 100%;
    background: white;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-left: 4px solid #FFD700;
}

.favorites-panel.active {
    right: 0;
}

.favorites-header {
    padding: 20px;
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.favorites-header h3 {
    margin: 0;
    font-size: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.favorites-close {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: #333;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.favorites-close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(90deg);
}

.favorites-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: #f8f9fa;
}

.favorites-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: white;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.favorites-empty {
    text-align: center;
    padding: 60px 20px;
    color: #666;
}

.favorites-empty i {
    font-size: 48px;
    color: #ddd;
    margin-bottom: 15px;
}

.favorites-empty p {
    margin: 0;
    font-size: 16px;
}

/* Favori Ürün Kartı */
.favorite-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.favorite-item:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.favorite-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    margin-right: 12px;
    flex-shrink: 0;
}

.favorite-item-info {
    flex: 1;
    min-width: 0;
}

.favorite-item-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.favorite-item-price {
    color: #C1272D;
    font-size: 15px;
    font-weight: 700;
}

.favorite-item-remove {
    background: #ffeaea;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    color: #ff4757;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.favorite-item-remove:hover {
    background: #ff4757;
    color: white;
    transform: scale(1.1);
}

.favorite-item-view {
    background: #111827;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.favorite-item-view:hover {
    background: #C1272D;
    transform: translateY(-2px);
}

/* Favoriler İçin Özel Ürün Kartı */
.favorite-product-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 15px;
}

.favorite-product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.favorite-product-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.favorite-product-info {
    padding: 15px;
}

.favorite-product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 40px;
}

.favorite-product-price {
    font-size: 18px;
    font-weight: 700;
    color: #C1272D;
    margin-bottom: 10px;
}

.favorite-product-actions {
    display: flex;
    gap: 10px;
}

.favorite-product-btn {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.favorite-product-btn.remove {
    background: #ffeaea;
    color: #ff4757;
}

.favorite-product-btn.remove:hover {
    background: #ff4757;
    color: white;
}

.favorite-product-btn.add {
    background: linear-gradient(135deg, #111827, #1f2937);
    color: white;
}

.favorite-product-btn.add:hover {
    background: linear-gradient(135deg, #C1272D, #A02025);
}

/* Responsive Favoriler */
@media (max-width: 768px) {
    .favorites-toggle {
        bottom: 140px;
        padding: 12px 18px;
        font-size: 14px;
    }
    
    .favorites-panel {
        width: 100%;
        right: -100%;
    }
    
    .favorites-toggle .badge {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .favorites-toggle {
        bottom: 58px;
        right: 15px;
        padding: 10px 15px;
        font-size: 13px;
    }
    
    .favorites-toggle .badge {
        width: 20px;
        height: 20px;
        font-size: 11px;
    }
    
    .favorite-item {
        padding: 10px 12px;
    }
    
    .favorite-item-image {
        width: 50px;
        height: 50px;
    }
    
    .favorite-item-name {
        font-size: 13px;
    }
}

/* Grid View for Favorites */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.favorites-grid-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.favorites-grid-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.12);
}

/* Favoriler Açıklama */
.favorites-description {
    font-size: 14px;
    color: #666;
    text-align: center;
    margin-bottom: 20px;
    padding: 0 10px;
}

/* Favoriler Menü */
.favorites-menu {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    padding: 0 20px;
}

.favorites-menu-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #f0f0f0;
    color: #666;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.favorites-menu-btn.active {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #333;
}

.favorites-menu-btn:hover:not(.active) {
    background: #e0e0e0;
}

/* Instagram tarzı çift tıklama animasyonları */
.double-tap-heart {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    animation: heartBeatDoubleTap 1s ease-out forwards;
    filter: drop-shadow(0 0 10px rgba(193, 39, 45, 0.5));
}

@keyframes heartBeatDoubleTap {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    15% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 1;
    }
    30% {
        transform: translate(-50%, -50%) scale(1);
    }
    45% {
        transform: translate(-50%, -50%) scale(1.1);
    }
    60% {
        transform: translate(-50%, -50%) scale(1);
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0;
    }
}

/* Mobil hint */
.double-tap-hint {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    z-index: 100;
    animation: fadeInOut 3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
    20% { opacity: 1; transform: translateX(-50%) translateY(0); }
    80% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(-10px); }
}

/* Ürün resimlerine tıklanabilir görünüm */
.product-image, .featured-image {
    cursor: pointer;
}

.product-image:hover, .featured-image:hover {
    opacity: 0.95;
}

/* =======================
   INTERAKTİF TUR SİSTEMİ
   ======================= */

.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,49%);
    z-index: 999;
    animation: fadeIn 0.3s ease;
}



/* Tur başlatma butonu */
.tour-starter-btn {
    background: none;
    border: none;
    font-size: 18px;
    color: #eee;
    cursor: pointer;
    padding: 8px;
    margin-right: 10px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
}

.tour-starter-btn:hover {
    color: #C1272D;
    transform: scale(1.1);
    background: rgba(255,255,255,0.1);
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeOut {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideOutDown {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}
