.mv-katki {
    margin: 0;
    padding: 0;
    width: 100%;
    background: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.mv-katki-container {
    width: 100%;
    max-width: 100%;
    padding: 24px 32px;
    margin: 0 auto;
    box-sizing: border-box;
}

.mv-katki-buttons-wrapper {
    margin-bottom: 24px;
}

.mv-katki-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.mv-katki-btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mv-katki-btn-primary {
    background: #fff300;
    color: #1f2a3a;
}

.mv-katki-btn-primary:hover {
    background: #e6db00;
    box-shadow: 0 4px 12px rgba(255, 243, 0, 0.4);
}

.mv-katki-btn-outline {
    background: transparent;
    color: #1f2a3a;
    border: 2px solid #eaeef2;
}

.mv-katki-btn-outline:hover {
    border-color: #1f2a3a;
    background: #f9fafc;
}

.mv-katki-nav {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 8px;
    margin: 0 0 32px 0;
    padding: 16px 20px;
    background: #f9fafc;
    border-radius: 16px;
    border: 1px solid #eaeef2;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    min-height: 56px;
}

.mv-katki-nav::-webkit-scrollbar {
    height: 4px;
}

.mv-katki-nav::-webkit-scrollbar-thumb {
    background: #d0d7de;
    border-radius: 4px;
}

.mv-katki-nav::-webkit-scrollbar-track {
    background: transparent;
}

.mv-katki-nav-link {
    flex-shrink: 0;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    color: #1f2a3a;
    background: #ffffff;
    border: 1px solid #eaeef2;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.mv-katki-nav-link:hover {
    border-color: #1f2a3a;
    background: #f0f3f7;
}

.mv-katki-nav-link.active {
    background: #1f2a3a;
    color: #ffffff;
    border-color: #1f2a3a;
}

.mv-katki-card-link {
    text-decoration: none;
    display: block;
}

.mv-katki-card-link:hover .mv-katki-card {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    border-color: #d0d7de;
}

.mv-katki-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 12px;
    margin: 0 0 12px;
    transition: box-shadow 0.2s ease;
}

.mv-katki-card-image {
    flex: 0 0 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: #eaeef2;
}

.mv-katki-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mv-katki-card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ccc;
}

.mv-katki-card-info {
    flex: 1;
    min-width: 200px;
}

.mv-katki-card-name {
    font-size: 18px;
    font-weight: 700;
    color: #1f2a3a;
    margin: 0 0 4px;
}

.mv-katki-card-details {
    font-size: 14px;
    color: #54656f;
    line-height: 1.6;
}

.mv-katki-card-details .address {
    display: block;
}

.mv-katki-card-details .phone {
    display: block;
}

.mv-katki-card-details .phone a {
    color: #1f2a3a;
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.mv-katki-card-details .phone a:hover {
    border-bottom-color: #fff300;
}

.mv-katki-card-details .hours {
    display: block;
}

.mv-katki-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.mv-katki-tag {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    color: #1f2a3a;
}

.mv-katki-tag-indoor {
    background: #e3f2fd;
}

.mv-katki-tag-outdoor {
    background: #fff3e0;
}

.mv-katki-tag-free {
    background: #e8f5e9;
}

.mv-katki-tag-seasonal {
    background: #fce4ec;
}

.mv-katki-tag-year-round {
    background: #e8f5e9;
}

.mv-katki-city {
    margin: 0 0 40px;
}

.mv-katki-city-title {
    font-size: 24px;
    font-weight: 700;
    color: #1f2a3a;
    margin: 0 0 16px;
    padding-bottom: 8px;
    border-bottom: 2px solid #fff300;
}

.mv-katki-city-title span {
    font-size: 14px;
    font-weight: 400;
    color: #7e8c9e;
}

.mv-katki-empty {
    text-align: center;
    color: #7e8c9e;
    padding: 60px 0;
    font-size: 18px;
}

.mv-katki-empty-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.mv-katki-contacts {
    margin: 48px 0 32px;
    padding: 32px;
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 24px;
    text-align: center;
}

.mv-katki-contacts-title {
    font-size: 22px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0 0 12px;
}

.mv-katki-contacts-text {
    font-size: 16px;
    color: #54656f;
    margin: 0 0 20px;
}

.mv-katki-contacts-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.mv-katki-contacts-phone,
.mv-katki-contacts-telegram {
    font-size: 18px;
    font-weight: 600;
    color: #1f2a3a;
    text-decoration: none;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.mv-katki-contacts-phone:hover,
.mv-katki-contacts-telegram:hover {
    border-bottom-color: #fff300;
}

.mv-katki-contacts-separator {
    color: #7e8c9e;
    font-size: 14px;
}

/* СТАТУС РАБОТЫ КАТКА */
.katki-working-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #212529;
    transition: color 0.2s;
    margin: 8px 0;
    padding: 2px 0;
}

.katki-working-status:hover {
    color: #000;
}

.katki-status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.katki-status-dot.open {
    background: #34a853;
    box-shadow: 0 0 6px rgba(52, 168, 83, 0.5);
}

.katki-status-dot.closed {
    background: #ea4335;
    box-shadow: 0 0 6px rgba(234, 67, 53, 0.5);
}

.katki-status-message {
    font-weight: 500;
}

.katki-status-until,
.katki-status-next {
    color: #5f6368;
    font-size: 13px;
    margin-left: 4px;
    font-weight: normal;
}

/* ДЕТАЛЬНОЕ РАСПИСАНИЕ */
.katki-schedule-detailed {
    margin-top: 8px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    width: 100%;
    animation: fadeInKatki 0.2s ease;
}

@keyframes fadeInKatki {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.katki-schedule-table {
    width: 100%;
    font-size: 14px;
    border-collapse: collapse;
}

.katki-schedule-table tr {
    border-bottom: 1px solid #e9ecef;
}

.katki-schedule-table tr:last-child {
    border-bottom: none;
}

.katki-schedule-table td {
    padding: 8px 0;
}

.katki-schedule-day {
    width: 40px;
    color: #5f6368;
    font-weight: 500;
}

.katki-schedule-time {
    color: #212529;
    text-align: right;
}

/* ДОПОЛНИТЕЛЬНЫЕ ТЕЛЕФОНЫ */
.katki-phones-toggle {
    display: inline-block;
    transition: all 0.2s ease;
    user-select: none;
}

.katki-phones-toggle:hover {
    color: #1f2a3a;
}

.katki-phones-toggle span {
    border-bottom: 1px dashed #7e8c9e;
    transition: border-color 0.2s;
}

.katki-phones-toggle:hover span {
    border-bottom-color: #1f2a3a;
}

.katki-phones-additional {
    padding: 6px 0 2px 0;
    animation: fadeInKatki 0.2s ease;
}

.katki-phones-additional a {
    padding: 4px 0;
    font-size: 14px;
}

.katki-phones-additional a:hover {
    border-bottom-color: #fff300;
}

/* ГАЛЕРЕЯ */
.katki-gallery-item {
    position: relative;
    transition: transform 0.2s, box-shadow 0.2s;
}

.katki-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.katki-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.katki-gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.katki-gallery-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 90%;
    max-height: 90%;
    text-align: center;
}

.katki-gallery-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: 8px;
}

.katki-gallery-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.7;
}

.katki-gallery-close:hover {
    opacity: 1;
}

.katki-gallery-prev,
.katki-gallery-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    font-size: 48px;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.katki-gallery-prev:hover,
.katki-gallery-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.katki-gallery-prev {
    left: -60px;
}

.katki-gallery-next {
    right: -60px;
}

.katki-gallery-caption {
    color: white;
    margin-top: 10px;
    font-size: 14px;
}

/* АДАПТИВНОСТЬ */
@media (max-width: 768px) {
    .mv-katki-container {
        padding: 16px 20px;
    }

    .mv-katki-nav {
        padding: 12px 16px;
        margin: 0 0 24px 0;
        min-height: 48px;
    }

    .mv-katki-nav-link {
        font-size: 13px;
        padding: 4px 14px;
    }

    .mv-katki-card {
        padding: 12px 16px;
        gap: 12px;
    }

    .mv-katki-card-image {
        flex: 0 0 60px;
        height: 60px;
    }

    .mv-katki-card-name {
        font-size: 16px;
    }

    .mv-katki-city-title {
        font-size: 20px;
    }

    .mv-katki-contacts {
        padding: 24px;
    }

    .mv-katki-contacts-links {
        flex-direction: column;
        gap: 8px;
    }

    .mv-katki-contacts-separator {
        display: none;
    }

    .mv-katki-btn {
        width: 100%;
        text-align: center;
    }

    .mv-katki-buttons {
        flex-direction: column;
    }

    .katki-gallery-prev {
        left: -30px;
    }

    .katki-gallery-next {
        right: -30px;
    }
}

@media (max-width: 480px) {
    .mv-katki-container {
        padding: 12px 16px;
    }

    .mv-katki-nav {
        padding: 10px 12px;
        min-height: 44px;
        gap: 6px;
        margin: 0 0 16px 0;
    }

    .mv-katki-nav-link {
        font-size: 12px;
        padding: 4px 12px;
    }

    .mv-katki-card-image {
        flex: 0 0 50px;
        height: 50px;
    }

    .mv-katki-card-name {
        font-size: 15px;
    }

    .mv-katki-city-title {
        font-size: 18px;
    }

    .katki-gallery-prev,
    .katki-gallery-next {
        width: 35px;
        height: 35px;
        font-size: 32px;
    }

    .katki-gallery-prev {
        left: -10px;
    }

    .katki-gallery-next {
        right: -10px;
    }
}