﻿body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #414042;
}

.logo {
    text-align: center;
    margin-top: 20px;
}

    .logo img {
        width: 80px;
    }

#category-list {
    padding: 0 20px;
}

.category {
    height: 55px !important;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin: 10px 0;
    cursor: pointer;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
}

    .category:hover {
        transform: scale(1.01);
    }

    .category img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

.category-title {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    color: white;
    font-weight: bold;
    font-size: 14px;
    background: rgba(0, 0, 0, 0.5);
    text-transform: uppercase;
}

    .category-title span {
        margin-left: 8px;
        font-size: 16px;
    }

.product-list, .product-detail {
    display: none;
    padding: 20px;
}

    .product-list h2 {
        color: #dbc4c4;
    }

.product {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    overflow: hidden;
    cursor: pointer;
}

    .product img {
        width: 100px;
        height: 100px;
        object-fit: cover;
    }

.product-info {
    padding: 10px;
    flex: 1;
}

    .product-info h4 {
        margin: 0;
        font-size: 16px;
    }

    .product-info p {
        margin: 4px 0 0;
        font-size: 14px;
        color: #666;
    }

.price {
    font-weight: bold;
    font-size: 14px;
    color: #444;
}

.back-btn {
    margin: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    color: #dbc4c4;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    justify-content: center;
    align-items: center;
    z-index: 10;
}

.modal-content {
    background: white;
    padding: 20px;
    border-radius: 12px;
    max-width: 90%;
    text-align: center;
}

    .modal-content img {
        width: 100%;
        max-height: 200px;
        object-fit: cover;
        border-radius: 10px;
    }

    .modal-content h3 {
        margin-top: 10px;
    }

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    color: white;
    cursor: pointer;
}
