@media screen and (max-width: 700px) {
    body:not(.admin-page) .yurae-header .header-inner {
        min-height: 62px;
        padding: 8px 12px;
        gap: 4px;
    }

    body:not(.admin-page) .yurae-header .header-actions {
        gap: 2px;
        padding: 0;
        border: 0;
    }

    body:not(.admin-page) .yurae-header .header-actions .yh-icon-button {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    body:not(.admin-page) .yurae-header .nav-row nav > a,
    body:not(.admin-page) .yurae-header .navigation-dropdown summary {
        min-height: 44px;
        box-sizing: border-box;
    }

    body:not(.admin-page) .yurae-header .yh-search-panel input,
    .compact-shop #shop-filters :is(input, select),
    .checkout-modern :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) {
        font-size: 16px;
    }

    .reference-home .rh-hero-copy {
        padding: 20px 18px 18px;
    }

    .reference-home .rh-hero-copy h1 {
        margin: 0 0 8px;
        font-size: clamp(31px, 8.4vw, 42px);
    }

    .reference-home .rh-hero-copy p {
        margin: 0 0 13px;
        font-size: 14px;
        line-height: 1.5;
    }

    .reference-home .rh-hero > picture > img {
        aspect-ratio: 2.15 / 1;
        object-fit: cover;
        object-position: right center;
    }

    .hero-slider-controls {
        padding-block: 1px;
    }

    .reference-home .rh-services {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 18px var(--home-side-gutter, 10px);
        gap: 16px var(--home-column-gap, 4px);
    }

    .reference-home .rh-services > div {
        grid-template-columns: 1fr;
        align-content: start;
        text-align: center;
    }

    .reference-home .rh-services > div > span {
        grid-column: 1;
        grid-row: auto;
        margin-bottom: 6px;
    }

    .reference-home .rh-services svg {
        width: 26px;
        height: 26px;
    }

    .reference-home .rh-services strong { font-size: 18px; }
    .reference-home .rh-services small { margin-top: 4px; font-size: 16px; line-height: 1.25; }

    .compact-shop .shop-filter-drawer { padding: 0; }
    .compact-shop .shop-filter-drawer > summary { min-height: 48px; padding: 10px 13px; box-sizing: border-box; }
    .compact-shop .shop-layout .category-results-bar { gap: 8px; margin-bottom: 12px; }
    .compact-shop .shop-layout .category-sort { flex: 1 1 130px; min-width: 0; max-width: 190px; }
    .compact-shop .category-sort select { min-height: 44px; font-size: 15px; }
    .compact-shop .category-results-bar > p { font-size: 14px; white-space: normal; }
    .compact-shop .category-products.product-grid { gap: 10px; }

    .single-product-page .purchase-buttons button,
    .single-product-page .delivery-check button,
    .checkout-modern .checkout-submit {
        min-height: 44px;
    }

    [data-product-buy-bar] {
        gap: 10px;
        padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    }

    [data-product-buy-bar] > span { min-width: 0; }
    [data-product-buy-bar] small { font-size: 12px; line-height: 1.3; }
    [data-product-buy-bar] button {
        min-height: 44px;
        padding: 8px 10px;
        font-size: 15px;
        white-space: nowrap;
    }

    body:has([data-product-buy-bar]) .whatsapp-link,
    body:has([data-product-buy-bar]) .back-top {
        bottom: calc(94px + env(safe-area-inset-bottom, 0px));
    }
}

@media screen and (max-width: 360px) {
    body:not(.admin-page) .yurae-header .header-inner { padding-inline: 8px; }
    body:not(.admin-page) .yurae-header .brand { gap: 4px; }
    body:not(.admin-page) .yurae-header .yh-live-wordmark { font-size: 14px; letter-spacing: 1.4px; }
}
