/* ============================================
   QR Menü - Özel Stil Dosyası (new.css)
   ============================================ */

/* --- Navbar / Header --- */
.navbar .container-fluid {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    position: relative !important;
}
.navbar #sidebarleftbutton.btn {
    position: static !important;
    z-index: 2;
    flex-shrink: 0;
}
.navbar .logo {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    text-align: center !important;
    pointer-events: none;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: auto !important;
    font-weight: 700;
    font-size: 17px;
}
.navbar .logo a {
    pointer-events: auto;
    color: #000 !important;
    font-size: 17px;
    font-weight: 700;
    display: inline !important;
    gap: 0;
}
.navbar .search-btn {
    position: static !important;
    z-index: 2;
    flex-shrink: 0;
    background: none;
    border: none;
    color: #000;
    font-size: 16px;
    cursor: pointer;
    padding: 6px 10px;
    opacity: 0.8;
    transition: opacity 0.2s;
}
.navbar .search-btn:hover {
    opacity: 1;
}
.section-home .heading-section .sa-title.popcat {
    font-weight: 600;
    font-size: 13px;
}
.you-might-like .yml-box .yml-img img {
    height: 100px;
    border-radius: 10px;
    object-fit: cover;
}
.you-might-like .yml-box .yml-food-text {
    font-size: 12px;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 90px;
    padding: 7px 0;
    text-align: center;
}

/* --- Kategori Kartları --- */
.home-box-category {
    border-radius: 12px !important;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.home-box-category:hover,
.home-box-category:active {
    transform: scale(1.03);
    box-shadow: 0 4px 20px rgba(0,0,0,0.14);
}
.home-box-category .home-image-category img {
    transition: transform 0.3s ease;
}
.home-box-category:hover .home-image-category img {
    transform: scale(1.08);
}
.home-text-category .bc-text {
    font-weight: 600;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

/* --- Banner / Logo Bölümü --- */
.section-home.home-banner img {
    width: 100%;
    object-fit: contain !important;
    height: 88px !important;
    border-radius: 8px;
}
.section-home.home-slider-banner {
    padding: 0;
    margin-top: 10px;
}
.section-home.home-slider-banner img {
    width: 100% !important;
    height: auto !important;
    object-fit: cover !important;
    border-radius: 0;
    display: block;
}

/* --- Ürün Listesi Kartları --- */
.lrc-item {
    border-radius: 12px !important;
    overflow: hidden;
    margin: 10px 12px !important;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    transition: box-shadow 0.2s ease;
    background-color: #ffffff !important;
    border: 1px solid #e8e8e8;
}
.lrc-item:hover {
    box-shadow: 0 3px 16px rgba(0,0,0,0.10);
}
.lrc-content {
    border-radius: 12px !important;
}
.lrc-desc .lrc-title {
    font-weight: 600;
    font-size: 13px;
}
.lrc-desc .lrc-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.4;
    max-height: 2.8em;
}
.lrc-desc .lrc-text span {
    color: #f5a311;
    font-weight: 600;
    background: rgba(245, 163, 17, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
}
.lrc-button {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
}
.lrc-button .lrcb-left {
    font-weight: 600 !important;
    font-size: 13px !important;
    width: auto !important;
    float: none !important;
}
.lrc-button .lrcb-right {
    float: none !important;
    width: auto !important;
    margin-left: auto;
}
.lrc-button .lrcb-left b {
    color: #333333;
    font-weight: 600;
    font-size: 13px;
}

/* --- Ürün Detay Sayfası --- */
.recipe-description {
    border-radius: 0 0 12px 12px;
}
#likelike {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    width: 100%;
}
#likelike .btn {
    flex: 1;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    margin-left: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 15px;
}
#likelike .btn:hover {
    transform: none;
}
#likes {
    border: 1.5px solid #f5a311 !important;
    color: #f5a311 !important;
}
#likes:hover {
    background-color: rgba(245, 163, 17, 0.08) !important;
}
#dislike {
    border: 1.5px solid #c0392b !important;
    color: #c0392b !important;
}
#dislike:hover {
    background-color: rgba(192, 57, 43, 0.08) !important;
}
#check p {
    color: #333333;
    font-weight: 500;
}

/* --- İletişim Formu --- */
.add-new-comment .input {
    border-radius: 8px !important;
    border: 1px solid #ddd !important;
    padding: 10px 14px !important;
    font-size: 13px;
    transition: border-color 0.2s ease;
}
.add-new-comment .input:focus {
    border-color: #f5a311 !important;
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 163, 17, 0.1);
}
.add-new-comment .send-msg,
.theme-button.send-msg {
    background-color: #f5a311 !important;
    border-radius: 8px !important;
    font-weight: 600;
    padding: 10px 28px !important;
    transition: background-color 0.2s ease;
    color: #fff !important;
}
.add-new-comment .send-msg:hover,
.theme-button.send-msg:hover {
    background-color: #d48a0f !important;
}

/* --- Sidebar --- */
#sidebarleft {
    background-color: #333333;
}
#sidebarleft .sidebar-header {
    background-color: #222222;
}
.sidebar-header h2,
.sidebar-header h3 {
    font-weight: 600;
}
.sdprofile .sdp-right .sd-name {
    color: #fff;
}
.zr-social li a {
    font-size: 11px;
}

/* --- Floating Butonlar --- */
.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 16px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: flex-end;
}
.fab-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(0,0,0,0.20);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: none;
    cursor: pointer;
}
.fab-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    color: #fff;
    text-decoration: none;
}
.fab-whatsapp {
    background: #25d366;
}
.fab-home {
    background: #333333;
    font-size: 18px;
}

/* --- Arama --- */
.search-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    justify-content: center;
    padding-top: 60px;
}
.search-overlay.active {
    display: flex;
}
.search-box {
    width: 90%;
    max-width: 500px;
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: slideDown 0.25s ease;
}
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.search-input-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 2px solid #eee;
    padding-bottom: 14px;
    margin-bottom: 14px;
}
.search-input-wrap input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    padding: 6px 0;
}
.search-input-wrap .search-icon {
    color: #888;
    font-size: 18px;
}
.search-input-wrap .close-search {
    background: none;
    border: none;
    font-size: 20px;
    color: #888;
    cursor: pointer;
    padding: 4px 8px;
}
.search-results {
    list-style: none;
    margin: 0;
    padding: 0;
}
.search-results li {
    border-bottom: 1px solid #f0f0f0;
}
.search-results li:last-child {
    border-bottom: none;
}
.search-results li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 4px;
    text-decoration: none;
    color: #333;
    transition: background 0.15s;
    border-radius: 8px;
}
.search-results li a:hover {
    background: #f7f7f7;
}
.search-results li img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}
.search-results .sr-info {
    flex: 1;
}
.search-results .sr-name {
    font-weight: 600;
    font-size: 13px;
}
.search-results .sr-price {
    font-size: 12px;
    color: #f5a311;
    font-weight: 700;
}
.search-no-result {
    text-align: center;
    color: #999;
    padding: 20px 0;
    font-size: 13px;
}

/* --- Footer --- */
.footer {
    height: auto !important;
    padding: 15px 20px !important;
}
.footer-heading small {
    opacity: 0.85;
}

/* --- WhatsApp Gizle --- */
.floating-buttons {
    display: none !important;
}

/* --- Responsive --- */
@media screen and (max-width: 640px) {
    .you-might-like .yml-box .yml-img img {
        height: 79px;
    }
    .floating-buttons {
        bottom: 16px;
        right: 12px;
    }
    .fab-btn {
        width: 46px;
        height: 46px;
        font-size: 18px;
    }
}
