@media (max-width: 980px) {
    .site-header {
        gap: 14px;
        padding-top: 12px;
        padding-bottom: 12px;
    }

    nav {
        flex-wrap: nowrap;
    }

    .hero,
    .catalog-head,
    .visual-section,
    .about-brand,
    .customizer-grid,
    .customizer-option,
    .product-detail,
    .checkout-grid,
    .account-hero,
    .account-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding-top: 18px;
    }

    .hero-card {
        min-height: 320px;
    }

    .hero-media {
        min-height: 0;
        max-height: 420px;
        aspect-ratio: 16 / 10;
    }

    .catalog-media,
    .visual-media {
        max-height: 380px;
    }

    .detail-image,
    .summary {
        position: static;
    }
}

@media (max-width: 980px) {
    .site-header {
        align-items: center;
        gap: 12px;
        padding: 10px 14px;
    }

    .nav-toggle {
        display: inline-grid;
        margin-left: auto;
        flex: 0 0 auto;
    }

    .primary-nav {
        position: absolute;
        top: calc(100% + 1px);
        left: 0;
        right: 0;
        width: 100%;
        max-height: calc(100vh - 66px);
        display: grid;
        grid-template-columns: 1fr;
        align-items: stretch;
        justify-content: stretch;
        gap: 8px;
        overflow-y: auto;
        padding: 10px 14px 14px;
        border-bottom: 1px solid var(--line);
        background: rgba(8, 8, 8, .97);
        box-shadow: 0 18px 36px rgba(0, 0, 0, .34);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-8px);
        transform-origin: top;
        visibility: hidden;
        transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    }

    .site-header.nav-open .primary-nav {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        visibility: visible;
    }

    .primary-nav a,
    .primary-nav .nav-dropdown summary {
        width: 100%;
        min-height: 44px;
        justify-content: flex-start;
        padding: 10px 12px;
        border-color: var(--line);
        background: rgba(255, 255, 255, .035);
    }

    .primary-nav .nav-dropdown {
        width: 100%;
    }

    .primary-nav .nav-menu {
        position: static;
        margin-top: 8px;
        min-width: 0;
        box-shadow: none;
    }
}

@media (max-width: 700px) {
    .main-wrap {
        width: min(100% - 28px, var(--max));
        padding-top: 24px;
    }

    .site-header {
        padding-left: 14px;
        padding-right: 14px;
    }

    .brand {
        width: 146px;
        max-width: 52vw;
        min-height: 40px;
    }

    .brand img {
        width: 100%;
        max-height: 42px;
    }

    .hero {
        gap: 24px;
        padding-bottom: 34px;
    }

    .hero h1 {
        font-size: clamp(40px, 14vw, 58px);
        line-height: .96;
    }

    .hero p {
        font-size: 17px;
        overflow-wrap: anywhere;
    }

    .hero-media {
        min-height: 0;
        max-height: 340px;
    }

    .catalog-media,
    .visual-media {
        aspect-ratio: 4 / 3;
        max-height: 320px;
    }

    .actions,
    .cart-total {
        align-items: stretch;
        flex-direction: column;
    }

    .btn,
    .actions .btn,
    .cart-total .btn {
        width: 100%;
    }

    .section,
    .process {
        padding: 34px 0;
    }

    .page-head {
        padding: 26px 0 18px;
    }

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

    .product-section-head,
    .account-summary-head,
    .account-cart-item {
        align-items: stretch;
        flex-direction: column;
    }

    .account-avatar {
        width: 76px;
        height: 76px;
        font-size: 34px;
    }

    .account-stats {
        grid-template-columns: 1fr;
    }

    .account-actions .btn {
        width: 100%;
    }

    .site-footer,
    .footer-contact {
        align-items: stretch;
        flex-direction: column;
    }

    .footer-contact a {
        justify-content: center;
        width: 100%;
    }

    .product-detail {
        padding: 28px 0;
    }

    .detail-image {
        min-height: 300px;
    }

    .cart-item {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .cart-item .btn {
        width: 100%;
    }

    .summary p {
        display: block;
    }

    .whatsapp-float {
        right: 14px;
        bottom: 14px;
        width: 46px;
        max-width: 46px;
        min-height: 46px;
        overflow: hidden;
        padding: 0;
        border-radius: 50%;
        font-size: 0;
    }

    .whatsapp-float::before {
        content: "WA";
        font-size: 13px;
        font-weight: 950;
    }
}

@media (max-width: 420px) {
    .hero-card {
        min-height: 260px;
        font-size: 44px;
    }

    .brand {
        width: 132px;
        max-width: 64vw;
    }
}

@media (max-width: 980px) {
    .hero h1 {
        font-size: 76px;
    }

    .section h1,
    .section h2,
    .process h2,
    .final-cta h2,
    .product-detail h1 {
        font-size: 48px;
    }

    .hero-kpis,
    .trust-band,
    .category-strip,
    .lifestyle-section,
    .product-trust {
        grid-template-columns: 1fr 1fr;
    }

    .editorial-preview {
        grid-template-columns: 1fr 1fr;
    }

    .editorial-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 260px;
    }
}

@media (max-width: 700px) {
    .hero h1 {
        font-size: 58px;
    }

    .section h1,
    .section h2,
    .process h2,
    .final-cta h2,
    .product-detail h1 {
        font-size: 40px;
    }

    .section-row {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-kpis,
    .trust-band,
    .category-strip,
    .lifestyle-section,
    .product-trust,
    .editorial-preview,
    .editorial-gallery {
        grid-template-columns: 1fr;
    }

    .hero-kpis span {
        min-height: 46px;
    }

    .trust-band div {
        min-height: 88px;
    }

    .editorial-preview {
        grid-auto-rows: 230px;
    }

    .editorial-gallery {
        grid-auto-rows: 320px;
    }

    .editorial-preview figure.featured,
    .editorial-gallery figure.featured {
        grid-column: auto;
        grid-row: auto;
    }

    .gallery-filter button {
        flex: 1 1 auto;
    }

    .guide-cta,
    .cart-total-actions {
        flex-direction: column;
        width: 100%;
    }
}
