/* ===== СТИЛИ ДЛЯ СТРАНИЦЫ МАГАЗИНА НА ГАМАРНИКА ===== */
/* Префикс: mv-gamarnika */

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

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

/* ===== ХЕДЕР С ГОДАМИ РАБОТЫ ===== */
.mv-header {
    margin-bottom: 32px;
}

.mv-years-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, #f9fafc 0%, #ffffff 100%);
    border: 1px solid #eaeef2;
    border-radius: 60px;
    padding: 12px 32px;
}

.mv-years-number {
    font-size: 28px;
    font-weight: 700;
    color: #1f2a3a;
    line-height: 1.2;
}

.mv-years-text {
    font-size: 14px;
    color: #54656f;
}

/* ===== ВСТУПЛЕНИЕ ===== */
.mv-intro {
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 18px;
    line-height: 1.6;
    color: #1f2a3a;
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 24px;
    padding: 32px;
}

.mv-intro p {
    margin: 0;
}

.mv-intro strong {
    color: #1f2a3a;
    font-weight: 600;
}

/* ===== СЕТКА ИНФОРМАЦИИ ===== */
.mv-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 0 0 48px 0;
}

.mv-info-card {
    background: white;
    border: 1px solid #eaeef2;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    gap: 16px;
    transition: box-shadow 0.2s ease;
}

.mv-info-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #d0d7de;
}

.mv-info-icon {
    width: 48px;
    height: 48px;
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #1f2a3a;
}

.mv-info-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.mv-info-content {
    flex: 1;
}

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

.mv-info-text {
    font-size: 15px;
    line-height: 1.5;
    color: #1f2a3a;
    margin: 0 0 8px 0;
}

.mv-info-note {
    font-size: 14px;
    color: #54656f;
    margin: 0;
}

/* ===== РЕЖИМ РАБОТЫ ===== */
.mv-schedule {
    margin-bottom: 16px;
}

.mv-schedule-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 15px;
    border-bottom: 1px solid #eaeef2;
}

.mv-schedule-row:last-child {
    border-bottom: none;
}

.mv-schedule-off {
    color: #ea4335;
}

.mv-schedule-day {
    color: #54656f;
}

.mv-schedule-time {
    font-weight: 500;
    color: #1f2a3a;
}

/* Подсветка текущего дня */
.mv-schedule-today .mv-schedule-day {
    font-weight: 600;
    color: #1f2a3a;
}

.mv-schedule-today .mv-schedule-time {
    font-weight: 600;
    color: #1f2a3a;
    background: #fff8e6;
    padding: 2px 8px;
    border-radius: 20px;
}

/* Статус работы с точкой */
.mv-working-status {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eaeef2;
}

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

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

.mv-status-dot.closed {
    background: #ea4335;
    box-shadow: 0 0 5px rgba(234, 67, 53, 0.3);
}

.mv-status-text {
    font-size: 14px;
    font-weight: 500;
    color: #1f2a3a;
}

.mv-status-message {
    font-size: 13px;
    color: #5f6368;
    margin-left: 4px;
}

/* ===== КОНТАКТЫ ===== */
.mv-phone,
.mv-email {
    color: #1f2a3a;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.mv-phone:hover,
.mv-email:hover {
    border-bottom-color: #fff300;
}

/* ===== ЗАГОЛОВКИ СЕКЦИЙ ===== */
.mv-section-title {
    font-size: 28px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 48px 0 32px 0;
    letter-spacing: -0.01em;
    text-align: center;
}

.mv-section-title:first-of-type {
    margin-top: 32px;
}

/* ===== ФОТОГРАФИИ ===== */
.mv-photos {
    margin-bottom: 48px;
}

.mv-photos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.mv-photo-item {
    position: relative;
    height: 200px;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #f6f8fa;
    border: 1px solid #eaeef2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mv-photo-item:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    border-color: #d0d7de;
}

.mv-photo-main {
    grid-column: span 2;
    height: 280px;
}

.mv-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== СХЕМА ПРОХОДА ===== */
.mv-scheme {
    margin-bottom: 48px;
}

.mv-scheme-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    background: white;
    border: 1px solid #eaeef2;
    border-radius: 24px;
    padding: 32px;
}

.mv-scheme-image {
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    background: #f6f8fa;
    border: 1px solid #eaeef2;
}

.mv-scheme-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mv-scheme-description {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

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

.mv-scheme-steps {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mv-scheme-steps li {
    padding: 10px 0 10px 28px;
    position: relative;
    font-size: 16px;
    color: #1f2a3a;
    line-height: 1.5;
    border-bottom: 1px solid #eaeef2;
}

.mv-scheme-steps li:last-child {
    border-bottom: none;
}

.mv-scheme-steps li:before {
    content: "→";
    color: #fff300;
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 10px;
}

/* ===== ТРАНСПОРТ ===== */
.mv-transport {
    margin-bottom: 48px;
}

.mv-transport-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 24px;
}

.mv-transport-card {
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 20px;
    padding: 24px;
}

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

.mv-transport-intro {
    font-size: 14px;
    color: #54656f;
    margin: 0 0 16px 0;
}

.mv-route-group {
    margin-bottom: 20px;
}

.mv-route-group h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0 0 10px 0;
}

.mv-route-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 10px;
}

.mv-route-tag {
    display: inline-block;
    padding: 4px 12px;
    background: white;
    border: 1px solid #eaeef2;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    color: #1f2a3a;
}

.mv-route-note {
    font-size: 13px;
    color: #54656f;
    margin: 5px 0;
    padding-left: 8px;
    border-left: 2px solid #fff300;
}

.mv-transport-map-note {
    background: #fff8e6;
    border: 1px solid #fff300;
    border-radius: 16px;
    padding: 20px;
    margin-top: 16px;
}

.mv-transport-map-note p {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: #1f2a3a;
}

.mv-transport-map-note p:last-child {
    margin-bottom: 0;
}

/* ===== КАТЕГОРИИ ТОВАРОВ ===== */
.mv-categories {
    margin-bottom: 48px;
}

.mv-categories-intro {
    max-width: 800px;
    margin: 0 auto 32px;
    text-align: center;
    font-size: 16px;
    color: #54656f;
    line-height: 1.6;
}

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

.mv-category-card {
    display: block;
    padding: 24px 20px;
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mv-category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: #d0d7de;
    background: white;
}

.mv-category-title {
    font-size: 18px;
    font-weight: 600;
    color: #1f2a3a;
    margin: 0 0 10px 0;
}

.mv-category-desc {
    font-size: 14px;
    color: #54656f;
    margin: 0;
    line-height: 1.5;
}

/* ===== ПРЕИМУЩЕСТВА ===== */
.mv-advantages {
    margin-bottom: 48px;
}

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

.mv-advantage-item {
    text-align: center;
    padding: 32px 20px;
    background: white;
    border: 1px solid #eaeef2;
    border-radius: 20px;
    transition: box-shadow 0.2s ease;
}

.mv-advantage-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-color: #d0d7de;
}

.mv-advantage-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2a3a;
}

.mv-advantage-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
}

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

.mv-advantage-text {
    font-size: 14px;
    color: #54656f;
    margin: 0;
    line-height: 1.6;
}

/* ===== СПОСОБЫ ОПЛАТЫ ===== */
.mv-payment {
    margin-bottom: 48px;
}

.mv-payment-methods {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: #f9fafc;
    border: 1px solid #eaeef2;
    border-radius: 60px;
    padding: 24px 40px;
}

.mv-payment-method {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #1f2a3a;
}

.mv-payment-method svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
}

/* ===== КНОПКИ КАРТ ===== */
.mv-map-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.mv-map-button {
    padding: 14px 28px;
    border-radius: 60px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.mv-map-yandex {
    background: #ffd700;
    color: #1f2a3a;
}

.mv-map-yandex:hover {
    background: #ffed4a;
    transform: translateY(-2px);
}

.mv-map-google {
    background: white;
    color: #1f2a3a;
    border: 1px solid #d0d7de;
}

.mv-map-google:hover {
    background: #f6f8fa;
    border-color: #9aa9b9;
    transform: translateY(-2px);
}

/* ===== КНОПКА CTA ===== */
.mv-cta {
    margin: 48px 0 32px;
    text-align: center;
}

.mv-cta-button {
    display: inline-block;
    padding: 16px 40px;
    background: #1f2a3a;
    color: white;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 60px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.mv-cta-button:hover {
    background: #2c3a4f;
    transform: translateY(-2px);
}

/* ===== МОДАЛЬНОЕ ОКНО ===== */
.mv-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.mv-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.mv-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    border-radius: 8px;
}

.mv-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 32px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.mv-modal-close:hover {
    opacity: 1;
}

/* ===== FAQ ===== */
.mv-faq {
    max-width: 900px;
    margin: 48px auto 32px;
    padding: 32px 0 0;
    border-top: 1px solid #eaeef2;
}

.mv-faq-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 32px;
}

.mv-faq-item {
    border: 1px solid #eaeef2;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    transition: box-shadow 0.2s ease;
}

.mv-faq-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    border-color: #d0d7de;
}

.mv-faq-item.active {
    border-color: #d0d7de;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.mv-faq-question {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 500;
    color: #1f2a3a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: background 0.2s;
    user-select: none;
}

.mv-faq-question:hover {
    background: #f9fafc;
}

.mv-faq-icon {
    font-size: 22px;
    color: #7e8c9e;
    font-weight: 400;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.mv-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: white;
}

.mv-faq-answer p,
.mv-faq-answer ul {
    margin: 0;
    padding: 0 24px 24px 24px;
    font-size: 15px;
    color: #54656f;
    line-height: 1.6;
}

.mv-faq-answer ul {
    padding-left: 48px;
    margin-top: -12px;
}

.mv-faq-answer li {
    margin-bottom: 6px;
}

.mv-faq-answer a {
    color: #1f2a3a;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
    text-decoration-color: #eaeef2;
    transition: text-decoration-color 0.2s;
}

.mv-faq-answer a:hover {
    text-decoration-color: #fff300;
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .mv-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mv-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .mv-advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mv-transport-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mv-scheme-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .mv-container {
        padding: 20px;
    }
    
    .mv-intro {
        padding: 24px;
        font-size: 16px;
    }
    
    .mv-years-number {
        font-size: 24px;
    }
    
    .mv-info-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mv-advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-transport-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-payment-methods {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        border-radius: 24px;
    }
    
    .mv-map-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mv-map-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
    
    .mv-photo-main {
        grid-column: span 1;
        height: 200px;
    }
    
    .mv-faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .mv-faq-answer p,
    .mv-faq-answer ul {
        padding: 0 20px 20px 20px;
        font-size: 14px;
    }
    
    .mv-faq-answer ul {
        padding-left: 40px;
    }
}

@media (max-width: 480px) {
    .mv-container {
        padding: 16px;
    }
    
    .mv-years-badge {
        padding: 10px 20px;
    }
    
    .mv-years-number {
        font-size: 22px;
    }
    
    .mv-section-title {
        font-size: 24px;
        margin: 32px 0 24px;
    }
    
    .mv-info-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .mv-categories-grid {
        grid-template-columns: 1fr;
    }
    
    .mv-scheme-steps li {
        font-size: 14px;
    }
    
    .mv-payment-methods {
        padding: 20px;
    }
    
    .mv-cta-button {
        width: 100%;
        text-align: center;
    }
    
    .mv-faq-question {
        padding: 14px 16px;
        font-size: 14px;
    }
    
    .mv-faq-icon {
        font-size: 20px;
    }
}