/* ===== ОСНОВНЫЕ СТИЛИ ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== НАВИГАЦИЯ ===== */
.navbar {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    text-decoration: none;
    font-size: 24px;
}

.logo i {
    font-size: 28px;
}

.logo-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 2px;
}

/* Десктопное меню */
.desktop-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    align-items: center;
}

.desktop-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s;
    font-weight: 500;
    cursor: pointer;
    font-size: 15px;
}

.desktop-menu a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.desktop-menu a.active {
    background: rgba(255,255,255,0.25);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.shop-link {
    background: #ffd700;
    color: #333 !important;
}

.shop-link:hover {
    background: #ffed4a !important;
}

/* Мобильное меню (скрыто по умолчанию) */
.mobile-menu-toggle,
.mobile-menu {
    display: none;
}

/* ===== СТРАНИЦЫ ===== */
.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

/* ===== КОНТЕЙНЕР ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* ===== ЗАГОЛОВКИ ===== */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 48px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.page-header p {
    font-size: 18px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

.section-title {
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
    color: #333;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    margin: 15px auto 0;
    border-radius: 2px;
}

/* ===== КНОПКИ ===== */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 16px;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.btn-secondary {
    background: white;
    color: #667eea;
    border: 2px solid #667eea;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
}

.btn-block {
    width: 100%;
    margin-top: 15px;
}

/* ===== ГЛАВНАЯ СТРАНИЦА ===== */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 48px;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.95;
    line-height: 1.8;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    padding: 8px 15px;
    border-radius: 50px;
    backdrop-filter: blur(5px);
    font-size: 14px;
}

.feature i {
    color: #ffd700;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.hero-logo {
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    border-radius: 20px;
}

.image-wrapper {
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.advantages {
    padding: 80px 0;
    background: #f8f9fa;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.advantage-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    align-items: center;
    gap: 20px;
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
}

.advantage-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
}

.advantage-card h3 {
    font-size: 18px;
    margin-bottom: 5px;
}

.advantage-card p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* ===== УСЛУГИ ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.2);
}

.service-header {
    text-align: center;
    margin-bottom: 20px;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    margin: 0 auto 15px;
}

.service-header h3 {
    font-size: 22px;
    margin: 0;
    color: #333;
}

.service-content {
    flex: 1;
    margin-bottom: 20px;
}

.service-prices {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.service-prices li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.service-prices li:last-child {
    border-bottom: none;
}

.service-prices span {
    color: #666;
    font-size: 14px;
}

.service-prices strong {
    color: #667eea;
    font-size: 16px;
}

.service-price {
    font-size: 28px;
    font-weight: bold;
    color: #667eea;
    margin: 15px 0;
    padding-top: 15px;
    border-top: 1px solid #eee;
    text-align: center;
}

.service-footer {
    margin-top: auto;
}

/* ===== КУРСЫ ===== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.course-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.course-card.featured {
    border: 2px solid #667eea;
    transform: scale(1.02);
}

.course-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
    margin: 0 auto 20px;
}

.course-card h2 {
    font-size: 24px;
    margin-bottom: 15px;
}

.course-description {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
    flex: 1;
}

.course-price {
    font-size: 24px;
    font-weight: bold;
    color: #667eea;
    margin: 20px 0;
    padding: 15px 0;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}

/* ===== О НАС ===== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 20px;
}

.about-image-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-image-wrapper {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    aspect-ratio: 4/3;
    background: #f8f9fa;
}

.about-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.about-photo:hover {
    transform: scale(1.05);
}

.about-info-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.about-info-card h2 {
    font-size: 28px;
    margin-bottom: 25px;
    color: #333;
    line-height: 1.4;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
    transition: transform 0.3s;
}

.about-feature:hover {
    transform: translateX(10px);
    background: #f0f2f5;
}

.about-feature i {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.about-feature p {
    font-size: 14px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.about-quote {
    background: linear-gradient(135deg, #667eea08 0%, #764ba208 100%);
    border-left: 4px solid #667eea;
    padding: 20px 25px;
    margin-bottom: 30px;
    border-radius: 10px;
    position: relative;
}

.about-quote i {
    color: #667eea;
    font-size: 24px;
    opacity: 0.3;
    position: absolute;
    top: 10px;
    left: 10px;
}

.about-quote p {
    font-size: 16px;
    font-style: italic;
    color: #555;
    margin: 0;
    padding-left: 20px;
    line-height: 1.6;
}

.rules-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fff0f0 100%);
    border: 1px solid #ffcdcd;
    border-radius: 15px;
    padding: 25px;
}

.rules-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #d63031;
}

.rules-card h3 i {
    color: #d63031;
}

.rules-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.rules-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #555;
    font-size: 14px;
}

.rules-list i {
    color: #667eea;
    font-size: 14px;
}

/* ===== ГАЛЕРЕЯ С ЛАЙТБОКСОМ ===== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 20px;
}

.gallery-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    aspect-ratio: 1/1;
    cursor: pointer;
    display: block;
    text-decoration: none;
}

.gallery-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.gallery-item:hover .gallery-photo {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    padding: 20px 15px 15px;
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay span {
    font-size: 16px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.5);
    padding: 8px 15px;
    border-radius: 50px;
}

.gallery-overlay i {
    font-size: 14px;
}

/* Стили для лайтбокса */
.lb-loader, .lightbox {
    text-align: center !important;
}

.lb-data .lb-caption {
    font-size: 16px !important;
    font-weight: 500 !important;
}

.lb-data .lb-number {
    font-size: 14px !important;
    color: #ccc !important;
}

.lb-closeContainer {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
}

.lb-nav a.lb-prev, .lb-nav a.lb-next {
    opacity: 0.8 !important;
}

/* ===== КОНТАКТЫ - УЛУЧШЕННЫЕ ===== */
.contacts-enhanced {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.contacts-info-enhanced h2 {
    font-size: 28px;
    margin-bottom: 10px;
    color: #333;
}

.contacts-description {
    color: #666;
    margin-bottom: 25px;
    font-size: 16px;
}

.contacts-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.contact-card-enhanced {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-card-enhanced:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(102, 126, 234, 0.15);
}

.contact-icon-enhanced {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: white;
    flex-shrink: 0;
}

.contact-icon-enhanced.phone { background: linear-gradient(135deg, #00b09b, #96c93d); }
.contact-icon-enhanced.telegram { background: linear-gradient(135deg, #1c92d2, #f2fcfe); color: #1c92d2; }
.contact-icon-enhanced.vk { background: linear-gradient(135deg, #4568dc, #b06ab3); }
.contact-icon-enhanced.location { background: linear-gradient(135deg, #f12711, #f5af19); }
.contact-icon-enhanced.time { background: linear-gradient(135deg, #614385, #516395); }
.contact-icon-enhanced.email { background: linear-gradient(135deg, #e65c00, #f9d423); }

.contact-details-enhanced h3 {
    font-size: 14px;
    color: #999;
    margin-bottom: 5px;
}

.contact-link {
    display: block;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 3px;
    transition: color 0.3s;
}

.contact-link:hover {
    color: #667eea;
}

.contact-note {
    font-size: 11px;
    color: #999;
    margin-top: 3px;
}

.contact-schedule {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* Карта */
.contacts-map-enhanced {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.map-card {
    background: white;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.map-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.map-card h3 i {
    color: #667eea;
}

.map-container-enhanced {
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 20px;
}

.route-info-enhanced {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
}

.route-info-enhanced h4 {
    font-size: 16px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
}

.route-info-enhanced ul {
    list-style: none;
}

.route-info-enhanced li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    color: #555;
    font-size: 14px;
}

.route-info-enhanced li i {
    color: #667eea;
}

/* Социальные сети */
.social-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 25px;
    color: white;
    text-align: center;
}

.social-card h3 {
    font-size: 20px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-icons-enhanced {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icon-enhanced {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: transform 0.3s;
}

.social-icon-enhanced:hover {
    transform: scale(1.1);
}

.telegram-bg { background: #0088cc; }
.vk-bg { background: #4c75a3; }
.instagram-bg { background: radial-gradient(circle at 30% 30%, #fdf497, #fd5949, #d6249f, #285AEB); }
.youtube-bg { background: #ff0000; }

/* Теги услуг */
.services-summary-enhanced {
    margin-top: 40px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    text-align: center;
}

.services-summary-enhanced h3 {
    font-size: 22px;
    margin-bottom: 20px;
    color: #333;
}

.services-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.service-tag {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

/* ===== ПОДВАЛ ===== */
.footer {
    background: #2d3748;
    color: white;
    padding: 60px 0 20px;
    margin-top: 60px;
}

.footer .container {
    padding: 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col p {
    color: #a0aec0;
    margin-bottom: 10px;
    line-height: 1.8;
    font-size: 14px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    color: #a0aec0;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
    font-size: 14px;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #a0aec0;
    font-size: 14px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ===== СТРАНИЦА ЗАПИСИ ===== */
.booking-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    justify-content: center;
}

.filter-btn {
    padding: 10px 20px;
    border: 2px solid #667eea;
    background: white;
    color: #667eea;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.filter-btn:hover {
    background: #f0f2f5;
}

.filter-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: transparent;
}

.booking-date-header {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
    color: #333;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 15px;
}

.booking-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 30px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.booking-grid::-webkit-scrollbar {
    width: 8px;
}

.booking-grid::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.booking-grid::-webkit-scrollbar-thumb {
    background: #667eea;
    border-radius: 10px;
}

.booking-row {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.booking-time {
    width: 100px;
    padding: 12px 15px;
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    border-right: 2px solid #e0e0e0;
    text-align: center;
}

.booking-cell {
    flex: 1;
    padding: 12px 15px;
    text-align: center;
    font-weight: 500;
    transition: background 0.3s;
}

.booking-cell.free {
    background: #e8f5e9;
    color: #2e7d32;
}

.booking-cell.busy {
    background: #ffebee;
    color: #c62828;
    position: relative;
}

.booking-cell.busy::before {
    content: "✓";
    font-weight: bold;
    margin-right: 5px;
}

.booking-cell.past {
    background: #eeeeee;
    color: #9e9e9e;
    text-decoration: line-through;
}

.booking-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.legend-color {
    width: 25px;
    height: 25px;
    border-radius: 5px;
}

.legend-color.free {
    background: #e8f5e9;
    border: 1px solid #2e7d32;
}

.legend-color.busy {
    background: #ffebee;
    border: 1px solid #c62828;
}

.legend-color.past {
    background: #eeeeee;
    border: 1px solid #9e9e9e;
}

.booking-action {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 20px;
    color: white;
}

.booking-action p {
    margin-bottom: 20px;
    font-size: 18px;
}

.btn-large {
    padding: 15px 40px;
    font-size: 18px;
}
/* ===== СТРАНИЦА ЗАПИСИ - РАСШИРЕННАЯ ===== */
.booking-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
}

/* Форма записи */
.booking-form {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-form h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
    font-size: 14px;
}

.form-group label i {
    color: #667eea;
    margin-right: 5px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #667eea;
}

/* Расписание */
.booking-schedule {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.booking-schedule h2 {
    font-size: 24px;
    margin-bottom: 25px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Навигация по месяцам */
.month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    background: #f8f9fa;
    padding: 10px 15px;
    border-radius: 10px;
}

.month-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: all 0.3s;
}

.month-nav-btn:hover {
    background: #667eea;
    color: white;
}

#current-month-display {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Календарь */
.booking-calendar {
    margin-bottom: 20px;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 10px;
    font-size: 14px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
    border: 2px solid transparent;
}

.calendar-day:hover {
    background: #e0e0e0;
}

.calendar-day.selected {
    background: #667eea;
    color: white;
    border-color: #764ba2;
}

.calendar-day.other-month {
    opacity: 0.5;
}

.calendar-day.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.calendar-day.busy {
    background: #ffebee;
    color: #c62828;
    position: relative;
}

.calendar-day.busy::after {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
}

/* Сетка времени */
.selected-datetime {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: center;
    font-weight: bold;
}

.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 8px;
    margin-bottom: 20px;
    max-height: 300px;
    overflow-y: auto;
    padding: 5px;
}

.time-slot {
    padding: 10px 5px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.time-slot:hover:not(.busy):not(.past) {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

.time-slot.free {
    background: #e8f5e9;
    border-color: #2e7d32;
    color: #2e7d32;
}

.time-slot.busy {
    background: #ffebee;
    border-color: #c62828;
    color: #c62828;
    cursor: not-allowed;
    opacity: 0.7;
}

.time-slot.past {
    background: #eeeeee;
    border-color: #9e9e9e;
    color: #9e9e9e;
    cursor: not-allowed;
}

.time-slot.selected {
    background: #667eea;
    border-color: #764ba2;
    color: white;
}

/* Выбранные слоты для курса */
.selected-course-slots {
    margin-top: 20px;
    padding: 15px;
    background: #f0f2f5;
    border-radius: 10px;
}

.selected-course-slots h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

#course-slots-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-slot-item {
    background: #667eea;
    color: white;
    padding: 8px 15px;
    border-radius: 50px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-slot-item i {
    cursor: pointer;
    font-size: 12px;
}

.course-slot-item i:hover {
    color: #ffd700;
}

/* Легенда */
.booking-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.legend-color {
    width: 25px;
    height: 25px;
    border-radius: 5px;
}

.legend-color.free {
    background: #e8f5e9;
    border: 1px solid #2e7d32;
}

.legend-color.busy {
    background: #ffebee;
    border: 1px solid #c62828;
}

.legend-color.selected {
    background: #667eea;
    border: 1px solid #764ba2;
}

.legend-color.past {
    background: #eeeeee;
    border: 1px solid #9e9e9e;
}

/* Подсказки */
.help-text {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* Мобильные стили для страницы записи */
@media screen and (max-width: 768px) {
    .booking-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .booking-form,
    .booking-schedule {
        padding: 20px;
    }
    
    .time-slots-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .calendar-day {
        font-size: 12px;
    }
    
    .month-navigation {
        padding: 5px 10px;
    }
    
    .month-nav-btn {
        width: 35px;
        height: 35px;
    }
}







/* ===== УЛУЧШЕННЫЙ КАЛЕНДАРЬ ===== */
.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s;
    border: 2px solid #e0e0e0;
    position: relative;
}

.calendar-day:hover:not(.disabled):not(.other-month) {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
}

.calendar-day.selected {
    background: #667eea;
    color: white;
    border-color: #764ba2;
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.calendar-day.busy {
    background: #ffebee;
    color: #c62828;
    border-color: #c62828;
    position: relative;
}

.calendar-day.busy::after {
    content: '✓';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 10px;
    font-weight: bold;
    color: #c62828;
}

.calendar-day.other-month {
    opacity: 0.3;
    background: #f5f5f5;
    border-color: #ddd;
}

.calendar-day.disabled {
    opacity: 0.3;
    background: #f5f5f5;
    border-color: #ddd;
    cursor: not-allowed;
    pointer-events: none;
}

/* ===== УЛУЧШЕННАЯ СЕТКА ВРЕМЕНИ ===== */
.time-slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
    gap: 10px;
    margin: 20px 0;
    max-height: 400px;
    overflow-y: auto;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 15px;
}

.time-slot {
    padding: 12px 5px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.time-slot:hover:not(.busy):not(.past) {
    background: #667eea;
    color: white;
    border-color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.time-slot.free {
    background: #e8f5e9;
    border-color: #2e7d32;
    color: #2e7d32;
}

.time-slot.busy {
    background: #ffebee;
    border-color: #c62828;
    color: #c62828;
    cursor: not-allowed;
    opacity: 0.8;
    position: relative;
}

.time-slot.busy::before {
    content: "✓";
    font-weight: bold;
    margin-right: 3px;
}

.time-slot.past {
    background: #eeeeee;
    border-color: #9e9e9e;
    color: #9e9e9e;
    cursor: not-allowed;
    text-decoration: line-through;
}

.time-slot.selected {
    background: #667eea;
    border-color: #764ba2;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* ===== ЛЕГЕНДА ===== */
.booking-legend {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 20px;
    flex-wrap: wrap;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.legend-color {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.legend-color.free {
    background: #e8f5e9;
    border: 2px solid #2e7d32;
}

.legend-color.busy {
    background: #ffebee;
    border: 2px solid #c62828;
    position: relative;
}

.legend-color.busy::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #c62828;
    font-weight: bold;
    font-size: 16px;
}

.legend-color.selected {
    background: #667eea;
    border: 2px solid #764ba2;
}

.legend-color.past {
    background: #eeeeee;
    border: 2px solid #9e9e9e;
    position: relative;
}

.legend-color.past::after {
    content: '—';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #9e9e9e;
    font-weight: bold;
    font-size: 16px;
}

/* ===== ВЫБРАННАЯ ДАТА ===== */
.selected-datetime {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 15px 20px;
    border-radius: 15px;
    margin: 20px 0;
    text-align: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.selected-datetime i {
    margin-right: 10px;
    color: #ffd700;
}

/* ===== МЕСЯЦ НАВИГАЦИЯ ===== */
.month-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 15px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.month-nav-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s;
    color: #667eea;
}

.month-nav-btn:hover {
    background: #667eea;
    color: white;
    transform: scale(1.1);
}

#current-month-display {
    font-size: 20px;
    font-weight: bold;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ===== ДНИ НЕДЕЛИ ===== */
.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 14px;
}

.calendar-weekdays div {
    color: #667eea;
    text-transform: uppercase;
    font-size: 13px;
}

/* ===== СЕТКА КАЛЕНДАРЯ ===== */
.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

/* ===== ВЫБРАННЫЕ СЛОТЫ КУРСА ===== */
.selected-course-slots {
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    border-left: 4px solid #667eea;
}

.selected-course-slots h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 8px;
}

.selected-course-slots h3 i {
    color: #667eea;
}

#course-slots-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.course-slot-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(102, 126, 234, 0.3);
    transition: transform 0.3s;
}

.course-slot-item:hover {
    transform: translateY(-2px);
}

.course-slot-item i {
    cursor: pointer;
    font-size: 12px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.course-slot-item i:hover {
    opacity: 1;
    color: #ffd700;
}










/* ===== FIX: общий фон и отступ под шапку ===== */
body {
    background: #f6f8fc;
}

.page {
    padding-top: 86px;
}

/* ===== FIX: шапка ===== */
.navbar {
    backdrop-filter: blur(10px);
}

.nav-container {
    max-width: 1280px;
    min-height: 86px;
    gap: 20px;
}

.logo-container {
    min-width: 180px;
}

.logo {
    font-size: 22px;
    line-height: 1;
}

.logo-subtitle {
    font-size: 13px;
    line-height: 1.35;
    margin-top: 6px;
    max-width: 150px;
}

/* ===== FIX: десктопное меню ===== */
.desktop-menu {
    display: flex !important;
    flex: 1;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    list-style: none;
    align-items: center;
}

.desktop-menu li {
    list-style: none;
}

.desktop-menu a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    font-size: 15px;
    white-space: nowrap;
    border-radius: 12px;
}

.shop-link {
    margin-left: 8px;
    font-weight: 700;
}

/* ===== FIX: заголовки внутренних страниц ===== */
.page-header {
    padding: 72px 0 56px;
    margin-bottom: 28px;
}

.page-header h1 {
    font-size: clamp(38px, 4vw, 64px);
    line-height: 1.05;
}

.page-header p {
    font-size: 18px;
}

/* ===== FIX: контейнер ===== */
.container {
    max-width: 1280px;
    padding: 32px 24px;
}

/* ===== FIX: контакты ПК ===== */
.contacts-enhanced {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 600px);
    align-items: start;
    gap: 32px;
}

.contacts-info-enhanced {
    min-width: 0;
}

.contacts-info-enhanced h2 {
    font-size: 34px;
    line-height: 1.15;
    margin-bottom: 12px;
}

.contacts-description {
    font-size: 18px;
    margin-bottom: 28px;
}

.contacts-cards {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 18px;
}

.contact-card-enhanced {
    min-height: 140px;
    align-items: flex-start;
    padding: 22px;
    border-radius: 18px;
}

.contact-icon-enhanced {
    width: 56px;
    height: 56px;
    font-size: 24px;
}

.contact-details-enhanced h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #555;
}

.contact-link {
    font-size: 22px;
    line-height: 1.35;
    word-break: break-word;
}

.contact-note,
.contact-schedule {
    font-size: 14px;
}

.contacts-map-enhanced {
    position: sticky;
    top: 110px;
}

.map-card,
.social-card,
.services-summary-enhanced {
    border-radius: 24px;
}

.map-card {
    padding: 28px;
}

.map-card h3 {
    font-size: 28px;
}

.map-container-enhanced iframe {
    display: block;
    width: 100%;
    min-height: 420px;
    border: 0;
    border-radius: 18px;
}

/* ===== FIX: визуал карточек ===== */
.advantage-card,
.service-card,
.course-card,
.about-info-card,
.map-card,
.social-card,
.services-summary-enhanced,
.contact-card-enhanced {
    box-shadow: 0 10px 30px rgba(31, 45, 61, 0.08);
}

/* ===== FIX: широкие экраны ===== */
@media screen and (min-width: 1024px) {
    .desktop-menu {
        gap: 10px;
    }

    .desktop-menu a {
        font-size: 16px;
        padding: 10px 18px;
    }

    .page-header {
        padding-top: 88px;
        padding-bottom: 64px;
    }
}

/* ===== FIX: планшеты ===== */
@media screen and (max-width: 1024px) {
    .desktop-menu {
        gap: 4px;
    }

    .desktop-menu a {
        padding: 9px 12px;
        font-size: 14px;
    }

    .logo-subtitle {
        display: none;
    }

    .contacts-enhanced {
        grid-template-columns: 1fr;
    }

    .contacts-map-enhanced {
        position: static;
    }

    .contacts-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* ===== FIX: мобилка ===== */
@media screen and (max-width: 768px) {
    .page {
        padding-top: 72px;
    }

    .nav-container {
        min-height: 72px;
        padding: 0 14px;
    }

    .logo {
        font-size: 20px;
    }

    .logo-subtitle {
        display: none;
    }

    .page-header {
        padding: 46px 16px 34px;
        margin-bottom: 18px;
    }

    .page-header h1 {
        font-size: 40px;
        line-height: 1.1;
    }

    .page-header p {
        font-size: 17px;
    }

    .container {
        padding: 20px 14px;
    }

    .contacts-enhanced {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contacts-cards {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .contact-card-enhanced {
        min-height: auto;
        padding: 18px;
    }

    .contact-link {
        font-size: 18px;
    }

    .map-card {
        padding: 18px;
    }

    .map-card h3 {
        font-size: 22px;
    }

    .map-container-enhanced iframe {
        min-height: 300px;
    }

    .social-card,
    .services-summary-enhanced {
        padding: 20px;
    }
}


.admin-link {
    background: rgba(255,255,255,0.14);
}
.admin-link:hover {
    background: rgba(255,255,255,0.22);
}



.captcha-row {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 12px;
    align-items: center;
}

.captcha-question {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0 14px;
    border-radius: 12px;
    background: #f3f6fb;
    border: 2px solid #dbe3f0;
    font-weight: 700;
    color: #334155;
}

@media screen and (max-width: 768px) {
    .captcha-row {
        grid-template-columns: 1fr;
    }
}



/* ===== загрузка дня в календаре ===== */
.calendar-day {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 92px;
    padding: 10px 6px;
    border-radius: 14px;
    border: 2px solid #e5e7eb;
    background: #fff;
    transition: all 0.2s ease;
    cursor: pointer;
}

.calendar-day .day-number {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.calendar-day .day-load,
.calendar-day .day-free {
    font-size: 11px;
    line-height: 1.25;
    text-align: center;
}

.calendar-day .day-free {
    opacity: 0.75;
    margin-top: 2px;
}

/* уровни загрузки */
.calendar-day.load-empty {
    background: #ffffff;
    border-color: #dbe3f0;
    color: #374151;
}

.calendar-day.load-low {
    background: #f0fdf4;
    border-color: #86efac;
    color: #166534;
}

.calendar-day.load-medium {
    background: #ecfeff;
    border-color: #67e8f9;
    color: #155e75;
}

.calendar-day.load-high {
    background: #fff7ed;
    border-color: #fdba74;
    color: #9a3412;
}

.calendar-day.load-full {
    background: #fef2f2;
    border-color: #fca5a5;
    color: #b91c1c;
}

.calendar-day.selected {
    outline: 3px solid rgba(99, 102, 241, 0.35);
    transform: translateY(-1px);
}

.calendar-day.disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.calendar-day.other-month {
    visibility: hidden;
}

/* мобилка */
@media screen and (max-width: 768px) {
    .calendar-day {
        min-height: 78px;
        padding: 8px 4px;
    }

    .calendar-day .day-number {
        font-size: 16px;
        margin-bottom: 6px;
    }

    .calendar-day .day-load,
    .calendar-day .day-free {
        font-size: 10px;
    }
}
/* ===== SHOP ===== */
.shop-page {
    min-height: 300px;
}

.shop-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 160px;
    font-size: 18px;
    color: #4b5563;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(31,45,61,.08);
    margin-bottom: 24px;
}

.shop-empty {
    text-align: center;
    background: #fff;
    border-radius: 20px;
    padding: 40px 24px;
    box-shadow: 0 10px 30px rgba(31,45,61,.08);
    color: #4b5563;
}

.shop-empty__icon {
    font-size: 40px;
    margin-bottom: 14px;
    color: #94a3b8;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}

.shop-card {
    background: #fff;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(31,45,61,.08);
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, box-shadow .2s ease;
}

.shop-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(31,45,61,.12);
}

.shop-card__media {
    aspect-ratio: 1 / 1;
    background: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.shop-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-card__image--placeholder {
    color: #94a3b8;
    font-size: 42px;
}

.shop-card__body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.shop-card__title {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
    color: #1f2937;
}

.shop-card__price {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.shop-card__price--empty {
    color: #64748b;
    font-size: 16px;
    font-weight: 600;
}

.shop-card__actions {
    margin-top: auto;
}

.shop-card__btn {
    display: inline-flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    min-height: 46px;
    border-radius: 14px;
    background: #5b6df6;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s ease;
}

.shop-card__btn:hover {
    background: #4b5ce0;
}

.shop-card__btn--disabled {
    background: #cbd5e1;
    cursor: not-allowed;
}

@media screen and (max-width: 1200px) {
    .shop-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media screen and (max-width: 900px) {
    .shop-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media screen and (max-width: 640px) {
    .shop-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .shop-card__body {
        padding: 14px;
    }

    .shop-card__title {
        font-size: 16px;
    }

    .shop-card__price {
        font-size: 20px;
    }
}
