.shop-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    color: #333;
}

.shop-image-wrapper {
    width: 100%;
    max-height: 400px; /* максимальная высота картинки */
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-bottom: 20px;
}

.shop-image-wrapper img {
    width: 100%;
    height: auto;
    object-fit: cover; /* растягивает, сохраняя пропорции и обрезая лишнее */
    display: block;
}

.shop-name {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #222;
}

.shop-info {
    font-size: 1.2rem;
    margin: 8px 0;
}

.shop-actions {
    margin-top: 25px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn {
    background-color: #007BFF;
    color: white;
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #0056b3;
}

.btn-secondary {
    background-color: #6c757d;
}

.btn-secondary:hover {
    background-color: #494f54;
}


.applications-container {
    max-width: 700px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

.applications-container h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 2.2rem;
    font-weight: 700;
    color: #222;
}

.applications-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.application-item {
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 15px 20px;
    margin-bottom: 15px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    font-size: 1.1rem;
    transition: background-color 0.3s ease;
}

.application-item:hover {
    background-color: #e6f0ff;
    border-color: #a3c1ff;
}

.no-applications {
    font-size: 1.2rem;
    text-align: center;
    color: #667;
    margin-top: 40px;
}
.shop-slider-wrapper {
    overflow: hidden;
    position: relative;
}
.slider-track {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}
.slide-img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    max-height: 400px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0);
    border: none;
    color: white;
    font-size: 28px;
    font-weight: bold;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
    transition: background-color 0.3s ease;
}

#prev-btn { left: 10px; }
#next-btn { right: 10px; }


.modal-shop {
    position: fixed;
    inset: 0; /* заменяет top, left, width, height на 100% */
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    overflow: hidden;
}

.modal-content-shop {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    margin: auto;
    box-shadow: none;
}
.modal-close-shop {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    z-index: 1001;
    background: none;
    border: none;
    line-height: 1;
}