/* ============================================
   QR MENU - Desktop Layout
   Masaüstü için özel layout (mobil tasarıma dokunmadan)
   ============================================ */

@media (min-width: 1024px) {
    /* Mobil layout'u gizle */
    .menu-header-red,
    .menu-title-section,
    .search-section,
    .category-tabs-nav-full,
    .category-tabs-nav-sticky,
    .active-category-indicator,
    .menu-content-main {
        display: none !important;
    }
    
    /* Desktop Header - Minimal & Creative */
    .desktop-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background: rgba(var(--background-primary), 0.95);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(var(--divide-color), 0.08);
        padding: 0.75rem 0;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    }
    
    .desktop-header-background {
        display: none;
    }
    
    .desktop-header-container {
        position: relative;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 2rem;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 64px;
    }
    
    .desktop-header-logo-wrapper {
        display: flex;
        align-items: center;
    }
    
    .desktop-header-logo {
        display: flex;
        align-items: center;
        text-decoration: none;
        color: inherit;
        transition: opacity 0.2s ease;
        padding: 0.25rem;
    }
    
    .desktop-header-logo:hover {
        opacity: 0.8;
    }
    
    .desktop-logo-image {
        height: 42px;
        width: auto;
        object-fit: contain;
        transition: transform 0.2s ease;
    }
    
    .desktop-header-logo:hover .desktop-logo-image {
        transform: scale(1.05);
    }
    
    .desktop-logo-text {
        font-size: 1.5rem;
        font-weight: 700;
        color: rgb(var(--color-primary));
    }
    
    .desktop-header-right {
        display: flex;
        align-items: center;
        gap: 1.5rem;
    }
    
    .desktop-header-search {
        position: relative;
        display: flex;
        align-items: center;
        width: 300px;
    }
    
    .desktop-search-icon {
        position: absolute;
        left: 0.75rem;
        width: 1rem;
        height: 1rem;
        stroke-width: 2;
        color: rgba(var(--color-text-primary), 0.5);
        pointer-events: none;
        z-index: 1;
    }
    
    .desktop-header-search-input {
        width: 100%;
        padding: 0.625rem 0.75rem 0.625rem 2.5rem;
        border: 1px solid rgba(var(--divide-color), 0.2);
        border-radius: var(--guru-radius-md);
        font-size: 0.875rem;
        background: rgb(var(--background-primary));
        color: rgb(var(--color-text-primary));
        transition: all 0.2s ease;
    }
    
    .desktop-header-search-input:focus {
        outline: none;
        border-color: rgb(var(--color-primary));
        box-shadow: 0 0 0 3px rgba(var(--color-primary), 0.1);
    }
    
    .desktop-header-search-input::placeholder {
        color: rgba(var(--color-text-primary), 0.5);
    }
    
    .desktop-header-nav {
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }
    
    .desktop-nav-link {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        border-radius: var(--guru-radius-md);
        text-decoration: none;
        color: rgb(var(--color-text-primary));
        font-size: 0.875rem;
        font-weight: 500;
        transition: all 0.2s ease;
        position: relative;
    }
    
    .desktop-nav-link::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%) scaleX(0);
        width: 80%;
        height: 2px;
        background: rgb(var(--color-primary));
        border-radius: 2px;
        transition: transform 0.2s ease;
    }
    
    .desktop-nav-link:hover {
        color: rgb(var(--color-primary));
        background: rgba(var(--color-primary), 0.05);
    }
    
    .desktop-nav-link:hover::after {
        transform: translateX(-50%) scaleX(1);
    }
    
    .desktop-nav-icon-wrapper {
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .desktop-nav-icon {
        width: 1.125rem;
        height: 1.125rem;
        stroke-width: 2;
        transition: all 0.2s ease;
    }
    
    .desktop-nav-link:hover .desktop-nav-icon {
        transform: translateY(-1px);
    }
    
    .desktop-nav-text {
        transition: all 0.2s ease;
    }
    
    /* Desktop Layout */
    .desktop-menu-container {
        display: flex !important;
        max-width: 1400px;
        margin: 0 auto;
        padding: 2rem;
        gap: 2rem;
        min-height: calc(100vh - 100px);
    }
    
    /* Desktop Page Container (for Favorites, Contact, Account pages) */
    .desktop-page-container {
        max-width: 1400px;
        margin: 0 auto;
        padding: 2rem;
        min-height: calc(100vh - 100px);
    }
    
    .desktop-page-content {
        background: rgb(var(--background-primary));
        border-radius: var(--guru-radius-lg);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        min-height: 600px;
    }
    
    /* Desktop Sidebar - Kategoriler */
    .desktop-sidebar {
        width: 280px;
        flex-shrink: 0;
        background: rgb(var(--background-primary));
        border-radius: var(--guru-radius-lg);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        padding: 1.5rem;
        height: fit-content;
        position: sticky;
        top: 2rem;
        max-height: calc(100vh - 4rem);
        overflow-y: auto;
    }
    
    .desktop-sidebar-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(var(--divide-color), 0.1);
    }
    
    .desktop-sidebar-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: rgb(var(--color-text-primary));
        margin: 0;
    }
    
    .desktop-categories-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .desktop-category-item {
        margin-bottom: 0.5rem;
    }
    
    .desktop-category-link {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
        border-radius: var(--guru-radius-md);
        text-decoration: none;
        color: rgb(var(--color-text-primary));
        transition: all 0.2s ease;
        cursor: pointer;
    }
    
    .desktop-category-link:hover {
        background: rgba(var(--color-primary), 0.1);
        color: rgb(var(--color-primary));
    }
    
    .desktop-category-link.active {
        background: rgb(var(--color-primary));
        color: rgb(var(--badge-color));
        font-weight: 600;
    }
    
    .desktop-category-image {
        width: 40px;
        height: 40px;
        border-radius: var(--guru-radius-sm);
        object-fit: cover;
        flex-shrink: 0;
    }
    
    .desktop-category-name {
        font-size: 0.9375rem;
        font-weight: 500;
    }
    
    /* Desktop Content Area - Ürünler */
    .desktop-content {
        flex: 1;
        background: rgb(var(--background-primary));
        border-radius: var(--guru-radius-lg);
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
        padding: 2rem;
        min-height: 600px;
    }
    
    .desktop-content-header {
        margin-bottom: 2rem;
        padding-bottom: 1.5rem;
        border-bottom: 1px solid rgba(var(--divide-color), 0.1);
    }
    
    .desktop-content-title {
        font-size: 1.75rem;
        font-weight: 700;
        color: rgb(var(--color-text-primary));
        margin: 0 0 0.5rem 0;
    }
    
    .desktop-content-subtitle {
        font-size: 0.875rem;
        color: rgba(var(--color-text-primary), 0.6);
        margin: 0;
    }
    
    /* Desktop Products Grid */
    .desktop-products-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 1.5rem;
    }
    
    .desktop-product-card {
        background: rgb(var(--background-primary));
        border: 1px solid rgba(var(--divide-color), 0.1);
        border-radius: var(--guru-radius-md);
        overflow: hidden;
        cursor: pointer;
        transition: all 0.3s ease;
        display: flex;
        flex-direction: column;
        position: relative;
    }
    
    .desktop-product-card:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
        border-color: rgba(var(--color-primary), 0.3);
    }
    
    .desktop-product-image-wrapper {
        position: relative;
        width: 100%;
        height: 200px;
        overflow: hidden;
    }
    
    .desktop-product-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background: rgb(var(--background-secondary));
    }
    
    .desktop-product-favorite-btn {
        position: absolute;
        top: 0.75rem;
        right: 0.75rem;
        width: 36px;
        height: 36px;
        background: rgba(var(--background-primary), 0.9);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(var(--divide-color), 0.1);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.2s ease;
        z-index: 10;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    .desktop-product-favorite-btn:hover {
        background: rgb(var(--background-primary));
        transform: scale(1.1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }
    
    .desktop-product-favorite-btn:active {
        transform: scale(0.95);
    }
    
    .desktop-product-favorite-btn .favorite-icon {
        width: 1.125rem;
        height: 1.125rem;
        stroke-width: 2.5;
        transition: all 0.2s ease;
    }
    
    .desktop-product-favorite-btn .favorite-icon.is-favorite {
        color: #ef4444 !important;
        fill: #ef4444 !important;
    }
    
    .desktop-product-favorite-btn .favorite-icon.not-favorite {
        color: rgba(var(--color-text-primary), 0.6) !important;
        fill: none !important;
    }
    
    .desktop-product-info {
        padding: 1.25rem;
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        flex: 1;
    }
    
    .desktop-product-name {
        font-size: 1.125rem;
        font-weight: 600;
        color: rgb(var(--color-text-primary));
        margin: 0;
        line-height: 1.4;
    }
    
    .desktop-product-description {
        font-size: 0.875rem;
        color: rgba(var(--color-text-primary), 0.7);
        line-height: 1.5;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    
    .desktop-product-footer {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-top: auto;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(var(--divide-color), 0.1);
    }
    
    .desktop-product-price {
        font-size: 1.125rem;
        font-weight: 700;
        color: rgb(var(--color-primary));
    }
    
    .desktop-product-add-btn {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        background: rgb(var(--color-primary));
        color: rgb(var(--badge-color));
        border: none;
        border-radius: var(--guru-radius-sm);
        font-size: 0.875rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .desktop-product-add-btn:hover {
        background: rgba(var(--color-primary), 0.9);
        transform: translateY(-1px);
        box-shadow: 0 4px 12px rgba(var(--color-primary), 0.3);
    }
    
    .desktop-product-add-btn:active {
        transform: translateY(0);
    }
    
    /* Desktop Product Detail View */
    .desktop-product-detail {
        display: none;
    }
    
    .desktop-product-detail.active {
        display: block;
    }
    
    .desktop-product-detail-back {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding: 0.75rem 1rem;
        background: rgb(var(--background-secondary));
        border: none;
        border-radius: var(--guru-radius-md);
        font-size: 0.9375rem;
        font-weight: 500;
        color: rgb(var(--color-text-primary));
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .desktop-product-detail-back:hover {
        background: rgba(var(--color-primary), 0.1);
        color: rgb(var(--color-primary));
    }
    
    .desktop-product-detail-header {
        display: flex;
        gap: 2rem;
        margin-bottom: 2rem;
    }
    
    .desktop-product-detail-image {
        width: 400px;
        height: 400px;
        border-radius: var(--guru-radius-lg);
        object-fit: cover;
        flex-shrink: 0;
        background: rgb(var(--background-secondary));
    }
    
    .desktop-product-detail-info {
        flex: 1;
    }
    
    .desktop-product-detail-name {
        font-size: 2rem;
        font-weight: 700;
        color: rgb(var(--color-text-primary));
        margin: 0 0 1rem 0;
    }
    
    .desktop-product-detail-description {
        font-size: 1rem;
        color: rgba(var(--color-text-primary), 0.7);
        line-height: 1.6;
        margin: 0 0 1.5rem 0;
    }
    
    .desktop-product-detail-price {
        font-size: 1.75rem;
        font-weight: 700;
        color: rgb(var(--color-primary));
        margin: 0 0 1.5rem 0;
    }
    
    /* Desktop Cart Sidebar */
    .desktop-cart-sidebar {
        position: fixed;
        top: 0;
        right: -400px;
        width: 400px;
        height: 100vh;
        background: rgb(var(--background-primary));
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
        z-index: 1000;
        transition: right 0.3s ease;
        display: flex;
        flex-direction: column;
    }
    
    .desktop-cart-sidebar.active {
        right: 0;
    }
    
    .desktop-cart-header {
        padding: 1.5rem;
        border-bottom: 1px solid rgba(var(--divide-color), 0.1);
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    
    .desktop-cart-title {
        font-size: 1.25rem;
        font-weight: 700;
        color: rgb(var(--color-text-primary));
        margin: 0;
    }
    
    .desktop-cart-close {
        width: 32px;
        height: 32px;
        border: none;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--guru-radius-sm);
        transition: background 0.2s ease;
    }
    
    .desktop-cart-close:hover {
        background: rgba(var(--divide-color), 0.1);
    }
    
    .desktop-cart-content {
        flex: 1;
        overflow-y: auto;
        padding: 1.5rem;
    }
    
    .desktop-cart-items {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }
    
    .desktop-cart-item {
        display: flex;
        gap: 1rem;
        padding: 1rem;
        background: rgb(var(--background-secondary));
        border-radius: var(--guru-radius-md);
    }
    
    .desktop-cart-item-image {
        width: 80px;
        height: 80px;
        border-radius: var(--guru-radius-sm);
        object-fit: cover;
        flex-shrink: 0;
    }
    
    .desktop-cart-item-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .desktop-cart-item-name {
        font-size: 0.9375rem;
        font-weight: 600;
        color: rgb(var(--color-text-primary));
        margin: 0;
    }
    
    .desktop-cart-item-price {
        font-size: 0.875rem;
        color: rgb(var(--color-primary));
        font-weight: 600;
    }
    
    .desktop-cart-item-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
    }
    
    .desktop-cart-item-quantity {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.25rem 0.75rem;
        background: rgb(var(--background-primary));
        border-radius: var(--guru-radius-sm);
        border: 1px solid rgba(var(--divide-color), 0.1);
    }
    
    .desktop-cart-quantity-btn {
        width: 24px;
        height: 24px;
        border: none;
        background: transparent;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 4px;
        transition: background 0.2s ease;
    }
    
    .desktop-cart-quantity-btn:hover {
        background: rgba(var(--color-primary), 0.1);
    }
    
    .desktop-cart-quantity-value {
        font-size: 0.875rem;
        font-weight: 600;
        color: rgb(var(--color-text-primary));
        min-width: 24px;
        text-align: center;
    }
    
    .desktop-cart-item-remove {
        width: 32px;
        height: 32px;
        border: none;
        background: rgba(239, 68, 68, 0.1);
        color: #ef4444;
        border-radius: var(--guru-radius-sm);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all 0.2s ease;
    }
    
    .desktop-cart-item-remove:hover {
        background: #ef4444;
        color: white;
    }
    
    .desktop-cart-footer {
        padding: 1.5rem;
        border-top: 1px solid rgba(var(--divide-color), 0.1);
        background: rgb(var(--background-primary));
    }
    
    .desktop-cart-total {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 1rem;
        padding-bottom: 1rem;
        border-bottom: 1px solid rgba(var(--divide-color), 0.1);
    }
    
    .desktop-cart-total-label {
        font-size: 1.125rem;
        font-weight: 600;
        color: rgb(var(--color-text-primary));
    }
    
    .desktop-cart-total-value {
        font-size: 1.5rem;
        font-weight: 700;
        color: rgb(var(--color-primary));
    }
    
    .desktop-cart-checkout-btn {
        width: 100%;
        padding: 1rem;
        background: rgb(var(--color-primary));
        color: rgb(var(--badge-color));
        border: none;
        border-radius: var(--guru-radius-md);
        font-size: 1rem;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.2s ease;
    }
    
    .desktop-cart-checkout-btn:hover {
        background: rgba(var(--color-primary), 0.9);
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(var(--color-primary), 0.3);
    }
    
    .desktop-cart-checkout-btn:active {
        transform: translateY(0);
    }
    
    /* Desktop Cart Button */
    .desktop-cart-button {
        position: fixed;
        bottom: 2rem;
        right: 2rem;
        width: 64px;
        height: 64px;
        background: rgb(var(--color-primary));
        color: rgb(var(--badge-color));
        border: none;
        border-radius: 50%;
        box-shadow: 0 4px 16px rgba(var(--color-primary), 0.4);
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 999;
        transition: all 0.3s ease;
    }
    
    .desktop-cart-button:hover {
        transform: scale(1.1);
        box-shadow: 0 6px 20px rgba(var(--color-primary), 0.5);
    }
    
    .desktop-cart-button-badge {
        position: absolute;
        top: -4px;
        right: -4px;
        background: #ef4444;
        color: white;
        border-radius: 50%;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.75rem;
        font-weight: 700;
        border: 2px solid rgb(var(--background-primary));
    }
    
    /* Desktop Empty States */
    .desktop-empty-state {
        text-align: center;
        padding: 4rem 2rem;
        color: rgba(var(--color-text-primary), 0.6);
    }
    
    .desktop-empty-state-icon {
        font-size: 4rem;
        margin-bottom: 1rem;
        opacity: 0.3;
    }
    
    .desktop-empty-state-text {
        font-size: 1.125rem;
        margin: 0;
    }
    
}

/* Mobilde desktop cart sidebar ve button'u gizle */
@media (max-width: 1023px) {
    .desktop-cart-sidebar,
    .desktop-cart-button {
        display: none !important;
    }
}
