/* test */
@media only screen and (max-width: 767px) {
    #opc_basket > table { min-width: unset; }
    #opc_basket table { display: block; }
    #opc_basket table > tbody { display: block; }
    #opc_basket table > tbody tr { display: flex; flex-wrap: wrap; align-items: center; }
    #opc_basket table > tbody tr td:nth-child(1){ width: 50%; box-sizing: border-box; padding-bottom: 0px !important; }
    #opc_basket table > tbody tr td:nth-child(2){
        width: 50%; box-sizing: border-box; padding-bottom: 0px !important;
        text-align: right;
    }
    #opc_basket table > tbody tr td:nth-child(3){
        width: 25% !important; box-sizing: border-box; padding-top: 10px !important;
        border-bottom: solid 1px #666 !important; padding-bottom: 10px !important; height: 60px;
    }
    #opc_basket table > tbody tr td:nth-child(4){
        width: 25% !important; box-sizing: border-box; padding-top: 10px !important;
        border-bottom: solid 1px #666 !important; padding-bottom: 10px !important; height: 60px;
    }
    #opc_basket table > tbody tr td:nth-child(5) {
        width: 50% !important; box-sizing: border-box; padding-top: 10px !important;
        border-bottom: solid 1px #666 !important; padding-bottom: 10px !important; height: 60px;
    }


    #opc_basket table > tbody tr:nth-child(1) > th { display: none; }

    #opc_basket table > tbody tr:nth-last-child(5) td:nth-child(4) { width: 50% !important; }
    #opc_basket table > tbody tr:nth-last-child(5) td:nth-child(3) { width: 50% !important; text-align: right !important; }

    #vmMainPageOPC .coupon_in { max-width: 190px; }
    #opc_basket table > tbody tr:nth-last-child(6) td:nth-child(1) { width: 100% !important; }
    #opc_basket table > tbody tr:nth-last-child(6) td:nth-child(2) { width: 0 !important; }

    #opc_basket table > tbody tr:nth-last-child(6) td:nth-child(4) { width: 50% !important; }
    #opc_basket table > tbody tr:nth-last-child(6) td:nth-child(3) { width: 50% !important; text-align: right !important; }
    #vmMainPageOPC table #tt_tax_total_0_txt_basket { text-align: right !important; }

}

@media only screen and (max-width: 600px) {
    #opc_basket table > tbody tr td:nth-child(4){
        width: 50% !important;
    }
    #opc_basket table > tbody tr td:nth-child(5) {
        width: 25% !important;
    }
}

@media only screen and (max-width: 420px) {

    #opc_basket table > tbody tr td:nth-child(1) { width: 60% !important; }
    #opc_basket table > tbody tr td:nth-child(2) { width: 40% !important; }
    #opc_basket table > tbody tr td:nth-child(3) { padding-right: 0 !important; }
    #opc_basket table > tbody tr td:nth-child(4) { padding-right: 0 !important; }
    #opc_basket table > tbody tr td:nth-child(5) { padding-right: 0 !important; }



}

@media only screen and (max-width: 360px) {
    #opc_basket table > tbody tr td:nth-child(4) { width: 40% !important; }
    #opc_basket table > tbody tr td:nth-child(5) { width: 35% !important; }
}

div#pvmc-wrap.desktop-menu ul#pvmc-menu {
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  position: relative; 
}

div#pvmc-wrap.desktop-menu ul#pvmc-menu > li.level0 {
  
  flex: 1 1 auto;
  text-align: left;
}

div#pvmc-wrap.desktop-menu ul#pvmc-menu > li.level0 > a.drop {
  display: inline-block;
  padding: 10px 15px;
  
}

div#pvmc-wrap.desktop-menu ul#pvmc-menu > li.level0:hover > ul.level1 {
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  padding: 12px 16px;
  margin: 0;
  position: absolute;
  top: 100%;
  left: 0;
  box-sizing: border-box;
  z-index: 1000;
  gap: 4px 24px;
  max-height: calc(100vh - 180px); /* height controls when wrapping starts */
  min-width: 24vw; /* 4 columns of 200px + 3 gaps */
  max-width: 100vw;
  min-height: 40vh; 
}

div#pvmc-wrap.desktop-menu ul#pvmc-menu > li.level0:hover > ul.level1 > li {
  flex: 0 0 auto;
  list-style: none;
  min-width: 24vw;
}

div#pvmc-wrap.desktop-menu ul#pvmc-menu > li.level0:hover > ul.level1 > li > a {
  display: block;
  padding: 4px 0;
 
}
