/* Responsive Styles - Override main-style.css media queries for better mobile support */
@media screen and (max-width: 940px) {
  .container {
    min-width: 0;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0;
    overflow-x: hidden;
  }
  
  .header_top_res,
  .header_main_res,
  .header_menu_res,
  .content_res,
  .footer_main_res,
  .footer_menu_res {
    width: 90%;
    padding-left: 5%;
    padding-right: 5%;
    box-sizing: border-box;
  }
  
  .content_left {
    width: 100% !important;
    float: none !important;
    margin-bottom: 20px;
  }
  
  .content_right {
    width: 100% !important;
    float: none !important;
  }
  
  #logo h1 {
    font-size: 24px;
  }
  
  .header_menu_res ul.menu {
    flex-wrap: wrap;
  }
  
  .header_menu_res ul.menu li {
    margin: 5px;
  }
}

@media screen and (max-width: 768px) {
  .header_top_res,
  .header_main_res,
  .header_menu_res,
  .content_res,
  .footer_main_res,
  .footer_menu_res {
    width: 95% !important;
    padding-left: 2.5% !important;
    padding-right: 2.5% !important;
  }
  
  .header_top_res p {
    font-size: 11px;
  }
  
  #logo h1 {
    font-size: 20px;
    line-height: 1.3;
  }
  
  .description {
    font-size: 13px;
  }
  
  .shadowblock {
    padding: 12px;
  }
  
  .entry-content img {
    width: 100px !important;
    height: auto !important;
    margin: 10px 10px 10px 0 !important;
  }
  
  .tabprice ul.tabnavig {
    height: auto;
    flex-wrap: wrap;
  }
  
  .tabprice ul.tabnavig li {
    margin: 5px;
    font-size: 12px;
  }
  
  .tabprice ul.tabnavig li a {
    padding: 5px 10px;
  }
  
  .paging .pages {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  
  .paging .pages span,
  .paging .pages a {
    margin: 3px;
    padding: 5px 10px;
    font-size: 12px;
  }
}

@media screen and (max-width: 480px) {
  .header_top_res,
  .header_main_res,
  .header_menu_res,
  .content_res,
  .footer_main_res,
  .footer_menu_res {
    width: 98% !important;
    padding-left: 1% !important;
    padding-right: 1% !important;
  }
  
  .header_top_res p {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  
  #logo h1 {
    font-size: 18px;
  }
  
  .description {
    font-size: 12px;
  }
  
  .header_menu_res ul.menu {
    flex-direction: column;
  }
  
  .header_menu_res ul.menu li {
    width: 100%;
    margin: 0;
    border-bottom: 1px solid #eee;
  }
  
  .header_menu_res ul.menu li:last-child {
    border-bottom: none;
  }
  
  .shadowblock_out {
    margin-bottom: 15px;
  }
  
  .shadowblock {
    padding: 10px;
  }
  
  h3.loop {
    font-size: 16px;
  }
  
  .entry-content {
    display: flex;
    flex-direction: column;
  }
  
  .entry-content img {
    width: 100% !important;
    max-width: 200px;
    height: auto !important;
    margin: 0 auto 15px !important;
    float: none !important;
  }
  
  .comment-bubble {
    float: none;
    margin: 10px auto;
    display: block;
    width: 58px;
  }
  
  .paging .pages span.total {
    display: none;
  }
  
  .paging .pages span.dots {
    display: none;
  }
  
  .footer_menu_res ul.menu {
    flex-direction: column;
    text-align: center;
  }
  
  .footer_menu_res ul.menu li {
    margin: 5px 0;
    border-left: none;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding: 5px 0;
  }
  
  .footer_menu_res ul.menu li:last-child {
    border-bottom: none;
  }
}

