/* ====================================================================
   TOSTKAFASI - FRONTEND STYLESHEET
   Designed for responsive landing, navigation, product list & cart panel
   ==================================================================== */

/* -----------------------------
   GENERAL
----------------------------- */
:root {
    color-scheme: light !important;;
}
html, body {
    background-color: #fafafa !important;
    color-scheme: light !important;
    forced-color-adjust: none !important;
    font-family: 'Inter', Arial, sans-serif;
    color: #222;
}

/* -----------------------------
   NAVBAR
----------------------------- */

.navbar-brand img {
    height: 40px;
}

/* Desktop kategori menüsü */
.desktop-categories .nav-link {
    padding: 8px 12px;
    font-size: 15px;
    color: #444;
}
.desktop-categories .nav-link:hover {
    color: #FF7A00;
}

/* -----------------------------
   MOBILE CATEGORY BAR
----------------------------- */
.mobile-category-scroll {
    overflow-x: auto;
    white-space: nowrap;
    padding: 8px 10px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.mobile-category-scroll a.active {
    background: #FF7A00;
    color: white;
}

/* -----------------------------
   RESPONSIVE CONTROL
----------------------------- */
@media (max-width: 768px) {
    .desktop-categories {
        display: none !important;
    }
}
@media (min-width: 991px) {
    .mobile-category-scroll {
        display: none !important;
    }
}

/* -----------------------------
   PRODUCT LIST CARDS (placeholder)
   - Product cards burada tamamlanacak.
----------------------------- */
.product-card {
    border: 1px solid #eee;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all .15s ease;
}
.product-card:hover {
    box-shadow: 0 4px 22px rgba(0,0,0,0.06);
}

/* Sol mini resim için */
.product-thumb {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

/* -----------------------------
   CART PANEL (placeholder)
----------------------------- */
.cart-panel {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    border: 1px solid #eee;
    position: sticky;
    top: 20px;
}

/* Konum / Adres Butonları */
.address-btn,
.location-btn {
    width: 100%;
    padding: 12px;
    border-radius: 10px;
    font-weight: 600;
    margin-bottom: 12px;
}

/* -----------------------------
   UTILITIES
----------------------------- */

.badge-cart {
    font-size: 12px;
    padding: 3px 6px;
}
.product-row {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 12px;
    border-radius: 12px;
    border: 1px solid #eee;
    margin-bottom: 12px;
    transition: .15s ease;
}
.product-row:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.product-left img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
}

.product-info {
    margin-left: 14px;
    flex: 1;
}

.product-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
}

.product-desc {
    font-size: 13px;
    color: #666;
    margin-top: 2px;
    max-height: 36px;          /* 2 satır sınırı */
    overflow: hidden;
}

.product-price {
    margin-top: 4px;
    font-weight: 800;
    font-size: 17px;
    color: #FF7A00;
}

.add-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: none;
    background: #FF7A00;
    color: white;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.add-btn:active {
    transform: scale(.92);
}

/* Mesai dışı */
.add-btn.disabled {
    background: #ccc;
    cursor: not-allowed;
}
/* ======================================================
   PREMIUM PRODUCT CARD
   ====================================================== */

.premium-card {
    display: flex;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    padding: 12px;
    gap: 14px;
    transition: .2s ease;
    position: relative;
}

.premium-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}

/* Üstte kare ürün fotoğrafı */
/* =======================
   PREMIUM HORIZONTAL CARD
   ======================= */

.premium-card {
    display: flex;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #eee;
    padding: 12px;
    gap: 14px;
    transition: .2s ease;
    position: relative;
}

.premium-card:hover {
    box-shadow: 0 4px 18px rgba(0,0,0,0.07);
}

/* Ürün fotoğrafı */
.premium-card-img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Sağ içerik */
.premium-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Ürün adı */
.premium-card-title {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
    color: #222;
}

/* Açıklama */
.premium-card-desc {
    font-size: 13px;
    color: #555;
    margin-top: 4px;
    line-height: 1.25;
    max-height: 38px;            /* 2 satır */
    overflow: hidden;
}

/* Fiyat + buton */
.premium-card-bottom {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.premium-price {
    color: #FF7A00;
    font-size: 20px;
    font-weight: 800;
}

/* + Butonu */
.premium-add-btn {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #FF7A00;
    border: none;
    color: white;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.premium-add-btn:active {
    transform: scale(.92);
}


/* Mesai dışı overlay */
.premium-closed {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 28px;
}
.location-card,
.cart-summary-card {
    background: #fff;
    border-radius: 14px;
    padding: 18px;
    border: 1px solid #eee;
    margin-bottom: 18px;
}

.location-card h5,
.cart-summary-card h5 {
    font-weight: 700;
}
/* Disabled checkout butonu - kesin hover çözümü */
#side-checkout-btn:disabled {
    background-color: #ccc !important;
    border-color: #ccc !important;
    color: #666 !important;
    cursor: not-allowed !important;
    pointer-events: auto !important; /* <-- kritik */
}

/* Hover ikonu - disabled buton */
#side-checkout-btn:disabled:hover {
    cursor: not-allowed !important;
}
#productModal .modal-content {
    border-radius:14px;
    padding-bottom:0;
}

#productModal .option-item:hover {
    background:#f8f8f8;
}

#productModal .option-item input {
    transform: scale(1.2);
}
#productModal .modal-content {
    border-radius: 16px;
}

#productModal .accordion-button {
    background: #f8f8f8;
}

#productModal .option-item:hover,
#productModal .remove-ingredient-item:hover {
    background:#f8f8f8;
}
.remove-chip {
    padding: 1px 5px;
    background: #f2f2f2;
    /* border-radius: 12px; */
    font-size: 14px;
    cursor: pointer;
    border: 1px solid #ddd;
    transition: 0.2s;
    user-select: none;
}

.remove-chip:hover {
    background: #e6e6e6;
}

.remove-chip.selected {
    background: #ffe6e6;
    border-color: #ff4d4d;
    color: #d40000;
    text-decoration: line-through;
}
.badge {
    font-size: 11px;
    padding: 3px 6px;
    letter-spacing: 0.2px;
}
.bg-danger-subtle {
    background: #ffe5e5;
}
.bg-secondary-subtle {
    background: #f2f2f2;
}
.spa-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: 55px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    border-bottom: 1px solid #eee;
}

.spa-btn {
    background: #f8f8f8;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 18px;
}

.spa-btn i {
    font-size: 18px;
}
.spa-content {
    padding-bottom: 90px !important; /* bottom nav yüksekliği + boşluk */
}



