@media screen and (max-width: 5000px) {
  .main { width: 100%; max-width: 1920px; padding: 0 30px; }
  .main.pdsmall { padding: 0 20px; }
}



@media screen and (max-width: 1800px) {
  .main { width: 100%; max-width: 100%; }

  nav .right .items .baskettop span.text { display: none; }  
  .maintopprimary nav a.button1 { padding: 0 20px; }
  .maintopprimary nav a.button1::after { display: none; } 

  .titulka_text { font-size: 60px; }

  #search_overlay { padding: 20px; }

  .products .item .image { padding: 15px 0px; height: 250px; min-height: 180px; }
  .products .item .bottom .row.spec { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 10px; }
  .products .item .bottom .row.spec .col { display: flex; justify-content: space-between; }
  .products .item .bottom .row.spec .value { margin-top: 0; }

  .cnf_items .cnf_item .cnf_products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .product.cnf .imagetitle { height: 400px; }

  .pages_nums .n1 { display: none; width: 0; }
  .pages_nums .n2 { width: 50%; text-align: left; }
  .pages_nums .n3 { width: 50%; }

  .basket { width: 100%; }
}


@media screen and (max-width: 1450px) {
 .products .productslist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
} 



@media screen and (max-width: 1366px) {
  .main { width: 100%; max-width: 100%; }
  
  /* nav .right .items .menu { padding: 0 20px 0 20px; }
  nav .right .items .menu::after { display: none; }  */

  nav .right .items { gap: 25px; }

  .searchresults .products .productslist { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .searchresults .products .item .image { height: auto; min-height: auto; padding: 15px; }

  .titulka_text { font-size: 60px; }

  .products .item .bottom .row { flex-direction: column; gap: 20px; }
  .products .item .bottom .row.cols { align-items: center; }
}




@media screen and (max-width: 1250px) {
  .main, .main.pdsmall { padding: 0 2% !important; }

  .maintopprimary nav a.button1 { display: none; }

  .titulka_text { font-size: 40px; }

  #search_overlay { padding: 5px; }
  #search_overlay .inner {  padding: 10px; }
  #search_overlay .sheader { margin-bottom: 21px; padding-bottom: 10px;  }
  #search_overlay .sheader .logo { display: none; }
  #search_overlay .sheader .input input[type="text"] { width: 90%; padding: 0 20px; }

  .searchresults .products .productslist { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .searchresults .products .item .image { height: auto; min-height: auto; padding: 15px; }

  .title_grid_nav { display:block; }
  .title_grid_nav .top,.title_grid_nav .left, .title_grid_nav .right { display:block; width:100%; }
  .title_grid_nav .top { margin:0 0 25px 0; }
  .title_grid_nav .left { margin:0 0 25px 0; }
  .title_grid_nav .right { margin:0; }

  .title_grid_nav .content { width: 100%; }

  .gallery_title { grid-template-columns: 1fr; grid-template-rows: none; gap: 18px; }
  .gallery_title .n1 { grid-column: 1; grid-row: auto; }
  .gallery_title .n2 { grid-column: 1; grid-row: auto; display: none; } /* nemá text */
  .gallery_title .n3 { grid-column: 1; grid-row: auto; }
  .gallery_title .n4 { grid-column: 1; grid-row: auto; }
  .gallery_title .n5 { grid-column: 1; grid-row: auto; }
  .gallery_title a { height: 600px; }
  .gallery_title a img { width: 100%; height: 100%; object-fit: cover; }

  .products_top .left .show_filters { display: none; }
  .products .productslist { flex: 1 1 100%; min-width: 100%; }

  .pr_container { flex-direction: column; gap: 20px; }
  .pr_container .pr_filter { flex: 0 0 100%; width: 100%; }
  .pr_container .products { max-width: 100%; }

  .cnf_result1 { margin-top: 50px; }

  .cnf_result { flex-direction: column; gap: 20px; justify-content: space-between; width: 100%; }
  .cnf_result > .left { padding-right: 0; border-right: none; }
  .cnf_result > .right { } 

  .product { display: flex; flex-direction: column; gap: 0; }
  .product, .product * { min-width:0; }
  .product .container { flex: 1 1 auto; width:100%; }
  .product .container .images { margin-top: 30px; }
  .product > .left { flex: 1 1 auto; width:100%; }
  .product.cnf > .left { flex: 1 1 auto; width:100%; }

  .product.standard .left { order: 2; }
  .product.standard .container { order: 1; }
  .product.standard .videos { margin-top: 40px; }

  .product.cnf > .left { position: static; top: auto; height: auto; overflow: visible; }
  .cnf_result1 { position: relative; }
  .product.cnf .cnf_items_container { margin-top: 40px; }

  .pages_nums { flex-wrap: wrap; gap: 40px; }
  .pages_nums .n2 { order: 2; width: 100%; text-align: center; }
  .pages_nums .n3 { order: 1; width: 100%; justify-content: center; }

  .product.cnf .left { width: 100%; }
  .product.cnf .container { width: 100%; }
}






@media (max-width: 680px) {
  .products .item .bottom .row.spec { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .product_bottom_grid { grid-template-columns: 1fr; }
  .product_bottom_grid .item { grid-column: auto !important; }
}




@media screen and (max-width: 1000px) {
  .maintopprimary { margin-top: 10px; }
  .maintopprimary.titlepage { margin-top: 0 !important; padding: 5px !important; }

  .hdr_index { height: auto; padding: 10px 10px 0 10px; border-radius: 15px; }
  .hdr_index .switch { position: relative; flex-direction: row; justify-content: flex-end; align-items: flex-end; padding: 20px 0 0 0; }
  .hdr_index .switch .top { order: 2; }
  .hdr_index .switch .top .items { flex-direction: column; }
  .hdr_index .switch .top .items .item { gap: 5px; width: 70px; height: 70px; padding: 5px; }
  .hdr_index .switch .bottom { flex: 1; flex-direction: column; margin-top: 20px; }
  .hdr_index .switch .bottom .hdr { display: none; }
  .hdr_index .switch .bottom .item_product { display: block; width: 100%; height: auto; padding-bottom: 0; background-color: transparent; }
  .hdr_index .switch .bottom .item_product .price_mt { display: inline-block; }
  .hdr_index .switch .bottom .item_product h4 { margin-top: 5px; line-height: 130%; padding: 15px; font-weight: 500; background-color: #ffffff; border-radius: 24px; }
  .hdr_index .switch .bottom .item_product .bottom {  align-items: flex-start; }
  .hdr_index .switch .bottom .item_product .image { display: none; }
  .hdr_index .switch .bottom .item_product .bottom .price { display: none; }
  .hdr_index .switch .bottom .item_product .bottom .button2 { margin-top: 5px; margin-left: 0; padding: 25px; }

  .hdr_index_sub nav .left .cnf_price_total { display: none; }

  .footer { padding: 60px 0; }
  .footer .main .col1 img { height: 60px; }
}






@media screen and (max-width: 768px) {
  .admin_top { display: none; }

  nav .right .items .searchcontainer { display: none; }
  nav .right .items .langs { display: none; }

  .menu_overlay .menu_overlay_inner .header a.searchbutton { display: block; }

  .products_top { flex-wrap: wrap; gap: 20px; }
  .products_top .left { width: 100%; }
  .products_top .left .button1 { width: 100%; }

  .footer .main { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 50px; }
  .footer .main .col2 { order: -1; }
}


@media screen and (max-width: 600px) {
  body { font-family: Helvetica, Arial, sans-serif; }

  .main, .main.pdsmall { padding: 0 3% !important; }

  .hdr.hdr1 { font-size: 48px; }

  .header .main { gap: 20px; }
  .header a.logo img { height: 30px; }

  .page_header { margin: 30px 0 20px 0; }
  .page_header h1 { font-size: 32px; letter-spacing: -2px; }

  .breadcrumbs ul li::after { margin: 0 10px; }

  .products_top .right { width: 100%; margin-left: 0; }
  .products_top .button_elm.right_icon { width: 100%; }
  .products .productslist { grid-template-columns: repeat(1, minmax(0, 1fr)); }
  .products .item .product_img_slider { height: auto; }
  .products .item .image { margin-top: 15px; height: auto; min-height: auto; padding: 0; }
  .products .item .image img { width: 100%; height: auto; }

  .splide#products_brand_menu { padding: 0 0; }
  .splide#products_brand_menu .splide__arrow { display: none; }

  .product { margin-top: 10px; }
  .product h1 { font-size: 32px; letter-spacing: -2px; }
  .product .prices .row_1 { margin-bottom: 20px; }
  .product .prices .row_1 { flex-direction: column; justify-content: flex-start; text-align: left; gap: 5px; }
  .product .prices .row_1 .l { width: 100%; }
  .product .prices .row_1 .r { width: 100%; margin-left: 0; }
  .product .button1 { flex-direction: row; justify-content: flex-start; align-items: center; text-align: left; }

  .product .images .inner .imageothers .image { height: 90px; padding: 5px; }
  .product .images .inner .imageothers .image img { max-height: 80px; }

  .cnf_result1 { margin-top: 50px; padding: 15px; gap: 0; }
  .cnf_result1 .cnf_result1_item_user { width: 47%; }

  .product.cnf h1 { font-size: 32px; letter-spacing: -2px; }
  .product.cnf .imagetitle { height: 200px; }
  .cnf_items .cnf_item .cnf_products { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .basket_prices .row .left { font-size: 20px; }
  .basket_prices .row .right { font-size: 20px; }
  .basket_prices .row.small .left { font-size: 16px; }
  .basket_prices .row.small .right { font-size: 16px; }
  .basket_prices .row.total .left, .basket_prices .row.total .right { font-size: 24px; }

  .basket_primary_button.big { font-size: 16px; }

  .bottom_gray { padding: 20px; }
  .bottom_gray .left { padding: 10px 10px 0 10px; }
  .bottom_red .footer_menu { grid-template-columns: repeat(1, minmax(0, 1fr)); gap: 10px 60px; list-style: none; padding: 0; margin: 0;
  }
}


@media screen and (max-width: 500px) {
  .mt-100 { margin-top: 60px; }
}
