/* Shared sizing rules load after page styles. Desktop artwork uses 1920px;
   mobile artwork uses 750px. Keep the same bases in FontSize.js. */
.detail_video_stage {
    width: 100%;
    margin-left: 0;
}

@media screen and (max-width: 1024px) {
    html {
        font-size: min(13.333333vw, 100px);
    }

    .about_info,
    .about_info p {
        width: 100%;
    }

    .catalog_text .index_title {
        white-space: normal;
    }
}

@media screen and (min-width: 1025px) {
    .index_title {
        font-size: clamp(36px, .7rem, 70px);
    }

    .index_banner .swiper-slide .banner_slogan {
        font-size: clamp(36px, .8rem, 80px);
    }

    .catalog_text .index_title {
        font-size: clamp(36px, .9rem, 90px);
    }

    .about_info,
    .about_info p {
        width: 100%;
        min-height: 0;
        font-size: clamp(16px, .28rem, 28px);
    }

    .aboutIntroCopy h1 {
        line-height: 1.3;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .faq .main,
    .news_body,
    .contact_page,
    .search {
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .product_page,
    .new_items_page,
    .wish_page,
    .confirm_page,
    .view_page,
    .wish_detail_page {
        padding-top: 28px;
        padding-bottom: 48px;
    }

    .crumbWrap {
        margin-top: 24px;
    }

    .index_about .main {
        gap: 32px;
    }

    .about_text {
        width: 58%;
        min-width: 0;
    }

    .about_logo {
        width: 36%;
        height: auto;
        aspect-ratio: 1;
        flex-shrink: 0;
    }

    .index_about,
    .index_customers {
        padding: 48px 0;
    }

    .index_banner .banner_main {
        height: clamp(360px, 55vw, 560px);
    }

    .index_video .video_main {
        height: auto;
        aspect-ratio: 16 / 9;
    }

    .catalog_body {
        gap: 24px;
    }

    .catalog_img {
        width: 58%;
    }

    .catalog_text {
        width: 38%;
        min-width: 0;
    }

    .catalog_text .index_title {
        font-size: clamp(24px, 3.5vw, 36px);
    }

    .index_catalog .catalog_main {
        min-height: 0;
        padding-bottom: 48px;
    }

    .product_headline {
        flex-wrap: wrap;
        gap: 20px;
    }

    .product_search {
        width: min(100%, 590px);
    }

    .product_grid {
        margin-top: 36px;
    }

    .new_items_page .new_items_grid {
        margin-top: 36px;
    }

    .new_items_title {
        font-size: 36px;
    }

    .detail_hero {
        row-gap: 32px;
    }

    .detail_main_frame {
        height: auto;
        aspect-ratio: 1.25;
    }

    .picture_card_hero {
        min-height: 0;
    }

    .detail_actions {
        margin-top: 32px;
    }
}

@media screen and (max-width: 768px) {
    .footer_bottom {
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 24px 16px 36px;
    }

    .footer_bottom .foot_item {
        display: flex;
        align-items: start;
        gap: 12px;
        width: 100%;
        margin: 0;
    }

    .footer_bottom .foot_icon {
        box-sizing: border-box;
        display: flex;
        width: 28px !important;
        min-width: 28px;
        max-width: 28px;
        height: 28px !important;
        min-height: 28px;
        max-height: 28px;
        aspect-ratio: 1 / 1;
        flex: 0 0 28px;
        align-self: start;
        line-height: 0;
    }

    .footer_bottom .foot_icon img {
        display: block;
        width: 52%;
        height: 52%;
        object-fit: contain;
        flex: 0 0 auto;
    }

    .footer_bottom .foot_item .foot_text {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        text-transform: none;
        overflow-wrap: anywhere;
    }

    .footer_bottom .foot_text span + span {
        margin-top: 4px;
    }

    .index_about,
    .index_customers {
        padding: 32px 0;
    }

    .about_info,
    .about_info p {
        margin-top: 18px;
        font-size: 14px;
    }

    .about_info p:first-child {
        margin-top: 0;
    }

    .index_banner .swiper-slide .banner_slogan {
        font-size: clamp(22px, 5.6vw, 32px);
    }

    .customers_desc,
    .customer_txt {
        font-size: 14px;
    }

    .product_page,
    .new_items_page {
        padding-top: 24px;
        padding-bottom: 36px;
    }

    .product_search input,
    .product_search button,
    .product_filter {
        min-height: 36px;
        font-size: 14px;
    }

    .product_search button {
        width: 80px;
    }

    .product_card_meta,
    .new_item_meta,
    .contact_card p {
        overflow-wrap: anywhere;
    }

    .aboutPage {
        padding-top: 32px;
    }

    .aboutLead {
        padding-top: 24px;
        gap: 24px;
    }

    .aboutFinalBand {
        margin-bottom: 36px;
    }
}
