.menu-toggle {
    display: none;
}

.site-header {
    align-items: center;
    min-height: 88px;
    overflow: visible;
}

.site-header .brand,
.site-header .brand-logo-only,
body.has-scrolled .site-header .brand-logo-only {
    align-items: center;
    align-self: center;
    height: 72px;
    justify-content: center;
    margin: 0;
    overflow: visible;
    padding: 3px;
    pointer-events: auto;
    width: 72px;
}

.site-header .brand-logo-only img,
.site-header .brand img,
body.has-scrolled .site-header .brand-logo-only img {
    display: block;
    height: 100%;
    max-height: none;
    object-fit: cover;
    transform: none;
    width: 100%;
}

@media (max-width: 980px) {
    html,
    body {
        overflow-x: hidden;
    }

    main {
        overflow: visible;
        padding-bottom: 72px;
    }

    .top-strip {
        gap: 8px;
        justify-content: center;
        padding: 8px 12px;
        text-align: center;
    }

    .site-header {
        align-items: center;
        display: grid !important;
        flex-direction: unset;
        gap: 8px;
        grid-template-columns: 44px minmax(0, 1fr) auto;
        margin: 0 12px;
        min-height: 64px;
        overflow: visible;
        padding: 8px 10px;
        width: auto;
    }

    .menu-toggle {
        align-items: center;
        background: var(--surface);
        border: 1px solid var(--line);
        border-radius: 12px;
        cursor: pointer;
        display: inline-flex;
        flex-direction: column;
        gap: 5px;
        grid-column: 1;
        grid-row: 1;
        height: 44px;
        justify-content: center;
        justify-self: start;
        padding: 0;
        width: 44px;
        z-index: 30;
    }

    .menu-toggle span {
        background: var(--brand);
        border-radius: 99px;
        display: block;
        height: 2px;
        transition: transform 0.18s ease, opacity 0.18s ease;
        width: 18px;
    }

    body.nav-open .menu-toggle span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    body.nav-open .menu-toggle span:nth-child(2) {
        opacity: 0;
    }

    body.nav-open .menu-toggle span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    .site-header .brand,
    .site-header .brand-logo-only,
    body.has-scrolled .site-header .brand-logo-only {
        grid-column: 2;
        grid-row: 1;
        height: 48px;
        justify-self: center;
        margin: 0;
        padding: 2px;
        pointer-events: auto;
        width: 48px;
    }

    .site-header .brand-logo-only img,
    .brand-logo-only img,
    body.has-scrolled .site-header .brand-logo-only img {
        height: 100%;
        transform: none;
        width: 100%;
    }

    .header-actions {
        flex-wrap: nowrap;
        gap: 8px;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }

    .whatsapp-pill,
    .cart-pill {
        min-height: 42px;
        padding: 8px 10px;
    }

    .whatsapp-pill .action-label {
        display: none;
    }

    .site-header nav,
    .site-header nav[data-site-nav] {
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(8, 42, 64, 0.16);
        display: none;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 4px;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: stretch;
        margin-top: 6px;
        padding: 10px;
        position: relative;
        z-index: 25;
    }

    body.nav-open .site-header nav,
    body.nav-open .site-header nav[data-site-nav] {
        display: flex;
    }

    .site-header nav a,
    .site-header .link-button {
        display: block;
        padding: 12px 14px;
        width: 100%;
    }

    .hero,
    .benefit-bar,
    .section-head,
    .product-grid,
    .split-showcase,
    .category-band,
    .testimonials,
    .final-cta,
    .page-title,
    .catalog-note,
    .product-hero,
    .product-content-grid,
    .faq-strip {
        padding-left: 16px;
        padding-right: 16px;
    }

    .bookstore-hero {
        align-items: stretch;
        gap: 24px;
        grid-template-columns: 1fr;
        min-height: 0;
        padding-bottom: 36px;
        padding-top: 28px;
    }

    .hero-bg-mark {
        display: none;
    }

    .hero-copy h1,
    .page-title h1,
    .product-info h1 {
        font-size: clamp(1.85rem, 8vw, 2.35rem);
        line-height: 1.12;
        max-width: none;
    }

    .hero-copy p,
    .page-title p,
    .lead {
        font-size: 1rem;
    }

    .actions {
        margin-top: 20px;
    }

    .actions .button {
        flex: 1 1 160px;
    }

    .hero-indicators {
        flex-wrap: wrap;
        margin-top: 22px;
        padding-right: 56px;
    }

    .hero-indicators button {
        height: 34px;
        width: 34px;
    }

    .featured-carousel {
        min-height: 0;
        order: 2;
    }

    .hero-copy {
        order: 1;
    }

    .hero-product,
    .hero-product.active {
        position: relative;
        transform: none;
        width: 100%;
    }

    .hero-product img {
        max-height: 280px;
        width: 100%;
    }

    .product-grid,
    .benefit-bar,
    .category-grid,
    .stats,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .catalog-type-switch {
        grid-template-columns: 1fr;
    }

    .footer-main,
    .footer-bottom {
        padding-left: 16px;
        padding-right: 16px;
    }

    .footer-brand.brand-logo-only {
        min-width: 0;
        width: 100%;
    }

    .floating-whatsapp {
        bottom: 16px;
        height: 52px;
        right: 16px;
        width: 52px;
    }

    .sales-pop {
        display: none !important;
    }

    .category-chips {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .category-chips button {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    .search-box {
        min-width: 0;
        width: 100%;
    }

    .catalog-tools {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .site-header,
    .top-strip,
    .admin-head,
    .catalog-note {
        flex-direction: unset;
    }

    .site-header {
        align-items: center;
    }
}
