/* ================================================================
   MOBILE STYLES — Аптечка+ (Apte4ka Plus)
   Breakpoint: < 768px, base width: 360px
   ================================================================ */

/* === MOBILE MENU OVERLAY === */
.mobile-menu {
    display: none;
    position: fixed;
    inset: 0;
    background: #fbf8f0;
    z-index: 9999;
    flex-direction: column;
    padding: 24px;
    overflow-y: auto;
}

.mobile-menu.is-open {
    display: flex;
}

.mobile-menu__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 48px;
}

.mobile-menu__close {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: none;
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-menu__nav a {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 32px;
    color: #2d3112;
    text-transform: uppercase;
}

.mobile-menu__nav a:hover {
    color: #9ea93e;
}

.mobile-menu__socials {
    display: flex;
    gap: 16px;
    margin-top: auto;
    padding-top: 48px;
}

/* === HAMBURGER BUTTON === */
.hamburger-btn {
    display: none;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    background: none;
}

@media (max-width: 767px) {

    /* === LAYOUT === */
    .site-container {
        justify-content: center;
    }

    .site-inner {
        width: 100%;
        zoom: unset;
    }

    .section,
    .reviews-section,
    .faq-section,
    .blog-section {
        width: 100%;
    }

    .section-inner,
    .section-inner--narrow,
    .reviews-section__inner,
    .faq-section__inner,
    .blog-section__inner {
        width: 100%;
        padding: 0 16px;
    }

    /* === HEADER === */
    .site-header {
        width: 100%;
        height: 72px;
        position: sticky;
        top: 0;
    }

    .site-header__inner {
        padding: 0 16px;
    }

    .site-header__logo img,
    .site-header__logo svg {
        height: 40px;
    }

    .site-header__nav {
        display: none;
    }

    .site-header__socials {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    /* === HERO === */
    .hero {
        width: 100%;
        height: 400px;
        border-radius: 0;
    }

    .hero__content {
        padding: 0 16px 32px;
    }

    .hero__title {
        font-size: 36px;
    }

    .hero__subtitle {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .hero__buttons {
        flex-direction: column;
        gap: 12px;
    }

    .btn {
        width: 100% !important;
        font-size: 18px;
        height: 52px;
    }

    /* === SECTION TITLES === */
    .section-title__heading {
        font-size: 28px;
    }

    .section-title__subtitle {
        font-size: 16px;
    }

    /* === TRUST === */
    .trust {
        width: 100%;
    }

    .trust__row {
        flex-direction: column;
        align-items: center;
    }

    .trust__badge {
        font-size: 14px;
    }

    /* === HOW STEPS === */
    .how-steps {
        flex-direction: column;
        align-items: center;
    }

    .how-step {
        width: 100%;
    }

    /* === PRODUCT CATEGORIES === */
    .product-categories {
        flex-direction: column;
        align-items: center;
    }

    .product-category-card {
        width: 100%;
        height: 280px;
    }

    /* === CALCULATOR === */
    .calculator {
        width: 100%;
        flex-direction: column;
        padding: 24px 16px;
    }

    .calculator__price {
        font-size: 32px;
    }

    /* === PROHIBITED === */
    .prohibited__items {
        flex-direction: column;
        align-items: center;
    }

    .prohibited__badge {
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }

    /* === PARTNERS === */
    .partners__tabs {
        flex-direction: column;
        align-items: center;
    }

    .partners__tab {
        font-size: 16px;
        width: 100%;
        justify-content: center;
    }

    /* === INSTAGRAM === */
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 8px;
    }

    /* === CTA === */
    .cta-section {
        width: 100%;
        padding: 32px 16px;
        border-radius: 0;
    }

    .cta-section__buttons {
        flex-direction: column;
    }

    /* === REVIEWS SLIDER === */
    .reviews-section {
        padding-top: 32px;
        padding-bottom: 32px;
    }

    .reviews-slider {
        width: 100%;
    }

    .reviews-page {
        width: 100%;
        flex-direction: column;
    }

    .review-card {
        width: 100%;
    }

    .review-card__title {
        font-size: 24px;
    }

    .google-bar {
        flex-direction: column;
        height: auto;
        padding: 16px;
        gap: 8px;
    }

    .google-bar__rating {
        font-size: 28px;
    }

    .google-bar__count {
        width: auto;
        text-align: center;
    }

    /* === FAQ === */
    .faq-section {
        padding: 32px 0;
    }

    .faq-columns {
        grid-template-columns: 1fr;
    }

    /* === BLOG CARDS === */
    .blog-section {
        padding: 32px 0;
    }

    .blog-cards {
        flex-direction: column;
    }

    .blog-card__title {
        font-size: 20px;
    }

    /* === BLOG DETAIL === */
    .blog-slider {
        width: 100%;
        height: auto;
    }

    .blog-slider__track {
        height: 250px;
    }

    .article-content {
        width: 100%;
        padding: 24px 16px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-content p {
        font-size: 16px;
    }

    /* === PRODUCTS GRID === */
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        width: 100%;
        gap: 12px;
        padding: 0 16px;
    }

    .product-card {
        width: 100%;
    }

    .product-card__image-wrap {
        width: 100%;
        height: 180px;
    }

    /* === TESTIMONIALS GRID === */
    .testimonials-grid {
        grid-template-columns: 1fr;
        width: 100%;
        padding: 0 16px;
    }

    /* === FILTER TABS === */
    .filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 0 16px;
        -webkit-overflow-scrolling: touch;
    }

    .filter-tab {
        font-size: 16px;
        flex-shrink: 0;
    }

    /* === FOOTER === */
    .site-footer {
        width: 100%;
        padding-top: 32px;
    }

    .site-footer__title {
        font-size: 36px;
    }

    .site-footer__columns {
        width: 100%;
        flex-direction: column;
        padding: 0 16px;
        gap: 24px;
    }

    .site-footer__col-title {
        font-size: 20px;
    }

    .site-footer__bottom {
        width: 100%;
        flex-direction: column;
        gap: 16px;
        padding: 24px 16px;
        text-align: center;
    }

    .site-footer__payment {
        flex-wrap: wrap;
        justify-content: center;
    }

    .site-footer__legal {
        justify-content: center;
    }

    /* === GAPS REDUCTION === */
    .section-gap--72 { height: 32px !important; }
    .section-gap--74 { height: 32px !important; }
    .section-gap--102 { height: 48px !important; }

    /* Disable card hover effects on mobile */
    .product-category-card:hover,
    .product-card:hover,
    .blog-card--big:hover,
    .review-card:hover,
    .blog-card:hover {
        transform: none;
        box-shadow: none;
    }
}

/* Zoom for very small screens */
@media (max-width: 359px) {
    .site-inner {
        zoom: calc(100vw / 360);
    }
}
