.product_main {width: 900px; clear: both;}  
.product_main .title {width: 450px; float: right;}
.product_main .img {width: 450px; float: left; margin: 10px 0px;}
.product_main .img .img-main{ position: relative;}
.product_main .short_description {width: 50%; float: right;}
.product_description {width: 100%; clear: both;} 

#body_product_detail > p {margin: 0px}
#body_product_detail .product_kod {display: block;margin-top: 17px;padding-bottom: 4px;margin-bottom: 25px;font-weight: bold;border-bottom: 1px solid #999999;}
#body_product_detail .product_variant, #body_product_detail .product_description, #body_product_detail .shutdown_text {width: 100%; clear: both; text-align: left; margin-top: 10px;}
#body_product_detail .shutdown_text {margin: 10px 0px; text-align: center; font-size: 110%; font-weight: bold;}
#body_product_detail .product_icons {text-align: right; margin: 5px 0px}
#body_product_detail .product_star {margin: 5px 0px;}
#body_product_detail .product_price_d { text-align: right;}
#body_product_detail .product_price_d > p {margin: 0px; padding: 0px}
#body_product_detail .product_price_d > p.price {font-size: 20px; font-weight: bold;}
#body_product_detail .product_price_d > p.info {font-size: 12px; font-weight: normal; font-style: italic; color: #999999}
#body_product_detail .product_brand {margin: 10px 0px; text-align: right;}
#body_product_detail .product_brand img {width: 150px;}
#body_product_detail .product_gift {padding: 10px; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-around; align-items: center;}
#body_product_detail .product_gift img {border-radius: 50%; border: #46a935 solid 1px; padding: 5px;}
#body_product_detail .product_info img {max-width: 900px; padding: 10px 0px}

#body_product_detail .img-next {overflow: hidden;position: relative;padding: 0 30px;}
#body_product_detail .img-next .viewport {height: 120px;overflow: hidden;position: relative;}
#body_product_detail .img-next .buttons {border-radius: 30px;display: block;position: absolute;top: 45px;left: 0;width: 30px;height: 30px;color: #fff;font-weight: bold;text-align: center;line-height: 30px;text-decoration: none;}
#body_product_detail .img-next .next {right: 0;left: auto;top: 45px;}
#body_product_detail .img-next .buttons:hover {color: #C01313;background: #fff;}
#body_product_detail .img-next .disable {visibility: hidden;}
#body_product_detail .img-next .overview {list-style: none;position: absolute;padding: 0;margin: 0;width: 240px;left: 0;top: 0;}
#body_product_detail .img-next .overview li {float: left;height: 120px;width: 120px;}

#body_product_detail .tab_container  {border: #999999 solid 1px; margin-bottom: -1px; display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-around; align-items: center; width: 898px;}
#body_product_detail .tab_container:hover {border: #46a935 solid 1px; background-color: #f1ffef; box-shadow: 1px 1px 10px #46a935;}
#body_product_detail .tab_container .tab_item_20 {width: 20%}
#body_product_detail .tab_container .tab_item_60 {width: 60%}
#body_product_detail .tab_container .tab_item_16 {width: 16%}

#body_product_detail .product_shopping_cart {display: flex; flex-direction: row; flex-wrap: nowrap; justify-content: space-between; align-items: center; margin-top: 30px; height: 80px; background-color: whitesmoke;} 
#body_product_detail .product_shopping_cart .tab_item_40 {width: 40%; padding: 0px 10px;}
#body_product_detail .product_shopping_cart input[type="submit"] {background-color: #515151; border: #515151 1px solid; color: #fff; cursor: pointer;}
#body_product_detail .product_shopping_cart input[type="number"] {border: #515151 1px solid;}

main.size {
      max-width: 1000px;
      margin: 2rem auto;
      background: #fff;
      padding: 2rem;
      border-radius: 10px;
      box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }
    .tip-size {
      background-color: #C0C0C0;
      padding: 1rem;
      border-left: 4px solid #46a935;
      margin-bottom: 2rem;
      border-radius: 6px;
    }
    .tabs-size {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;
      margin-bottom: 1rem;
      justify-content: center;
    }
    .tab-button-size {
      background: #C0C0C0;
      border: none;
      padding: 0.6rem 1.2rem;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 600;
      transition: background 0.2s;
    }
    .tab-button-size.active {
      background: #46a935;
      color: #fff;
    }
    table.size {
      width: 100%;
      border-collapse: collapse;
      margin-top: 1rem;
    }
    th.size, td.size {
      border: 1px solid #999999;
      padding: 0.6rem;

    }
    th.size {
      background: #C0C0C0;
    }
    img.size {width: 100%; height: auto;}
    li.size {
    list-style-type: none;
    padding: 0;
    margin: 0;}
    
    h3.even-nor {padding: 0px !important; margin: 30px 0px 0px 0px !important;}
 
.gallery-scroll{
display:flex;
gap:10px;
overflow-x:auto;
scroll-snap-type:x mandatory;
padding:0;
margin:0;
list-style:none;
}

.gallery-scroll li{
flex:0 0 auto;
scroll-snap-align:start;
}

.gallery-scroll img{
height:120px;
border-radius:4px;
cursor:pointer;
}

@media screen and (min-width: 920px) and (max-width: 1220px) {
    .product_main {width: 100%; clear: both;}  
    .product_main .title {width: 50%; float: right;}
    .product_main .img {width: 50%; float: left;} 
    #body_product_detail .tab_container  {width: 100%;}
    #body_product_detail .product_info img {max-width: 100%; padding: 5px 0px; margin: 0px auto}
}



@media screen and (max-width: 919px) {
  .product_main {width: 100%;}  
  .product_main .title {width: 100%; }
  .product_main .img {width: 100%;  text-align: center;}
  .product_main .short_description {width: 100%; }
  #body_product_detail .tab_container  {width: 100%;}
  #body_product_detail .product_info img {max-width: 100%; padding: 5px 0px; margin: 0px auto}
  }
