/* QR Men��� Ana Stilleri */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #ebd8b9;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Dark Theme Improvements */
body .menu-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

body .search-container {
    background: #ebd8b9;
    border-bottom: 2px solid #30363d;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

body .search-bar {
    border-radius: 10px;
}

body .search-bar input {
    color: #ffffff;
    font-weight: 500;
}

body .search-bar input::placeholder {
    color: #8b949e;
    font-weight: 400;
}

body .search-bar input:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

body .category-card {
    background: #ffffff;
    border: 2px solid #ffffff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}

body .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-color: white;
}

body .category-name {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    font-weight: 700;
    font-size: 1.1rem;
}

body .product-modal {
    background: rgba(13, 17, 23, 0.98);
    backdrop-filter: blur(10px);
}

body .modal-content {
    background: #ebd8b9;
    color: #ffffff;
    border: 2px solid #30363d;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

body .modal-header h2 {
    color: #ffffff;
    font-weight: 700;
}

body .product-item {
    border-bottom: 8px solid #ffffff;
    background: white;
    margin-top: 10px;
    padding: 10px;
    transition: background-color 0.3s ease;
    border-radius: 4px;
}

body .product-name {
    color: #ffffff;
    font-weight: 600;
}

body .product-description {
    color: #8b949e;
    font-weight: 400;
}

body .product-price {
    color: #ff6b6b;
    font-weight: 700;
    font-size: 1.2rem;
}

body .search-results {
    background: #161b22;
    border: 2px solid #30363d;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

body .search-product {
    border-bottom: 2px solid #30363d;
    transition: background-color 0.3s ease;
}

body .search-product:hover {
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

body .search-product-name {
    color: #ffffff;
    font-weight: 600;
}

body .search-product-category {
    color: #667eea;
    font-weight: 500;
}

body .search-product-description {
    color: #8b949e;
    font-weight: 400;
}

body .search-product-price {
    color: #ff6b6b;
    font-weight: 700;
}

body .no-results {
    color: #8b949e;
    font-weight: 500;
}

body .menu-footer {
    background: #0d1117;
    border-top: 3px solid #ebd8b9;
}

body .footer-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: #ffffff;
    transition: all 0.3s ease;
}

body .footer-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

body .social-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
}

body .social-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

/* Light Theme */
body.light-theme {
    background: #ffffff;
    color: #2c3e50;
}

body.light-theme .menu-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

body.light-theme .search-container {
    background: #ffffff;
    border-bottom: 2px solid #ecf0f1;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

body.light-theme .search-bar {
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

body.light-theme .search-bar input {
    color: #2c3e50;
    font-weight: 500;
}

body.light-theme .search-bar input::placeholder {
    color: #7f8c8d;
    font-weight: 400;
}

body.light-theme .search-bar input:focus {
    border-color: #3498db;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

body.light-theme .category-card {
    background: #ffffff;
    border: 2px solid #ecf0f1;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

body.light-theme .category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #3498db;
}

body.light-theme .category-name {
    color: #2c3e50;
    text-shadow: 2px 2px 4px rgba(255,255,255,0.8);
    font-weight: 700;
    font-size: 1.1rem;
}

body.light-theme .product-modal {
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}

body.light-theme .modal-content {
    background: #ffffff;
    color: #2c3e50;
    border: 2px solid #ecf0f1;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

body.light-theme .modal-header h2 {
    color: #2c3e50;
    font-weight: 700;
}

body.light-theme .product-item {
    border-bottom: 2px solid #ecf0f1;
    transition: background-color 0.3s ease;
}

body.light-theme .product-item:hover {
    background-color: #f8f9fa;
}

body.light-theme .product-name {
    color: #2c3e50;
    font-weight: 600;
}

body.light-theme .product-description {
    color: #7f8c8d;
    font-weight: 400;
}

body.light-theme .product-price {
    color: #e74c3c;
    font-weight: 700;
    font-size: 1.2rem;
}

body.light-theme .search-results {
    background: #ffffff;
    border: 2px solid #ecf0f1;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

body.light-theme .search-product {
    border-bottom: 2px solid #ecf0f1;
    transition: background-color 0.3s ease;
}

body.light-theme .search-product:hover {
    background-color: #f8f9fa;
}

body.light-theme .search-product-name {
    color: #2c3e50;
    font-weight: 600;
}

body.light-theme .search-product-category {
    color: #3498db;
    font-weight: 500;
}

body.light-theme .search-product-description {
    color: #7f8c8d;
    font-weight: 400;
}

body.light-theme .search-product-price {
    color: #e74c3c;
    font-weight: 700;
}

body.light-theme .no-results {
    color: #7f8c8d;
    font-weight: 500;
}

body.light-theme .menu-footer {
    background: #2c3e50;
    border-top: 3px solid #3498db;
}

body.light-theme .footer-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
    color: #ffffff;
    transition: all 0.3s ease;
}

body.light-theme .footer-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-2px);
}

body.light-theme .social-btn {
    background: rgba(255,255,255,0.1);
    border: 2px solid rgba(255,255,255,0.2);
}

body.light-theme .social-btn:hover {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.menu-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-height: 120px;
    display: flex;
    align-items: center;
    position: relative;
}

.menu-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.menu-header .container {
    position: relative;
    z-index: 2;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding-top: 20px;
    padding-bottom: 20px;
    min-height: 80px;
    gap: 5rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    position: static;
    flex-shrink: 0;
}

.logo h1 {
    display: none;
}

.logo i {
    font-size: 2rem;
}

.logo-image {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.6);
    background: rgba(255, 255, 255, 0.15);
    padding: 8px;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin: 0;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-title {
    position: static;
    flex: 1;
    text-align: center;
}

.header-title h1 {
    font-size: 2.2rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin: 0;
    color: white;
}

.header-actions {
    position: static;
    flex-shrink: 0;
}

.header-actions .btn {
    background: rgba(255,255,255,0.2);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.header-actions .btn:hover {
    background: rgba(255,255,255,0.3);
}

/* Search Bar */
.search-container {
    background: #2a2a2a;
    padding: 1rem 0;
}

.search-bar {
    position: relative;
    max-width: 500px;
    margin: 0 auto;
}

.search-bar i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    font-size: 1.1rem;
}

.search-bar input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: none;
    border-radius: 7px;
    background: #3a3a3a;
    color: white;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.search-bar input::placeholder {
    color: #999;
}

.search-bar input:focus {
    background: #4a4a4a;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transform: translateY(-1px);
}

/* Category Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 2rem 0;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    position: relative;
    border: none;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.category-image {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.category-card:hover .category-image img {
    transform: scale(1.05);
}

.category-image i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: #666;
}

.category-name {
    padding: 1rem;
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: white;
    background: transparent;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
}

/* Products Modal */
.products-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 1000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.products-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: #1a1a1a;
    width: 100%;
    height: 100%;
    overflow-y: auto;
    position: relative;
}

.modal-header {
    position: relative;
    min-height: 120px;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 1001;
}

.modal-header-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(2px);
    z-index: 1;
}

.modal-header-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.modal-header-content {
    position: relative;
    z-index: 3;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 120px;
}

.back-btn {
    background: #3a3a3a;
    border: none;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.back-btn:hover {
    background: #4a4a4a;
}

.modal-header h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.products-list {
    padding: 2rem;
}

.product-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px dashed #3a3a3a;
    color: white;
    transition: all 0.3s ease;
    cursor: pointer;
}



.product-item:last-child {
    border-bottom: none;
}

.product-item-image {
    width: 100px;
    height: 100px;
    border-radius: 5px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.product-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-item-info {
    flex: 1;
}

.product-item-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: black;
    margin-bottom: 0.5rem;
}

.product-item-description {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 0.5rem;
}

.product-item-description .bullet {
    color: #888;
    margin: 0 5px;
}

.product-item-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: #805331;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Footer */
.menu-footer {
    background: #333;
    color: white;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-link {
    color: #667eea;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s;
}

.admin-link:hover {
    color: #5a6fd8;
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 2rem;
    text-align: center;
    color: #8b949e;
}

.loading-state i {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.loading-state p {
    font-size: 1rem;
    margin: 0;
}

/* Footer Butonlar��� */
.footer-buttons {
    border-top: 1px solid #555;
    padding-top: 1.5rem;
}

.button-row {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.button-row:last-child {
    margin-bottom: 0;
}

/* Desktop i���in footer butonlar��� tek sat���rda */
@media (min-width: 769px) {
    .footer-buttons {
        display: flex;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .button-row {
        display: contents;
        margin-bottom: 0;
    }
    
    .button-row:last-child {
        margin-bottom: 0;
    }
}

.footer-btn {
    width: 50px;
    height: 50px;
    border: 2px solid #555;
    background: transparent;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    font-size: 1.2rem;
}

.footer-btn:hover {
    border-color: #667eea;
    background: #667eea;
    transform: translateY(-2px);
}

.social-btn:hover {
    border-color: #667eea;
    background: #667eea;
}

/* Responsive Design - Desktop (PC i���in uyumlu g���r���nt���) */
@media (min-width: 1200px) {
    .container {
        max-width: 1200px;
        padding: 0 30px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
    }
    
    .category-image {
        height: 220px;
    }
    
    .header-title h1 {
        font-size: 2.5rem;
    }
    
    .logo-image {
        width: 100px;
        height: 100px;
    }
    
    .menu-header {
        min-height: 140px;
    }
    
    .header-content {
        flex-direction: row;
        gap: 10rem;
        padding-top: 15px;
        padding-bottom: 15px;
    }
    
    .logo {
        position: static;
        order: 1;
    }
    
    .header-title {
        position: static;
        order: 2;
        flex: none;
    }
    
    .header-actions {
        position: static;
        order: 3;
    }
}

/* Responsive Design - Tablet ve K��䏫����k Desktop */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        max-width: 900px;
        padding: 0 20px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.2rem;
    }
    
    .category-image {
        height: 200px;
    }
    
    .header-title h1 {
        font-size: 2.2rem;
    }
    
    .logo-image {
        width: 90px;
        height: 90px;
    }
}

/* Responsive Design - Tablet */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-direction: row;
        gap: 5rem;
        justify-content: center;
        padding-top: 10px;
        padding-bottom: 10px;
    }
    
    .logo {
        position: static;
        justify-content: center;
        order: 1;
    }
    
    .header-title {
        position: static;
        transform: none;
        text-align: center;
        flex: none;
        order: 2;
    }
    
    .header-actions {
        position: static;
        justify-content: center;
        flex: none;
        order: 3;
    }
    
    .header-title h1 {
        font-size: 1.8rem;
    }
    
    .logo-image {
        width: 80px;
        height: 80px;
    }
    
    .menu-header {
        min-height: 80px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .category-image {
        height: 150px;
    }
    
    .category-name {
        font-size: 1rem;
        padding: 0.8rem;
    }
    
    .product-item {
        flex-direction: row-reverse;
        
        gap: 0.5rem;
    }
    
    .product-item-image {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .modal-header {
        padding: 1rem;
    }
    
    .modal-header h2 {
        font-size: 1.2rem;
    }
    
    .products-list {
        padding: 1rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Android cihazlar i���in ���zel d���zeltmeler */
@media (max-width: 480px) and (-webkit-min-device-pixel-ratio: 2) {
    .search-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 2rem !important;
        align-items: center !important;
        text-align: center !important;
        padding: 2rem 1rem !important;
        margin-bottom: 2rem !important;
        width: 100% !important;
        min-height: auto !important;
    }
    
    .back-to-categories {
        margin: 0 !important;
        padding: 12px 24px !important;
        display: inline-block !important;
        width: auto !important;
        max-width: 200px !important;
    }
    
    .search-header h3 {
        font-size: 1.3rem !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }
}

/* Samsung cihazlar i���in ���zel d���zeltmeler */
@media (max-width: 480px) and (orientation: portrait) {
    .search-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.8rem !important;
        align-items: center !important;
        text-align: center !important;
        padding: 1.8rem 1rem !important;
        margin-bottom: 1.5rem !important;
        width: 100% !important;
    }
    
    .back-to-categories {
        margin: 0 !important;
        padding: 10px 20px !important;
        display: inline-block !important;
        width: auto !important;
    }
    
    .search-header h3 {
        font-size: 1.25rem !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
}

/* Note 8 Pro ve benzeri cihazlar i���in ���zel d���zeltmeler */
@media (max-width: 480px) {
    .search-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
        min-height: auto !important;
    }
    
    .back-to-categories {
        margin: 0 !important;
        margin-bottom: 0.5rem !important;
        padding: 10px 20px !important;
        display: block !important;
        width: auto !important;
        max-width: 250px !important;
        text-align: center !important;
    }
    
    .search-header h3 {
        font-size: 1.2rem !important;
        margin: 0 !important;
        padding: 0 0 0.5rem 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
        line-height: 1.4 !important;
    }
}

/* Responsive Design - Mobil (Her telefonda birebir ayn��� g���r���nt���) */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .menu-header {
        padding: 0.5rem 0;
        min-height: 70px;
    }
    
    .header-content {
        flex-direction: row;
        gap: 1rem;
        justify-content: center;
        align-items: center;
    }
    
    .logo {
        position: static;
        justify-content: center;
    }
    
    .header-title {
        position: static;
        transform: none;
        text-align: center;
    }
    
    .header-actions {
        position: static;
        justify-content: center;
    }
    
    .header-title h1 {
        font-size: 1.5rem;
    }
    
    .logo-image {
        width: 60px;
        height: 60px;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }
    
    .category-image {
        height: 120px;
    }
    
    .category-name {
        font-size: 0.9rem;
        padding: 0.6rem;
    }
    
    .search-bar input {
        padding: 12px 12px 12px 40px;
        font-size: 0.9rem;
    }
    
    /* Arama sonu���lar��� header'��� mobil i���in d���zelt - Android cihazlar i���in */
    .search-header {
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
        align-items: center !important;
        text-align: center !important;
        padding: 1.5rem 1rem !important;
        margin-bottom: 1rem !important;
        width: 100% !important;
    }
    
    .back-to-categories {
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        display: block !important;
        width: auto !important;
    }
    
    .search-header h3 {
        font-size: 1.2rem !important;
        margin: 0 !important;
        padding: 0 !important;
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .product-item {
        padding: 0.8rem 0;
    }
    
    .product-item-image {
        width: 80px;
        height: 80px;
    }
    
    .product-item-name {
        font-size: 1rem;
    }
    
    .product-item-description {
        font-size: 0.8rem;
    }
    
    .product-item-price {
        font-size: 1rem;
    }
    
    .modal-header {
        padding: 0.8rem;
    }
    
    .modal-header h2 {
        font-size: 1.1rem;
    }
    
    .back-btn {
        padding: 8px 12px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.menu-section {
    animation: fadeIn 0.5s ease-in-out;
}

/* Loading States */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    color: white;
    font-size: 1.1rem;
}

.loading i {
    font-size: 2rem;
    color: #667eea;
    animation: spin 1s linear infinite;
    margin-right: 1rem;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    color: #ccc;
}

.empty-state i {
    font-size: 3rem;
    color: #666;
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.empty-state p {
    font-size: 1rem;
    color: #999;
}

/* Search Results */
.search-results {
    display: none;
    padding: 2rem 0;
    background: #161b22;
    border: 2px solid #30363d;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    margin-top: 1rem;
}

.search-header {
    gap: 10rem;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid #3a3a3a;
}

.search-header h2 {
    color: white;
    font-size: 1.5rem;
    margin: 0;
}

.back-to-categories {
    background: #667eea;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.back-to-categories:hover {
    background: #5a6fd8;
}

.search-products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
}

.search-product-item {
    background: #2a2a2a;
    border-radius: 10px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: transform 0.3s;
}

.search-product-item:hover {
    transform: translateY(-2px);
}

.search-product-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.search-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-product-info {
    flex: 1;
}

/* Responsive Design - Tablet */
@media (min-width: 768px) and (max-width: 1199px) {
    .modal-header {
        min-height: 140px;
    }
    
    .modal-header-content {
        min-height: 140px;
        padding: 1.5rem 2rem;
    }
    
    .product-item {
        gap: 2rem;
        padding: 2rem 0;
    }
    
    .product-item-image {
        width: 120px;
        height: 120px;
    }
    
    .product-item-name {
        font-size: 1.4rem;
    }
    
    .product-item-description {
        font-size: 1.1rem;
    }
    
    .product-item-price {
        font-size: 1rem;
    }
}

/* Responsive Design - Desktop Category View */
@media (min-width: 768px) {
    .category-product-item {
        max-width: 900px;
        margin: 0 auto 1.5rem auto;
        display: flex !important;
        align-items: center;
        gap: 1.5rem;
        padding: 1.5rem;
        background: #161b22;
        border: 2px solid #30363d;
        border-radius: 16px;
        transition: all 0.2s ease;
        cursor: pointer;
        visibility: visible !important;
        opacity: 1 !important;
        width: 100%;
        box-sizing: border-box;
        min-height: 180px;
        overflow: hidden;
    }
    
    
    .category-product-image {
        width: 150px !important;
        height: 150px !important;
        border-radius: 16px;
        overflow: hidden;
        flex-shrink: 0;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
        object-fit: cover;
    }
    
    .category-product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 150px;
        padding: 0.5rem 0;
        overflow: hidden;
    }
    
    .category-product-name {
        font-size: 1.8rem !important;
        color: white;
        font-weight: 700;
        margin-bottom: 0.5rem;
        line-height: 1.2;
        word-wrap: break-word;
        overflow: hidden;
    }
    
    .category-product-description {
        font-size: 1.1rem !important;
        color: #ccc;
        line-height: 1.5;
        margin-bottom: 1rem;
        flex: 1;
        display: flex;
        align-items: flex-start;
        padding-top: 0.5rem;
        word-wrap: break-word;
        overflow: hidden;
    }
    
    .category-product-price {
        font-size: 2rem !important;
        color: #667eea;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
        font-weight: 800;
        text-align: right;
        flex-shrink: 0;
        min-width: 100px;
        align-self: flex-end;
    }
}

/* Responsive Design - Tablet */
@media (min-width: 768px) and (max-width: 1024px) {
    .category-product-item {
        max-width: 800px;
        margin: 0 auto 1.2rem auto;
        gap: 1.2rem;
        padding: 1.2rem;
        min-height: 160px;
    }
    
    .category-product-image {
        width: 140px !important;
        height: 140px !important;
    }
    
    .category-product-info {
        min-height: 140px;
        padding: 0.3rem 0;
    }
    
    .category-product-name {
        font-size: 1.6rem !important;
    }
    
    .category-product-description {
        font-size: 1rem !important;
    }
    
    .category-product-price {
        font-size: 1.8rem !important;
        min-width: 90px;
    }
}

/* Responsive Design - Mobile */
@media (max-width: 767px) {
    .modal-header {
        min-height: 45px;
        background: rgba(42, 42, 42, 0.95);
        backdrop-filter: blur(10px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .modal-header-content {
        min-height: 45px;
        padding: 0.3rem 0.8rem;
    }
    
    .modal-header-background {
        display: none;
    }
    
    .modal-header h2 {
        font-size: 1rem;
        font-weight: 600;
    }
    
    .back-btn {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
    
    .product-item {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
    
    .product-item-image {
        width: 120px;
        height: 120px;
    }
    
    .product-item-name {
        font-size: 1.4rem;
    }
    
    .product-item-description {
        font-size: 1rem;
    }
    
    .product-item-price {
        font-size: 1rem;
    }
}

.search-product-name {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.search-product-category {
    color: #667eea;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.search-product-description {
    color: #ccc;
    font-size: 0.8rem;
    line-height: 1.4;
}

.search-product-price {
    color: #667eea;
    font-size: 1.2rem;
    font-weight: 700;
}

.no-results {
    text-align: center;
    padding: 3rem 1rem;
    color: #ccc;
}

.no-results i {
    font-size: 3rem;
    color: #666;
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.no-results p {
    font-size: 1rem;
    color: #999;
}
