@media (max-width: 1400px) {
    .header .header_top {width: 100%;}
    .header_bottom {width: 100%;}
}


@media (max-width: 1400px) {
  html {
    font-size: 50%;
  }
  section {
    width: 100%;
  }
  .header_bottom {
    width: 100%;
    padding: 20px 15px;
  }
  .header .header_top {
    padding: 12px 15px;
    width: 100%;
  }
  .footer .footer_inner {
    width: 100%;
  }
  .popular .swiper-container,
  .recommendation .swiper-container {
    overflow: hidden;
  }
  section {
    padding: 0 15px;
  }
  .footer_inner {
    padding: 0 15px;
  }
  .footer_bottom {
    padding: 0 15px;
  }
  .footer_all_rights {
    width: 100%;
  }
  .secwrap {
    margin: 50px auto;
  }
  .secwrap {
    width: 100%;
    padding: 0 15px;
  }
  .write form > input {
    padding: 15px;
  }
  .write textarea {
    margin-bottom: 30px;
  }
  .send_btn {
    height: 50px;
  }
  .write .subtitle_txt {
    margin-bottom: 30px;
  }
  .re_calender_container {
    flex-flow: column;
  }
  .re_calender_inner_wrap {
    width: 100%;
  }
  .re_calender_inner_wrap:first-child {
    margin-bottom: 10px;
  }
  .result_calender_wrap {
    width: calc(792px / 2);
  }
  .pop.package_details_pop .pop_con {
    width: 90%;
  }
  .cr_c_inwrap {
    flex-flow: column;
    align-items: baseline;
  }
  .cr_c_inwrap > .credit_c_inbox {
    margin-bottom: 20px;
    width: 100%;
  }

  .det_sec_wrap {
    width: 100%;
  }
  .promo_code_pop.pop .pop_con {
    width: 85%;
  }
  .sub_menu_white_bg {
    top: 60px;
  }
  .sub_header_bottom_menu > li > a {
    font-size: 11px;
  }
  .m_save_heart_wrap {
  	display: none;
  }
}

@media (max-width: 1080px) {
  .mid_b_txt .mid_t_b {
    margin-bottom: 15px;
  }
  .help_warp li > a > .help_icon {
    width: 39%;
  }
  .search_results_content .sr_toptxt_wrap .page_wrap {
    position: relative;
  }
  .sr_content_list_wrap li {
    width: 32%;
  }
  .review_img_pop .img_con {
    width: 80%;
  }
  #det_sec03 .what_to_expect_wrap {
    width: 100%;
  }
  #det_sec04 .reviews_wrap {
    width: 100%;
  }
  section.receipt_sec .tb_b_total_wrap {
    width: 50%;
  }
  .voucher_wrap {
    width: 100%;
  }
  .write.secwrap {
    width: 100%;
  }
  .m_save_heart_wrap {
  	display: none;
  }
}

@media (max-width: 830px) {
  .header_left {
    width: 15%;
  }
  .header_right {
    width: 85%;
  }
  .h_r_sh_wrap {
    width: 62%;
  }
  .hd_loginbtn.m_loginbtn {
    width: 25%;
  }
  .m_menu_btn {
    width: 13%;
  }
  .search_text {
    width: 87%;
  }

  .login_notice_bell_icon {
    margin-top: 6px;
    width: 5%;
  }
  .login_chat_icon {
    margin-top: 6px;
    width: 5%;
  }
  .m_logo img {
    width: 70px;
  }
  .det_heart_btn {
    width: 5%;
    margin-top: 6px;
  }
  .header_inner .header_right {
    justify-content: flex-end;
    padding-right:10px
  }
  .header_inner .det_heart_btn {
    text-align: left;
  }
  .popular > .set_tltle_box {
    padding: 0px 15px;
  }
  .popular > .popular_gallary_box {
    padding: 0px 15px;
  }
 .recommendation {
    padding: 0px 15px;
  }
  .m_save_heart_wrap {
  	display: none;
  }
 /*
  .store_box { 
  	display: none; 
	}
*/
}


@media (max-width: 768px) {
  .header_left {
    width: 14%;
  }
  .header_right {
    width: 86%;
  }
  .h_r_sh_wrap {
    width: 62%;
  }
  .hd_loginbtn.m_loginbtn {
    width: 25%;
  }
  .m_menu_btn {
    width: 13%;
  }
  .shop_sel_li_left .quantity_box {flex-direction: column; align-items: flex-start; padding: 10px;}
  .shop_sel_li_left .quantity_box_left_wrap {width: 100%;}
  .search_text {
    width: 87%;
  }


  .main_banner .swiper-button-prev,
  .main_banner .swiper-button-next {
    display: none;
  }
  .popular_slide_wrap {
    overflow: visible;
  }
  .popular {
    overflow: hidden;
  }
  .recommendation {
    overflow: hidden;
  }
  .partner_li > li {
    width: calc(100% / 3);
  }
  .footer_list_wrap {
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-between;
  }
  .footer_li.footerli_txt {
    width: 40%;
  }
  .footer_li.footerli_img {
    width: 40%;
  }
  .footer_li:nth-child(3) {
    margin-right: 0;
  }
  footer .footer_inner .footer_top {
    padding: 20px 0 35px;
  }
  .footer_payment_wrap {
    flex-wrap: wrap;
  }
  .que > span {
    font-size: 1.8rem;
  }
  .sr_content_list_wrap li {
    width: 49%;
  }
  .chk_inner_li .chk_inner_item {
    margin-left: 5px;
  }
  .fir_chk_item {
    padding: 10px 5px;
  }
  .left_aside_top > h4 {
    margin-left: 5px;
    margin-bottom: 10px;
  }
  .aside_selected_top {
    padding: 0 5px;
  }
  .left_aside {
    display: none;
  }
  .search_results_content {
    width: 100%;
  }
  .left_aside_top > h4 {
    font-size: 18px;
  }
  .left_aside_top .chk_wrap input[type="checkbox"] + label {
    font-size: 12px;
    padding-left: 16px;
    background-size: 12px;
  }
  .left_aside_top .chk_wrap input[type="checkbox"]:checked + label {
    background-size: 12px;
  }
  .fir_chk_item .open_arrow_btn {
    width: 10px;
  }
  .chk_inner_item {
    padding: 10px 5px;
  }
  .seeall_btn {
    height: 32px;
  }
  .page_wrap > li > img {
    width: 6px;
  }
  .cle_sel_txt {
    padding-left: 5px;
  }
  .save_heart_wrap {
    display: none;
  }
  .m_save_hear_wrap {
  	display: block;
  }
  .top_icon_txt_wrap {
    display: block;
	width: 100%;
  }
  .sel_mark_txtwrap {
    width: 100%;
    margin-bottom: 15px;
  }
  .top_nav_txt_markwrap {
    margin-bottom: 15px;
  }
  .top_icon_txt_wrap .location_text {
    margin-left: 0;
  }
  #det_sec06 .popular_slide1 {
    overflow: hidden;
    margin-bottom: 30px;
  }
  .sr_toptxt_wrap .filter_btn {
    display: block;
  }
  .detailed_page .result_calender_wrap {
    width: 98%;
  }
  .pop.destinations_pop {
    display: none;
  }
  .reservation_container {
    flex-flow: column-reverse;
  }
  .res_right_content,
  .res_left_content {
    width: 100%;
  }
  .con_info_list > p {
    width: 100%;
  }
  .con_info_list {
    display: block;
  }
  .con_info_list > span {
    width: 100%;
  }
  .pop .other_info_con {
    width: 100%;
  }

  .shop_top_li_box {
    flex-flow: column;
  }
  .shop_top_select_box {
    width: 100%;
  }
  .shop_sel_li_left {
    width: 100%;
  }
  .shop_sel_li_right {
    width: 100%;
  }
  .shop_sel_li_left {
    margin-bottom: 20px;
  }
  .res_left_con_wrap {
    width: 100%;
  }
  .cr_c_inwrap {
    margin: 20px 0;
  }
  .cancell_li_txtbox {
    width: 95%;
    left: 0;
    bottom: 40px;
  }
  section.receipt_sec .receipt_info_bar {
    display: block;
  }
  section.receipt_sec .receipt_info_bar p {
    margin-bottom: 15px;
  }
  section.receipt_sec .receipt_info_bar > div > p {
    margin-bottom: 0;
  }
  section.receipt_sec .tb_b_total_wrap {
    width: 100%;
  }
  .tb_b_total_wrap span {
    width: 70%;
  }
  section.receipt_sec .receipt_info_bar {
    margin-bottom: 40px;
  }
  section.receipt_sec button.print_btn {
    margin: 50px auto 0;
  }
  section.receipt_sec button.print_btn {
    width: 50%;
    height: 50px;
  }
  section.receipt_sec {
    margin: 35px auto 80px;
  }
  .hd_sel_inner_box {
    grid-template-columns: 100%;
  }
  .mob_nav .mya_wrap .my_a {
    padding : 10px 20px;
  }

  .m_save_heart_wrap {
  	display: block;
  }
/*
  .store_box { 
  	display: none; 
	}
*/
}
@media (max-width: 652px ) {
    .hd_shopbtn {
        font-size: 12px;
    }
}

@media (max-width: 600px) {
  .header_left {
    width: 16%;
  }
  .header_right {
    width: 84%;
  }
  .h_r_sh_wrap {
    width: 62%;
  }
  .hd_loginbtn.m_loginbtn {
    width: 25%;
  }
  .m_menu_btn {
    width: 13%;
  }
  .search_text {
    width: 87%;
  }

  .pop .pop_con {
    width: 90%;
    padding: 30px;
  }
  .pop_sub_title {
    margin-bottom: 15px;
  }
  .pop input {
    padding: 10px;
  }
  .login_pop input {
    margin-bottom: 15px;
  }
  .or_login_txt {
    margin: 20px 0;
  }
  .login_icon_wrap {
    gap: 0 10px;
  }
  .password_pop .pop_sub_txt {
    margin-bottom: 15px;
  }
  .password_pop .passw_in_txt {
    margin-bottom: 15px;
    font-size: 10px;
  }
  .main_banner {
    height: 146px;
  }
  .main_banner_li  img {
    height: 146px;
   /* object-fit: cover; */
  }
  /* main page (kanban #264): 146px tall stretched the 3.6:1 banners 1.35x (390px wide).
     Now the desktop shape, 3.6:1 (design/BANNERS.md: all 4 sites), so a 2000x555 banner shows whole, and one height
     for every slide (pages_ko banners are 2.7:1: cut top and bottom, not stretched, no jump between slides).
     Same height as above 600px for 3.6:1 banners. The detail page keeps its 56vw rules below. */
  .main .main_banner {
    height: auto;
  }
  .main .main_banner_li img {
    height: auto;
    aspect-ratio: 18 / 5;
    object-fit: cover;
  }
  /* mobile image (kanban #348): a slide with one shows it (<picture> in index.php, 600px and below).
     The box is the tallest mobile image's shape (has-m, --m-ratio from index.php; default 4:3, design/BANNERS.md),
     cover cuts the other mobile images a little. A slide without one shows its PC image whole in that box (no-m),
     on dark grey: the active slide dot is white and was not seen on light grey. No mobile image on the site: the 18 / 5 rule above */
  .main .main_banner.has-m .main_banner_li img {
    aspect-ratio: var(--m-ratio, 4 / 3);
    object-fit: cover;
  }
  .main .main_banner.has-m .main_banner_li.no-m img {
    object-fit: contain;
    background-color: #333;
  }
  .main_banner_text img {
    width: 50%;
    margin: 0 auto 3px;
  }
  .main_banner_text .mb_inner_txt {
    font-size: 12px;
  }
  .sec_title {
    font-size: 22px;
    margin-bottom: 8px;
  }
  .popular_gallary {
    gap: 10px 0;
  }
  .popular_gallary .pop_gal_txt > p {
    font-size: 12px;
  }
  .popular_gallary .pop_gal_txt > h4 {
    font-size: 18px;
  }
  .popular_li > li h3 {
    font-size: 12px;
    margin-bottom: 10px;
    font-weight: 600;
    width: 100%;
    height: 35px;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-all;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .popular_li > li .krw_amount {
    font-size: 16px;
  }

  .sel_options_left_container {
    position: relative;
    width: 100%;
}

  /*    .pop_li_txt {padding: 8px 10px 10px;}*/
  .pop_li_txt {
    padding: 2px;
  }

  .det_sec_wrap {

    flex-direction: column-reverse;
  }

  .det_sec_wrap_left > section {padding: 0;}

  #det_sec02 .sel_options_right {
    padding: 0;
  }

  .det_sec_wrap .det_sec_wrap_left {width: 100%;}
  
  .mid_banner {
  	width: 100%;
    height: 40vw;
  }
  .mid_b_txt h3 {
    font-size: 18px;
  }
  .mid_b_txt .mid_t_h {
    font-size: 12px;
  }
  .mid_b_txt .mid_t_b {
    font-size: 11px;
  }
  .mid_b_txt .mid_b_btn {
    font-size: 12px;
    padding: 0 10px;
    height: 32px;
  }
  .main_banner,
  .popular_slide1,
  .popular_gallary,
  .mid_banner,
  .recommendation,
  section.sec_02 {
    margin-bottom: 15px;
  }
  .help_warp li > a {
    height: 100px;
  }
  .help_warp li > a > .help_icon {
    top: -30px;
    left: -10px;
  }
  .help_item p {
    font-size: 1.6rem;
  }
  .title_txt1 {
    margin-bottom: 40px;
  }
  .help_warp {
    margin-bottom: 50px;
  }
  .anw span {
    font-size: 1.6rem;
  }
  .anw span::before {
    font-size: 2.6rem;
  }
  .que {
    padding: 20px;
  }
  .anw {
    padding: 20px;
  }
  .category .selectBox2 {
    width: 200px;
  }
  .left_aside_top {
    overflow: hidden;
  }
  .sr_selc_box.flex {
    flex-flow: column;
  }
  .booked_txt {
    margin-bottom: 8px;
  }
  .w_txt_wrap > span {
    margin-bottom: 5px;
  }
  .sr_content_list_wrap > li .w_txt_wrap {
    margin-bottom: 8px;
  }
  .price_btxt_wrap {
    margin-bottom: 8px;
  }
  .sr_content_list_wrap .srcon_li_txt {
    padding: 8px;
  }
  .price_btxt_wrap::after {
    content: "";
    display: block;
    clear: both;
  }
  .srcon_li_txt span.dis_price_txt {
    float: right;
  }
  .sr_content_list_wrap {
    gap: 10px 0;
    justify-content: space-between;
  }
  .w_txt_wrap > span {
    padding: 3px;
    font-size: 10px;
  }
  .detailed_page .main_banner {
    display: block;
	height: 56vw;
  }

 .detailed_page .main_banner_li  img {
    height: 56vw;
   /* object-fit: cover; */
  }
  .detailed_page .img_wrap {
    display: none;
  }
  .detailed_page {
    margin-top: 0;
  }
  .sel_mark_txtwrap {
    display: flex;
    flex-wrap: wrap;
    gap: 5px 0;
  }
  .right_txt_con {
    display: none;
  }
  .det_txt_wrap {
    display: block;
  }
  .detailed_page section .left_txt_con {
    width: 100%;
  }
  .sel_options_wrap {
    flex-flow: column;
  }
  #det_sec02 .sel_options_left {
    width: 100%;
  }
  .sel_options_right {
    width: 100%;
  }
  .sel_op_box.quan_box {
    display: block;
  }
  .mob_pack_btn_wrap {
    position: fixed;
    left: 0;
    bottom: 0;
    background-color: #fff;
    width: 100%;
    padding: 8px 15px 12px;
    z-index: 2;
    border-top: 1px solid #e0e0e0;
  }
  .mob_pack_btn_wrap .right_b_pay {
    display: block;
	text-align: right;
  }
  #det_sec02 .p_txt_notice {
	/*   display: block; */
    width: fit-content;
  }
  .package_det_fold > .fold_det_itemwrap {
    padding: 15px 0;
  }
  #det_sec02 .sel_options_right {
    height: auto;
    background-color: #fff;
  }
  .enlargement_btn {
    display: none;
  }
  #det_sec04 .reviews_wrap {
    display: none;
  }
  #det_sec02 .in_sub_txt.sel_op_sub_txt {
    display: none;
  }
  .sel_op_box form input[type="radio"] + label > p {
    display: block;
  }
  #det_sec01,
  #det_sec02,
  #det_sec03,
  #det_sec04,
  #det_sec05 {
    margin-bottom: 30px;
  }
  .wte_img_wrap > img {
    margin-bottom: 5px;
  }
  .sel_op_box form input[type="radio"] + label {
    width: 100%;
    font-size: 14px;
  }
  .exp_more_wrap {
    display: none;
  }
  .reviews_wrap_mobile {
    display: block;
  }
  h4.top_sub_title, h1.top_sub_title, div.goods_title_line { /* detail page title line: the div holds the h1 (inline, goods title only) and the option mark; same look (kanban #146, #168) */
    margin-bottom: 20px;
    font-size: 20px;
  }
  .faqs_wrap > .hc_btn {
    font-size: 14px;
    width: 150px;
    height: 40px;
  }
  .faqs_wrap {
    margin-bottom: 30px;
  }
  .package_det_fold .fold_item .fold_title {
    font-size: 14px;
  }
  .package_details_pop {
    display: none;
  }
  .review_img_pop .swiper-button-next {
    right: 0;
  }
  .review_img_pop .swiper-button-prev {
    left: 0;
  }
  .upgrades_box {
    padding: 20px 10px;
  }
  .no_show_bt_txt {
    flex-flow: column;
    align-items: flex-start;
  }
  .credit_c_inbox input[type="number"] {
    width: 80%;
  }
  .n_pay_box > button {
    width: 47%;
  }
  .n_pay_box > button:first-child {
    margin-right: 10px;
  }
  .see_book_top_txt {
    flex-flow: column;
    align-items: baseline;
  }
  .see_book_top_txt {
    padding-bottom: 20px;
  }
  .see_book_bottom_txt {
    padding-top: 20px;
    flex-flow: column;
    align-items: baseline;
  }
  .paid_left_wrap {
    margin-bottom: 15px;
  }
  .see_bookings_box {
    padding: 20px;
  }
  .see_bookings_box > h3 {
    padding-bottom: 20px;
  }
  .booking_det_inner {
    display: block;
  }
  .booking_det_img {
    margin: 0 0 20px 0;
  }
  .voucher_wrap .v_dw_btn {
    width: 80%;
  }
  .v_title_top_wrap {
    padding: 15px;
  }
  .shop_top_li_box {
    margin-bottom: 50px;
  }
  .hd_sel_inner_box {
    grid-template-columns: 100%;
  }

  .w_region_chk_wrap > label.region_chk {
    width: 50%;
  }

	.top_route_txt {
	  margin-bottom: 20px;
	}

  .m_save_heart_wrap {
  	display: block;
  }
/*
  .store_box { 
  	display: none; 
	}
*/




}

@media (max-width: 500px) {
  .header_left {
    width: 22%;
  }
  .header_right {
    width: 78%;
  }
  .h_r_sh_wrap {
    width: 59%;
  }
  .hd_loginbtn.m_loginbtn {
    width: 25%;
  }
  .m_menu_btn {
    width: 16%;
  }
  .search_text {
    width: 87%;
  }

  .mid_banner {
  	width: 100%;
    background: url(../img/mid_banner_m.png) no-repeat center;
	height: 40vw;
  }
  .footer_li.footerli_txt {
    width: 45%;
    min-width: 0;
  }
  /* footer text (kanban #355): the Contact e-mail has no break point and was wider than the 45% column,
     the page got wider (360: +19px) and the fixed popups with it. Break it inside the column, any address length.
     break-word first for browsers without anywhere (Safari before 15.4) */
  .footer_li.footerli_txt a {
    overflow-wrap: break-word;
    overflow-wrap: anywhere;
  }
  .footer_li.footerli_img {
    width: 45%;
  }
  .footer_payment_wrap > li {
    width: 30%;
  }
  .sec_title > img {
    width: 26px;
  }
  .main_banner .swiper-pagination-bullet {
    width: 7px;
    height: 7px;
  }
  .title_txt1 {
    font-size: 2.4rem;
  }

  .left_aside_top > h4 {
    font-size: 14px;
  }
  .selected_marktxt {
    padding: 4px 2px;
    font-size: 10px;
  }
  .selected_marktxt img {
    width: 6px;
  }
  .search_results_content .sr_toptxt_wrap {
    margin-bottom: 20px;
  }
  .score_star {
    font-size: 12px;
  }
  .rev_txt {
    font-size: 10px;
  }
  .score_star > img {
    width: 12px;
  }
  .best_price_mark_txt {
    font-size: 8px;
  }
  .popular_li > li .pop_li_route_txt {
    display: none;
  }
  .score_star {
    margin-bottom: 10px;
    display: none;
  }
  .popular_li > li .krw_amount .krw_mark {
    font-size: 8px;
  }
  .popular_li > li .krw_amount .krw_mark {
    padding: 1px 2px;
  }
  .popular_li > li .krw_amount .krw_mark {
    margin-right: 5px;
/*    display: none; */
  }
  .popular_li > li .krw_amount {
    font-size: 10px;
  }

  .popular_li > li .pop_li_img {height: 72px;}
  .sr_toptxt_wrap .filter_btn {
    display: block;
  }
  .sr_toptxt_wrap .filter_btn2 {
    display: block;
  }
  .pop .pop_con.destinations_pop_con {
    width: 90%;
  }
  .destinations_pop_con .fix_btn_wrap {
    padding: 10px 30px;
  }
  .destinations_pop_con .fix_btn_wrap button {
    height: 35px;
  }
  .pop_title {
    font-size: 18px;
  }
  .left_aside_top {
    padding: 10px 0;
  }
  .calender_bottom_wrap > p {
    font-size: 10px;
  }
  .calender_bottom_wrap > p::before {
    margin-right: 5px;
  }
  .upgrades_chk {
    margin-top: 0;
  }
  .upgrades_right_txt_wrap h5.noshow_txt {
    display: block;
    margin-bottom: 10px;
  }
  .upgrades_box span.flex_txt {
    margin-left: 0;
  }
  .upgrades_box span.k_txt {
    margin-left: 0;
  }
  .reservation_step {
    padding: 27px 45px 47px;
  }
  .enter_info_content {
    padding: 20px 15px;
  }
  h3.enter_title {
    padding: 20px 15px;
  }
  .res_right_box {
    padding: 20px 15px;
  }
  .upgrades_topbanner {
    padding: 20px 10px;
  }
  .coupon_input > input {
    width: 180px;
  }
  .coupon_input > button {
    width: 70px;
  }
  .discounts_folder > p {
    width: 70%;
  }
  section > .reservation {
    margin: 20px 0 50px;
  }
  .dis_coupon_in_txt_wrap > span {
    margin-right: 0px;
  }
  .dis_coupon_in_txt_wrap > span {
    padding: 5px;
  }
  .dis_coupon_in_txt_wrap {
    gap: 3px;
    flex-wrap: wrap;
  }
  .coupon_list_wrap {
    padding: 15px;
  }

  .pop .other_info_con {
    height: 100%;
  }
  /* .o_pop_in_wrap {flex-flow: column; align-items: flex-start;}
    .phone_in_wrap {flex-flow: column; align-items: flex-start;}
    .o_pop_in_item {width: 100%; margin-bottom: 10px;} */
  .pop .other_info_con {
    padding: 20px;
  }
  .pop .other_info_con .o_pop_close_btn {
    top: 20px;
    right: 20px;
    width: 5%;
  }
  .o_pop_in_wrap {
    margin-bottom: 20px;
  }
  .other_info_pop .o_pop_in_wrap label {
    margin-bottom: 5px;
  }
  .o_pop_in_item.em_in_box {
    width: 100%;
  }
  .o_pop_in_item.country_in_box {
    width: 100%;
  }
  .phone_in_wrap {
    flex-flow: column;
    align-items: flex-start;
  }
  .phone_in_wrap .o_pop_in_item {
    width: 100%;
  }
  .selectBox2 .optionList {
    padding: 0;
  }
  .phone_in_wrap .o_pop_in_item > .other_selc_box {
    margin-bottom: 10px;
  }
  .pop_other_btnwrap {
    position: relative;
    width: 100%;
    margin-top: 20px;
    bottom: 0;
    left: 0;
  }
  .pop_other_btnwrap > button {
    height: 40px;
  }
  .shop_sel_img_warp {
    margin-right: 10px;
  }
  .child_num_wrap {
    position: relative;
    top: 0;
    right: 0;
    margin-top: 10px;
    width: 40%;
  }
  .shop_sel_txt_warp {
    width: 100%;
  }
  .pm_card_img {
    width: 14%;
  }
  .pm_card_img > img {
    width: 100%;
  }
  .pm_card_img.flex {
    flex-flow: column;
    gap: 3px 0;
  }
  .comp_pay_inner input[type="radio"] {
    width: 16px;
    height: 16px;
  }
  .promo_codepop_inner {
    padding: 15px;
  }
  .promo_codepop_inner input[type="number"] {
    width: 160px;
  }
  .promo_codepop_inner form button {
    width: 60px;
  }
  .promo_code_pop.pop .pop_con {
    padding: 20px 15px;
  }
  .p_code_tab li {
    width: 50%;
  }
  .p_code_tab li a {
    width: 100%;
  }
  .r_close_btn {
    top: -35px;
    right: 0;
  }
  .payment_succ_top > h3 {
    font-size: 22px;
    margin-bottom: 20px;
  }
  .payment_succ_top .see_book_btn {
    height: 50px;
  }
  .payment_succ_top .pm_order_num_txt > p.order_num_t {
    margin-bottom: 30px;
  }
  .payment_succ_top > p {
    margin-bottom: 20px;
  }
  .payment_succ_top {
    margin-bottom: 40px;
  }
  .payment_succ_pop.pop .pop_con > img {
    margin: 0 auto 15px;
    width: 20%;
  }
  .tb_b_total_wrap span {
    width: 60%;
  }
  .hd_sel_inner_box {
    grid-template-columns: 100%;
  }
  .popular_gallary > a {
    width: 23%;
    height: 126px;
  }
  .popular_gallary > a img {
    height: 100%;
    object-fit: cover;
  }
  .popular_gallary .pop_gal_txt {
    top: 10px;
    left: 50%;
    transform: translate(-50%, 0px);
    width: 100%;
  }
  .popular_gallary .pop_gal_txt > p {
    font-size: 9px;
    text-align: center;
  }
  .popular_gallary .pop_gal_txt > h4 {
    font-size: 12px;
    text-align: center;
  }

  .popular_li > li .krw_amount {
    display: none;
  }
  .popular_li > li .krw_amount1 {
    display: block;
    text-align: right;
    color: #df25ad;
    font-size: 15px;
    font-weight: 700;
    text-align: right;
  }

  .popular_li > li .krw_amount1 .krw_mark {
    font-size: 12px;
  }

  .mid_b_txt {
    padding: 0px 15px;
  }
  .mid_b_txt .mid_t_h {
    margin-bottom: 5px;
  }

  .seoul_etc_txt_wrap textarea {width: 100%; margin-left: 0;}
  
  .send_btn {width: 100%;}

	.popular_li > li {
	  width: 30% !important;
	  display: inline-block;
	  border-radius: 4px;
	} 

  .m_save_heart_wrap {
  	display: block;
  }
 /*
  .store_box { 
  	display: none; 
  }
 */
}

@media (max-width: 450px) {
  .header_left {
    width: 22%;
  }
  .header_right {
    width: 78%;
  }
  .h_r_sh_wrap {
    width: 59%;
  }
  .hd_loginbtn.m_loginbtn {
    width: 25%;
  }
  .m_menu_btn {
    width: 16%;
  }
  .search_text {
    width: 87%;
  }
  .write h2.title_txt > span {display: block;}

  .coupon_inner_list > li {
    background: #fff;
    border: 1px solid #e0e0e0;
    height: auto;
    width: 100%;
    border-radius: 10px;
    padding: 15px;
  }
  .coupon_inner_list > li .cp_line {
    margin: 20px auto;
  }
  .chkst1 .on {
    width: 18px;
    height: 18px;
    border-radius: 2px;
  }
  .on:after {
    width: 6px;
    height: 10px;
    left: 6px;
    top: 2px;
  }
  .shop_selected_wrap .chkst1 {
    padding-left: 24px;
  }
  .w_region_chk_wrap {flex-direction: column;}

  .w_region_chk_wrap > label.region_chk {
    width: fit-content;
}

.write .chkst1.region_chk {
    font-size: 16px;
}

.write .chkst1.region_chk br {display: none;}
/*
	.store_box { 
		display: none; 
	}
*/
}

@media (max-width: 400px) {
  .header_left {
    width: 22%;
  }
  .header_right {
    width: 78%;
  }
  .h_r_sh_wrap {
    width: 55%;
  }
  .hd_loginbtn.m_loginbtn {
    width: 20%;
    font-size: 12px;
  }
  .m_menu_btn {
    width: 16%;
  }
  .search_text {
    width: 87%;
  }

  .result_calender_wrap {
    width: 97%;
  }
  .h_r_sh_wrap input[type="text"] {
    width: 95%;
  }
  .m_logo img {
    width: 75px;
  }
  .login_notice_bell_icon {
    width: 10%;
    margin-left: 5px;
  }
  .login_chat_icon {
    width: 11%;
    margin-left: 5px;
  }
  .hd_shopbtn > img {
    margin-right: 0px;
  }
  .det_heart_btn {
    width: 10%;
    margin-left: 5px;
  }

  .m_save_heart_wrap {
  	display: block;
  }

  .mid_banner {
  	width: 100%;
    background: url(../img/mid_banner_m.png) no-repeat center;
	height: 40vw;
  }
/*
	.store_box { 
		display: none; 
	}
*/
}

@media (max-width: 300px) {
  .mid_banner {
  	width: 100%;
    background: url(../img/mid_banner_m.png) no-repeat center;
	height: 68vw;
  }
/*
	.store_box { 
		display: none; 
	}
*/




 }

/* slider arrows (kanban #362): style.css puts them 50px outside the 1400px slider (.popular_slide1, main and goods page).
   Below about 1500px there is no such room: they went off the screen (1440: page +30px, goods page 1024: +35px)
   or were cut by the slider box (main 1400 and below), and were not seen. Here they sit on the slider's inner edges,
   seen and pressed. Wide screens (1541+) and mobile (768 and below, swipe, arrows cut as before) are unchanged */
@media (min-width: 769px) and (max-width: 1540px) {
  .popular_slide1 .swiper-button-prev {
    left: 0;
  }
  .popular_slide1 .swiper-button-next {
    right: 0;
  }
}

/* mobile header height (kanban #362): at 500px and below the Cart button (main, and every page when logged in) has its icon
   and "Cart" on two lines (46px), and the header is 98px. With the LOGIN button (goods page, mypage, Reviews, not logged in)
   it was 89~90px, and on main at 390~400px (Cart on one line) too. Only the height is set here: the box the logo and the
   buttons are centered in. Buttons, text and the search box are as before */
@media (max-width: 500px) {
  .header_m .header_inner {
    min-height: 46px;
  }
}
