.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
}

.modal-body {
    display: flex;
    padding: 20px;
}

.modal-header .shop-icon {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.modal-header h2 {
    margin: 0;
    color: var(--primary-color);
}

.modal-content-wrapper {
    display: flex;
    flex-direction: column;
}

.modal-image-container {
    width: 100%;
    height: 300px;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 20px;
}

.modal-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.modal-buttons .btn {
    flex: 1;
    max-width: 150px;
    text-align: center;
    padding: 10px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.modal-info {
    flex: 1;
    background-color: var(--card-background);
    border-radius: 10px;
    padding: 20px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.4);
    justify-content: center;
    align-items: center;
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}


.modal-content {
    background-color: rgba(230, 242, 249, 0.95);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    max-width: 800px;
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
}


body.dark-theme .modal-content {
    background-color: rgba(30, 30, 30, 0.95);
}

.modal.show .modal-content {
    transform: scale(1);
    opacity: 1;
}

.dark-theme .modal-content {
    background-color: var(--card-background);
}

.modal-images {
    display: flex;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    flex: 1;
}

.modal-images img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    cursor: pointer;
}

.modal-footer {
    padding: 15px;
    text-align: right;
}

.modal-images .shop-image {
    width: calc(33.333% - 10px);
    height: 150px;
    object-fit: cover;
    border-radius: 5px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.modal-images .shop-image:hover {
    transform: scale(1.05);
}